Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
a82dfd33d1237f6c0fb8a7077022189d1fc7ec98 to < f632987306bce9242cdfcf911ee0b2c9455e05a3affecteda82dfd33d1237f6c0fb8a7077022189d1fc7ec98 to < a4f4371d194dfa5473cc961f86194084b1b13a69affecteda82dfd33d1237f6c0fb8a7077022189d1fc7ec98 to < 89a9c1bc7d797120bcc290864e0cb10a440a677faffecteda82dfd33d1237f6c0fb8a7077022189d1fc7ec98 to < af7307e96dad00bcc2675dac650d8558a52f2c6faffecteda82dfd33d1237f6c0fb8a7077022189d1fc7ec98 to < 25a827b7e1d5747a255bdc757f1d3e9e1e8a4e2aaffecteda82dfd33d1237f6c0fb8a7077022189d1fc7ec98 to < bbb15e71156cd9f5e1869eee7207a06ea8e96c39affected
Linux Linux
Default version status: affected
6.2affected0 to < 6.2unaffected6.6.136 to ≤ 6.6.*unaffected6.12.83 to ≤ 6.12.*unaffected6.18.24 to ≤ 6.18.*unaffected6.19.14 to ≤ 6.19.*unaffected7.0.1 to ≤ 7.0.*unaffected7.1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/f632987306bce9242cdfcf911ee0b2c9455e05a3 ↗
- https://git.kernel.org/stable/c/a4f4371d194dfa5473cc961f86194084b1b13a69 ↗
- https://git.kernel.org/stable/c/89a9c1bc7d797120bcc290864e0cb10a440a677f ↗
- https://git.kernel.org/stable/c/af7307e96dad00bcc2675dac650d8558a52f2c6f ↗
- https://git.kernel.org/stable/c/25a827b7e1d5747a255bdc757f1d3e9e1e8a4e2a ↗
- https://git.kernel.org/stable/c/bbb15e71156cd9f5e1869eee7207a06ea8e96c39 ↗