7.8
/ 10
HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
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.
Basic Information
ID
CVE-2026-31401
Source
Linux
Published
Apr 3, 2026 at 15:16
Modified
Apr 27, 2026 at 14:02
Affected Product
Vendor
Linux
Product
Linux
Version
8bd0488b5ea58655ad6fdcbe0408ef49b16882b1
Affected Versions
Linux Linux 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1
Linux Linux 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1
Linux Linux 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1
Linux Linux 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1
Linux Linux 6.11
Linux Linux 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1
Linux Linux 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1
Linux Linux 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1
Linux Linux 6.11