CVE-2026-143069: wifi: mac80211: fix use-after-free when MLO link setup is rolled back
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: fix use-after-free when MLO link setup is rolled back
Rolling back an MLO link addition can free link containers while RCU readers still hold pointers to them. ieee80211vifupdatelinks() publishes new links before checking for duplicate addresses and calling drvchangeviflinks(). If either fails, it restores the old pointers and frees the new containers without waiting for readers.
During a non-MLO to MLO transition, the published link 0 replaces the deflink, so existing link 0 users can acquire the new container. Readers such as ieee80211csafinish() and ieee80211obsscolorcollisionnotify() can also queue work embedded in the link. If they queue after ieee80211linkstop() cancels that work, it remains queued when the container is freed.
Wait for RCU readers after restoring the old pointers and before stopping the new links, so their work is queued before it is cancelled.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Wait for RCU readers after restoring the old pointers and before freeing the new link containers.
Event History
Frequently Asked Questions
Which systems are exposed to this race condition?
Linux kernel systems using mac80211 where an MLO link addition is rolled back are implicated. The description specifically highlights non-MLO to MLO transitions, where a newly published link 0 can replace the default link while existing users are still accessing it.
What conditions can cause the unsafe rollback path to run?
The rollback can occur if duplicate link addresses are detected after new links have been published, or if drv_change_vif_links() fails. In those cases, the old pointers are restored and the newly allocated link containers must be cleaned up safely.
What makes the rollback dangerous?
RCU readers may retain pointers to newly published link containers after the pointers are restored. Readers can also queue work embedded in a link after link-stop processing has cancelled work, leaving queued work to access a container that is subsequently freed.