wifi: mt76: mt7615: do not tear down BSS/STA state for monitor vifs
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
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:mt76_connac_mcu_uni_add_bss+0x144/0x370 [mt76_connac_lib] Call Trace: mt7615_remove_interface+0x6a/0x200 [mt7615_common] drv_remove_interface+0x60/0x140 [mac80211] ieee80211_del_virtual_monitor+0x8f/0xc0 [mac80211] ieee80211_do_open+0x550/0x7d0 [mac80211] ieee80211_open+0xaa/0xb0 [mac80211] __dev_open+0x11b/0x280
mt7615_remove_interface() tears down BSS and STA state for every vif type. On MT7663 with offload firmware that reaches mt76_connac_mcu_uni_add_bss(), which has no monitor case in its iftype switch. It takes WARN_ON(1), then copies ETH_ALEN from vif->bss_conf.bssid, which is NULL for a monitor vif.
mt76_connac_mcu_bss_basic_tlv() in the same file handles this. It has an NL80211_IFTYPE_MONITOR case and it copies phy->macaddr in place of the bssid. The uni variant has neither.
There is nothing to tear down. mt7615_add_interface() only calls mt7615_mcu_add_dev_info(). The BSS and STA state comes from beacon enable in mt7615_bss_info_changed(), from mt7615_set_key() and from mt7615_mac_sta_add(), 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 ieee80211_del_virtual_monitor().
| Product | Versions |
|---|---|
| Linux Linux | d9852ab2f362fc4fcf501f4350d007b08559ccc1 to before 35d61b6e8619795f6df663ad3e8e162a1e9515f2 Affectedd9852ab2f362fc4fcf501f4350d007b08559ccc1 to before 5a8d67108f56fe55d7c29917f710f8005f563524 Affectedd9852ab2f362fc4fcf501f4350d007b08559ccc1 to before 0024b13d98d216339ca697bd047e8e34d3c76969 Affectedd9852ab2f362fc4fcf501f4350d007b08559ccc1 to before a2c0f86b61f0c7a0fca9d2568744839e8f01d2b3 Affectedd9852ab2f362fc4fcf501f4350d007b08559ccc1 to before 9d67b9bf659ffb1eeb2b429a3b999b4a3c36b72d Affectedd9852ab2f362fc4fcf501f4350d007b08559ccc1 to before ec2f830e698bc00eca117dfe0965089929ae7b21 Affectedd9852ab2f362fc4fcf501f4350d007b08559ccc1 to before f7517b3d8b7f1008e07edcb8bb692c6ca53ef23b Affected |
| Linux Linux | 5.13 Affectedbefore 5.13 Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/35d61b6e8619795f6df663ad3e8e162a1e9515f2
- https://git.kernel.org/stable/c/5a8d67108f56fe55d7c29917f710f8005f563524
- https://git.kernel.org/stable/c/0024b13d98d216339ca697bd047e8e34d3c76969
- https://git.kernel.org/stable/c/a2c0f86b61f0c7a0fca9d2568744839e8f01d2b3
- https://git.kernel.org/stable/c/9d67b9bf659ffb1eeb2b429a3b999b4a3c36b72d
- https://git.kernel.org/stable/c/ec2f830e698bc00eca117dfe0965089929ae7b21
- https://git.kernel.org/stable/c/f7517b3d8b7f1008e07edcb8bb692c6ca53ef23b
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.