# CVE-2024-57986: HID: core: Fix assumption that Resolution Multipliers must be in Logical Collections

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2025-02-27T02:07:10.621Z
- Modified: 2026-10-15T02:17:16.560Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc before 3a002e4029230d9a6be89f869b2328b258612f5c; from 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc before 05dd7d10675b540b8b7b31035c0a8abb6e6f3b88; from 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc before a32ea3f982b389ea43a41ce77b6fb70d74006d9b; from 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc before bebf542e8d7c44a18a95f306b1b5dc160c823506; from 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc before ed3d3883476423f337aac0f22c521819b3f1e970; from 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc before ebaeca33d32c8bdb705a8c88267737a456f354b1; from 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc before a5498f1f864ea26f4c613c77f54409c776a95a90; from 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc before 64f2657b579343cf923aa933f08074e6258eb07b; 5.0 (not affected: before 5.0; from 5.4.291 up to 5.4.*; from 5.10.235 up to 5.10.*; from 5.15.179 up to 5.15.*; from 6.1.129 up to 6.1.*; from 6.6.76 up to 6.6.*; from 6.12.13 up to 6.12.*; from 6.13.2 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 5.0 before 5.4.291; from 5.5 before 5.10.235; from 5.11 before 5.15.179; from 5.16 before 6.1.129; from 6.2 before 6.6.76; from 6.7 before 6.12.13; from 6.13 before 6.13.2

## Every score

- Linux: CVSS:3.1 7.1 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/3a002e4029230d9a6be89f869b2328b258612f5c> (patch)
- <https://git.kernel.org/stable/c/05dd7d10675b540b8b7b31035c0a8abb6e6f3b88> (patch)
- <https://git.kernel.org/stable/c/a32ea3f982b389ea43a41ce77b6fb70d74006d9b> (patch)
- <https://git.kernel.org/stable/c/bebf542e8d7c44a18a95f306b1b5dc160c823506> (patch)
- <https://git.kernel.org/stable/c/ed3d3883476423f337aac0f22c521819b3f1e970> (patch)
- <https://git.kernel.org/stable/c/ebaeca33d32c8bdb705a8c88267737a456f354b1> (patch)
- <https://git.kernel.org/stable/c/a5498f1f864ea26f4c613c77f54409c776a95a90> (patch)
- <https://git.kernel.org/stable/c/64f2657b579343cf923aa933f08074e6258eb07b> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Sources

- CVE List: [CVE-2024-57986](https://www.cve.org/CVERecord?id=CVE-2024-57986), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-57986](https://nvd.nist.gov/vuln/detail/CVE-2024-57986), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-57986 · Whole record: https://cve.day/CVE-2024-57986.json · Rebuilt by cve.day 2026-11-25T22:58:52.088Z
