CVE-2026-31401
HID: bpf: prevent buffer overflow in hid_hw_request
CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
6th
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.
| Vendor | linux |
| Product | linux |
| Ecosystems | |
| Industries | Technology |
| Published | Apr 3, 2026 |
| Last Updated | Apr 13, 2026 |
Stay Ahead of the Next One
Get instant alerts for linux linux
Be the first to know when new unknown vulnerabilities affecting linux linux are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Linux / Linux
8bd0488b5ea58655ad6fdcbe0408ef49b16882b1 < d6efaa50af62fb0790dd1fd4e7e5506b46312510 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1 < 73c5b5aea1c443239c8cb4191b4af7a4bd6fd7b1 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1 < eb57dae20fdf6f3069cdc07821fa3bb46de381d7 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1 < 2b658c1c442ec1cd9eec5ead98d68662c40fe645
Linux / Linux
6.11
References
git.kernel.org: https://git.kernel.org/stable/c/d6efaa50af62fb0790dd1fd4e7e5506b46312510 git.kernel.org: https://git.kernel.org/stable/c/73c5b5aea1c443239c8cb4191b4af7a4bd6fd7b1 git.kernel.org: https://git.kernel.org/stable/c/eb57dae20fdf6f3069cdc07821fa3bb46de381d7 git.kernel.org: https://git.kernel.org/stable/c/2b658c1c442ec1cd9eec5ead98d68662c40fe645