Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected bdcd81707973cf8aa9305337166f8ee842a050d4 before a1bac650b2d6b1baab1f3e78e2e007a6e2948dde; affected bdcd81707973cf8aa9305337166f8ee842a050d4 before 2132a6db05846dd2318857d00e0c1291f9e41b29; affected bdcd81707973cf8aa9305337166f8ee842a050d4 before 17ff29cd8dbc977c97788a5f7c011ec807b58242; affected bdcd81707973cf8aa9305337166f8ee842a050d4 before 64af6534a085f49d6ed33338a19ab9cf0d0523c9; affected bdcd81707973cf8aa9305337166f8ee842a050d4 before b5d618fd61b9069b4c0a6b487022dd3117ad5acc; affected bdcd81707973cf8aa9305337166f8ee842a050d4 before 18965470d41e69d3fc10eb62afae29d10f4cdfd1; affected bdcd81707973cf8aa9305337166f8ee842a050d4 before a3313111b5d9046af60b370c93eec105b27380c1; affected bdcd81707973cf8aa9305337166f8ee842a050d4 before ba7debb4dd6427386862220e8335a53a4bfc235d |
| Linux / Linux | affected 3.2; unaffected 0 before 3.2; unaffected 5.10.266 through 5.10.*; unaffected 5.15.217 through 5.15.*; unaffected 6.1.184 through 6.1.*; unaffected 6.6.151 through 6.6.*; unaffected 6.12.103 through 6.12.*; unaffected 6.18.42 through 6.18.*; unaffected 7.1.6 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
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
ADP enrichment
No English description supplied.
No references supplied.