wifi: mt76: mt7996: do not attach hif2 WED when the main WED attach failed
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt7996: do not attach hif2 WED when the main WED attach failed
If the WED attach for the primary PCIe function fails, the probe path still attached wed_hif2 for the secondary function, leaving the device in an inconsistent half-WED configuration that crashes later. The hif2 call also re-enabled hwrro_mode, which the failed primary attach had just turned off.
Skip the hif2 WED setup when the primary WED device is not active.
From the CVE record · Linux
In the Linux kernel’s mt76 mt7996 Wi-Fi driver, a failed primary WED attachment can leave the device in an inconsistent configuration that crashes later. The input does not describe how an attacker could trigger the failure or specify network access, authentication, or user interaction requirements.
Engineers running Linux kernels with the mt76 mt7996 Wi-Fi driver should check their systems; affected versions are not specified.