wifi: wl1251: validate packet IDs before indexing tx_frames
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 2f01a1f58889fbfeb68b1bc1b52e4197f3333490 · < 8d7465be5163a923ee5d7459719ef5a021c1584a| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: wl1251: validate packet IDs before indexing tx_frames
wl1251_tx_packet_cb() uses the firmware completion ID directly to index the fixed 16-entry wl->tx_frames[] array. The ID is a raw u8 from the completion block, and the callback does not currently verify that it fits the array before dereferencing it.
Reject completion IDs that fall outside wl->tx_frames[] and keep the existing NULL check in the same guard. This keeps the fix local to the trust boundary and avoids touching the rest of the completion flow.
From the CVE record · Linux
The Linux kernel's wl1251 Wi-Fi driver uses a firmware completion ID to index a fixed 16-entry array without checking its bounds. An out-of-range ID can cause an out-of-bounds access; the input does not establish how an attacker could supply that ID or whether authentication or user interaction is required.
Engineers running Linux kernels with the wl1251 Wi-Fi driver should check whether their kernel includes this fix; affected versions are not specified.