CVE-2026-53101: wifi: mt76: mt7921: fix potential deadlock in mt7921_roc_abort_sync
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt7921: fix potential deadlock in mt7921_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() -> mt7921_mac_sta_remove() -> mt7921_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-53101 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.9 with commit 352d966126e66d825244f1185eb9f2d904c83dd4 and fixed in 6.18.33 with commit 35180c772f5e11e2fa4d80d3dfd50906cb6d9646 Issue introduced in 6.9 with commit 352d966126e66d825244f1185eb9f2d904c83dd4 and fixed in 7.0.10 with commit 91e77840bf13de3add125060cf8b32ca24a52c8c Issue introduced in 6.9 with commit 352d966126e66d825244f1185eb9f2d904c83dd4 and fixed in 7.1 with commit d5059e52fd8bc624ec4255c9fa01a266513d126b
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-53101
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/mt7921/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/35180c772f5e11e2fa4d80d3dfd50906cb6d9646 https://git.kernel.org/stable/c/91e77840bf13de3add125060cf8b32ca24a52c8c https://git.kernel.org/stable/c/d5059e52fd8bc624ec4255c9fa01a266513d126b