{"id":"CVE-2026-143441","summary":"wifi: mt76: mt7915: publish wcid before MCU add commands","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mt76: mt7915: publish wcid before MCU add commands\n\nmt7915_add_interface() enables the BSS/STA in firmware via\nmt7915_mcu_add_bss_info() and mt7915_mcu_add_sta() before publishing\ndev-\u003emt76.wcid[idx] with rcu_assign_pointer(). Firmware can start\ngenerating tx-status/tx-free events referencing that wcid as soon as it\nprocesses those MCU commands, but mt76's rx/tx-free handlers (e.g.\nmt7915_mac_tx_free()) look up dev-\u003emt76.wcid[idx] to service them, and\nwon't find it published yet. This can lead to memory corruption and\nkernel crashes shortly after an AP interface is brought up.\n\nThis ordering was introduced by commit 8e3e7567b8c1 (\"mt76: mt7915: add\nsta_rec with EXTRA_INFO_NEW for the first time only\"):\nmt7915_mcu_add_sta() derived its \"newly added\" flag from\n!rcu_access_pointer(dev-\u003emt76.wcid[idx]), so the publish had to happen\nafter that call. Commit 33eb14f10290 (\"wifi: mt76: mt7915: use mac80211\n.sta_state op\") later replaced that flag with a caller-supplied `newly`\nargument to mt7915_mcu_add_sta(), now simply hardcoded to true, so the\nordering is no longer required.\n\nMove the rcu_assign_pointer() before the MCU add_bss_info/add_sta\ncalls, so that the wcid is visible to lookups before firmware is told\nit's live. This makes the ordering symmetric with\nmt7915_remove_interface(), which keeps the pointer published until\nafter the MCU disable commands have been issued.","modified":"2026-12-05T03:00:58.245026584Z","published":"2026-12-05T01:41:20.951Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143441.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/9e44db2b0d5c930e42c1e5e642e83ef63e9b45d4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a2d1c02c59f84e982179751bced5fb2fd5bb4212"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a514f9a45cc7501fa6edfb7ce20b58b537731afc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c22341288d8cddd2c9b61c1ae3685b736d0bc74a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143441.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143441"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"8e3e7567b8c1216c743a69a32e468f7c86b8643f"},{"fixed":"c22341288d8cddd2c9b61c1ae3685b736d0bc74a"},{"fixed":"9e44db2b0d5c930e42c1e5e642e83ef63e9b45d4"},{"fixed":"a514f9a45cc7501fa6edfb7ce20b58b537731afc"},{"fixed":"a2d1c02c59f84e982179751bced5fb2fd5bb4212"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143441.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.0"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143441.json"}}],"schema_version":"1.9.2"}