CVE-2025-38556
BaseFortify
Publication date: 2025-08-19
Last updated on: 2025-12-06
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-125 | The product reads data past the end, or before the beginning, of the intended buffer. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is in the Linux kernel's HID core, specifically in the s32ton() function. The issue occurs when the function tries to convert a 32-bit quantity to a 0-bit quantity, which can cause a shift-out-of-bounds exception and potentially crash the system. This happens because some buggy devices may have a report field with size set to zero. The fix hardens the s32ton() function to handle the 0-bit case gracefully by returning a reasonable result instead of crashing.
How can this vulnerability impact me? :
This vulnerability can cause the Linux kernel to crash or behave unexpectedly when handling input from certain HID devices that report a field size of zero bits. This could lead to system instability or denial of service if such devices are connected or used.