CVE-2026-93141
kernel: usb: gadget: r8a66597: avoid double free of ep0_req in probe error path
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · September 17, 2026
Updated · October 20, 2026
Description
A flaw was found in the r8a66597 USB gadget driver in the Linux kernel. This vulnerability occurs in the r8a66597_probe() function during an error handling path, where the ep0_req object is erroneously freed twice if usb_add_gadget_udc() fails. This double free can lead to memory corruption, potentially resulting in a denial of service or other unpredictable system behavior.
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-1341 · Multiple Releases of Same Resource or Handle