{"id":"CVE-2026-138888","summary":"wifi: mt76: mt7615: do not tear down BSS/STA state for monitor vifs","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mt76: mt7615: do not tear down BSS/STA state for monitor vifs\n\nTearing down a monitor interface oopses:\n\n  BUG: kernel NULL pointer dereference, address: 0000000000000000\n  RIP: 0010:mt76_connac_mcu_uni_add_bss+0x144/0x370 [mt76_connac_lib]\n  Call Trace:\n   mt7615_remove_interface+0x6a/0x200 [mt7615_common]\n   drv_remove_interface+0x60/0x140 [mac80211]\n   ieee80211_del_virtual_monitor+0x8f/0xc0 [mac80211]\n   ieee80211_do_open+0x550/0x7d0 [mac80211]\n   ieee80211_open+0xaa/0xb0 [mac80211]\n   __dev_open+0x11b/0x280\n\nmt7615_remove_interface() tears down BSS and STA state for every vif type.\nOn MT7663 with offload firmware that reaches mt76_connac_mcu_uni_add_bss(),\nwhich has no monitor case in its iftype switch. It takes WARN_ON(1), then\ncopies ETH_ALEN from vif-\u003ebss_conf.bssid, which is NULL for a monitor vif.\n\nmt76_connac_mcu_bss_basic_tlv() in the same file handles this. It has an\nNL80211_IFTYPE_MONITOR case and it copies phy-\u003emacaddr in place of the\nbssid. The uni variant has neither.\n\nThere is nothing to tear down. mt7615_add_interface() only calls\nmt7615_mcu_add_dev_info(). The BSS and STA state comes from beacon enable\nin mt7615_bss_info_changed(), from mt7615_set_key() and from\nmt7615_mac_sta_add(), so a monitor vif never has any.\n\nReported on mt7615e going from monitor back to managed, and on mt7663u on\nan \"ip link set down\", both through ieee80211_del_virtual_monitor().","modified":"2026-11-30T15:01:15.764329152Z","published":"2026-11-30T13:25:55.397Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138888.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0024b13d98d216339ca697bd047e8e34d3c76969"},{"type":"WEB","url":"https://git.kernel.org/stable/c/35d61b6e8619795f6df663ad3e8e162a1e9515f2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5a8d67108f56fe55d7c29917f710f8005f563524"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9d67b9bf659ffb1eeb2b429a3b999b4a3c36b72d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a2c0f86b61f0c7a0fca9d2568744839e8f01d2b3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ec2f830e698bc00eca117dfe0965089929ae7b21"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f7517b3d8b7f1008e07edcb8bb692c6ca53ef23b"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138888.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138888"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d9852ab2f362fc4fcf501f4350d007b08559ccc1"},{"fixed":"35d61b6e8619795f6df663ad3e8e162a1e9515f2"},{"fixed":"5a8d67108f56fe55d7c29917f710f8005f563524"},{"fixed":"0024b13d98d216339ca697bd047e8e34d3c76969"},{"fixed":"a2c0f86b61f0c7a0fca9d2568744839e8f01d2b3"},{"fixed":"9d67b9bf659ffb1eeb2b429a3b999b4a3c36b72d"},{"fixed":"ec2f830e698bc00eca117dfe0965089929ae7b21"},{"fixed":"f7517b3d8b7f1008e07edcb8bb692c6ca53ef23b"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138888.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.13.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138888.json"}}],"schema_version":"1.9.2"}