wifi: ath11k: fix locking problem in ath11k_dp_rx_tid_del_func()
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
wifi: ath11k: fix locking problem in ath11k_dp_rx_tid_del_func()
In this function, we iterate over dp->reo_cmd_cache_flush_list using list_for_each_entry_safe(), under dp->reo_cmd_lock for concurrent access, and for each expired entries we : - drop the lock - call ath11k_dp_reo_cache_flush() - kfree() the entry - retake the lock to keep on iterating
list_for_each_entry_safe() protects us from deleting the entry during iteration but doesn't protect for concurrent access. So another thread can take the lock and modify the list in between and crash like below.
To fix the issue, move all entries that needs to be freed to a local list while under the lock and then iterate over the list to free the entries without holding the lock.
BUG: Unable to handle kernel paging request at virtual address 00000010ddbeef8c Call trace: ath11k_dp_rx_tid_del_func+0x164/0x3c8 ath11k_dp_process_reo_status+0x1d4/0x2fc ath11k_dp_service_srng+0x334/0x338 ath11k_pcic_ext_grp_napi_poll+0x30/0xc0 __napi_poll+0x34/0x184 napi_threaded_poll+0xb4/0x1d8 kthread+0xdc/0xe0 ret_from_fork+0x10/0x20
Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.9.0.1-01977-QCAHKSWPL_SILICONZ-1
| Product | Versions |
|---|---|
| Linux Linux | d5c65159f2895379e11ca13f62feabe93278985d to before 6e591e1616616e7b43c3e1046b2d232230c090b0 Affectedd5c65159f2895379e11ca13f62feabe93278985d to before 90b129dac22e4338b057ccaff238d83995c9d3b4 Affectedd5c65159f2895379e11ca13f62feabe93278985d to before 855d231c1136aea0b66d9146bc65746dc5774f21 Affectedd5c65159f2895379e11ca13f62feabe93278985d to before aed00688ecb677a89555122aa5584fd5c6ec55c8 Affectedd5c65159f2895379e11ca13f62feabe93278985d to before 0384f8f26a0bd26c0d887bd21b32cf569a563ff1 Affectedd5c65159f2895379e11ca13f62feabe93278985d to before 387194e76fd007985fdf1c164e983e6f56f3818a Affectedd5c65159f2895379e11ca13f62feabe93278985d to before 9dc08436954cd1f2cf0120405d3f2e9a12077235 Affectedd5c65159f2895379e11ca13f62feabe93278985d to before c7555d47b1d051e0406474349deccf74b491ae01 Affected |
| Linux Linux | 5.6 Affectedbefore 5.6 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/6e591e1616616e7b43c3e1046b2d232230c090b0
- https://git.kernel.org/stable/c/90b129dac22e4338b057ccaff238d83995c9d3b4
- https://git.kernel.org/stable/c/855d231c1136aea0b66d9146bc65746dc5774f21
- https://git.kernel.org/stable/c/aed00688ecb677a89555122aa5584fd5c6ec55c8
- https://git.kernel.org/stable/c/0384f8f26a0bd26c0d887bd21b32cf569a563ff1
- https://git.kernel.org/stable/c/387194e76fd007985fdf1c164e983e6f56f3818a
- https://git.kernel.org/stable/c/9dc08436954cd1f2cf0120405d3f2e9a12077235
- https://git.kernel.org/stable/c/c7555d47b1d051e0406474349deccf74b491ae01
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.