CVE-2026-43140

HID: magicmouse: Do not crash on missing msc->input

MEDIUM
5.5
CVSS Score
Published: May 6, 2026 at 11:27 AM UTC
Updated: June 17, 2026 at 10:49 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

Description

In the Linux kernel, the following vulnerability has been resolved: HID: magicmouse: Do not crash on missing msc->input Fake USB devices can send their own report descriptors for which the input_mapping() hook does not get called. In this case, msc->input stays NULL, leading to a crash at a later time. Detect this condition in the input_configured() hook and reject the device. This is not supposed to happen with actual magic mouse devices, but can be provoked by imposing as a magic mouse USB device.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.37 ≤ v < 5.10.2522.6.37 ≤ v < 5.15.2022.6.37 ≤ v < 6.1.1652.6.37 ≤ v < 6.12.752.6.37 ≤ v < 6.18.162.6.37 ≤ v < 6.19.62.6.37 ≤ v < 6.6.1282.6.37 ≤ v < 7.05.11 ≤ v < 5.15.2025.16 ≤ v < 6.1.1656.13 ≤ v < 6.18.166.19 ≤ v < 6.19.66.2 ≤ v < 6.6.1286.7 ≤ v < 6.12.752.6.3764eb105d7f92fa48798106ac0d8bf17668eb2524
Vendor states this is fixed in 165912d4321c692321c02793068d30700b4e0f1a (fixed)
Vendor states this is fixed in 17abd396548035fbd6179ee1a431bd75d49676a7 (fixed)
Vendor states this is fixed in 243e1165eb03aca97d87aafa9c3130593837a1c2 (fixed)
Vendor states this is fixed in 36c83c1329dd881f290f7df2feadfb9a21775108 (fixed)
Vendor states this is fixed in 5bbe266272d86c0657e8253600f3d5b74fb7b2ae (fixed)
Vendor states this is fixed in 922bd3e498a4b8e445def6e6ffea2ad3682ad516 (fixed)
Vendor states this is fixed in db5ba06e7af9325519a03e52fccf4a9e7c1fd9b2 (fixed)
Vendor states this is fixed in f6a3860241fbb556fd72332fa31c5e787004413b (fixed)
Vendor states this is fixed in 2.6.37 (unaffected)
Vendor states this is fixed in 5.10.252 (unaffected)
Vendor states this is fixed in 5.15.202 (unaffected)
Vendor states this is fixed in 6.1.165 (unaffected)
Vendor states this is fixed in 6.12.75 (unaffected)
Vendor states this is fixed in 6.18.16 (unaffected)
Vendor states this is fixed in 6.19.6 (unaffected)
Vendor states this is fixed in 6.6.128 (unaffected)
Vendor states this is fixed in 7.0 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card