Skip to contentSkip to conversation

CVE-2026-99560: wifi: mt76: mt7925: fix reset panic caused by the WM2 rx irq mask

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Nov 19

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

wifi: mt76: mt7925: fix reset panic caused by the WM2 rx irq mask

mt7925_irq_map sets wm2_complete_mask, but mt7925_dma_layout has no tx done ring, so the MT_RXQ_MCU_WA queue and its NAPI are never set up. On a chip reset, mt7925e_mac_reset() calls napi_disable() on that NAPI and crashes:

  BUG: kernel NULL pointer dereference, address: 0000000000000a40
  Workqueue: mt76 mt7925_mac_reset_work [mt7925_common]
  RIP: 0010:mutex_lock+0x1c/0x50
  Call Trace:
   napi_disable+0x1d/0x50
   mt7925e_mac_reset+0x327/0x420 [mt7925e]
   mt7925_mac_reset_work+0x9a/0x1a0 [mt7925_common]

Remove the WM2 mask from mt7925_irq_map and from
MT7925_INT_RX_DONE_ALL.

The Linux kernel CVE team has assigned CVE-2026-99560 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 7.3 with commit c4edf9e3e0e5a6a6e195cd35fae5d9404a559413 and fixed in 7.3.2 with commit 3c287de98388c3746d8b884de9fd8c3e83f41c04
	Issue introduced in 7.3 with commit c4edf9e3e0e5a6a6e195cd35fae5d9404a559413 and fixed in 7.4-rc1 with commit c182bfe944eb275f7526cc326f81229b0e974a0c

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-99560

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:

	drivers/net/wireless/mediatek/mt76/mt7925/pci.c
	drivers/net/wireless/mediatek/mt76/mt7925/regs.h

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/3c287de98388c3746d8b884de9fd8c3e83f41c04
	https://git.kernel.org/stable/c/c182bfe944eb275f7526cc326f81229b0e974a0c