HID: magicmouse: fix NULL-deref on disconnect in Kernel
Summary
GSD-2021-1000810: HID: magicmouse: fix NULL-deref on disconnect. Affects Kernel versions >= 9d7b18668956c411a422d04c712994c5fdb23a4b, < 9cf27473f21913a3eaf4702dd2a25415afd5f33f. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Kernel is a critical component of the Linux operating system that manages communication between hardware and software. It provides essential services and functions for the proper functioning of the system. The HID (Human Interface Device) subsystem within the Kernel handles input devices such as keyboards, mice, and touchscreens. The magicmouse driver is responsible for supporting Apple Magic Mouse devices. This vulnerability in the magicmouse driver can lead to a NULL-dereference when disconnecting the device.
Vulnerability Detail
The vulnerability arises from a NULL-dereference issue in the magicmouse driver when disconnecting the Apple Magic Mouse device. A NULL-dereference occurs when a program attempts to access or manipulate a memory location that has a NULL (empty) value. In this case, the driver fails to handle the disconnect event properly, leading to a NULL-dereference. An attacker could potentially exploit this vulnerability to cause a denial-of-service (DoS) condition or execute arbitrary code with kernel privileges. The impact and attack plausibility of this vulnerability have not been proven yet.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no specific workaround mentioned for this vulnerability.
Conclusion
The HID: magicmouse NULL-dereference vulnerability in the Kernel can potentially lead to a denial-of-service condition or arbitrary code execution. It is crucial to update the Kernel to the fixed version (v5.12.10) to mitigate this vulnerability. Users can refer to the provided instructions for updating their Kernel. For additional support, contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The HID (Human Interface Device) subsystem in the Kernel is responsible for managing input devices such as keyboards, mice, and touchscreens. It provides a standardized interface for these devices to communicate with the operating system.
A NULL-dereference occurs when a program attempts to access or manipulate a memory location that has a NULL (empty) value. This can lead to crashes, instability, or potential security vulnerabilities.
The impact of this vulnerability could range from a denial-of-service (DoS) condition to potential execution of arbitrary code with kernel privileges. However, the actual impact and attack plausibility have not been proven yet.
You can use Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities without requiring access to the code or installation.
For further support on vulnerability remediation, you can contact info@devnack.com. They can provide guidance and assistance in addressing this vulnerability.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.