wifi: carl9170: fix OOB read from off-by-two in TX status handler
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ a84fab3cbfdc427e7d366f1cc844f27b2084c26c · < fab6ff91d5b8c4af62e2ced42fb357fa3eb9fd59| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: carl9170: fix OOB read from off-by-two in TX status handler
The bounds check in carl9170_tx_process_status() uses `i > ((cmd->hdr.len / 2) + 1)` which is off by two, allowing 2 extra iterations past valid _tx_status entries when the firmware- controlled hdr.ext exceeds hdr.len/2. Fix by using the correct comparison `i >= (cmd->hdr.len / 2)`.
From the CVE record · Linux
The Linux kernel's carl9170 Wi-Fi TX status handler has an off-by-two bounds check that can read past valid TX status entries when a firmware-controlled field exceeds the entry count. The input does not establish whether an attacker can trigger this condition, or whether network access, authentication, or user interaction is required.
Engineers running Linux systems that use the carl9170 Wi-Fi driver should check their kernel version; affected versions were not provided.