HID: core: Fix out-of-bounds left shift by 32 in s32ton()
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 5.10.258, < 5.10.275→ 5.10.275 ≥ 5.15.209, < 5.15.226→ 5.15.226 ≥ 6.1.175, < 6.1.193→ 6.1.193 ≥ 6.6.136, < 6.6.163→ 6.6.163 ≥ 6.12.83, < 6.12.117→ 6.12.117 ≥ 6.18.24, < 6.18.61→ 6.18.61 ≥ 6.19.14, < 6.20→ 6.20 ≥ 7.0.1, < 7.1→ 7.1 ≥ 7.1.0, < 7.3.2→ 7.3.2 |
5.10.275 5.15.226 6.1.193 6.6.163 6.12.117 6.18.61 6.20 7.1 7.3.2 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-99332 linux-lts Fix available
- Debian DEBIAN-CVE-2026-99332 linux-6.12, linux Fix available
- Ubuntu UBUNTU-CVE-2026-99332 linux-xilinx-zynqmp, linux-xilinx, linux-vmware +154 more No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com