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

 

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

Published: May 2, 2026


Vulnerability identifier: #VU128938
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-31754
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 state management in the cdns3 gadget role-switch handling when switching from a failed gadget initialization to host mode via sysfs. A local user can trigger a role switch after gadget startup failure to cause a denial of service.

The issue can result in a synchronous external abort in xhci_gen_setup() during host controller setup.


How to mitigate CVE-2026-31754

Install security update from vendor's repository.

Sources