CVE-2026-43140

Source
https://cve.org/CVERecord?id=CVE-2026-43140
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-43140.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-43140
Downstream
Related
Published
2026-05-06T11:27:25.536Z
Modified
2026-06-19T08:29:27.689867727Z
Summary
HID: magicmouse: Do not crash on missing msc->input
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43140.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
64eb105d7f92fa48798106ac0d8bf17668eb2524
Fixed
db5ba06e7af9325519a03e52fccf4a9e7c1fd9b2
Fixed
165912d4321c692321c02793068d30700b4e0f1a
Fixed
f6a3860241fbb556fd72332fa31c5e787004413b
Fixed
243e1165eb03aca97d87aafa9c3130593837a1c2
Fixed
922bd3e498a4b8e445def6e6ffea2ad3682ad516
Fixed
5bbe266272d86c0657e8253600f3d5b74fb7b2ae
Fixed
36c83c1329dd881f290f7df2feadfb9a21775108
Fixed
17abd396548035fbd6179ee1a431bd75d49676a7

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-43140.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.37
Fixed
5.10.252
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.202
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.165
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.128
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.75
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.16
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.6

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-43140.json"