Description
In the Linux kernel, the following vulnerability has been resolved:

HID: apple: avoid memory leak in apple_report_fixup()

The apple_report_fixup() function was returning a
newly kmemdup()-allocated buffer, but never freeing it.

The caller of report_fixup() does not take ownership of the returned
pointer, but it *is* permitted to return a sub-portion of the input
rdesc, whose lifetime is managed by the caller.
Published: 2026-04-22
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Memory Leak (Resource Exhaustion)
Action: Apply Patch
AI Analysis

Impact

The apple_report_fixup() function in the Linux kernel allocates a new buffer with kmemdup() but never releases it, leading to a memory leak. This flaw is a classic example of improper memory deallocation (CWE‑401) and also improper resource management (CWE‑772), and can cause the kernel to gradually consume available memory, potentially resulting in a system-wide denial‑of‑service.

Affected Systems

All Linux kernel releases that contain the unmodified apple HID are affected, as the vulnerability exists in versions prior to the commit that introduced the fix. Users running a kernel with the legacy apple_report_fixup() implementation, regardless of distribution, are exposed.

Risk and Exploitability

The CVSS score of 5.5 indicates a medium severity. The EPSS score of less than 1% suggests a low probability of exploitation at the present time, and the vulnerability is not listed in CISA’s KEV catalog, pointing to limited known exploitation. However, based on the description, it is inferred that an attacker who can repeatedly trigger the Apple HID report processing—such as by connecting affected devices or via a compromised local user—could provoke the kernel to leak memory until resources are exhausted. The vulnerability does not provide code execution or privilege escalation; it primarily poses a risk of resource depletion.

Generated by OpenCVE AI on April 28, 2026 at 23:57 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes the apple_report_fixup() memory‑leak fix.
  • If a patch is not yet available, unload or blacklist the Apple HID driver to prevent the faulty routine from executing.
  • As a temporary precaution, block or disconnect Apple HID devices until the kernel is updated or the driver is removed.

Generated by OpenCVE AI on April 28, 2026 at 23:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4561-1 linux-6.1 security update
Debian DSA Debian DSA DSA-6238-1 linux security update
Debian DSA Debian DSA DSA-6243-1 linux security update
History

Tue, 28 Apr 2026 18:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401
CPEs cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*

Thu, 23 Apr 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low


Wed, 22 Apr 2026 14:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: HID: apple: avoid memory leak in apple_report_fixup() The apple_report_fixup() function was returning a newly kmemdup()-allocated buffer, but never freeing it. The caller of report_fixup() does not take ownership of the returned pointer, but it *is* permitted to return a sub-portion of the input rdesc, whose lifetime is managed by the caller.
Title HID: apple: avoid memory leak in apple_report_fixup()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-05-11T22:10:23.085Z

Reserved: 2026-03-09T15:48:24.108Z

Link: CVE-2026-31520

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-04-22T14:16:51.770

Modified: 2026-04-28T18:27:38.420

Link: CVE-2026-31520

cve-icon Redhat

Severity : Low

Publid Date: 2026-04-22T00:00:00Z

Links: CVE-2026-31520 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-29T00:00:13Z

Weaknesses