Skip to contentSkip to conversation

CVE-2026-90403: wifi: rtlwifi: pci: fix error path in rtl_pci_probe()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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.

The Linux kernel CVE team has assigned CVE-2026-90403 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 2.6.38 with commit 0c8173385e549f95cd80c3fff5aab87b4f881d8d and fixed in 5.10.270 with commit 2634998247d24be34ba16a7666f31815ef1da00b
	Issue introduced in 2.6.38 with commit 0c8173385e549f95cd80c3fff5aab87b4f881d8d and fixed in 5.15.221 with commit cfd6824dd1d151ab3abc00117b3774c8056006e0
	Issue introduced in 2.6.38 with commit 0c8173385e549f95cd80c3fff5aab87b4f881d8d and fixed in 6.1.188 with commit 86e6187f8525c8f8219eb49e022eba854cc6ab86
	Issue introduced in 2.6.38 with commit 0c8173385e549f95cd80c3fff5aab87b4f881d8d and fixed in 6.6.157 with commit aef178ffae5420afdbf46f7133ed28bd4248e15c
	Issue introduced in 2.6.38 with commit 0c8173385e549f95cd80c3fff5aab87b4f881d8d and fixed in 6.12.110 with commit b42fcfb097da46f0e86564736ced939e83cb8442
	Issue introduced in 2.6.38 with commit 0c8173385e549f95cd80c3fff5aab87b4f881d8d and fixed in 6.18.52 with commit a89818977338ba71194b1ab1d071f0c0848b1e13
	Issue introduced in 2.6.38 with commit 0c8173385e549f95cd80c3fff5aab87b4f881d8d and fixed in 7.2.6 with commit 1b68b6e529ce75112fab98e89583a76370ca394b
	Issue introduced in 2.6.38 with commit 0c8173385e549f95cd80c3fff5aab87b4f881d8d and fixed in 7.3-rc1 with commit 3c2999d13eeb222ae56631aeb7ca248090f2b210

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-90403

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/net/wireless/realtek/rtlwifi/pci.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	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