Skip to main content

Linux Kernel EUVDEUVD-2026-24909

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

Attack ChainAIDerived

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

  1. Recon
    Local access to system
  2. Delivery
    Connect or trigger Magic Mouse HID device initialization
  3. Exploit
    Invoke magicmouse_report_fixup() via HID descriptor query
  4. Install
    Allocate memory via kmemdup() without deallocation
  5. C2
    Repeat device interactions to accumulate leaked memory
  6. Execute
    Exhaust kernel memory pool
  7. Impact
    Trigger out-of-memory condition and denial of service

Vulnerability Assessment

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

Local authenticated user access (PR:L in CVSS) is required; remote unauthenticated exploitation is not possible. The attack requires a Magic Mouse HID device to be physically connected to or logically presented to the system (e.g., via USB passthrough in virtualized environments). The magicmouse HID driver must be loaded (not blacklisted or disabled). The attacker must be able to interact with the HID device node (/dev/hidraw*) or trigger device initialization sequences repeatedly. Default kernel configurations have the hid-magicmouse driver built as a module and automatically loaded upon Magic Mouse detection, making the vulnerability exploitable by default on systems with Magic Mouse devices. Non-default configurations where the driver is explicitly disabled or blacklisted, or systems without Magic Mouse devices, are not affected.

Impact

Risk is LOW to MODERATE in real-world deployments despite the 5.5 CVSS score. The CVSS vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) indicates local authenticated access is required, significantly limiting exposure. The extremely low EPSS score (0.02%, percentile 7%) confirms this is not a priority for widespread exploitation, suggesting the vulnerability requires specific conditions and repeated triggering. The impact is denial of service through resource exhaustion rather than code execution or data breach. Exploitation requires: (1) local system access with user-level privileges, (2) a Magic Mouse HID device connected to the system, and (3) repeated device interactions to leak enough memory to cause noticeable impact. Most server and cloud deployments do not have Magic Mouse devices, significantly reducing the real-world attack surface. The vulnerability is NOT listed in CISA KEV and no public exploit code is known, indicating it is primarily a memory hygiene issue rather than an active threat. For desktop systems with Magic Mouse devices, the risk is moderate; for servers and virtualized environments, the risk is minimal.

Exploit ScenarioDerived

A local user on a system with a Magic Mouse connected repeatedly accesses the device via /dev/hidrawX interface or triggers HID report descriptor reads, causing the magicmouse_report_fixup() function to allocate and leak kernel memory with each invocation. Over time, accumulated unfreed allocations consume available kernel memory, eventually triggering out-of-memory conditions that cause system instability or denial of service to legitimate applications and users.

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 – Apr 28, 2026

Memory leak in the HID magicmouse driver's report_fixup() function allows local authenticated attackers to cause a denial of service through repeated device interactions. The magicmouse_report_fixup() function allocates memory via kmemdup() but fails to free the allocated buffer before returning, leading to exhaustion of kernel memory on systems with a Magic Mouse connected. Vendor patches are available across multiple stable branches.

RemediationAI

Vendor-released patches are available for all supported stable kernel branches. Update to kernel 5.15.203, 6.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11, or 7.0 release (when available), or apply the corresponding stable branch commits from https://git.kernel.org/stable/. For systems unable to update immediately, the following mitigations are available: (1) Disconnect the Magic Mouse device or blacklist the hid-magicmouse driver via 'modprobe -r hid_magicmouse' and adding 'blacklist hid_magicmouse' to /etc/modprobe.d/blacklist.conf - this eliminates the attack surface at the cost of Magic Mouse functionality, (2) Restrict user-level access to HID devices via udev rules or AppArmor/SELinux policies to prevent unprivileged users from triggering device interactions, though this may impact legitimate usage, or (3) Apply resource limits to user processes using cgroups v2 memory limits to contain memory leak impact, though this does not prevent the leak itself. Patched versions are strongly recommended as they fix the underlying defect without operational workarounds.

Affected VersionsENISA

Linux patch: 6.1.168
Linux patch: 6.18.21
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <136f605e246b4bfe7ac2259471d1ff814aed0084
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <7edfe4346b052b708645d0acc0f186425766b785
Linux patch: 6.12.80
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <579c4c9857acdc8380fa99803f355f878bd766cb
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <d84c21aabaab517b9aaf9bc1d785922cb9db2f31
Linux patch: 5.15.203
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <79e5dcc95d9abed6f8203cfd529f4ec71f0e505d
Linux patch: 6.19.11
Linux patch: 7.0
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <fa95b0146358b49f9858139b67314591fd5871b0
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <91e8c6e601bdc1ccdf886479b6513c01c7e51c2c
Linux patch: 6.6.131

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 vulnerability exists in the HID (Human Interface Device) magicmouse driver subsystem (drivers/hid/hid-magicmouse.c), which handles input from Apple Magic Mouse devices. The report_fixup() callback is part of the HID device descriptor fixup mechanism, invoked during device initialization to modify or replace the raw HID report descriptor. The function incorrectly uses kmemdup() to allocate a copy of the report descriptor but fails to deallocate this memory before returning. Unlike other callers of report_fixup(), the HID subsystem does not assume ownership of a newly allocated buffer; it expects either the original input pointer or a pointer to existing memory whose lifetime is managed by the caller. The root cause is a memory management oversight (CWE-401: Missing Release of Memory after Effective Lifetime), specifically the failure to pair allocation with deallocation in a function path.

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
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:22 NVD
5.5 (MEDIUM)
Patch released
Apr 28, 2026 - 18:21 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: magicmouse: avoid memory leak in magicmouse_report_fixup()

The magicmouse_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
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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

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