CVE-2024-57986
HID: core: Fix assumption that Resolution Multipliers must be in Logical Collections
Mitigation
- Upgrade Linux to 64f2657b579343cf923aa933f08074e6258eb07b or later.
Who should check
- Anyone running Linux >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < 3a002e4029230d9a6be89f869b2328b258612f5c; >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < 05dd7d10675b540b8b7b31035c0a8abb6e6f3b88; >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < a32ea3f982b389ea43a41ce77b6fb70d74006d9b; >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < bebf542e8d7c44a18a95f306b1b5dc160c823506; >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < ed3d3883476423f337aac0f22c521819b3f1e970; >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < ebaeca33d32c8bdb705a8c88267737a456f354b1; >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < a5498f1f864ea26f4c613c77f54409c776a95a90; >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < 64f2657b579343cf923aa933f08074e6258eb07b
- Anyone running Linux 5.0
Vulnerability facts
- Affected
- Linux >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < 3a002e4029230d9a6be89f869b2328b258612f5c; >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < 05dd7d10675b540b8b7b31035c0a8abb6e6f3b88; >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < a32ea3f982b389ea43a41ce77b6fb70d74006d9b; >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < bebf542e8d7c44a18a95f306b1b5dc160c823506; >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < ed3d3883476423f337aac0f22c521819b3f1e970; >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < ebaeca33d32c8bdb705a8c88267737a456f354b1; >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < a5498f1f864ea26f4c613c77f54409c776a95a90; >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < 64f2657b579343cf923aa933f08074e6258eb07b; Linux 5.0
- Fixed in
- Linux 3a002e4029230d9a6be89f869b2328b258612f5c, Linux 05dd7d10675b540b8b7b31035c0a8abb6e6f3b88, Linux 64f2657b579343cf923aa933f08074e6258eb07b
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.1 (v3.1, CNA)CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Adjacent network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: High
- EPSS
- 0.39% chance of exploitation in 30 days (percentile 25, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: HID: core: Fix assumption that Resolution Multipliers must be in Logical Collections A report in 2019 by the syzbot fuzzer was found to be connected to two errors in the HID core associated with Resolution Multipliers. One of the errors was fixed by commit ea427a222d8b ("HID: core: Fix deadloop in hid_apply_multiplier."), but the other has not been fixed. This error arises because hid_apply_multipler() assumes that every Resolution Multiplier control is contained in a Logical Collection, i.e., there's no way the routine can ever set multiplier_collection to NULL. This is in spite of the fact that the function starts with a big comment saying: * "The Resolution Multiplier control must be contained in the same * Logical Collection as the control(s) to which it is to be applied. ... * If no Logical Collection is * defined, the Resolution Multiplier is associated with all * controls in the report." * HID Usage Table, v1.12, Section 4.3.1, p30 * * Thus, search from the current collection upwards until we find a * logical collection... The comment and the code overlook the possibility that none of the collections found may be a Logical Collection. The fix is to set the multiplier_collection pointer to NULL if the collection found isn't a Logical Collection.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < 3a002e4029230d9a6be89f869b2328b258612f5c; >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < 05dd7d10675b540b8b7b31035c0a8abb6e6f3b88; >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < a32ea3f982b389ea43a41ce77b6fb70d74006d9b; >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < bebf542e8d7c44a18a95f306b1b5dc160c823506; >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < ed3d3883476423f337aac0f22c521819b3f1e970; >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < ebaeca33d32c8bdb705a8c88267737a456f354b1; >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < a5498f1f864ea26f4c613c77f54409c776a95a90; >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < 64f2657b579343cf923aa933f08074e6258eb07b | — | cvelist |
| Linux | 5.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-57986. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-57986.md Affected: Linux >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < 3a002e4029230d9a6be89f869b2328b258612f5c; >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < 05dd7d10675b540b8b7b31035c0a8abb6e6f3b88; >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < a32ea3f982b389ea43a41ce77b6fb70d74006d9b; >= 5a4abb36f312cf83206b1b7… Fixed in: Linux 3a002e4029230d9a6be89f869b2328b258612f5c, Linux 05dd7d10675b540b8b7b31035c0a8abb6e6f3b88, Linux 64f2657b579343cf923aa933f08074e6258eb07b Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/3a002e4029230d9a6be89f869b2328b258612f5c
- https://git.kernel.org/stable/c/05dd7d10675b540b8b7b31035c0a8abb6e6f3b88
- https://git.kernel.org/stable/c/a32ea3f982b389ea43a41ce77b6fb70d74006d9b
- https://git.kernel.org/stable/c/bebf542e8d7c44a18a95f306b1b5dc160c823506
- https://git.kernel.org/stable/c/ed3d3883476423f337aac0f22c521819b3f1e970
- https://git.kernel.org/stable/c/ebaeca33d32c8bdb705a8c88267737a456f354b1
- https://git.kernel.org/stable/c/a5498f1f864ea26f4c613c77f54409c776a95a90
- https://git.kernel.org/stable/c/64f2657b579343cf923aa933f08074e6258eb07b
FAQ
Is CVE-2024-57986 being exploited?
There is no confirmed exploitation: CVE-2024-57986 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.39% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-57986?
High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-57986?
Linux >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < 3a002e4029230d9a6be89f869b2328b258612f5c; >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < 05dd7d10675b540b8b7b31035c0a8abb6e6f3b88; >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < a32ea3f982b389ea43a41ce77b6fb70d74006d9b; >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < bebf542e8d7c44a18a95f306b1b5dc160c823506; >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < ed3d3883476423f337aac0f22c521819b3f1e970; >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < ebaeca33d32c8bdb705a8c88267737a456f354b1; >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < a5498f1f864ea26f4c613c77f54409c776a95a90; >= 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, < 64f2657b579343cf923aa933f08074e6258eb07b; Linux 5.0.
Is there a fix for CVE-2024-57986?
Yes. Fixed in Linux 3a002e4029230d9a6be89f869b2328b258612f5c, Linux 05dd7d10675b540b8b7b31035c0a8abb6e6f3b88, Linux 64f2657b579343cf923aa933f08074e6258eb07b. Upgrade Linux to 64f2657b579343cf923aa933f08074e6258eb07b or later.
How do I check if I'm affected by CVE-2024-57986?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.