#VU124881 Stack-based buffer overflow in Linux kernel - CVE-2026-31401

 

#VU124881 Stack-based buffer overflow in Linux kernel - CVE-2026-31401

Published: April 6, 2026


Vulnerability identifier: #VU124881
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-31401
CWE-ID: CWE-121
Exploitation vector: Local access
Exploit availability: No public exploit available
Vulnerable software:
Linux kernel
Software vendor:
Linux Foundation

Description

The vulnerability allows a local user to cause a denial of service.

The vulnerability exists due to stack-based buffer overflow in hid_hw_request when processing an arbitrary return value from HID-BPF raw requests. A local user can supply a crafted return value through HID-BPF struct_ops to cause a denial of service.

The issue occurs because the returned value from dispatch_hid_bpf_raw_requests() is not guaranteed to be valid and can be arbitrarily large when using HID-BPF.


Remediation

Install security update from vendor's repository.

External links