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.
https://git.kernel.org/stable/c/d566387df8306257d2f703a0d99fd9896400317e
https://git.kernel.org/stable/c/7c1924332e986019c6bcddf55c843361cccac73f
https://git.kernel.org/stable/c/76144da3c6184c7850631ad79d0600ac8bf7649a