cbcvebase.
CVE-2025-38556
published 2025-08-19

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…

PriorityP428high7.1CVSS 3.1
AVLACLPRLUINSUCHINAH
EPSS
0.16%
5.8th percentile
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.

Affected

30 ranges· showing 25
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.159-1 (bookworm)linux 6.1.159-1 (bookworm)
debianlinux-6.1< linux 6.1.159-1 (bookworm)linux 6.1.159-1 (bookworm)
linuxlinux
linuxlinux>= dde5845a529ff753364a6d1aea61180946270bfa < 6cdf6c708717c5c6897d0800a1793e83757c74916cdf6c708717c5c6897d0800a1793e83757c7491
linuxlinux>= dde5845a529ff753364a6d1aea61180946270bfa < eeeaba737919bdce9885e2a00ac2912f61a3684deeeaba737919bdce9885e2a00ac2912f61a3684d
linuxlinux>= dde5845a529ff753364a6d1aea61180946270bfa < 3c86548a20d7bc2861aa4de044991a327bebad1a3c86548a20d7bc2861aa4de044991a327bebad1a
linuxlinux>= dde5845a529ff753364a6d1aea61180946270bfa < 810189546cb6c8f36443ed091d91f1f5d2fc2ec7810189546cb6c8f36443ed091d91f1f5d2fc2ec7
linuxlinux>= dde5845a529ff753364a6d1aea61180946270bfa < d3b504146c111548ab60b6ef7aad00bfb1db05a2d3b504146c111548ab60b6ef7aad00bfb1db05a2
linuxlinux>= dde5845a529ff753364a6d1aea61180946270bfa < 8b4a94b1510f6a46ec48494b52ee8f67eb4fc8368b4a94b1510f6a46ec48494b52ee8f67eb4fc836
linuxlinux>= dde5845a529ff753364a6d1aea61180946270bfa < 865ad8469fa24de1559f247d9426ab01e5ce3a56865ad8469fa24de1559f247d9426ab01e5ce3a56
linuxlinux>= dde5845a529ff753364a6d1aea61180946270bfa < a6b87bfc2ab5bccb7ad953693c85d9062aef3fdda6b87bfc2ab5bccb7ad953693c85d9062aef3fdd
linuxlinux_kernel>= 0 < 5.10.249-15.10.249-1
linuxlinux_kernel>= 0 < 6.1.159-16.1.159-1
linuxlinux_kernel>= 0 < 6.12.48-16.12.48-1
linuxlinux_kernel>= 0 < 6.16.3-16.16.3-1
linuxlinux_kernel>= 0 < 5.15.0-173.1835.15.0-173.183
linuxlinux_kernel>= 0 < 6.8.0-106.1066.8.0-106.106
linuxlinux_kernel>= 2.6.20 < 6.12.466.12.46
linuxlinux_kernel>= 6.13 < 6.15.106.15.10
linuxlinux_kernel>= 6.16 < 6.16.16.16.1
msrcazl3_kernel_6.6.104.2-4_on_azure_linux_3.0
msrcazl3_kernel_6.6.112.1-2_on_azure_linux_3.0
msrcazl3_kernel_6.6.117.1-1_on_azure_linux_3.0
msrcazl3_kernel_6.6.96.2-1_on_azure_linux_3.0
msrcazl3_kernel_6.6.96.2-2_on_azure_linux_3.0

CVSS provenance

nvdv3.17.1HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
osv7.8HIGH
vendor_msrc8.0HIGH
vendor_ubuntu7.8HIGH
vendor_debian7.1HIGH
vendor_redhat7.1HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.