CVE-2026-139425: wifi: ath11k: avoid IDR mutation during pending mgmt TX cleanup
In the Linux kernel, the following vulnerability has been resolved:
wifi: ath11k: avoid IDR mutation during pending mgmt TX cleanup
The pending management TX cleanup walks txmgmtidr with idrforeach(), and its callback removes the current entry. This can invalidate the radix-tree iterator retained by idrforeach().
Use idrforeachentry() so every iteration starts with a fresh lookup. Continue to remove each entry under txmgmtidrlock before freeing its skb, preventing concurrent TX completion from finding a stale skb pointer.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In ath11k pending management TX cleanup, use idr_for_each_entry() instead of idr_for_each() so each iteration performs a fresh lookup; remove each entry under txmgmt_idr_lock before freeing its skb.
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Systems running the Linux kernel with the ath11k Wi-Fi driver are the relevant population. The issue is specifically in cleanup of pending management-frame transmissions.
What condition triggers the flaw?
The flaw is triggered when pending management TX entries are cleaned up while the cleanup callback removes entries from txmgmt_idr during iteration. Concurrent TX completion is also relevant because it could otherwise find a stale skb pointer.
What is the remediation?
Apply a Linux kernel update containing the referenced fixes. The fix changes the iteration to idr_for_each_entry() and removes each entry under txmgmt_idr_lock before freeing its skb.