HID: core: Fix out-of-bounds left shift by 32 in s32ton() (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.23 % · percentile 15 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
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.
References
- https://git.kernel.org/stable/c/982413b709dd105cdf34bdfa9c4a8063ce574dea
- https://git.kernel.org/stable/c/4a9540176af7f784ba3660a8da45bf66defc9960
- https://git.kernel.org/stable/c/a34e4bd9c4ef339cb99dd533bf24a077b84dd099
- https://git.kernel.org/stable/c/e0581a828c8cab80f13f70a4371bf5fc101f68c8
- 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
European references
- ENISA EUVD · EUVD-2026-130230
- GCVE · GCVE-0-2026-99332
CERT-FR advisories
- CERTFR-2026-AVI-1676 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1639 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 76ad02854a30c394e0c076e6e6bed0a388573a94 < 982413b709dd105cdf34bdfa9c4a8063ce574dea affected : ≥ eb415ddaf25e09ddb8fe5736a70c9de2e6462534 < 4a9540176af7f784ba3660a8da45bf66defc9960 affected : ≥ 0ab048dbdb1daacf17d52e9252297eb6e1298e49 < a34e4bd9c4ef339cb99dd533bf24a077b84dd099 affected : ≥ 932ae5309e53561197aa7d1606c7cf63af10e24f < e0581a828c8cab80f13f70a4371bf5fc101f68c8 affected : ≥ 58386f00af710922cafb0fb69211497beddfaa95 < 8bc6279634b03222d79788481810562a7d3564fe affected : ≥ 8a8333237f1f5caab8d4c3d2c2e7578c4263a97f < 076bea989f998f4d5a62d74de2f04f6f5b94b3f3 affected : ≥ 69c02ffde6ed4d535fa4e693a9e572729cad3d0d < 20518a118bf185e72f769eb07aeed5848c095d31 affected : ≥ 69c02ffde6ed4d535fa4e693a9e572729cad3d0d < 5fe63b415c636c7f4f6848a8e53bdd4bbf0c300d affected : ea363a34086ddb4231adc581a7f36c39ec154bfc affected : 97014719bb8fccb1ffcbbc299e84b1f11b114195 affected : ≥ 5.10.258 < 5.10.275 affected : ≥ 5.15.209 < 5.15.226 affected : ≥ 6.1.175 < 6.1.193 affected : ≥ 6.6.136 < 6.6.163 affected : ≥ 6.12.83 < 6.12.117 affected : ≥ 6.18.24 < 6.18.61 affected : ≥ 6.19.14 < 6.20 affected : ≥ 7.0.1 < 7.1 Other versions : unaffected |
| Linux · Linux | affected : 7.1 unaffected : ≥ 0 < 7.1 unaffected : ≥ 5.10.275 ≤ 5.10.* unaffected : ≥ 5.15.226 ≤ 5.15.* unaffected : ≥ 6.1.193 ≤ 6.1.* unaffected : ≥ 6.6.163 ≤ 6.6.* unaffected : ≥ 6.12.117 ≤ 6.12.* unaffected : ≥ 6.18.61 ≤ 6.18.* unaffected : ≥ 7.3.2 ≤ 7.3.* unaffected : ≥ 7.4-rc1 ≤ * Other versions : affected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |