wifi: rtw89: avoid reading out of bounds when loading TX power FW elements
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.10.146.11.36.12In the Linux kernel, the following vulnerability has been resolved:
wifi: rtw89: avoid reading out of bounds when loading TX power FW elements
Because the loop-expression will do one more time before getting false from cond-expression, the original code copied one more entry size beyond valid region.
Fix it by moving the entry copy to loop-body.
From the CVE record · Linux
The Linux kernel's rtw89 Wi-Fi driver reads beyond a valid region when loading TX power firmware elements because a loop copies one extra entry. This can cause an out-of-bounds read; the input does not specify how an attacker could trigger it or whether authentication, network access, or user interaction is required.
Engineers running Linux kernels with the rtw89 Wi-Fi driver should check their kernel versions; affected versions are not specified.