# CVE-2026-93141: usb: gadget: r8a66597: avoid double free of ep0_req in probe error path

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 7% of CVEs (2026-11-30)
- Published: 2026-09-17T16:11:40.761Z
- Modified: 2026-10-19T10:17:04.197Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 776976a67ae25d18be42794fd783a50757402cbe before c9e93290ffe7db22a8131a5f5fd026335090fbbe; from 776976a67ae25d18be42794fd783a50757402cbe before 7721cf32efa428bd9649f4a9b89fc85601df87de; from 776976a67ae25d18be42794fd783a50757402cbe before f9c43246128a2dd0f2bbad71decf153910ce3606; from 776976a67ae25d18be42794fd783a50757402cbe before 150d3f3c461345b6c9ae784912cf1e49c8e5ff6b; from 776976a67ae25d18be42794fd783a50757402cbe before b2e68583c7c51eea2aafb8f1793e0d285c56ac82; from 776976a67ae25d18be42794fd783a50757402cbe before 6648c470918371766f6d368113dd2a4faebac93f; from 776976a67ae25d18be42794fd783a50757402cbe before 6be64cca6527f7fc99b05abf54f22db91bbc116f; from 776976a67ae25d18be42794fd783a50757402cbe before 41d541e3718db01668a4cd29815ee4b3b55f76d2; 3.17 (not affected: before 3.17; from 5.10.270 up to 5.10.*; from 5.15.221 up to 5.15.*; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/c9e93290ffe7db22a8131a5f5fd026335090fbbe>
- <https://git.kernel.org/stable/c/7721cf32efa428bd9649f4a9b89fc85601df87de>
- <https://git.kernel.org/stable/c/f9c43246128a2dd0f2bbad71decf153910ce3606>
- <https://git.kernel.org/stable/c/150d3f3c461345b6c9ae784912cf1e49c8e5ff6b>
- <https://git.kernel.org/stable/c/b2e68583c7c51eea2aafb8f1793e0d285c56ac82>
- <https://git.kernel.org/stable/c/6648c470918371766f6d368113dd2a4faebac93f>
- <https://git.kernel.org/stable/c/6be64cca6527f7fc99b05abf54f22db91bbc116f>
- <https://git.kernel.org/stable/c/41d541e3718db01668a4cd29815ee4b3b55f76d2>

## Sources

- CVE List: [CVE-2026-93141](https://www.cve.org/CVERecord?id=CVE-2026-93141), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-93141](https://nvd.nist.gov/vuln/detail/CVE-2026-93141), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-93141 · Whole record: https://cve.day/CVE-2026-93141.json · Rebuilt by cve.day 2026-11-25T22:59:39.466Z
