In the Linux kernel, the following vulnerability has been resolved: wifi: rtw88: usb: fix memory leaks on USB write failures When… (CVE-2026-63821)
A memory leak vulnerability in the Linux kernel's rtw88 USB WiFi driver was fixed. The issue occurs when USB write requests fail, causing allocated memory buffers and control structures not to be freed. This happens because the driver ignored error returns from the USB write function, leading to resource leaks during device disconnects or memory pressure. The fix involves checking the return value and explicitly freeing resources on failure.
AI Analysis
Technical Summary
CVE-2026-63821 addresses a memory leak in the Linux kernel's rtw88 USB WiFi driver. When the function rtw_usb_write_port() fails to submit a USB Request Block (URB), the completion callback that normally frees allocated socket buffers (skbs) and transaction control blocks (txcb) is never called. The driver previously ignored the return value of this function in rtw_usb_write_data() and rtw_usb_tx_agg_skb(), resulting in memory leaks of skbs and txcb structures. The patch fixes this by checking the return value and explicitly freeing the allocated memory on failure, preventing leaks during device disconnect/reconnect and under memory pressure.
Potential Impact
The vulnerability causes memory leaks in the Linux kernel's USB WiFi driver when USB write requests fail. This can lead to increased memory consumption and potential resource exhaustion on affected systems, especially during device disconnect/reconnect events or under memory pressure. There is no indication of code execution or privilege escalation from this issue.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel by correcting the driver to handle USB write failures properly and free allocated memory. Users should update to a Linux kernel version that includes this fix. Since no vendor advisory or patch links are provided, check the official Linux kernel repositories or distributions for the updated driver version containing this fix.
In the Linux kernel, the following vulnerability has been resolved: wifi: rtw88: usb: fix memory leaks on USB write failures When… (CVE-2026-63821)
Description
A memory leak vulnerability in the Linux kernel's rtw88 USB WiFi driver was fixed. The issue occurs when USB write requests fail, causing allocated memory buffers and control structures not to be freed. This happens because the driver ignored error returns from the USB write function, leading to resource leaks during device disconnects or memory pressure. The fix involves checking the return value and explicitly freeing resources on failure.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-63821 addresses a memory leak in the Linux kernel's rtw88 USB WiFi driver. When the function rtw_usb_write_port() fails to submit a USB Request Block (URB), the completion callback that normally frees allocated socket buffers (skbs) and transaction control blocks (txcb) is never called. The driver previously ignored the return value of this function in rtw_usb_write_data() and rtw_usb_tx_agg_skb(), resulting in memory leaks of skbs and txcb structures. The patch fixes this by checking the return value and explicitly freeing the allocated memory on failure, preventing leaks during device disconnect/reconnect and under memory pressure.
Potential Impact
The vulnerability causes memory leaks in the Linux kernel's USB WiFi driver when USB write requests fail. This can lead to increased memory consumption and potential resource exhaustion on affected systems, especially during device disconnect/reconnect events or under memory pressure. There is no indication of code execution or privilege escalation from this issue.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel by correcting the driver to handle USB write failures properly and free allocated memory. Users should update to a Linux kernel version that includes this fix. Since no vendor advisory or patch links are provided, check the official Linux kernel repositories or distributions for the updated driver version containing this fix.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-2cvr-cmj4-cjrx
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-63821"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a5d27ad2a4a8d5989131591
Added to database: 07/19/2026, 19:38:21 UTC
Last enriched: 07/19/2026, 20:19:06 UTC
Last updated: 07/20/2026, 07:49:16 UTC
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.