5.5

CVE-2021-47120: HID: magicmouse: fix NULL-deref on disconnect

Analyzed
AliasesUBUNTU-CVE-2021-47120DEBIAN-CVE-2021-47120
Published 15-03-2024Last modified 11-05-2026

Vulnerability summary

CVE-2021-47120 is a medium (CVSS 5.5) NULL Pointer Dereference vulnerability in linux. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 14.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.24%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 3 · Related 3

Timeline

  1. 15-03-2024
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

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

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.24%

Chance of exploitation in the next 30 days

Percentile

15%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.24% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu82 products
  • linux< 5.4.0-81.91
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 5.4.0-1055.58
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 9d7b18668956c411a422d04c712994c5fdb23a4b, < 368c5d45a87e1bcc7f1e98e0c255c37b7b12c5d6 | ≥ 9d7b18668956c411a422d04c712994c5fdb23a4b, < b5d013c4c76b276890135b5d32803c4c63924b77 | ≥ 9d7b18668956c411a422d04c712994c5fdb23a4b, < 9cf27473f21913a3eaf4702dd2a25415afd5f33f | ≥ 9d7b18668956c411a422d04c712994c5fdb23a4b, < 4b4f6cecca446abcb686c6e6c451d4f1ec1a7497 | 4.20
  • linux_kernel≥ 4.20, < 5.4.125 | ≥ 5.5, < 5.10.43 | ≥ 5.11, < 5.12.10 | 5.13:rc1 | 5.13:rc2 | 5.13:rc3 | 5.13:rc4
Debian1 product
  • linux< 5.10.46-1

3 vendors · 85 products

References

8 links