Description
In the Linux kernel, the following vulnerability has been resolved: wifi: ath11k: avoid IDR mutation during vif mgmt TX cleanup ath11k_mac_op_remove_interface() walks txmgmt_idr with idr_for_each(), and its callback removes each entry belonging to the interface. Removing the current entry can invalidate the radix-tree iterator retained by idr_for_each(). Move the walk into a helper that uses idr_for_each_entry(). It performs a fresh lookup for every iteration, so each matching entry can be removed through the locked removal helper without retaining iterator state across the removal.
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
d5c65159f2895379e11ca13f62feabe93278985d to < 839701bcee0e576dedf40dc8bcaffc2b62fe4190affectedd5c65159f2895379e11ca13f62feabe93278985d to < f9cfc29d207f7bf10c44347011ddf8edfe04bd4aaffectedd5c65159f2895379e11ca13f62feabe93278985d to < c0ac5d7846c489cddc40522929f1404c57e51b68affectedd5c65159f2895379e11ca13f62feabe93278985d to < 21ab62392c5ca5a05180bc0c6e8b608d13b2db20affectedd5c65159f2895379e11ca13f62feabe93278985d to < 0acd051360838ad84c24a1187bf92616e1c7cb21affectedd5c65159f2895379e11ca13f62feabe93278985d to < 625d9331e29c13f0a6a7093d583c120ec045ac2baffectedd5c65159f2895379e11ca13f62feabe93278985d to < 8596585e1be0b49ad275dae51a381a603b4ab2d5affectedd5c65159f2895379e11ca13f62feabe93278985d to < dc29226dada34a6d19af77b4b51e90f8a3a8de34affected
Linux Linux
Default version status: affected
5.6affected0 to < 5.6unaffected5.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/839701bcee0e576dedf40dc8bcaffc2b62fe4190 ↗
- https://git.kernel.org/stable/c/f9cfc29d207f7bf10c44347011ddf8edfe04bd4a ↗
- https://git.kernel.org/stable/c/c0ac5d7846c489cddc40522929f1404c57e51b68 ↗
- https://git.kernel.org/stable/c/21ab62392c5ca5a05180bc0c6e8b608d13b2db20 ↗
- https://git.kernel.org/stable/c/0acd051360838ad84c24a1187bf92616e1c7cb21 ↗
- https://git.kernel.org/stable/c/625d9331e29c13f0a6a7093d583c120ec045ac2b ↗
- https://git.kernel.org/stable/c/8596585e1be0b49ad275dae51a381a603b4ab2d5 ↗
- https://git.kernel.org/stable/c/dc29226dada34a6d19af77b4b51e90f8a3a8de34 ↗