CVE-2026-93141 usb: gadget: r8a66597: avoid double free of ep0_req in probe error path
A double free vulnerability in the Linux kernel's r8a66597 USB gadget driver allows local attackers to cause a denial of service or potentially execute code via probe error handling.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-93141?
CVE-2026-93141 is a memory corruption vulnerability in Linux, published on 17 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
usb: gadget: r8a66597: avoid double free of ep0_req in probe error path
If usb_add_gadget_udc() fails, r8a66597_probe() jumps to err_add_udc and frees ep0_req, then falls through to clean_up2 where ep0_req is freed again when it is non-NULL.
Remove the redundant free from err_add_udc and keep the cleanup in clean_up2 so the request is released exactly once.
Issue found using a prototype static analysis tool and confirmed by code review.
Which versions are affected by CVE-2026-93141?
How do I fix CVE-2026-93141?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-93141 being exploited?
There is no known exploitation of CVE-2026-93141 in the wild and no public exploit code.
Sources
Also known as AZL-102078, BELL-CVE-2026-93141, DEBIAN-CVE-2026-93141, GHSA-w375-mqgw-7grh, UBUNTU-CVE-2026-93141.