CVE-2026-31522: HID: magicmouse: avoid memory leak in magicmouse_report_fixup()
Vulnerability summary
CVE-2026-31522 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.13% chance of exploitation in the next 30 days, higher than 2.5% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 44 · Related 39Timeline
- 22-04-2026PublishedVulnerability first disclosed.
- 05-11-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: HID: magicmouse: avoid memory leak in magicmouse_report_fixup() The magicmouse_report_fixup() function was returning a newly kmemdup()-allocated buffer, but never freeing it. The caller of report_fixup() does not take ownership of the returned pointer, but it *is* permitted to return a sub-portion of the input rdesc, whose lifetime is managed by the caller.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.13%
Chance of exploitation in the next 30 days
Percentile
3%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.12% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu158 products
- linuxAll versions (No fix recorded) | < 5.15.0-186.196 | < 6.8.0-136.136
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.15.0-1112.119 | < 6.8.0-1061.64
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ e6ad399596bd234be4722022146e33e15c7e424d, < 579c4c9857acdc8380fa99803f355f878bd766cb | ≥ 0b91b4e4dae63cd43871fc2012370b86ee588f91, < d84c21aabaab517b9aaf9bc1d785922cb9db2f31 | ≥ 0b91b4e4dae63cd43871fc2012370b86ee588f91, < 7edfe4346b052b708645d0acc0f186425766b785 | ≥ 0b91b4e4dae63cd43871fc2012370b86ee588f91, < 79e5dcc95d9abed6f8203cfd529f4ec71f0e505d | ≥ 0b91b4e4dae63cd43871fc2012370b86ee588f91, < 136f605e246b4bfe7ac2259471d1ff814aed0084 | ≥ 0b91b4e4dae63cd43871fc2012370b86ee588f91, < fa95b0146358b49f9858139b67314591fd5871b0 | ≥ 0b91b4e4dae63cd43871fc2012370b86ee588f91, < 91e8c6e601bdc1ccdf886479b6513c01c7e51c2c | c394bd1bc8537e61593b6b6799e01495c7cf9008 | ≥ 5.15.17, < 5.15.203 | ≥ 5.16.3, < 5.17 | 5.17
- linux_kernel≥ 5.15.17, < 5.15.203 | ≥ 5.16.3, < 5.17 | ≥ 5.17, < 6.1.168 | ≥ 6.2, < 6.6.131 | ≥ 6.7, < 6.12.80 | ≥ 6.13, < 6.18.21 | ≥ 6.19, < 6.19.11 | 7.0:rc1 | 7.0:rc2
Debian1 product
- linux< 6.1.170-1 | < 6.12.85-1 | < 6.19.11-1
3 vendors · 161 products