Description
In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: avoid IDR mutation during vif mgmt TX cleanup ath12k_mac_vdev_delete() 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
d889913205cf7ebda905b1e62c5867ed4e39f6c2 to < 8187ac6443b0de38f1a32c658285d6665d130de0affectedd889913205cf7ebda905b1e62c5867ed4e39f6c2 to < 87f5c36448622c333b05602e0e5f5b225b194c65affectedd889913205cf7ebda905b1e62c5867ed4e39f6c2 to < 7d7b7879806eeee83eaea9252835da9a4802a0ccaffectedd889913205cf7ebda905b1e62c5867ed4e39f6c2 to < afeeced83707b8067508135f0280043a1b0aee14affectedd889913205cf7ebda905b1e62c5867ed4e39f6c2 to < 4aa45334eb23d40bf31c43405daea9b73469f2a6affected
Linux Linux
Default version status: affected
6.3affected0 to < 6.3unaffected6.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/8187ac6443b0de38f1a32c658285d6665d130de0 ↗
- https://git.kernel.org/stable/c/87f5c36448622c333b05602e0e5f5b225b194c65 ↗
- https://git.kernel.org/stable/c/7d7b7879806eeee83eaea9252835da9a4802a0cc ↗
- https://git.kernel.org/stable/c/afeeced83707b8067508135f0280043a1b0aee14 ↗
- https://git.kernel.org/stable/c/4aa45334eb23d40bf31c43405daea9b73469f2a6 ↗