CVE-2026-68310: wifi: mt76: mt7915: guard HE capability lookups

Greg Kroah-Hartman <[email protected]>
Newsgroups org.kernel.vger.linux-cve-announce
Message-ID <2026081031-CVE-2026-68310-f438@gregkh>
From: Greg Kroah-Hartman <[email protected]>

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

In the Linux kernel, the following vulnerability has been resolved:

wifi: mt76: mt7915: guard HE capability lookups

mt7915_mcu_bss_he_tlv() and mt7915_mcu_sta_bfer_tlv() both run after
checking HE support, then dereference the HE PHY capability returned by
mt76_connac_get_he_phy_cap(). That helper can return NULL when no
capability entry matches the vif type.

Fetch the capability before appending the TLV and skip the HE-specific
setup when no matching capability is available.

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


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

	Issue introduced in 5.18 with commit e6d557a78b6016eee7b9cd6832343efd32cc0b27 and fixed in 6.6.148 with commit 23a2b98e754da04e0e90314d5fa8ca44349590fb
	Issue introduced in 5.18 with commit e6d557a78b6016eee7b9cd6832343efd32cc0b27 and fixed in 6.12.101 with commit a031f454f14e3e76ad03bcb23918e1a82b4b0869
	Issue introduced in 5.18 with commit e6d557a78b6016eee7b9cd6832343efd32cc0b27 and fixed in 6.18.42 with commit 871549814eb4da081f1e93cc0c7ea626a310a966
	Issue introduced in 5.18 with commit e6d557a78b6016eee7b9cd6832343efd32cc0b27 and fixed in 7.1.6 with commit 6f99a5667c6c7c3e0da1d3c4dc8dfb103042609e
	Issue introduced in 5.18 with commit e6d557a78b6016eee7b9cd6832343efd32cc0b27 and fixed in 7.2-rc5 with commit 8e9db062654a388d0fa587acbeeae68dd33eba41

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-68310
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/mt7915/mcu.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/23a2b98e754da04e0e90314d5fa8ca44349590fb
	https://git.kernel.org/stable/c/a031f454f14e3e76ad03bcb23918e1a82b4b0869
	https://git.kernel.org/stable/c/871549814eb4da081f1e93cc0c7ea626a310a966
	https://git.kernel.org/stable/c/6f99a5667c6c7c3e0da1d3c4dc8dfb103042609e
	https://git.kernel.org/stable/c/8e9db062654a388d0fa587acbeeae68dd33eba41
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.