wifi: rtl8xxxu: free RX skb when URB submission fails
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | 26f1fad29ad973b0fb26a9ca3dcb2a73dde781aa to before 0d6b73c669d1369fe2912edd044b458a3bdcb5dd Affected26f1fad29ad973b0fb26a9ca3dcb2a73dde781aa to before b0885d221d89d5f3d580d048f61ba35683ec3c25 Affected26f1fad29ad973b0fb26a9ca3dcb2a73dde781aa to before a9eae58bff7be0b9c77d85cc796920a0d2964616 Affected26f1fad29ad973b0fb26a9ca3dcb2a73dde781aa to before a43bf4fac3bc22483c4f0069d5f017ee641f5bf3 Affected26f1fad29ad973b0fb26a9ca3dcb2a73dde781aa to before 2f27788dbb64ea0203fab966c84d8863c613c442 Affected26f1fad29ad973b0fb26a9ca3dcb2a73dde781aa to before 1d88864ddccac9153b9584d0e132c8e4efff3120 Affected26f1fad29ad973b0fb26a9ca3dcb2a73dde781aa to before d3aee1acbf10dad42246c194cc192ede6b562bf7 Affected26f1fad29ad973b0fb26a9ca3dcb2a73dde781aa to before 9f7edf4e8584c87e3c478c6dd87c08d51b5157c2 Affected |
| Linux Linux | 4.4 Affectedbefore 4.4 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/0d6b73c669d1369fe2912edd044b458a3bdcb5dd
- https://git.kernel.org/stable/c/b0885d221d89d5f3d580d048f61ba35683ec3c25
- https://git.kernel.org/stable/c/a9eae58bff7be0b9c77d85cc796920a0d2964616
- https://git.kernel.org/stable/c/a43bf4fac3bc22483c4f0069d5f017ee641f5bf3
- https://git.kernel.org/stable/c/2f27788dbb64ea0203fab966c84d8863c613c442
- https://git.kernel.org/stable/c/1d88864ddccac9153b9584d0e132c8e4efff3120
- https://git.kernel.org/stable/c/d3aee1acbf10dad42246c194cc192ede6b562bf7
- https://git.kernel.org/stable/c/9f7edf4e8584c87e3c478c6dd87c08d51b5157c2
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.