Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: wifi: rtlwifi: pci: fix error path in rtl_pci_probe() In the last error path in rtl_pci_probe(), the cleanup functions are skipped due to a wrong goto label. Moreover, the successful call to rtl_init_rfkill(), ieee80211_register_hw(), rtl_debug_add_one() have to be reverted. Fix this issue by updating the labels and adding the relevant cleanup functions to the last error path.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 0c8173385e549f95cd80c3fff5aab87b4f881d8d before 2634998247d24be34ba16a7666f31815ef1da00b; affected 0c8173385e549f95cd80c3fff5aab87b4f881d8d before cfd6824dd1d151ab3abc00117b3774c8056006e0; affected 0c8173385e549f95cd80c3fff5aab87b4f881d8d before 86e6187f8525c8f8219eb49e022eba854cc6ab86; affected 0c8173385e549f95cd80c3fff5aab87b4f881d8d before aef178ffae5420afdbf46f7133ed28bd4248e15c; affected 0c8173385e549f95cd80c3fff5aab87b4f881d8d before b42fcfb097da46f0e86564736ced939e83cb8442; affected 0c8173385e549f95cd80c3fff5aab87b4f881d8d before a89818977338ba71194b1ab1d071f0c0848b1e13; affected 0c8173385e549f95cd80c3fff5aab87b4f881d8d before 1b68b6e529ce75112fab98e89583a76370ca394b; affected 0c8173385e549f95cd80c3fff5aab87b4f881d8d before 3c2999d13eeb222ae56631aeb7ca248090f2b210 |
| Linux / Linux | affected 2.6.38; unaffected 0 before 2.6.38; unaffected 5.10.270 through 5.10.*; unaffected 5.15.221 through 5.15.*; unaffected 6.1.188 through 6.1.*; unaffected 6.6.157 through 6.6.*; unaffected 6.12.110 through 6.12.*; unaffected 6.18.52 through 6.18.*; unaffected 7.2.6 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/2634998247d24be34ba16a7666f31815ef1da00b
- https://git.kernel.org/stable/c/cfd6824dd1d151ab3abc00117b3774c8056006e0
- https://git.kernel.org/stable/c/86e6187f8525c8f8219eb49e022eba854cc6ab86
- https://git.kernel.org/stable/c/aef178ffae5420afdbf46f7133ed28bd4248e15c
- https://git.kernel.org/stable/c/b42fcfb097da46f0e86564736ced939e83cb8442
- https://git.kernel.org/stable/c/a89818977338ba71194b1ab1d071f0c0848b1e13
- https://git.kernel.org/stable/c/1b68b6e529ce75112fab98e89583a76370ca394b
- https://git.kernel.org/stable/c/3c2999d13eeb222ae56631aeb7ca248090f2b210