Improper control of a resource through its lifetime in Linux kernel - CVE-2026-31722

 

Improper control of a resource through its lifetime in Linux kernel - CVE-2026-31722

Published: May 2, 2026


Vulnerability identifier: #VU128972
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-31722
CWE-ID: CWE-664
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 resource management in the f_rndis net_device lifecycle handling when unbinding and rebinding the gadget function. A local user can trigger bind and unbind cycles to cause a denial of service.

The issue results in dangling sysfs symlinks because the net_device survives after its parent gadget device is destroyed.


How to mitigate CVE-2026-31722

Install security update from vendor's repository.

Sources