Description
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]
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
89d6d83565e9a18ae77f4542348d8a34c264c9b1 to < ef579208786256eef1af756c1b3d932b562d60feaffected89d6d83565e9a18ae77f4542348d8a34c264c9b1 to < 6635364a57b71c505dc422619ab77cb0ab6bf3d0affected89d6d83565e9a18ae77f4542348d8a34c264c9b1 to < ad519ebbff3f04e10ca22175f3679e198ab25533affected89d6d83565e9a18ae77f4542348d8a34c264c9b1 to < 463712c7a2ce5ecbe99846cfdb60da2beda3411faffected89d6d83565e9a18ae77f4542348d8a34c264c9b1 to < 33d479e4328721439fb5a27258cc7ea6d37ee77faffected89d6d83565e9a18ae77f4542348d8a34c264c9b1 to < 3cedb304ed2ed76c018e31b4f888e928e1d57ddfaffected89d6d83565e9a18ae77f4542348d8a34c264c9b1 to < 782ca6965e8459bc6a00b11bc210df39231dfedfaffected89d6d83565e9a18ae77f4542348d8a34c264c9b1 to < 1c1a208e65a08191901cfded3bbccc4a54e4a75caffected
Linux Linux
Default version status: affected
4.0affected0 to < 4.0unaffected5.10.275 to ≤ 5.10.*unaffected5.15.226 to ≤ 5.15.*unaffected6.1.193 to ≤ 6.1.*unaffected6.6.163 to ≤ 6.6.*unaffected6.12.119 to ≤ 6.12.*unaffected6.18.65 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/ef579208786256eef1af756c1b3d932b562d60fe ↗
- https://git.kernel.org/stable/c/6635364a57b71c505dc422619ab77cb0ab6bf3d0 ↗
- https://git.kernel.org/stable/c/ad519ebbff3f04e10ca22175f3679e198ab25533 ↗
- https://git.kernel.org/stable/c/463712c7a2ce5ecbe99846cfdb60da2beda3411f ↗
- https://git.kernel.org/stable/c/33d479e4328721439fb5a27258cc7ea6d37ee77f ↗
- https://git.kernel.org/stable/c/3cedb304ed2ed76c018e31b4f888e928e1d57ddf ↗
- https://git.kernel.org/stable/c/782ca6965e8459bc6a00b11bc210df39231dfedf ↗
- https://git.kernel.org/stable/c/1c1a208e65a08191901cfded3bbccc4a54e4a75c ↗