{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "58386f00af710922cafb0fb69211497beddfaa95"
            },
            {
              "fixed": "8bc6279634b03222d79788481810562a7d3564fe"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "8a8333237f1f5caab8d4c3d2c2e7578c4263a97f"
            },
            {
              "fixed": "076bea989f998f4d5a62d74de2f04f6f5b94b3f3"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "69c02ffde6ed4d535fa4e693a9e572729cad3d0d"
            },
            {
              "fixed": "20518a118bf185e72f769eb07aeed5848c095d31"
            },
            {
              "fixed": "5fe63b415c636c7f4f6848a8e53bdd4bbf0c300d"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "76ad02854a30c394e0c076e6e6bed0a388573a94"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "eb415ddaf25e09ddb8fe5736a70c9de2e6462534"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0ab048dbdb1daacf17d52e9252297eb6e1298e49"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "932ae5309e53561197aa7d1606c7cf63af10e24f"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "ea363a34086ddb4231adc581a7f36c39ec154bfc"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "97014719bb8fccb1ffcbbc299e84b1f11b114195"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.10.258"
            },
            {
              "fixed": "5.11"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.15.209"
            },
            {
              "fixed": "5.16"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.1.175"
            },
            {
              "fixed": "6.2"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.6.136"
            },
            {
              "fixed": "6.7"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.12.83"
            },
            {
              "fixed": "6.12.117"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.18.24"
            },
            {
              "fixed": "6.18.61"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.14"
            },
            {
              "fixed": "6.20"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "7.0.1"
            },
            {
              "fixed": "7.1"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "7.1.0"
            },
            {
              "fixed": "7.3.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99332.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nHID: core: Fix out-of-bounds left shift by 32 in s32ton()\n\nSyzbot reported an out-of-bounds shift (32-bit integer shifted left by\n32) in the s32ton() routine in the HID core.  This routine converts a\nsigned 32-bit integer to a signed n-bit integer, and it caps the value\nof n at 32.  But when n == 32 there's no need to do anything; it can\nsimply return the input value.  This will avoid calculating (1 \u003c\u003c n)\nwhen n is 32, which was the cause of the invalid shift.",
  "id": "CVE-2026-99332",
  "modified": "2026-11-19T16:45:26.311307962Z",
  "published": "2026-11-19T14:21:38.850Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/076bea989f998f4d5a62d74de2f04f6f5b94b3f3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/20518a118bf185e72f769eb07aeed5848c095d31"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5fe63b415c636c7f4f6848a8e53bdd4bbf0c300d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8bc6279634b03222d79788481810562a7d3564fe"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99332.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99332"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "HID: core: Fix out-of-bounds left shift by 32 in s32ton()"
}