In the Linux kernel, the following vulnerability has been resolved: wifi: ath10k: avoid IDR mutation during TX cleanup ath10k_htt_flush_tx_queue() walks pending_tx with idr_for_each(). Its callback calls ath10k_txrx_tx_unref(), which removes the current entry from pending_tx through ath10k_htt_tx_free_msdu_id(). idr_for_each() keeps radix-tree iterator state across the callback. Removing the current entry can therefore invalidate that state and make the remaining walk unsafe. Use idr_for_each_entry(), which starts a fresh lookup after each callback. The current entry can then be removed safely, while the following idr_destroy() continues to release the IDR itself. [changed ath10k_htt_tx_clean_up_pending() signature]
https://git.kernel.org/stable/c/ef579208786256eef1af756c1b3d932b562d60fe
https://git.kernel.org/stable/c/ad519ebbff3f04e10ca22175f3679e198ab25533
https://git.kernel.org/stable/c/782ca6965e8459bc6a00b11bc210df39231dfedf
https://git.kernel.org/stable/c/6635364a57b71c505dc422619ab77cb0ab6bf3d0
https://git.kernel.org/stable/c/463712c7a2ce5ecbe99846cfdb60da2beda3411f
https://git.kernel.org/stable/c/3cedb304ed2ed76c018e31b4f888e928e1d57ddf
https://git.kernel.org/stable/c/33d479e4328721439fb5a27258cc7ea6d37ee77f
https://git.kernel.org/stable/c/1c1a208e65a08191901cfded3bbccc4a54e4a75c