Skip to main content

Linux Kernel CVE-2026-31520

| EUVDEUVD-2026-24905 MEDIUM
Memory Leak (CWE-401)
2026-04-22 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-j7qm-9792-fvr5
5.5
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI
5.5 MEDIUM

Local vector and PR:L correct as physical or local session access with a standard account is required; A:H for kernel memory exhaustion; C:N and I:N confirmed with no data disclosure or modification path documented.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE
MEDIUM
qualitative
Red Hat
5.5 LOW
qualitative

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

6
Analysis Generated
Jul 24, 2026 - 05:16 vuln.today
CVSS changed
Apr 28, 2026 - 18:37 NVD
5.5 (MEDIUM)
Patch released
Apr 28, 2026 - 18:27 nvd
Patch available
Patch available
Apr 22, 2026 - 16:33 EUVD
EUVD ID Assigned
Apr 22, 2026 - 14:22 euvd
EUVD-2026-24905
CVE Published
Apr 22, 2026 - 14:16 nvd
MEDIUM 5.5

DescriptionCVE.org

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.

AnalysisAI

Memory leak in the Linux kernel HID Apple driver causes gradual kernel memory exhaustion on systems connected to Apple HID peripherals. The apple_report_fixup() function in drivers/hid/hid-apple.c allocates a new buffer via kmemdup() each time an Apple device descriptor is processed, but the HID core caller never frees it because the API contract only guarantees lifetime management for pointers returned into the original descriptor buffer. Patches are available across all actively maintained stable branches (6.1, 6.6, 6.12, 6.18, 6.19, 7.0); no active exploitation has been confirmed and EPSS stands at 0.02%.

Technical ContextAI

The Linux kernel HID (Human Interface Device) subsystem provides a report_fixup() callback mechanism allowing vendor-specific drivers to adjust or correct device report descriptors before the HID core parses them. The Apple HID driver (hid-apple.c) implements this via apple_report_fixup(). The bug is a violation of the callback's ownership contract: kmemdup() allocates a fresh kernel buffer and returns its pointer, but the HID core caller does not assume ownership of returned pointers - it only guarantees lifetime management for sub-pointers into the original rdesc input buffer. As a result, each device enumeration event leaks one kmemdup() allocation permanently. CWE-401 (Missing Release of Memory after Effective Lifetime) is the exact root cause class. Affected CPE: cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* across all branches prior to the fix commits. The 'Information Disclosure' tag in source intelligence conflicts with CVSS C:N and is not substantiated by the advisory - leaked kernel memory could theoretically retain prior contents but no such impact is documented.

RemediationAI

Update to a patched kernel version on the appropriate stable branch: 6.1.168+, 6.6.131+, 6.12.80+, 6.18.21+, 6.19.11+, or 7.0 final. Upstream fix commits are accessible at git.kernel.org for each branch (see references section). Ubuntu users should apply the update referenced in USN-8567-1 at https://ubuntu.com/security/notices/USN-8567-1. Red Hat and SUSE users should monitor their respective security channels as vendor-specific advisories were not included in the available data. If immediate patching is not feasible, avoiding connection of Apple HID peripherals (Apple keyboards, Magic Trackpad, Magic Mouse) to affected systems eliminates the attack surface entirely, though this may be operationally impractical; scheduled system reboots can temporarily relieve accumulated memory pressure but do not resolve the root vulnerability.

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

Share

CVE-2026-31520 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy