CVE-2026-74322: wifi: mt76: mt7996: Fix possible NULL pointer dereference in mt7996_mac_write_txwi_80211()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt7996: Fix possible NULL pointer dereference in mt7996_mac_write_txwi_80211()
For injected frames (e.g. via radiotap), mac80211 can pass info->control.vif = NULL, as explicitly noted in struct ieee80211_tx_info. Check vif pointer before executing ieee80211_vif_is_mld() in mt7996_mac_write_txwi_80211 routine in order to avoid a possible NULL pointer dereference.
The Linux kernel CVE team has assigned CVE-2026-74322 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.15 with commit f0b0b239b8f36cdc55cf0bc1bac75ec07fc9fef1 and fixed in 6.18.40 with commit dfb27e5dd9e4d34fbb74fa834c644dcef0be2be9 Issue introduced in 6.15 with commit f0b0b239b8f36cdc55cf0bc1bac75ec07fc9fef1 and fixed in 7.1.5 with commit 63e6151b9791b31877a88ff62806e7c407683955 Issue introduced in 6.15 with commit f0b0b239b8f36cdc55cf0bc1bac75ec07fc9fef1 and fixed in 7.2-rc1 with commit 61370e6674b5253de5686813ceeceebc35a7d3e5
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-74322
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/mac.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/dfb27e5dd9e4d34fbb74fa834c644dcef0be2be9 https://git.kernel.org/stable/c/63e6151b9791b31877a88ff62806e7c407683955 https://git.kernel.org/stable/c/61370e6674b5253de5686813ceeceebc35a7d3e5