CVE-2026-31401: Linux Kernel
High severity, CVSS 7.8. EPSS: 0.2% chance of exploitation in the next 30 days.
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.
Affected products
- Linux Linux Kernel: from 6.11, before 6.12.78 (fixed in 6.12.78); from 6.13, before 6.18.20 (fixed in 6.18.20); from 6.19, before 6.19.10 (fixed in 6.19.10); version 7.0 only
Published 2026-04-03. Last modified 2026-07-24.