Skip to content
Heist/ feed
Back to feed
HighFix available

HID: core: Fix assumption that Resolution Multipliers must be in Logical Collections

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.235, 5.15.179, 5.4.291, 6.1.129, 6.12.13, 6.13.2, 6.6.76
CVEs
CVE-2024-57986
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 11:43 UTC · Revision 1

Source evidence

HID: core: Fix assumption that Resolution Multipliers must be in Logical Collections

core-osv · Original source

Published 27 Feb 2025, 02:07 UTC

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.

osv:CVE-2024-57986

Kernel

Fixed versions: 5.4.291, 5.10.235, 5.15.179, 6.1.129, 6.6.76, 6.12.13, 6.13.2

Complete source record
{
  "id": "a23f8dcaa70c9a05d368de871d07e5a42e6445f1dd1bf4b9832ad6a23b6506ef",
  "url": "https://osv.dev/vulnerability/CVE-2024-57986",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "HID: core: Fix assumption that Resolution Multipliers must be in Logical Collections",
    "summary": "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.",
    "evidence": "osv:CVE-2024-57986",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.291",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.235",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.179",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.129",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.76",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.13",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.13.2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-57986",
      "aliases": [
        "CVE-2024-57986"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5a4abb36f312cf83206b1b7d1308ba47cba0b3cc"
                },
                {
                  "fixed": "3a002e4029230d9a6be89f869b2328b258612f5c"
                },
                {
                  "fixed": "05dd7d10675b540b8b7b31035c0a8abb6e6f3b88"
                },
                {
                  "fixed": "a32ea3f982b389ea43a41ce77b6fb70d74006d9b"
                },
                {
                  "fixed": "bebf542e8d7c44a18a95f306b1b5dc160c823506"
                },
                {
                  "fixed": "ed3d3883476423f337aac0f22c521819b3f1e970"
                },
                {
                  "fixed": "ebaeca33d32c8bdb705a8c88267737a456f354b1"
                },
                {
                  "fixed": "a5498f1f864ea26f4c613c77f54409c776a95a90"
                },
                {
                  "fixed": "64f2657b579343cf923aa933f08074e6258eb07b"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-57986.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.0.0"
                },
                {
                  "fixed": "5.4.291"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.235"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.179"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.129"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.76"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.13"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.13.2"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-57986.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.623636486Z",
      "provider": "osv",
      "references": [
        "https://cert-portal.siemens.com/productcert/html/ssa-265688.html",
        "https://cert-portal.siemens.com/productcert/html/ssa-784472.html",
        "https://git.kernel.org/stable/c/05dd7d10675b540b8b7b31035c0a8abb6e6f3b88",
        "https://git.kernel.org/stable/c/3a002e4029230d9a6be89f869b2328b258612f5c",
        "https://git.kernel.org/stable/c/64f2657b579343cf923aa933f08074e6258eb07b",
        "https://git.kernel.org/stable/c/a32ea3f982b389ea43a41ce77b6fb70d74006d9b",
        "https://git.kernel.org/stable/c/a5498f1f864ea26f4c613c77f54409c776a95a90",
        "https://git.kernel.org/stable/c/bebf542e8d7c44a18a95f306b1b5dc160c823506",
        "https://git.kernel.org/stable/c/ebaeca33d32c8bdb705a8c88267737a456f354b1",
        "https://git.kernel.org/stable/c/ed3d3883476423f337aac0f22c521819b3f1e970",
        "https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html",
        "https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/57xxx/CVE-2024-57986.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-57986",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/57xxx/CVE-2024-57986.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-57986",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 519168,
  "published_at": "2025-02-27T02:07:10.621+00:00"
}