wifi: rtw88: fix device leak on probe failure
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ a82dfd33d1237f6c0fb8a7077022189d1fc7ec98 · < bbb15e71156cd9f5e1869eee7207a06ea8e96c39| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: rtw88: fix device leak on probe failure
Driver core holds a reference to the USB interface and its parent USB device while the interface is bound to a driver and there is no need to take additional references unless the structures are needed after disconnect.
This driver takes a reference to the USB device during probe but does not to release it on all probe errors (e.g. when descriptor parsing fails).
Drop the redundant device reference to fix the leak, reduce cargo culting, make it easier to spot drivers where an extra reference is needed, and reduce the risk of further memory leaks.
From the CVE record · Linux
The Linux kernel’s rtw88 USB driver can leak a device reference when probing fails, for example during descriptor parsing. The input does not describe an attacker action or specify network or local access, authentication, or user-interaction requirements.
Teams running Linux kernels with the rtw88 USB driver should check their kernel version; affected versions are not specified.