wifi: ath6kl: fix use-after-free in aggr_reset_state()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ bdcd81707973cf8aa9305337166f8ee842a050d4 · < 18965470d41e69d3fc10eb62afae29d10f4cdfd1| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s ath6kl Wi-Fi driver has a use-after-free race when aggregation state is reset while its timer callback is running or re-arms itself. The callback may access freed connection state; the input does not establish how an attacker could trigger the race or whether authentication or user interaction is required.
Engineers running Linux kernels with the ath6kl Wi-Fi driver should check their affected versions; no version range was provided.