Bug 2454818 (CVE-2026-31401) - CVE-2026-31401 kernel: HID: bpf: prevent buffer overflow in hid_hw_request
Summary: CVE-2026-31401 kernel: HID: bpf: prevent buffer overflow in hid_hw_request
Keywords:
Status: NEW
Alias: CVE-2026-31401
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-04-03 16:02 UTC by OSIDB Bzimport
Modified: 2026-04-06 20:32 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-04-03 16:02:25 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.