CVE-2026-31756
kernel: usb: dwc2: gadget: Fix spin_lock/unlock mismatch in dwc2_hsotg_udc_stop()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 1, 2026
Updated · June 28, 2026
Description
A flaw was found in the Linux kernel's dwc2 USB gadget driver. A local user could trigger an incorrect locking sequence within the dwc2_hsotg_udc_stop() function. This issue, a spin_lock/unlock mismatch, can lead to a system deadlock, causing a Denial of Service (DoS) for the affected system.
Statement
DWC2 gadget stop path had a spinlock mismatch that could corrupt locking or crash. Red Hat advises gadget platforms using dwc2 to consume corrected kernels.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-832 · Unlock of a Resource that is not Locked