Impact
The defect originates in the Linux USB composite device driver cdns3. A work queue item scheduled by cdns3_gadget_start() may execute after cdns3_gadget_exit() has freed the underlying gadget device and its private data. The resulting use‑after‑free can corrupt kernel memory or lead to arbitrary kernel code execution. The bug is identified as CWE‑825.
Affected Systems
All variants of the Linux kernel that compile the cdns3 USB gadget driver are affected. No specific version range is listed in the report, so any build that contains the vulnerable code before the commit that introduces the fix is vulnerable.
Risk and Exploitability
The CVSS score is 4.1 and the EPSS score is < 1%, indicating a low likelihood of exploitation. The flaw is only exploitable when a USB gadget driver is loaded and a work item can be scheduled and run after the driver is unbound. The vulnerability is local to the host running the kernel, and no remote exploitation path has been documented. The flaw is not listed in the CISA KEV catalog.
OpenCVE Enrichment
Debian DLA