wifi: ath6kl: fix OOB read from firmware num_msg in TX complete handler
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ bdcd81707973cf8aa9305337166f8ee842a050d4 · < eb636fbc443149b3501c3f97e26225ddcb314a0f| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: ath6kl: fix OOB read from firmware num_msg in TX complete handler
The firmware-controlled num_msg field (u8, 0-255) drives the loop in ath6kl_wmi_tx_complete_event_rx() without validation against the buffer length. This allows out-of-bounds reads of up to 1020 bytes past the WMI event buffer when the firmware sends an inflated num_msg.
Add a check that the buffer is large enough to hold the fixed struct and the num_msg variable-length entries.
From the CVE record · Linux
The Linux kernel's ath6kl TX complete handler does not validate a firmware-controlled message count against the WMI event buffer length. If firmware sends an inflated count, the handler can read up to 1020 bytes past the buffer; the input does not specify authentication or user-interaction requirements.
Engineers running Linux kernels that use the ath6kl Wi-Fi driver should check their versions; affected versions were not specified.