Linux
wifi: ath6kl: fix use-after-free in aggr_reset_state()
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= bdcd81707973cf8aa9305337166f8ee842a050d4, < a1bac650b2d6b1baab1f3e78e2e007a6e2948dde
- >= bdcd81707973cf8aa9305337166f8ee842a050d4, < 2132a6db05846dd2318857d00e0c1291f9e41b29
- >= bdcd81707973cf8aa9305337166f8ee842a050d4, < 17ff29cd8dbc977c97788a5f7c011ec807b58242
- >= bdcd81707973cf8aa9305337166f8ee842a050d4, < 64af6534a085f49d6ed33338a19ab9cf0d0523c9
- >= bdcd81707973cf8aa9305337166f8ee842a050d4, < b5d618fd61b9069b4c0a6b487022dd3117ad5acc
- >= bdcd81707973cf8aa9305337166f8ee842a050d4, < 18965470d41e69d3fc10eb62afae29d10f4cdfd1
- >= bdcd81707973cf8aa9305337166f8ee842a050d4, < a3313111b5d9046af60b370c93eec105b27380c1
- >= bdcd81707973cf8aa9305337166f8ee842a050d4, < ba7debb4dd6427386862220e8335a53a4bfc235d
Fixed in a1bac650b2d6b1baab1f3e78e2e007a6e2948dde, 2132a6db05846dd2318857d00e0c1291f9e41b29, 17ff29cd8dbc977c97788a5f7c011ec807b58242, 64af6534a085f49d6ed33338a19ab9cf0d0523c9, b5d618fd61b9069b4c0a6b487022dd3117ad5acc, 18965470d41e69d3fc10eb62afae29d10f4cdfd1, a3313111b5d9046af60b370c93eec105b27380c1, ba7debb4dd6427386862220e8335a53a4bfc235d
- 3.2
Fixed in 0, 5.10.266, 5.15.217, 6.1.184, 6.6.151, 6.12.103, 6.18.42, 7.1.6, 7.2
Mitigation
Upgrade Linux to a1bac650b2d6b1baab1f3e78e2e007a6e2948dde or 2132a6db05846dd2318857d00e0c1291f9e41b29 or 17ff29cd8dbc977c97788a5f7c011ec807b58242 or 64af6534a085f49d6ed33338a19ab9cf0d0523c9 or b5d618fd61b9069b4c0a6b487022dd3117ad5acc or 18965470d41e69d3fc10eb62afae29d10f4cdfd1 or a3313111b5d9046af60b370c93eec105b27380c1 or ba7debb4dd6427386862220e8335a53a4bfc235d or later.
Upgrade Linux to 0 or 5.10.266 or 5.15.217 or 6.1.184 or 6.6.151 or 6.12.103 or 6.18.42 or 7.1.6 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.