CVE-2024-57986
HID: core: Fix assumption that Resolution Multipliers must be in Logical Collections
Reported by linux · Published February 27, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel | Amazon Linux | 6.1.129-138.220.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 6.1.129-138.220.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc |
| Linux | Linux | 5.0, 0, 5.4.291 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| linux | linux_kernel | 5.0, 5.0, 5.0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-livepatch-6.1.129-138.220 | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | bpftool | 0 |
| Linux | Linux | 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, 5.0 |
| amazon:2023 | kernel-tools | 0 |
Timeline
- Feb 27, 2025 CVE Published
- Feb 28, 2025 Coalition ESS Score (16 in total, the first dated here)
- Mar 14, 2025 EPSS Score (29 in total, the first dated here)
- Dec 29, 2025 Security Advisory (391 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (346 in total, the first dated here)
- Nov 11, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-57986
vulnetix vdb fixes CVE-2024-57986
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-57986/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart