CVE-2026-138888: wifi: mt76: mt7615: do not tear down BSS/STA state for monitor vifs
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt7615: do not tear down BSS/STA state for monitor vifs
Tearing down a monitor interface oopses:
BUG: kernel NULL pointer dereference, address: 0000000000000000 RIP: 0010:mt76connacmcuuniaddbss+0x144/0x370 [mt76connaclib] Call Trace: mt7615removeinterface+0x6a/0x200 [mt7615common] drvremoveinterface+0x60/0x140 [mac80211] ieee80211delvirtualmonitor+0x8f/0xc0 [mac80211] ieee80211doopen+0x550/0x7d0 [mac80211] ieee80211open+0xaa/0xb0 [mac80211] devopen+0x11b/0x280
mt7615removeinterface() tears down BSS and STA state for every vif type. On MT7663 with offload firmware that reaches mt76connacmcuuniaddbss(), which has no monitor case in its iftype switch. It takes WARNON(1), then copies ETHALEN from vif->bssconf.bssid, which is NULL for a monitor vif.
mt76connacmcubssbasictlv() in the same file handles this. It has an NL80211IFTYPEMONITOR case and it copies phy->macaddr in place of the bssid. The uni variant has neither.
There is nothing to tear down. mt7615addinterface() only calls mt7615mcuadddevinfo(). The BSS and STA state comes from beacon enable in mt7615bssinfochanged(), from mt7615setkey() and from mt7615macstaadd(), so a monitor vif never has any.
Reported on mt7615e going from monitor back to managed, and on mt7663u on an "ip link set down", both through ieee80211delvirtualmonitor().
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.226 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.117 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.63 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.4-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1Fixed in 7.3.4-1
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Systems using the Linux kernel mt76 mt7615 driver with MT7663 hardware and offload firmware are implicated. The failure path is specifically associated with monitor virtual interfaces.
What action triggers the crash?
Tearing down a monitor interface can trigger a kernel NULL pointer dereference. The described call path occurs while removing the interface and attempting to remove BSS state for a monitor vif.
What is the immediate impact of successful triggering?
The kernel can oops due to a NULL pointer dereference in mt76_connac_mcu_uni_add_bss. This can cause loss of availability for the affected system or wireless functionality.