wifi: rtl8xxxu: free RX skb when URB submission fails
Summary
| CVE | CVE-2026-139654 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:19:49 UTC |
| Updated | 2026-11-30 14:19:49 UTC |
| 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 26f1fad29ad973b0fb26a9ca3dcb2a73dde781aa 0d6b73c669d1369fe2912edd044b458a3bdcb5dd git |
Not specified |
| CNA |
Linux |
Linux |
affected 26f1fad29ad973b0fb26a9ca3dcb2a73dde781aa b0885d221d89d5f3d580d048f61ba35683ec3c25 git |
Not specified |
| CNA |
Linux |
Linux |
affected 26f1fad29ad973b0fb26a9ca3dcb2a73dde781aa a9eae58bff7be0b9c77d85cc796920a0d2964616 git |
Not specified |
| CNA |
Linux |
Linux |
affected 26f1fad29ad973b0fb26a9ca3dcb2a73dde781aa a43bf4fac3bc22483c4f0069d5f017ee641f5bf3 git |
Not specified |
| CNA |
Linux |
Linux |
affected 26f1fad29ad973b0fb26a9ca3dcb2a73dde781aa 2f27788dbb64ea0203fab966c84d8863c613c442 git |
Not specified |
| CNA |
Linux |
Linux |
affected 26f1fad29ad973b0fb26a9ca3dcb2a73dde781aa 1d88864ddccac9153b9584d0e132c8e4efff3120 git |
Not specified |
| CNA |
Linux |
Linux |
affected 26f1fad29ad973b0fb26a9ca3dcb2a73dde781aa d3aee1acbf10dad42246c194cc192ede6b562bf7 git |
Not specified |
| CNA |
Linux |
Linux |
affected 26f1fad29ad973b0fb26a9ca3dcb2a73dde781aa 9f7edf4e8584c87e3c478c6dd87c08d51b5157c2 git |
Not specified |
| CNA |
Linux |
Linux |
affected 4.4 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 4.4 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.10.275 5.10.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.15.226 5.15.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.1.193 6.1.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.163 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.119 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.65 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.6 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/d3aee1acbf10dad42246c194cc192ede6b562bf7 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/a9eae58bff7be0b9c77d85cc796920a0d2964616 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/0d6b73c669d1369fe2912edd044b458a3bdcb5dd |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/1d88864ddccac9153b9584d0e132c8e4efff3120 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/2f27788dbb64ea0203fab966c84d8863c613c442 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/a43bf4fac3bc22483c4f0069d5f017ee641f5bf3 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/9f7edf4e8584c87e3c478c6dd87c08d51b5157c2 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/b0885d221d89d5f3d580d048f61ba35683ec3c25 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.