wifi: rtlwifi: pci: fix error path in rtl_pci_probe()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 0c8173385e549f95cd80c3fff5aab87b4f881d8d · < a89818977338ba71194b1ab1d071f0c0848b1e13| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's rtlwifi PCI probe can skip cleanup when its final error path is reached. The input does not establish what an attacker could do or whether exploitation requires network access, authentication, or user interaction.
Engineers running Linux kernels with the rtlwifi PCI driver should check their systems; affected versions are not specified.