CVE-2026-139654

wifi: rtl8xxxu: free RX skb when URB submission fails

Published Nov 30, 2026 CVSS 3.1 · 2.5 Low EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The rtl8xxxu driver in the Linux kernel contains a flaw that leaves a socket buffer allocated but never freed when a USB request fails. The code fails to clear the URB context pointer, which is later overwritten, resulting in a leaked kernel memory object.

Affected Systems

This issue affects all Linux kernel releases that include the rtl8xxxu wireless driver, which is part of the standard distribution for any distribution that ships the driver for RTL8xxx USB Wi‑Fi devices. No specific version matrix is published, so any system using this driver prior to the commit that introduced the fix is vulnerable.

Risk and Exploitability

The CVSS score for this issue is 2.5, indicating low severity. The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog. An attacker would need to trigger a URB submission failure, for example by using a USB device that causes the rtl8xxxu driver to fail to submit a request. The available information does not include any documented public exploits or detailed exploitation methods. Because the bug occurs during kernel USB handling, the attack surface is limited to attacks that can influence USB traffic on the local host.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest kernel update that includes the rtl8xxxu_submit_rx_urb patch.
  • Reboot the system so the updated driver is loaded.
  • If an immediate kernel upgrade is not feasible, unload or blacklist the rtl8xxxu module and avoid using the affected Wi‑Fi adapters until the fix is available.

Generated by OpenCVE AI on December 1, 2026 at 17:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 2.5, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L'}

threat_severity

Low

Type Values Removed Values Added
Weaknesses CWE-772
Type Values Removed Values 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.
Title wifi: rtl8xxxu: free RX skb when URB submission fails
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:36 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM
Severity
Low
Public date
Nov 30, 2026, 1:36 PM