Skip to main content
VulnerabilityPublished Updated

CVE-2026-31401: Linux kernel · HID: bpf: prevent buffer overflow in hid_hw_request

Affects Linux kernelSource CVE Database V5

0

Not known to be exploited · CVSS 7.8 High · fixed in eb57dae20fdf6f3069cdc07821fa3bb46de381d7 : patch Linux kernel soon.

Data as of 26 Oct 2026, 10:24 UTC

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 2% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CISA SSVC
Exploitation
No evidence of active exploitation and no public proof of concept
Automatable
Attackers cannot reliably automate steps 1–4 of the kill chain
Technical impact
Total control over the software or total information disclosure

CISA SSVC assessment, 2026-10-16.

Patch
Available – fixed in eb57dae20fdf6f3069cdc07821fa3bb46de381d7, d6efaa50af62fb0790dd1fd4e7e5506b46312510, 73c5b5aea1c443239c8cb4191b4af7a4bd6fd7b1 +1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade Linux kernel to eb57dae20fdf6f3069cdc07821fa3bb46de381d7, d6efaa50af62fb0790dd1fd4e7e5506b46312510, 73c5b5aea1c443239c8cb4191b4af7a4bd6fd7b1 or 2b658c1c442ec1cd9eec5ead98d68662c40fe645.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1, < eb57dae20fdf6f3069cdc07821fa3bb46de381d7
Fixed in
  • eb57dae20fdf6f3069cdc07821fa3bb46de381d7
LinuxLinuxAffected
  • ≥ 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1, < d6efaa50af62fb0790dd1fd4e7e5506b46312510
Fixed in
  • d6efaa50af62fb0790dd1fd4e7e5506b46312510
LinuxLinuxAffected
  • ≥ 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1, < 73c5b5aea1c443239c8cb4191b4af7a4bd6fd7b1
Fixed in
  • 73c5b5aea1c443239c8cb4191b4af7a4bd6fd7b1
LinuxLinuxAffected
  • ≥ 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1, < 2b658c1c442ec1cd9eec5ead98d68662c40fe645
Fixed in
  • 2b658c1c442ec1cd9eec5ead98d68662c40fe645
LinuxLinuxAffected
  • =6.11
Fixed in–

Description

In the Linux kernel, the following vulnerability has been resolved: HID: bpf: prevent buffer overflow in hid_hw_request right now the returned value is considered to be always valid. However, when playing with HID-BPF, the return value can be arbitrary big, because it's the return value of dispatch_hid_bpf_raw_requests(), which calls the struct_ops and we have no guarantees that the value makes sense.

References

Community reviews

Loading reviews…