wifi: rtw88: check for PCI upstream bridge existence
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 24f5e38a13b5ae2b6105cda8bb47c19108e62a9a · < 3bbbb56204f7359ce2139a9341b43b52a186261c| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: rtw88: check for PCI upstream bridge existence
pci_upstream_bridge() returns NULL if the device is on a root bus. If 8821CE is installed in the system with such a PCI topology, the probing routine will crash. This has probably been unnoticed as 8821CE is mostly supplied in laptops where there is a PCI-to-PCI bridge located upstream from the device. However the card might be installed on a system with different configuration.
Check if the bridge does exist for the specific workaround to be applied.
Found by Linux Verification Center (linuxtesting.org) with Svace static analysis tool.
From the CVE record · Linux
The Linux kernel’s rtw88 driver can crash while probing an 8821CE Wi-Fi card if the card is on a PCI root bus with no upstream bridge. The input does not describe an attacker-controlled trigger or specify authentication or user-interaction requirements.
Check systems running the Linux kernel with an 8821CE Wi-Fi card, particularly where the card is on a PCI root bus; affected kernel versions were not provided.