unscored
CVE-2026-99332
In the Linux kernel, the following vulnerability has been resolved: HID: core: Fix out-of-bounds left shift by 32 in s32ton() Syzbot reported an out-of-bounds …
Impact
In the Linux kernel, the following vulnerability has been resolved: HID: core: Fix out-of-bounds left shift by 32 in s32ton() Syzbot reported an out-of-bounds shift (32-bit integer shifted left by 32) in the s32ton() routine in the HID core. This routine converts a signed 32-bit integer to a signed n-bit integer, and it caps the value of n at 32. But when n == 32 there's no need to do anything; it can simply return the input value. This will avoid calculating (1 << n) when n is 32, which was the cause of the invalid shift.
Affected products · Linux
| Product | Affected versions |
|---|---|
| Linux | from 58386f00af710922cafb0fb69211497beddfaa95 before 8bc6279634b03222d79788481810562a7d3564fe from 8a8333237f1f5caab8d4c3d2c2e7578c4263a97f before 076bea989f998f4d5a62d74de2f04f6f5b94b3f3 from 69c02ffde6ed4d535fa4e693a9e572729cad3d0d before 20518a118bf185e72f769eb07aeed5848c095d31 from 69c02ffde6ed4d535fa4e693a9e572729cad3d0d before 5fe63b415c636c7f4f6848a8e53bdd4bbf0c300d Versions 76ad02854a30c394e0c076e6e6bed0a388573a94, eb415ddaf25e09ddb8fe5736a70c9de2e6462534 |
References
- NVD record
- CVE.org record
- GitHub advisory
- https://git.kernel.org/stable/c/8bc6279634b03222d79788481810562a7d3564fe
- https://git.kernel.org/stable/c/076bea989f998f4d5a62d74de2f04f6f5b94b3f3
- https://git.kernel.org/stable/c/20518a118bf185e72f769eb07aeed5848c095d31
- https://git.kernel.org/stable/c/5fe63b415c636c7f4f6848a8e53bdd4bbf0c300d
- https://github.com/advisories/GHSA-g7rm-782r-2jfg
- https://nvd.nist.gov/vuln/detail/CVE-2026-99332