wifi: ath9k: fix OOB access from firmware tx status queue ID
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ fce041beb03f93c7a771f0b4b6c45bb71ef90901 · < 5435fd3edcb11c7cc4002847c83e9a50b49284dc| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: ath9k: fix OOB access from firmware tx status queue ID
ath_tx_edma_tasklet() accesses sc->tx.txq[ts.qid] where ts.qid is a 4-bit hardware field (0-15), but the txq array only has ATH9K_NUM_TX_QUEUES (10) entries. A qid >= 10 causes an OOB array access.
Add a bounds check on ts.qid before using it as an array index.
From the CVE record · Linux
The Linux kernel's ath9k Wi-Fi driver uses a firmware transmit-status queue ID to index an array without checking whether it is within bounds. A queue ID of 10 or higher can cause an out-of-bounds access. The input does not specify how an attacker could trigger this or whether authentication or user interaction is required.
Engineers running Linux kernels with the ath9k Wi-Fi driver should check their versions; affected versions are not specified.