Skip to content
StratQuad

Threats

Linux kernel HID core shift-out-of-bounds in s32ton()

CVE-2026-31624Medium

The s32ton() function in the Linux kernel HID core shifts a 32-bit value by n-1, where n comes from a HID device's report_size field. A malformed HID device can set report_size up to 256, causing shift exponents beyond 32 bits and triggering undefined behaviour. An attacker with a crafted HID device could trigger this flaw when the kernel builds an output report via hid_output_field() or hid_set_field().

Plain English summary of the NVD and CISA text, checked by machine against both.

Scores and dates

CVSS 3.1
5.5
MEDIUM
EPSS score
0.00
Probability of exploitation in 30 days
EPSS percentile
2nd
Share of scored CVEs at or below this one

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Daily EPSS score, 3 Nov to 14 Nov, source FIRST

Detail

Affected versions

  • linux linux kernel: from 2.6.20.1, before 6.6.136
  • linux linux kernel: from 6.7, before 6.12.83
  • linux linux kernel: from 6.13, before 6.18.24
  • linux linux kernel: from 6.19, before 6.19.14
  • linux linux kernel: from 7.0, before 7.0.1
  • linux linux kernel: 2.6.20

Reports naming this CVE1 in total