Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 2f01a1f58889fbfeb68b1bc1b52e4197f3333490 before 6509dbece7339dbc8980c706b9d623119a6de105; affected 2f01a1f58889fbfeb68b1bc1b52e4197f3333490 before a8a11a876f0a97061ee5d9e61d0f5a0df7e241c7; affected 2f01a1f58889fbfeb68b1bc1b52e4197f3333490 before e0dc1ad870d6788b049bfe1511ac75b2333a7550; affected 2f01a1f58889fbfeb68b1bc1b52e4197f3333490 before b6ba1eacf276063ebeefbbae8056043c24f2efaf; affected 2f01a1f58889fbfeb68b1bc1b52e4197f3333490 before df15adc692a802636dd3f258fc7cca8bf7a0ed9a; affected 2f01a1f58889fbfeb68b1bc1b52e4197f3333490 before 8d7465be5163a923ee5d7459719ef5a021c1584a; affected 2f01a1f58889fbfeb68b1bc1b52e4197f3333490 before 26ee518695c484f75e3606d631278e84bd24ae02; affected 2f01a1f58889fbfeb68b1bc1b52e4197f3333490 before 0fd56fad9c56356e7fa7a7c52e7ecbf807a44eb0 |
| Linux / Linux | affected 2.6.31; unaffected 0 before 2.6.31; unaffected 5.10.258 through 5.10.*; unaffected 5.15.209 through 5.15.*; unaffected 6.1.175 through 6.1.*; unaffected 6.6.136 through 6.6.*; unaffected 6.12.83 through 6.12.*; unaffected 6.18.24 through 6.18.*; unaffected 6.19.14 through 6.19.*; unaffected 7.0 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/6509dbece7339dbc8980c706b9d623119a6de105
- https://git.kernel.org/stable/c/a8a11a876f0a97061ee5d9e61d0f5a0df7e241c7
- https://git.kernel.org/stable/c/e0dc1ad870d6788b049bfe1511ac75b2333a7550
- https://git.kernel.org/stable/c/b6ba1eacf276063ebeefbbae8056043c24f2efaf
- https://git.kernel.org/stable/c/df15adc692a802636dd3f258fc7cca8bf7a0ed9a
- https://git.kernel.org/stable/c/8d7465be5163a923ee5d7459719ef5a021c1584a
- https://git.kernel.org/stable/c/26ee518695c484f75e3606d631278e84bd24ae02
- https://git.kernel.org/stable/c/0fd56fad9c56356e7fa7a7c52e7ecbf807a44eb0