wifi: ath6kl: fix OOB access from firmware ADDBA window size
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ bdcd81707973cf8aa9305337166f8ee842a050d4 · < 58c6c8dc2e022e1b4f3dc58725a1ca49ff470f9c| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: ath6kl: fix OOB access from firmware ADDBA window size
aggr_recv_addba_req_evt() logs a debug message when the firmware-supplied win_sz is outside [AGGR_WIN_SZ_MIN, AGGR_WIN_SZ_MAX] but does not return. The out-of-range win_sz is then used in TID_WINDOW_SZ() to compute a kzalloc size and stored in rxtid->hold_q_sz, leading to zero-size or overflowed allocations and subsequent out-of-bounds access.
Clean up any previously active aggregation session for the TID first, then return early when win_sz is out of the valid range, instead of proceeding with a broken allocation size.
From the CVE record · Linux
The Linux kernel’s ath6kl driver does not reject an out-of-range ADDBA window size supplied by firmware. This can cause a zero-size or overflowed allocation followed by out-of-bounds access. The input does not establish a network or local attack path, authentication requirements, or user interaction.
Engineers running Linux kernels with the ath6kl Wi-Fi driver should check their kernel version; affected versions are not specified.