{"id":"CVE-2026-99332","aliases":["CVE-2026-99332"],"related":[],"kind":"vulnerability","state":"published","title":"HID: core: Fix out-of-bounds left shift by 32 in s32ton()","summary":"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 << n)\nwhen n is 32, which was the cause of the invalid shift.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 << n)\nwhen n is 32, which was the cause of the invalid shift.","source":"cvelist"}],"published":"2026-11-19T14:21:38.850Z","modified":"2026-11-23T08:17:38.237Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"76ad02854a30c394e0c076e6e6bed0a388573a94","fixed":"982413b709dd105cdf34bdfa9c4a8063ce574dea","status":"affected"},{"type":"git","introduced":"eb415ddaf25e09ddb8fe5736a70c9de2e6462534","fixed":"4a9540176af7f784ba3660a8da45bf66defc9960","status":"affected"},{"type":"git","introduced":"0ab048dbdb1daacf17d52e9252297eb6e1298e49","fixed":"a34e4bd9c4ef339cb99dd533bf24a077b84dd099","status":"affected"},{"type":"git","introduced":"932ae5309e53561197aa7d1606c7cf63af10e24f","fixed":"e0581a828c8cab80f13f70a4371bf5fc101f68c8","status":"affected"},{"type":"git","introduced":"58386f00af710922cafb0fb69211497beddfaa95","fixed":"8bc6279634b03222d79788481810562a7d3564fe","status":"affected"},{"type":"git","introduced":"8a8333237f1f5caab8d4c3d2c2e7578c4263a97f","fixed":"076bea989f998f4d5a62d74de2f04f6f5b94b3f3","status":"affected"},{"type":"git","introduced":"69c02ffde6ed4d535fa4e693a9e572729cad3d0d","fixed":"20518a118bf185e72f769eb07aeed5848c095d31","status":"affected"},{"type":"git","introduced":"69c02ffde6ed4d535fa4e693a9e572729cad3d0d","fixed":"5fe63b415c636c7f4f6848a8e53bdd4bbf0c300d","status":"affected"},{"type":"git","version":"ea363a34086ddb4231adc581a7f36c39ec154bfc","status":"affected"},{"type":"git","version":"97014719bb8fccb1ffcbbc299e84b1f11b114195","status":"affected"},{"type":"semver","introduced":"5.10.258","fixed":"5.10.275","status":"affected"},{"type":"semver","introduced":"5.15.209","fixed":"5.15.226","status":"affected"},{"type":"semver","introduced":"6.1.175","fixed":"6.1.193","status":"affected"},{"type":"semver","introduced":"6.6.136","fixed":"6.6.163","status":"affected"},{"type":"semver","introduced":"6.12.83","fixed":"6.12.117","status":"affected"},{"type":"semver","introduced":"6.18.24","fixed":"6.18.61","status":"affected"},{"type":"semver","introduced":"6.19.14","fixed":"6.20","status":"affected"},{"type":"semver","introduced":"7.0.1","fixed":"7.1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.1","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.61","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.2","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/982413b709dd105cdf34bdfa9c4a8063ce574dea","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4a9540176af7f784ba3660a8da45bf66defc9960","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a34e4bd9c4ef339cb99dd533bf24a077b84dd099","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e0581a828c8cab80f13f70a4371bf5fc101f68c8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8bc6279634b03222d79788481810562a7d3564fe","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/076bea989f998f4d5a62d74de2f04f6f5b94b3f3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/20518a118bf185e72f769eb07aeed5848c095d31","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5fe63b415c636c7f4f6848a8e53bdd4bbf0c300d","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99332","url":"https://www.cve.org/CVERecord?id=CVE-2026-99332","licence":"CVE Terms of Use","modified":"2026-11-23T08:01:32.714Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99332","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99332","licence":"Public domain","modified":"2026-11-23T08:17:38.237Z"}],"updatedAt":"2026-11-25T22:59:52.030Z","epss":{"score":0.00232,"percentile":0.15114,"date":"2026-12-01T12:00:22.000Z"}}