HID: magicmouse: fix NULL-deref on disconnect in Kernel

Kernel Updated 02 Oct 2025

Summary

25/06/2021
N/A
No i
Unrated
Not published

GSD-2021-1000810: HID: magicmouse: fix NULL-deref on disconnect. Affects Kernel versions >= 9d7b18668956c411a422d04c712994c5fdb23a4b, < 9cf27473f21913a3eaf4702dd2a25415afd5f33f. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback