CVE-2026-99332
HID: core: Fix out-of-bounds left shift by 32 in s32ton()
- CVSS
- —
- EPSS
- 0.23% (p15)
- Published
- 2026-11-19
- Age
- 15d old
- Modified
- 2026-12-01
- Product
- Linux Linux
Description
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.
Fixed in
076bea989f998f4d5a62d74de2f04f6f5b94b3f3 · 20518a118bf185e72f769eb07aeed5848c095d31 · 4a9540176af7f784ba3660a8da45bf66defc9960 · 5.10.275 · 5.11 · 5.15.226 · 5.16 · 5fe63b415c636c7f4f6848a8e53bdd4bbf0c300d · 6.1.193 · 6.12.117 · 6.18.61 · 6.2 · 6.20 · 6.6.163 · 6.7 · 7.1 · 7.3.2 · 8bc6279634b03222d79788481810562a7d3564fe · 982413b709dd105cdf34bdfa9c4a8063ce574dea · a34e4bd9c4ef339cb99dd533bf24a077b84dd099 · e0581a828c8cab80f13f70a4371bf5fc101f68c8
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5.10.258, <5.10.275 | 5.10.275 |
| Linux | Kernel | >=5.15.209, <5.15.226 | 5.15.226 |
| Linux | Kernel | >=6.1.175, <6.1.193 | 6.1.193 |
| Linux | Kernel | >=6.12.83, <6.12.117 | 6.12.117 |
| Linux | Kernel | >=6.18.24, <6.18.61 | 6.18.61 |
| Linux | Kernel | >=6.19.14, <6.20 | 6.20 |
| Linux | Kernel | >=6.6.136, <6.6.163 | 6.6.163 |
| Linux | Kernel | >=7.0.1, <7.1 | 7.1 |
| Linux | Kernel | >=7.1.0, <7.3.2 | 7.3.2 |
| vendor | Linux | >=0ab048dbdb1daacf17d52e9252297eb6e1298e49, <a34e4bd9c4ef339cb99dd533bf24a077b84dd099 | a34e4bd9c4ef339cb99dd533bf24a077b84dd099 |
| vendor | Linux | >=5.10.258, <5.10.275 | 5.10.275 |
| vendor | Linux | >=5.10.258, <5.11 | 5.11 |
| vendor | Linux | >=5.15.209, <5.15.226 | 5.15.226 |
| vendor | Linux | >=5.15.209, <5.16 | 5.16 |
| vendor | Linux | >=58386f00af710922cafb0fb69211497beddfaa95, <8bc6279634b03222d79788481810562a7d3564fe | 8bc6279634b03222d79788481810562a7d3564fe |
| vendor | Linux | >=6.1.175, <6.1.193 | 6.1.193 |
| vendor | Linux | >=6.1.175, <6.2 | 6.2 |
| vendor | Linux | >=6.12.83, <6.12.117 | 6.12.117 |
| vendor | Linux | >=6.18.24, <6.18.61 | 6.18.61 |
| vendor | Linux | >=6.19.14, <6.20 | 6.20 |
| vendor | Linux | >=6.6.136, <6.6.163 | 6.6.163 |
| vendor | Linux | >=6.6.136, <6.7 | 6.7 |
| vendor | Linux | >=69c02ffde6ed4d535fa4e693a9e572729cad3d0d, <20518a118bf185e72f769eb07aeed5848c095d31 | 20518a118bf185e72f769eb07aeed5848c095d31 |
| vendor | Linux | >=69c02ffde6ed4d535fa4e693a9e572729cad3d0d, <5fe63b415c636c7f4f6848a8e53bdd4bbf0c300d | 5fe63b415c636c7f4f6848a8e53bdd4bbf0c300d |
| vendor | Linux | >=7.0.1, <7.1 | 7.1 |
| vendor | Linux | >=76ad02854a30c394e0c076e6e6bed0a388573a94, <982413b709dd105cdf34bdfa9c4a8063ce574dea | 982413b709dd105cdf34bdfa9c4a8063ce574dea |
| vendor | Linux | >=8a8333237f1f5caab8d4c3d2c2e7578c4263a97f, <076bea989f998f4d5a62d74de2f04f6f5b94b3f3 | 076bea989f998f4d5a62d74de2f04f6f5b94b3f3 |
| vendor | Linux | >=932ae5309e53561197aa7d1606c7cf63af10e24f, <e0581a828c8cab80f13f70a4371bf5fc101f68c8 | e0581a828c8cab80f13f70a4371bf5fc101f68c8 |
| vendor | Linux | >=eb415ddaf25e09ddb8fe5736a70c9de2e6462534, <4a9540176af7f784ba3660a8da45bf66defc9960 | 4a9540176af7f784ba3660a8da45bf66defc9960 |
Sources
- NVD · first seen 15d ago · NVD terms of use
- OSV · first seen 3d ago · CC-BY 4.0
- CVE List · first seen 15d ago · CVE Terms of Use
References
- https://git.kernel.org/stable/c/8bc6279634b03222d79788481810562a7d3564fe other
- https://git.kernel.org/stable/c/076bea989f998f4d5a62d74de2f04f6f5b94b3f3 other
- https://git.kernel.org/stable/c/20518a118bf185e72f769eb07aeed5848c095d31 other
- https://git.kernel.org/stable/c/5fe63b415c636c7f4f6848a8e53bdd4bbf0c300d other
- https://git.kernel.org/stable/c/982413b709dd105cdf34bdfa9c4a8063ce574dea other
- https://git.kernel.org/stable/c/4a9540176af7f784ba3660a8da45bf66defc9960 other
- https://git.kernel.org/stable/c/a34e4bd9c4ef339cb99dd533bf24a077b84dd099 other
- https://git.kernel.org/stable/c/e0581a828c8cab80f13f70a4371bf5fc101f68c8 other
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99332.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-99332 advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git package