CVE-2024-57986
Last modified
CVE-2024-57986 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.0, < 5.4.291 |
| Linux | Linux Kernel | >= 5.5, < 5.10.235 |
| Linux | Linux Kernel | >= 5.11, < 5.15.179 |
| Linux | Linux Kernel | >= 5.16, < 6.1.129 |
| Linux | Linux Kernel | >= 6.2, < 6.6.76 |
| Linux | Linux Kernel | >= 6.7, < 6.12.13 |
| Linux | Linux Kernel | >= 6.13, < 6.13.2 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-57986?
How severe is CVE-2024-57986?
How do I fix CVE-2024-57986?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-57980In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-57981In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57982In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2024-57983In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-57984In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-57985In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57987In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57988In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57989In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-5799The CM Pop-Up Banners for WordPress plugin before 1.7.3 does…4.8
- CVE-2024-57990In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-57991In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2024-57986?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
