CVE-2026-139341

HID: magicmouse: fix null pointer dereference in magicmouse_event()

Published Nov 30, 2026 CVSS 3.1 · 4.6 Medium EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

HID: magicmouse: fix null pointer dereference in magicmouse_event()

Add a guard clause to check if 'msc' and 'msc->input' is NULL
before attempting to access its fields, preventing a general
protection fault.

Analysis

AI-generated

Technical impact

The vulnerability is a null pointer dereference in the magicmouse HID driver that can cause a general protection fault when an event is processed. The added guard clause checks that the magicmouse structure and its input field are not NULL before accessing them, preventing the fault. Without the patch, a malformed event from a connected magicmouse could trigger a kernel crash, leading to service interruption.

Affected Systems

Linux kernel configurations that include the magicmouse driver without the patch are affected. Any distribution kernel version prior to the application of the commit series referenced in the CVE’s references is vulnerable; the fix is present in later kernel releases.

Risk and Exploitability

EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, so the exploitation probability remains uncertain. No official CVSS assessment is provided, but a null pointer dereference in kernel code typically indicates a high potential for denial of service. No evidence suggests a privilege escalation path directly from this defect.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that incorporates the patch commits referenced in the CVE advisory (e.g., commit 5b66b65cfd6f697b1addb6159cbece53d20db2fc).
  • If an immediate kernel upgrade is not possible, remove or disable the magicmouse device to prevent the vulnerable event handling path from executing.
  • Verify the presence of the guard clause in the kernel source or compiled module by inspecting the device driver code or checking the commit hash; apply a backport if necessary.

Generated by OpenCVE AI on December 1, 2026 at 06:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: HID: magicmouse: fix null pointer dereference in magicmouse_event() Add a guard clause to check if 'msc' and 'msc->input' is NULL before attempting to access its fields, preventing a general protection fault.
Title HID: magicmouse: fix null pointer dereference in magicmouse_event()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:33 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:33 PM