CVEvulnerability
CVE-2026-31401
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2026-04-03
- Last modified
- 2026-10-19
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-120, CWE-787
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.
Affected configurations
• linux linux kernel (>= 6.11 < 6.12.78)
• linux linux kernel (>= 6.13 < 6.18.20)
• linux linux kernel (>= 6.19 < 6.19.10)
• linux linux kernel 7.0
Related
References
- https://git.kernel.org/stable/c/2b658c1c442ec1cd9eec5ead98d68662c40fe645 Patch
- https://git.kernel.org/stable/c/73c5b5aea1c443239c8cb4191b4af7a4bd6fd7b1 Patch
- https://git.kernel.org/stable/c/d6efaa50af62fb0790dd1fd4e7e5506b46312510 Patch
- https://git.kernel.org/stable/c/eb57dae20fdf6f3069cdc07821fa3bb46de381d7 Patch