Skip to main content

Linux Kernel EUVDEUVD-2026-24905

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

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Gain local user access
  2. Delivery
    Connect Apple HID peripheral via USB or Bluetooth
  3. Exploit
    Kernel HID subsystem enumerates device descriptor
  4. Install
    apple_report_fixup() allocates and leaks kernel memory
  5. C2
    Disconnect and reconnect device repeatedly
  6. Execute
    Accumulated leaks exhaust kernel memory
  7. Impact
    System availability degraded or OOM triggered

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup, leak prevention
Exploitation Conditions

Exploitation requires a local user account with at least low-privilege access (PR:L per CVSS vector) on the target system. The vulnerable code path activates only when the Linux kernel's HID subsystem enumerates an Apple-branded HID peripheral - specifically when apple_report_fixup() is invoked during device descriptor processing for devices matched by the hid-apple driver. Systems that never connect Apple HID devices (Apple keyboards, Magic Trackpad, Magic Mouse via USB or Bluetooth) are entirely unaffected regardless of kernel version. The memory leak is per-enumeration-event, meaning impact is proportional to how many times the device is connected or re-enumerated. Limiting factors: requires physical or local system access, effect is gradual memory exhaustion rather than immediate code execution, and only systems with Apple HID peripherals present in the device tree are exposed.

Impact

CVSS 5.5 Medium with vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H accurately reflects a local, low-privilege attack with no confidentiality or integrity impact but high availability impact through memory exhaustion. EPSS at 0.02% (7th percentile) confirms negligible near-term exploitation probability. There is no CISA KEV listing and no public proof-of-concept. Real-world risk is further constrained by the requirement for Apple HID peripherals to be connected - systems without such devices are entirely unaffected. The availability impact manifests as gradual degradation rather than immediate denial of service, requiring repeated device connect/disconnect cycles to amplify. This is a maintenance-tier vulnerability: genuine but low urgency, with patch uptake via normal kernel update cycles being appropriate. The 'Information Disclosure' tag from the intel sources is an inaccurate signal - CVSS C:N and the advisory text confirm no confidentiality impact is established.

Exploit ScenarioDerived

A local attacker with a standard user account on a Linux host physically connects and repeatedly disconnects an Apple USB keyboard or Magic Trackpad, triggering the HID enumeration path each time and leaking a small kernel allocation on every cycle. After sufficient iterations, kernel memory pressure degrades system responsiveness or triggers the OOM killer, resulting in denial of service. No public proof-of-concept has been identified; exploitation is manual and slow, limiting practical risk.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

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%.

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.

Affected VersionsENISA

Linux patch: 6.1.168
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <e2f090aeb7b9930a964e151910f4d45b04c8a7e5
Linux patch: 7.0
Linux patch: 6.12.80
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <be1a341c161430282acdfe2ac99b413271575cf1
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <31860c3f7ac66ab897a8c90dc4e74fa17ca0b624
Linux patch: 6.6.131
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <2635d0c715f3fb177e0f80ecd5fa48feb6bf3884
Linux patch: 6.18.21
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <239c15116d80f67d32f00acc34575f1a6b699613
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <e652ebd29928181c3e6820e303da25873e9917d4
Linux patch: 6.19.11

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

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
Red Hat 5.5 LOW

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

4
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
CVE Published
Apr 22, 2026 - 14:16 nvd
MEDIUM 5.5

DescriptionNVD

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Prevalence
Ubiquitous
Linux kernel runs across nearly all server, cloud, and embedded environments
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Related Vulnerabilities in HID Memory Leak Issues

View all 3

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

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