Improper Initialization in Linux kernel - CVE-2026-31721

 

Improper Initialization in Linux kernel - CVE-2026-31721

Published: May 2, 2026


Vulnerability identifier: #VU128971
CSH Severity: Low
CVSS v4.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-31721
CWE-ID: CWE-665
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Linux Foundation
Affected software:
Linux kernel

Detailed vulnerability description

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

The vulnerability exists due to improper initialization of wait queues in f_hid when re-binding the UDC while a previously opened /dev/hidg0 file descriptor remains registered with epoll. A local user can use the file descriptor in epoll operations across unbind and rebind events to cause a denial of service.

The issue is triggered when the same file descriptor is used with EPOLL_CTL_ADD before unbinding and with EPOLL_CTL_DEL after rebinding.


How to mitigate CVE-2026-31721

Install security update from vendor's repository.

Sources