CVE-2021-47120HID: magicmouse: fix NULL-deref on disconnect
- 5.5MediumCVSS base score
- 0.24%Exploitation in 30 daysEPSS · top 85% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: HID: magicmouse: fix NULL-deref on disconnect Commit 9d7b18668956 ("HID: magicmouse: add support for Apple Magic Trackpad 2") added a sanity check for an Apple trackpad but returned success instead of -ENODEV when the check failed. This means that the remove callback will dereference the never-initialised driver data pointer when the driver is later unbound (e.g. on USB disconnect).
Timeline
ID reserved
By Linux
- 11 days later
· 11 days later
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.24% · top 85% of all CVEs (19 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 9d7b18668956c411a422d04c712994c5fdb23a4b – < 368c5d45a87e1bcc7f1e98e0c255c37b7b12c5d6
- affected 9d7b18668956c411a422d04c712994c5fdb23a4b – < b5d013c4c76b276890135b5d32803c4c63924b77
- affected 9d7b18668956c411a422d04c712994c5fdb23a4b – < 9cf27473f21913a3eaf4702dd2a25415afd5f33f
- affected 9d7b18668956c411a422d04c712994c5fdb23a4b – < 4b4f6cecca446abcb686c6e6c451d4f1ec1a7497
- affected 4.20
- unaffected < 4.20
- unaffected 5.4.125 – ≤ 5.4.*
- unaffected 5.10.43 – ≤ 5.10.*
- unaffected 5.12.10 – ≤ 5.12.*
- unaffected 5.13 – ≤ *
References
References4
- https://git.kernel.org/stable/c/368c5d45a87e1bcc7f1e98e0c255c37b7b12c5d6 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/b5d013c4c76b276890135b5d32803c4c63924b77 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/9cf27473f21913a3eaf4702dd2a25415afd5f33f (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/4b4f6cecca446abcb686c6e6c451d4f1ec1a7497 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-33768 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-47120)Record last updated .