Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.11, < 6.12.78 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/2b658c1c442ec1cd9eec5ead98d68662c40fe645Patch
- https://git.kernel.org/stable/c/73c5b5aea1c443239c8cb4191b4af7a4bd6fd7b1Patch
- https://git.kernel.org/stable/c/d6efaa50af62fb0790dd1fd4e7e5506b46312510Patch
- https://git.kernel.org/stable/c/eb57dae20fdf6f3069cdc07821fa3bb46de381d7Patch
FAQ
What is CVE-2026-31401?
CVE-2026-31401 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 p...
How severe is CVE-2026-31401?
CVE-2026-31401 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-31401?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.