Linux kernel HID core s32ton() zero-bit conversion denial of service
CVE-2025-38556 affects the Linux kernel HID core's s32ton() conversion routine. Converting a 32-bit value to a field with a bit width of zero can trigger a shift-out-of-bounds exception. This condition can arise when a buggy or malformed HID device specifies a zero-sized report field. The resulting exception can cause a kernel crash and denial of service. The fix explicitly handles zero-bit conversions, returning a reasonable result consistent with snto32() rather than crashing or rejecting the report or device.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Processing a zero-sized HID report field through the vulnerable conversion routine can cause a kernel crash and denial of service, potentially disrupting the entire host. Arbitrary code execution, privilege escalation, and confidentiality impacts are not established for this vulnerability.
If you can’t patch tonight, do this now.
Until the kernel is patched, avoid untrusted or malformed HID devices and restrict physical access to affected systems. Where operationally feasible, use device authorization policies or disable unused USB ports or HID support to prevent exposure to attacker-controlled devices.
Patch, then assume compromise.
Install distribution-provided kernel updates containing the s32ton() zero-bit conversion fix, then reboot into the updated kernel. Applicable Red Hat advisories include RHSA-2025:16372 for RHEL 8, RHSA-2025:17760 for RHEL 9, and RHSA-2025:17776 for RHEL 10. For RHEL 8.10, a fixed kernel package version is 4.18.0-553.76.1.el8_10. Other affected distributions and support streams require their corresponding vendor updates.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
28 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.