{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-38556","published":"2025-08-19T17:15:31.817000Z","last_modified":"2026-06-17T09:17:06.190000Z","status":"Modified","cvss":{"version":"3.1","score":7.1,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-125"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"2.6.20","version_end_excluding":"6.12.46"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.13","version_end_excluding":"6.15.10"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.16","version_end_excluding":"6.16.1"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"high","priority_score":43,"links":{"html_es":"/es/cve/CVE-2025-38556/","html_en":"/en/cve/CVE-2025-38556/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-38556","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-38556"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: core: Harden s32ton() against conversion to 0 bits\n\nTesting by the syzbot fuzzer showed that the HID core gets a\nshift-out-of-bounds exception when it tries to convert a 32-bit\nquantity to a 0-bit quantity.  Ideally this should never occur, but\nthere are buggy devices and some might have a report field with size\nset to zero; we shouldn't reject the report or the device just because\nof that.\n\nInstead, harden the s32ton() routine so that it returns a reasonable\nresult instead of crashing when it is called with the number of bits\nset to 0 -- the same as what snto32() does.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/3c86548a20d7bc2861aa4de044991a327bebad1a","tags":[]},{"url":"https://git.kernel.org/stable/c/6cdf6c708717c5c6897d0800a1793e83757c7491","tags":[]},{"url":"https://git.kernel.org/stable/c/810189546cb6c8f36443ed091d91f1f5d2fc2ec7","tags":[]},{"url":"https://git.kernel.org/stable/c/865ad8469fa24de1559f247d9426ab01e5ce3a56","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/8b4a94b1510f6a46ec48494b52ee8f67eb4fc836","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/a6b87bfc2ab5bccb7ad953693c85d9062aef3fdd","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/d3b504146c111548ab60b6ef7aad00bfb1db05a2","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/eeeaba737919bdce9885e2a00ac2912f61a3684d","tags":[]}]},"bulletins":[{"source":"redhat","id":"RHSA-2025:22752","url":"https://access.redhat.com/errata/RHSA-2025:22752","published":"2025-12-05T10:08:24+00:00","severity":"medium","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: kernel security update"}}]}