# CVE-2026-143441

- Bağlantı: https://www.allsafe.com.tr/cve-2026-143441/
- Yayımlanma: 2026-12-05T06:19:56+03:00
- Yazar: Postmaster

In the Linux kernel, the following vulnerability has been resolved:

wifi: mt76: mt7915: publish wcid before MCU add commands

mt7915_add_interface() enables the BSS/STA in firmware via
 mt7915_mcu_add_bss_info()
and mt7915_mcu_add_sta() before publishing dev->mt76.wcid[idx] with rcu_assign_pointer().
Firmware can start generating tx-status/tx-free events referencing that wcid as 
soon as it processes those MCU commands, but mt76's rx/tx-free handlers (e.g. mt7915_mac_tx_free())
look up dev->mt76.wcid[idx] to service them, and won't find it published yet. This
can lead to memory corruption and kernel crashes shortly after an AP interface is
brought up.

This ordering was introduced by commit 8e3e7567b8c1 ("mt76: mt7915: add
 sta_rec
with EXTRA_INFO_NEW for the first time only"): mt7915_mcu_add_sta() derived its "
newly added" flag from !rcu_access_pointer(dev->mt76.wcid[idx]), so the publish 
had to happen after that call. Commit 33eb14f10290 ("wifi: mt76: mt7915: use mac80211.
sta_state op") later replaced that flag with a caller-supplied `newly` argument 
to mt7915_mcu_add_sta(), now simply hardcoded to true, so the ordering is no longer
required.

Move the rcu_assign_pointer() before the MCU add_bss_info/add_sta
 calls, so that
the wcid is visible to lookups before firmware is told it's live. This makes the
ordering symmetric with mt7915_remove_interface(), which keeps the pointer published
until after the MCU disable commands have been issued.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-143441)
