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

CVE-2026-43140
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.13 % · percentile 2 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 64eb105d7f92fa48798106ac0d8bf17668eb2524 < db5ba06e7af9325519a03e52fccf4a9e7c1fd9b2 ; affected 64eb105d7f92fa48798106ac0d8bf17668eb2524 < 165912d4321c692321c02793068d30700b4e0f1a ; affected 64eb105d7f92fa48798106ac0d8bf17668eb2524 < f6a3860241fbb556fd72332fa31c5e787004413b ; affected 64eb105d7f92fa48798106ac0d8bf17668eb2524 < 243e1165eb03aca97d87aafa9c3130593837a1c2 ; affected 64eb105d7f92fa48798106ac0d8bf17668eb2524 < 922bd3e498a4b8e445def6e6ffea2ad3682ad516 ; affected 64eb105d7f92fa48798106ac0d8bf17668eb2524 < 5bbe266272d86c0657e8253600f3d5b74fb7b2ae
Linux · Linuxaffected 2.6.37 ; unaffected 0 < 2.6.37 ; unaffected 5.10.252 ≤ 5.10.* ; unaffected 5.15.202 ≤ 5.15.* ; unaffected 6.1.165 ≤ 6.1.* ; unaffected 6.6.128 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD