PoC Monitor
← All CVEs
CVE-2026-31401published 3 Apr 2026 15:16 UTCData: JSON · API

Linux

HID: bpf: prevent buffer overflow in hid_hw_request

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by CNA · CWE-120
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Linux Linux
  • >= 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1, < d6efaa50af62fb0790dd1fd4e7e5506b46312510
  • >= 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1, < 73c5b5aea1c443239c8cb4191b4af7a4bd6fd7b1
  • >= 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1, < eb57dae20fdf6f3069cdc07821fa3bb46de381d7
  • >= 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1, < 2b658c1c442ec1cd9eec5ead98d68662c40fe645

Fixed in d6efaa50af62fb0790dd1fd4e7e5506b46312510, 73c5b5aea1c443239c8cb4191b4af7a4bd6fd7b1, eb57dae20fdf6f3069cdc07821fa3bb46de381d7, 2b658c1c442ec1cd9eec5ead98d68662c40fe645

Linux Linux
  • 6.11

Fixed in 0, 6.12.78, 6.18.20, 6.19.10, 7.0

Mitigation

Upgrade Linux to d6efaa50af62fb0790dd1fd4e7e5506b46312510 or 73c5b5aea1c443239c8cb4191b4af7a4bd6fd7b1 or eb57dae20fdf6f3069cdc07821fa3bb46de381d7 or 2b658c1c442ec1cd9eec5ead98d68662c40fe645 or later.

Upgrade Linux to 0 or 6.12.78 or 6.18.20 or 6.19.10 or 7.0 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published3 Apr 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.