Linux
wifi: rtlwifi: pci: fix error path in rtl_pci_probe()
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0c8173385e549f95cd80c3fff5aab87b4f881d8d, < 2634998247d24be34ba16a7666f31815ef1da00b
- >= 0c8173385e549f95cd80c3fff5aab87b4f881d8d, < cfd6824dd1d151ab3abc00117b3774c8056006e0
- >= 0c8173385e549f95cd80c3fff5aab87b4f881d8d, < 86e6187f8525c8f8219eb49e022eba854cc6ab86
- >= 0c8173385e549f95cd80c3fff5aab87b4f881d8d, < aef178ffae5420afdbf46f7133ed28bd4248e15c
- >= 0c8173385e549f95cd80c3fff5aab87b4f881d8d, < b42fcfb097da46f0e86564736ced939e83cb8442
- >= 0c8173385e549f95cd80c3fff5aab87b4f881d8d, < a89818977338ba71194b1ab1d071f0c0848b1e13
- >= 0c8173385e549f95cd80c3fff5aab87b4f881d8d, < 1b68b6e529ce75112fab98e89583a76370ca394b
- >= 0c8173385e549f95cd80c3fff5aab87b4f881d8d, < 3c2999d13eeb222ae56631aeb7ca248090f2b210
Fixed in 2634998247d24be34ba16a7666f31815ef1da00b, cfd6824dd1d151ab3abc00117b3774c8056006e0, 86e6187f8525c8f8219eb49e022eba854cc6ab86, aef178ffae5420afdbf46f7133ed28bd4248e15c, b42fcfb097da46f0e86564736ced939e83cb8442, a89818977338ba71194b1ab1d071f0c0848b1e13, 1b68b6e529ce75112fab98e89583a76370ca394b, 3c2999d13eeb222ae56631aeb7ca248090f2b210
- 2.6.38
Fixed in 0, 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, 6.18.52, 7.2.6, 7.3
Mitigation
Upgrade Linux to 2634998247d24be34ba16a7666f31815ef1da00b or cfd6824dd1d151ab3abc00117b3774c8056006e0 or 86e6187f8525c8f8219eb49e022eba854cc6ab86 or aef178ffae5420afdbf46f7133ed28bd4248e15c or b42fcfb097da46f0e86564736ced939e83cb8442 or a89818977338ba71194b1ab1d071f0c0848b1e13 or 1b68b6e529ce75112fab98e89583a76370ca394b or 3c2999d13eeb222ae56631aeb7ca248090f2b210 or later.
Upgrade Linux to 0 or 5.10.270 or 5.15.221 or 6.1.188 or 6.6.157 or 6.12.110 or 6.18.52 or 7.2.6 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.