{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-31624","published":"2026-04-24T15:16:41.697000Z","last_modified":"2026-11-11T23:10:00.263000Z","status":"Modified","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":[],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"2.6.20.1","version_end_excluding":"6.6.136"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.7","version_end_excluding":"6.12.83"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.13","version_end_excluding":"6.18.24"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.19","version_end_excluding":"6.19.14"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"7.0","version_end_excluding":"7.0.1"},{"criteria":"cpe:2.3:o:linux:linux_kernel:2.6.20:-:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"2.6.20"}],"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":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2026-31624/","html_en":"/en/cve/CVE-2026-31624/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-31624","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-31624"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: core: clamp report_size in s32ton() to avoid undefined shift\n\ns32ton() shifts by n-1 where n is the field's report_size, a value that\ncomes directly from a HID device.  The HID parser bounds report_size\nonly to <= 256, so a broken HID device can supply a report descriptor\nwith a wide field that triggers shift exponents up to 256 on a 32-bit\ntype when an output report is built via hid_output_field() or\nhid_set_field().\n\nCommit ec61b41918587 (\"HID: core: fix shift-out-of-bounds in\nhid_report_raw_event\") added the same n > 32 clamp to the function\nsnto32(), but s32ton() was never given the same fix as I guess syzbot\nhadn't figured out how to fuzz a device the same way.\n\nFix this up by just clamping the max value of n, just like snto32()\ndoes.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIMATIC S7-1500 TM MFP - GNU/Linux subsystem","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/0ab048dbdb1daacf17d52e9252297eb6e1298e49","tags":[]},{"url":"https://git.kernel.org/stable/c/58386f00af710922cafb0fb69211497beddfaa95","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/69c02ffde6ed4d535fa4e693a9e572729cad3d0d","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/76ad02854a30c394e0c076e6e6bed0a388573a94","tags":[]},{"url":"https://git.kernel.org/stable/c/8a8333237f1f5caab8d4c3d2c2e7578c4263a97f","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/932ae5309e53561197aa7d1606c7cf63af10e24f","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/97014719bb8fccb1ffcbbc299e84b1f11b114195","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/ea363a34086ddb4231adc581a7f36c39ec154bfc","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/eb415ddaf25e09ddb8fe5736a70c9de2e6462534","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html","tags":[]}]},"bulletins":[{"source":"siemens","id":"SSA-784472","url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html","published":"2026-10-13T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 TM MFP V1.1.1"}},{"source":"suse","id":"SUSE-SU-2026:23244-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202623244-1/","published":"2026-08-18T20:52:35+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}},{"source":"suse","id":"SUSE-SU-2026:23241-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202623241-1/","published":"2026-08-18T20:43:06+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}},{"source":"suse","id":"SUSE-SU-2026:23194-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202623194-1/","published":"2026-08-18T19:48:07+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}}]}