CVE-2026-63821wifi: rtw88: usb: fix memory leaks on USB write failures
- 5.5MediumCVSS base score
- 0.12%Exploitation in 30 daysEPSS · top 98% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: rtw88: usb: fix memory leaks on USB write failures When rtw_usb_write_port() fails to submit a USB Request Block (URB) (e.g., due to device disconnect or ENOMEM), the completion callback is never executed. Currently, the driver ignores the return value of rtw_usb_write_port() in rtw_usb_write_data() and rtw_usb_tx_agg_skb(). Because these functions rely on the completion callback to free the socket buffers (skbs) and the transaction control block (txcb), a submission failure results in: 1. A memory leak of the allocated skb in rtw_usb_write_data(). 2. A memory leak of the txcb structure and all aggregated skbs in rtw_usb_tx_agg_skb(). Fix this by checking the return value of rtw_usb_write_port(). If it fails, explicitly free the skb in rtw_usb_write_data(), and properly purge the tx_ack_queue and free the txcb in rtw_usb_tx_agg_skb(). The issue was discovered in practice during device disconnect/reconnect scenarios and memory pressure conditions. Tested by verifying normal TX operation continues after the fix without regressions.
Timeline
ID reserved
By Linux
Published
- 29 days later
· 29 days later
Record updated
- 3 months later
· 3 months later
First scored
Medium 5.5
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.12% · top 98% of all CVEs (20 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected a82dfd33d1237f6c0fb8a7077022189d1fc7ec98 – < 2b2060c2075a72bc2de43ce5e1b9347d6c5e27bb
- affected a82dfd33d1237f6c0fb8a7077022189d1fc7ec98 – < 53fed4061a09755de99c89fdc7fae5b794da455f
- affected a82dfd33d1237f6c0fb8a7077022189d1fc7ec98 – < 200d58c851b8f63f77a05570072dd20f79bc3681
- affected a82dfd33d1237f6c0fb8a7077022189d1fc7ec98 – < 8206d173d18ef5a077423119f4e9a93cb3a6f4eb
- affected a82dfd33d1237f6c0fb8a7077022189d1fc7ec98 – < 6b964941bbfe6e0f18b1a5e008486dbb62df440a
- affected 6.2
- unaffected < 6.2
- unaffected 6.6.144 – ≤ 6.6.*
- unaffected 6.12.95 – ≤ 6.12.*
- unaffected 6.18.38 – ≤ 6.18.*
- unaffected 7.1.3 – ≤ 7.1.*
- unaffected 7.2 – ≤ *
References
References5
- https://git.kernel.org/stable/c/2b2060c2075a72bc2de43ce5e1b9347d6c5e27bb (opens in a new tab)
- https://git.kernel.org/stable/c/53fed4061a09755de99c89fdc7fae5b794da455f (opens in a new tab)
- https://git.kernel.org/stable/c/200d58c851b8f63f77a05570072dd20f79bc3681 (opens in a new tab)
- https://git.kernel.org/stable/c/8206d173d18ef5a077423119f4e9a93cb3a6f4eb (opens in a new tab)
- https://git.kernel.org/stable/c/6b964941bbfe6e0f18b1a5e008486dbb62df440a (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-45487 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-63821)Record last updated .