CVE Catalog

CVE-2026-31401

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.14%

3th percentile - higher than 3% of all known CVEs

Summary

A buffer overflow vulnerability in the hid_hw_request function in the Linux kernel's HID BPF. The return value can be arbitrarily large because it comes from dispatch_hid_bpf_raw_requests(), which calls struct_ops without guarantees. This could lead to a buffer overflow.

Risk Assessment

An attacker could cause a system crash or potentially gain privilege escalation by manipulating HID drivers.

Recommendation

Apply the security patch provided by your Linux kernel distributor. Update the kernel to a version containing the fix.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS