CVE-2026-143390: wifi: ath12k: Fix failure to create ath12k_dp_peer on MLO reconnect
In the Linux kernel, the following vulnerability has been resolved:
wifi: ath12k: Fix failure to create ath12kdppeer on MLO reconnect
In ath12kmacopstastate(), when transitioning an MLO station from IEEE80211STANOTEXIST to IEEE80211STANONE, after ath12kdppeercreate() succeeds, on isstaassoclink verification failure, it takes the 'goto exit' path instead of 'goto peerdelete', leaving a stale dppeer on the dppeerslist.
On the next connection attempt, ath12kdppeercreate() finds the stale entry and returns -EEXIST (-17):
wlP4p1s0: failed to insert STA entry for the AP (error -17)
Fix it by changing 'goto exit' to 'goto freeunassignlink'.
Also, there is another error path in ath12kmacopstastate() that jumps to peerdelete after ath12kmacassignlinksta() succeeds, without undoing the assignment through ath12kmacfreeunassignlinksta(). As a result, the link RCU pointer remains assigned and a stale bit is left in ahsta->linksmap, which can trigger the same -EEXIST failure on subsequent reconnect attempts. Fix this by redirecting that error path to freeunassignlink instead.
Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c7-00108-QCAHMTSWPLV1.0V2.0SILICONZUPSTREAM-3
Affected Software
Event History
Frequently Asked Questions
Which systems are affected in practice?
Systems using the ath12k Wi-Fi driver with Multi-Link Operation (MLO) stations can encounter this during reconnect handling. The fix was tested on WCN7850 hardware, but the provided data does not limit the issue to that hardware.
What conditions trigger the failure?
The failure occurs when an MLO station reconnect hits specific error paths after datapath peer creation or link-station assignment. Those paths can leave stale peer or link state, causing the next connection attempt to fail because the peer entry already exists.
How can I recognize that a device is already affected?
A subsequent reconnect attempt may log a failure to insert the station entry for the access point with error -17, for example: "failed to insert STA entry for the AP (error -17)". This indicates ath12k found a stale datapath peer entry.