DEBIAN-CVE-2025-38556
In the Linux kernel, the following vulnerability has been resolved: HID: core: Harden s32ton() against conversion to 0 bits Testing by the syzbot fuzzer showed that the HID core gets a shift-out-of-bounds exception when it tries to convert a 32-bit quantity to a 0-bit quantity. Ideally this should never occur, but there are buggy devices and some might have a report field with size set to zero; we shouldn't reject the report or the device just because of that. Instead, harden the s32ton() routine so that it returns a reasonable result instead of crashing when it is called with the number of bits set to 0 -- the same as what snto32() does.
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Debian:14 | linux | 6.15.2-1~exp1, 6.15.4-1~exp1, 6.15.6-1~exp1 |
| Debian:11 | linux-6.1 | 6.1.112-1~deb11u1, 6.1.106-3~deb11u3, 6.1.106-3~deb11u1 |
| Debian:12 | linux | 6.1.129-1, 0, 6.1.106-1 |
| Debian:13 | linux | 6.12.43-1, 6.12.43-1, 6.12.41-1 |
| Debian:11 | linux | 5.10.221-1, 5.10.226-1, 5.10.234-1 |
| Debian | linux |
Timeline
- Aug 19, 2025 CVE Published
- Apr 28, 2026 CVE Updated