CVE-2025-38556
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
AlmaLinux Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| 9 | Fixed | kernel-debug-devel-matched-5.14.0-570.52.1.el9_6.aarch64.rpm |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 6.12.48-1 |
| sid | Fixed | 6.16.3-1 |
| forky | Fixed | 6.16.3-1 |
| bullseye | Fixed | 5.10.249-1 |
| bookworm | Fixed | 6.1.159-1 |
Red Hat Fixed 2 releases
| Version | Status | Fixed in |
|---|---|---|
| 9 | Fixed | โ |
| 8 | Fixed | โ |
Rocky Linux Fixed 2 releases
| Version | Status | Fixed in |
|---|---|---|
| 9 | Fixed | โ |
| 8 | Fixed | โ |
References
- https://access.redhat.com/errata/RHSA-2025:17760
- https://errata.rockylinux.org/RLSA-2025:16372
- https://www.suse.com/security/cve/CVE-2025-38556.html
- https://errata.rockylinux.org/RLSA-2025:17760
- https://security-tracker.debian.org/tracker/CVE-2025-38556
- https://bugzilla.redhat.com/2389456
- https://bugzilla.redhat.com/2389491
- https://bugzilla.redhat.com/2394615
- https://bugzilla.redhat.com/2396379
- https://errata.almalinux.org/9/ALSA-2025-17760.html
- https://access.redhat.com/errata/RHSA-2025:16372
- https://bugzilla.redhat.com/2383513
- https://bugzilla.redhat.com/2384422
- https://errata.almalinux.org/8/ALSA-2025-16372.html
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.