CVE-2026-93141
usb: gadget: r8a66597: avoid double free of ep0_req in probe error path
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.
INFO
Published Date :
Sept. 17, 2026, 5:18 p.m.
Last Modified :
Sept. 17, 2026, 5:18 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products
The following products are affected by CVE-2026-93141
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
Solution
- Remove redundant free of ep0_req in err_add_udc.
- Ensure ep0_req is freed exactly once in clean_up2.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-93141.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-93141 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-93141
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-93141 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-93141 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Sep. 17, 2026
Action Type Old Value New Value Added 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. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/93xxx/CVE-2026-93141.json">CVE-2026-93141</a> Added Reference https://git.kernel.org/stable/c/150d3f3c461345b6c9ae784912cf1e49c8e5ff6b Added Reference https://git.kernel.org/stable/c/41d541e3718db01668a4cd29815ee4b3b55f76d2 Added Reference https://git.kernel.org/stable/c/6648c470918371766f6d368113dd2a4faebac93f Added Reference https://git.kernel.org/stable/c/6be64cca6527f7fc99b05abf54f22db91bbc116f Added Reference https://git.kernel.org/stable/c/7721cf32efa428bd9649f4a9b89fc85601df87de Added Reference https://git.kernel.org/stable/c/b2e68583c7c51eea2aafb8f1793e0d285c56ac82 Added Reference https://git.kernel.org/stable/c/c9e93290ffe7db22a8131a5f5fd026335090fbbe Added Reference https://git.kernel.org/stable/c/f9c43246128a2dd0f2bbad71decf153910ce3606