Skip to contentSkip to conversation

CVE-2026-53103: wifi: mt76: mt7925: fix potential deadlock in mt7925_roc_abort_sync

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jun 24

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 potential deadlock in mt7925_roc_abort_sync

roc_abort_sync() can deadlock with roc_work(). roc_work() holds dev->mt76.mutex, while cancel_work_sync() waits for roc_work() to finish. If the caller already owns the same mutex, both sides block and no progress is possible.

This deadlock can occur during station removal when mt76_sta_state() -> mt76_sta_remove() -> mt7925_mac_sta_remove_link() -> mt7925_mac_link_sta_remove() -> mt7925_roc_abort_sync() invokes cancel_work_sync() while roc_work() is still running and holding dev->mt76.mutex.

This avoids the mutex deadlock and preserves exactly-once work ownership.

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

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

	Issue introduced in 6.12 with commit 45064d19fd3af6aeb0887b35b5564927980cf150 and fixed in 6.18.33 with commit 153bcba36c87a1ba555b57b6c49028d5812f895b
	Issue introduced in 6.12 with commit 45064d19fd3af6aeb0887b35b5564927980cf150 and fixed in 7.0.10 with commit 2d8e0053bca29143ace51e08c980ff076844a4b0
	Issue introduced in 6.12 with commit 45064d19fd3af6aeb0887b35b5564927980cf150 and fixed in 7.1 with commit dd08ca3f092f4185ece69ce2a835c23198b1628a
	Issue introduced in 6.11.2 with commit 978d1756b3ae1b857826eb7ed8181f3c5180dce9

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-53103

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/main.c

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/153bcba36c87a1ba555b57b6c49028d5812f895b
	https://git.kernel.org/stable/c/2d8e0053bca29143ace51e08c980ff076844a4b0
	https://git.kernel.org/stable/c/dd08ca3f092f4185ece69ce2a835c23198b1628a