VDB

CVE-2024-57986

CVE-2024-57986 PUBLISHED CVSS 7.1 HIGH

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.

PackageEcosystemFixed in
kernelAmazon Linux6.1.129-138.220.amzn2023
kernel-modules-extra-commonAmazon Linux6.1.129-138.220.amzn2023

Risk scores

CVSS 3.1
7.1
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

Affected products

VendorProductVersions
LinuxLinux5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc
LinuxLinux5.0, 0, 5.4.291
amazon:2023kernel0
amazon:2023kernel-modules-extra-common0
linuxlinux_kernel5.0, 5.0, 5.0
amazon:2023kernel-libbpf-static0
amazon:2023perf0
amazon:2023kernel-libbpf-devel0
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
amazon:2023python3-perf0
amazon:2023kernel-headers0
amazon:2023kernel-tools-devel0
amazon:2023kernel-livepatch-6.1.129-138.2200
amazon:2023kernel-libbpf0
amazon:2023kernel-modules-extra0
amazon:2023kernel-devel0
amazon:2023bpftool0
LinuxLinux5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc, 5.0
amazon:2023kernel-tools0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›