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

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linuxb8d56ef91cc36b0db965c0896d0989e2151f3786 to before 678220ea65f8e55227eeb89bcdfb8e7adec0eb88 Affectedb8d56ef91cc36b0db965c0896d0989e2151f3786 to before c1eb5d7b0dc648f85219c1b9bb667a870289eb9b Affectedb8d56ef91cc36b0db965c0896d0989e2151f3786 to before 5b66b65cfd6f697b1addb6159cbece53d20db2fc Affected
Linux Linux6.16 Affectedbefore 6.16 Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.