CVE-2025-38556
HighIn 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.
CVSS 3.1 score
7.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Weakness type
CWE-125CVE-2025-38556 is a Out-of-bounds Read vulnerability
What is Out-of-bounds Read?
The product reads data past the end or before the beginning of the intended buffer. Learn more on MITRE CWE
Affected versions
Linux kernel versions
2.6.20
and later are affected. Fixed in
5.10.248,
5.15.198,
6.1.159,
6.6.119,
6.12.46,
6.15.10,
6.16.1,
6.17
and their respective stable series.
References
The following references provide additional information about CVE-2025-38556 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/3c86548a20d7bc2861aa4de044991a327bebad1a
-
PatchKernel patch commithttps://git.kernel.org/stable/c/6cdf6c708717c5c6897d0800a1793e83757c7491
-
PatchKernel patch commithttps://git.kernel.org/stable/c/810189546cb6c8f36443ed091d91f1f5d2fc2ec7
Frequently asked questions
-
What is CVE-2025-38556?
CVE-2025-38556 is a High severity Linux kernel vulnerability with a CVSS score of 7.1 out of 10 , classified as an Out-of-bounds Read flaw (CWE-125) . It affects Linux kernel versions from 2.6.20 onward and has been patched in 5.10.248, 5.15.198, 6.1.159 and others. CVE-2025-38556 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2025-38556?
CVE-2025-38556 has a CVSS score of 7.1 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H. -
Is there a patch available for CVE-2025-38556?
Yes — CVE-2025-38556 has been patched. Fixed versions include 5.10.248, 5.15.198, 6.1.159 and others. If you are running Linux kernel 2.6.20 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-38556 actively exploited?
No — CVE-2025-38556 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Out-of-bounds Read (CWE-125)?
The product reads data past the end or before the beginning of the intended buffer. View CWE-125 on MITRE CWE →