Description
In the Linux kernel, the following vulnerability has been resolved: wifi: ath6kl: fix use-after-free in aggr_reset_state() The aggr_reset_state() function uses timer_delete() (non-synchronous) for the aggregation timer before proceeding to delete TID state and before the structure is freed by callers like aggr_module_destroy(). If the timer callback (aggr_timeout) is executing when aggr_reset_state() is called, the callback will continue to access aggr_conn fields like rx_tid[] and stat[] which may be freed immediately after by kfree(aggr_info->aggr_conn) in aggr_module_destroy(). Additionally, the timer callback can re-arm itself via mod_timer() while aggr_reset_state() is running, creating a more complex race condition. Use timer_delete_sync() instead to ensure any running timer callback has completed before returning.
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
bdcd81707973cf8aa9305337166f8ee842a050d4 to < a1bac650b2d6b1baab1f3e78e2e007a6e2948ddeaffectedbdcd81707973cf8aa9305337166f8ee842a050d4 to < 2132a6db05846dd2318857d00e0c1291f9e41b29affectedbdcd81707973cf8aa9305337166f8ee842a050d4 to < 17ff29cd8dbc977c97788a5f7c011ec807b58242affectedbdcd81707973cf8aa9305337166f8ee842a050d4 to < 64af6534a085f49d6ed33338a19ab9cf0d0523c9affectedbdcd81707973cf8aa9305337166f8ee842a050d4 to < b5d618fd61b9069b4c0a6b487022dd3117ad5accaffectedbdcd81707973cf8aa9305337166f8ee842a050d4 to < 18965470d41e69d3fc10eb62afae29d10f4cdfd1affectedbdcd81707973cf8aa9305337166f8ee842a050d4 to < a3313111b5d9046af60b370c93eec105b27380c1affectedbdcd81707973cf8aa9305337166f8ee842a050d4 to < ba7debb4dd6427386862220e8335a53a4bfc235daffected
Linux Linux
Default version status: affected
3.2affected0 to < 3.2unaffected5.10.266 to ≤ 5.10.*unaffected5.15.217 to ≤ 5.15.*unaffected6.1.184 to ≤ 6.1.*unaffected6.6.151 to ≤ 6.6.*unaffected6.12.103 to ≤ 6.12.*unaffected6.18.42 to ≤ 6.18.*unaffected7.1.6 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/a1bac650b2d6b1baab1f3e78e2e007a6e2948dde ↗
- https://git.kernel.org/stable/c/2132a6db05846dd2318857d00e0c1291f9e41b29 ↗
- https://git.kernel.org/stable/c/17ff29cd8dbc977c97788a5f7c011ec807b58242 ↗
- https://git.kernel.org/stable/c/64af6534a085f49d6ed33338a19ab9cf0d0523c9 ↗
- https://git.kernel.org/stable/c/b5d618fd61b9069b4c0a6b487022dd3117ad5acc ↗
- https://git.kernel.org/stable/c/18965470d41e69d3fc10eb62afae29d10f4cdfd1 ↗
- https://git.kernel.org/stable/c/a3313111b5d9046af60b370c93eec105b27380c1 ↗
- https://git.kernel.org/stable/c/ba7debb4dd6427386862220e8335a53a4bfc235d ↗