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

Medium 5.5 Published Updated

A missing input pointer in the Magic Mouse driver causes a kernel crash when a fake USB device is connected, leading to denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-43140?

CVE-2026-43140 is a medium-severity vulnerability in Linux kernel, published on 6 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-476

Which versions are affected by CVE-2026-43140?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-43140?

Apply the vendor's patch.

Is CVE-2026-43140 being exploited?

There is no known exploitation of CVE-2026-43140 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2026-43140, DEBIAN-CVE-2026-43140, GHSA-q3vc-67q5-pp3g, ROOT-OS-DEBIAN-11-CVE-2026-43140, ROOT-OS-UBUNTU-2204-CVE-2026-43140, ROOT-OS-UBUNTU-2404-CVE-2026-43140 and 1 more.

Is CVE-2026-43140 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free