HID: core: Fix assumption that Resolution Multipliers must be in Logical Collections
Summary
| CVE | CVE-2024-57986 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-02-27 02:15:12 UTC |
| Updated | 2026-05-12 13:16:25 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: NVD-CWE-noinfo
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc 3a002e4029230d9a6be89f869b2328b258612f5c git | Not specified |
| CNA | Linux | Linux | affected 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc 05dd7d10675b540b8b7b31035c0a8abb6e6f3b88 git | Not specified |
| CNA | Linux | Linux | affected 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc a32ea3f982b389ea43a41ce77b6fb70d74006d9b git | Not specified |
| CNA | Linux | Linux | affected 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc bebf542e8d7c44a18a95f306b1b5dc160c823506 git | Not specified |
| CNA | Linux | Linux | affected 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc ed3d3883476423f337aac0f22c521819b3f1e970 git | Not specified |
| CNA | Linux | Linux | affected 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc ebaeca33d32c8bdb705a8c88267737a456f354b1 git | Not specified |
| CNA | Linux | Linux | affected 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc a5498f1f864ea26f4c613c77f54409c776a95a90 git | Not specified |
| CNA | Linux | Linux | affected 5a4abb36f312cf83206b1b7d1308ba47cba0b3cc 64f2657b579343cf923aa933f08074e6258eb07b git | Not specified |
| CNA | Linux | Linux | affected 5.0 | Not specified |
| CNA | Linux | Linux | unaffected 5.0 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.4.291 5.4.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.235 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.179 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.129 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.76 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.13 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.13.2 6.13.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.14 * original_commit_for_fix | Not specified |
| ADP | Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux Subsystem | affected * custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| lists.debian.org/debian-lts-announce/2025/05/msg00030.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| git.kernel.org/stable/c/ebaeca33d32c8bdb705a8c88267737a456f354b1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/bebf542e8d7c44a18a95f306b1b5dc160c823506 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| cert-portal.siemens.com/productcert/html/ssa-265688.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/3a002e4029230d9a6be89f869b2328b258612f5c | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/ed3d3883476423f337aac0f22c521819b3f1e970 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/64f2657b579343cf923aa933f08074e6258eb07b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/05dd7d10675b540b8b7b31035c0a8abb6e6f3b88 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/a32ea3f982b389ea43a41ce77b6fb70d74006d9b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| lists.debian.org/debian-lts-announce/2025/03/msg00028.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| git.kernel.org/stable/c/a5498f1f864ea26f4c613c77f54409c776a95a90 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.