CVE-2026-139341: HID: magicmouse: fix null pointer dereference in magicmouse_event()
In the Linux kernel, the following vulnerability has been resolved:
HID: magicmouse: fix null pointer dereference in magicmouseevent()
Add a guard clause to check if 'msc' and 'msc->input' is NULL before attempting to access its fields, preventing a general protection fault.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Add a guard clause in magicmouse_event() to check whether msc and msc->input are NULL before accessing their fields.