AZL-117271: CVE-2026-139653 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
wifi: rtl8xxxu: unwind incomplete receive startup
rtl8xxxustart() allocates and submits RX URBs one at a time. If a later allocation fails, the error path frees the TX pool but leaves earlier RX requests active. A partial TX or RX allocation failure can also leave ret at zero, so start reports success despite the incomplete setup.
Allocate the RX pool before submitting any of it, and return ENOMEM whenever a pool allocation fails. Pass start errors through rtl8xxxustop(), including interrupt URB submission failures, so the existing stop path cancels work and releases both active requests and partially allocated pools.
Share the submission loop with the RX worker. Both callers keep requests that fail with ENOMEM/EAGAIN. For a fatal error during startup, free the rest of the unsubmitted batch and return the error so start can unwind. In the worker, free only the failed request and continue with the rest of the batch.
Keep the allocation loop in a small helper so the setup and error paths in start remain easy to follow.
On an RTL8192EU, I exercised every error exit in rtl8xxxustart() except interrupt-URB allocation and submission failures, which this adapter does not use.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In rtl8xxxu_start(), allocate the RX pool before submitting any RX URBs; if allocation fails, return ENOMEM and unwind partially allocated pools. Propagate startup errors so incomplete setup cannot report success, and use the stop path to cancel and release active requests. In the RX worker, free only the failed request and continue with the remaining requests.
Event History
Frequently Asked Questions
What hardware and code path are implicated?
The issue is in the Linux kernel's rtl8xxxu Wi-Fi driver, specifically its receive startup handling in rtl8xxxu_start(). The provided information mentions testing on RTL8192EU hardware.
What failure condition triggers the vulnerable behavior?
It is triggered when RX URB or pool allocation, or related startup submission, fails partway through initialization. Earlier RX requests can remain active, and some partial TX or RX allocation failures may incorrectly cause startup to report success.
What happens after the fix when startup fails?
Pool allocation failures return ENOMEM, and startup errors are passed through rtl8xxxu_stop() so active requests, work, and partially allocated pools are released. Fatal errors also free unsubmitted requests and return an error rather than reporting a successful start.