AZL-119165: CVE-2026-143441 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt7915: publish wcid before MCU add commands
mt7915addinterface() enables the BSS/STA in firmware via mt7915mcuaddbssinfo() and mt7915mcuaddsta() before publishing dev->mt76.wcid[idx] with rcuassignpointer(). 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. mt7915mactxfree()) 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 starec with EXTRAINFONEW for the first time only"): mt7915mcuaddsta() derived its "newly added" flag from !rcuaccesspointer(dev->mt76.wcid[idx]), so the publish had to happen after that call. Commit 33eb14f10290 ("wifi: mt76: mt7915: use mac80211 .stastate op") later replaced that flag with a caller-supplied newly argument to mt7915mcuaddsta(), now simply hardcoded to true, so the ordering is no longer required.
Move the rcuassignpointer() before the MCU addbssinfo/addsta calls, so that the wcid is visible to lookups before firmware is told it's live. This makes the ordering symmetric with mt7915removeinterface(), which keeps the pointer published until after the MCU disable commands have been issued.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
kernelto a version that resolves this vulnerability.Patch 33eb14f10290