CVE-2026-139654
wifi: rtl8xxxu: free RX skb when URB submission fails
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: rtl8xxxu: free RX skb when URB submission fails When usb_submit_urb() fails, rtl8xxxu_submit_rx_urb() unanchors the URB but leaves the newly allocated skb in urb.context. For ENOMEM/EAGAIN, the RX worker puts the request back on the pending list. The next submission allocates another skb and overwrites that pointer, leaking the previous buffer. Stopping before the retry also leaks it, because pending-list cleanup frees only the URB. Free the skb and clear urb.context in rtl8xxxu_submit_rx_urb() when submission fails. This keeps buffer allocation and failure cleanup in the same function, so a request returned for retry or teardown no longer owns an skb. Remove the corresponding cleanup from start and the RX worker; they only need to decide whether to retry or free the URB.
INFO
Published Date :
Nov. 30, 2026, 2:19 p.m.
Last Modified :
Nov. 30, 2026, 2:19 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Free skb and clear urb.context on submission failure.
- Remove corresponding cleanup from start and RX worker.
- Ensure retry or teardown logic is correct.
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-139654.
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-139654 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-139654
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-139654 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-139654 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
Nov. 30, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: wifi: rtl8xxxu: free RX skb when URB submission fails When usb_submit_urb() fails, rtl8xxxu_submit_rx_urb() unanchors the URB but leaves the newly allocated skb in urb.context. For ENOMEM/EAGAIN, the RX worker puts the request back on the pending list. The next submission allocates another skb and overwrites that pointer, leaking the previous buffer. Stopping before the retry also leaks it, because pending-list cleanup frees only the URB. Free the skb and clear urb.context in rtl8xxxu_submit_rx_urb() when submission fails. This keeps buffer allocation and failure cleanup in the same function, so a request returned for retry or teardown no longer owns an skb. Remove the corresponding cleanup from start and the RX worker; they only need to decide whether to retry or free the URB. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/139xxx/CVE-2026-139654.json">CVE-2026-139654</a> Added Reference https://git.kernel.org/stable/c/0d6b73c669d1369fe2912edd044b458a3bdcb5dd Added Reference https://git.kernel.org/stable/c/1d88864ddccac9153b9584d0e132c8e4efff3120 Added Reference https://git.kernel.org/stable/c/2f27788dbb64ea0203fab966c84d8863c613c442 Added Reference https://git.kernel.org/stable/c/9f7edf4e8584c87e3c478c6dd87c08d51b5157c2 Added Reference https://git.kernel.org/stable/c/a43bf4fac3bc22483c4f0069d5f017ee641f5bf3 Added Reference https://git.kernel.org/stable/c/a9eae58bff7be0b9c77d85cc796920a0d2964616 Added Reference https://git.kernel.org/stable/c/b0885d221d89d5f3d580d048f61ba35683ec3c25 Added Reference https://git.kernel.org/stable/c/d3aee1acbf10dad42246c194cc192ede6b562bf7