rtw88: fix memory overrun and memory leak during hw_scan
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 |
|
|
In the Linux kernel, the following vulnerability has been resolved:
rtw88: fix memory overrun and memory leak during hw_scan
Previously we allocated less memory than actual required, overwrite to the buffer causes the mm module to complaint and raise access violation faults. Along with potential memory leaks when returned early. Fix these by passing the correct size and proper deinit flow.
From the CVE record · Linux
The Linux kernel’s rtw88 hardware scan allocates too little memory, allowing a buffer overwrite that can cause access violation faults. Early returns can also leak memory. The input does not specify how an attacker could trigger these issues or whether authentication or user interaction is required.
Engineers running Linux kernels with the affected rtw88 hardware-scan code should check their installations; affected versions are not specified.