{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2025-38556",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-38556",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-08-19T17:02:34.929Z",
    "updatedAt": "2026-06-11T18:44:17.332Z",
    "importedAt": "2026-10-24T01:57:34.152Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "HID: core: Harden s32ton() against conversion to 0 bits",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nHID: core: Harden s32ton() against conversion to 0 bits\n\nTesting by the syzbot fuzzer showed that the HID core gets a\nshift-out-of-bounds exception when it tries to convert a 32-bit\nquantity to a 0-bit quantity.  Ideally this should never occur, but\nthere are buggy devices and some might have a report field with size\nset to zero; we shouldn't reject the report or the device just because\nof that.\n\nInstead, harden the s32ton() routine so that it returns a reasonable\nresult instead of crashing when it is called with the number of bits\nset to 0 -- the same as what snto32() does.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "dde5845a529ff753364a6d1aea61180946270bfa",
              "status": "affected",
              "versionType": "git",
              "lessThan": "6cdf6c708717c5c6897d0800a1793e83757c7491"
            },
            {
              "version": "dde5845a529ff753364a6d1aea61180946270bfa",
              "status": "affected",
              "versionType": "git",
              "lessThan": "eeeaba737919bdce9885e2a00ac2912f61a3684d"
            },
            {
              "version": "dde5845a529ff753364a6d1aea61180946270bfa",
              "status": "affected",
              "versionType": "git",
              "lessThan": "3c86548a20d7bc2861aa4de044991a327bebad1a"
            },
            {
              "version": "dde5845a529ff753364a6d1aea61180946270bfa",
              "status": "affected",
              "versionType": "git",
              "lessThan": "810189546cb6c8f36443ed091d91f1f5d2fc2ec7"
            },
            {
              "version": "dde5845a529ff753364a6d1aea61180946270bfa",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d3b504146c111548ab60b6ef7aad00bfb1db05a2"
            },
            {
              "version": "dde5845a529ff753364a6d1aea61180946270bfa",
              "status": "affected",
              "versionType": "git",
              "lessThan": "8b4a94b1510f6a46ec48494b52ee8f67eb4fc836"
            },
            {
              "version": "dde5845a529ff753364a6d1aea61180946270bfa",
              "status": "affected",
              "versionType": "git",
              "lessThan": "865ad8469fa24de1559f247d9426ab01e5ce3a56"
            },
            {
              "version": "dde5845a529ff753364a6d1aea61180946270bfa",
              "status": "affected",
              "versionType": "git",
              "lessThan": "a6b87bfc2ab5bccb7ad953693c85d9062aef3fdd"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "2.6.20",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "2.6.20"
            },
            {
              "version": "5.10.248",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.198",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.159",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.119",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.46",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.15.10",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.15.*"
            },
            {
              "version": "6.16.1",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.16.*"
            },
            {
              "version": "6.17",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}