AZL-117127: CVE-2026-139423 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
wifi: ath12k: 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 ath12k pending management TX cleanup, use idr_for_each_entry() instead of idr_for_each(), and remove each entry under txmgmt_idr_lock before freeing its skb.
Event History
Frequently Asked Questions
Which systems are affected by this issue?
Systems running the Azure Linux kernel package version 6.6.161.1-1 are identified as affected. The vulnerable code is in the ath12k Wi-Fi driver’s pending management-frame transmission cleanup path.
What condition triggers the flaw?
The issue occurs when pending management TX entries are cleaned up while iterating the driver’s txmgmt_idr structure. Removing the current entry during the older iteration method can invalidate its retained radix-tree iterator.
What is the risk during cleanup?
Iterator invalidation can interfere with safe removal of pending management TX entries. The resolved implementation removes each entry while holding txmgmt_idr_lock before freeing its skb, so concurrent TX completion does not encounter a stale skb pointer.