CVE-2026-139654

Source
https://cve.org/CVERecord?id=CVE-2026-139654
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139654.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139654
Downstream
Published
2026-11-30T13:36:45Z
Modified
2026-11-30T15:02:29Z
Summary
wifi: rtl8xxxu: free RX skb when URB submission fails
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139654.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
26f1fad29ad973b0fb26a9ca3dcb2a73dde781aa
Fixed
0d6b73c669d1369fe2912edd044b458a3bdcb5dd
Fixed
b0885d221d89d5f3d580d048f61ba35683ec3c25
Fixed
a9eae58bff7be0b9c77d85cc796920a0d2964616
Fixed
a43bf4fac3bc22483c4f0069d5f017ee641f5bf3
Fixed
2f27788dbb64ea0203fab966c84d8863c613c442
Fixed
1d88864ddccac9153b9584d0e132c8e4efff3120
Fixed
d3aee1acbf10dad42246c194cc192ede6b562bf7
Fixed
9f7edf4e8584c87e3c478c6dd87c08d51b5157c2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139654.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.4.0
Fixed
5.10.275
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.226
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139654.json"