Skip to contentSkip to conversation

CVE-2026-90351: wifi: mt76: mt7996: do not attach hif2 WED when the main WED attach failed

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: 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.

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

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

	Issue introduced in 6.8 with commit 83eafc9251d6d30574b629ac637c56d168fcbdd9 and fixed in 6.18.52 with commit 76144da3c6184c7850631ad79d0600ac8bf7649a
	Issue introduced in 6.8 with commit 83eafc9251d6d30574b629ac637c56d168fcbdd9 and fixed in 7.2.6 with commit d566387df8306257d2f703a0d99fd9896400317e
	Issue introduced in 6.8 with commit 83eafc9251d6d30574b629ac637c56d168fcbdd9 and fixed in 7.3-rc1 with commit 7c1924332e986019c6bcddf55c843361cccac73f

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-90351

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