CVE-2026-53100: wifi: mt76: fix deadlock in remain-on-channel
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: fix deadlock in remain-on-channel
mt76_remain_on_channel() and mt76_roc_complete() call mt76_set_channel() while already holding dev->mutex. Since mt76_set_channel() also acquires dev->mutex, this results in a deadlock.
Use __mt76_set_channel() instead of mt76_set_channel().
Add cancel_delayed_work_sync() for mac_work before acquiring the mutex in mt76_remain_on_channel() to prevent a secondary deadlock with the mac_work workqueue.
The Linux kernel CVE team has assigned CVE-2026-53100 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.14 with commit a8f424c1287cc79a06c21816658feea87dfcb83f and fixed in 6.18.33 with commit 5fc8c5d45e44575dda9fcabdc2aac4ad97baf0cd Issue introduced in 6.14 with commit a8f424c1287cc79a06c21816658feea87dfcb83f and fixed in 7.0.10 with commit 7a89c245d203aa0ed5ff2d68ac05b48b2ef9fa3f Issue introduced in 6.14 with commit a8f424c1287cc79a06c21816658feea87dfcb83f and fixed in 7.1 with commit 6939b97ddad3cf3dfbb3b5a0a12ef79cb886747e
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-53100
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/channel.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/5fc8c5d45e44575dda9fcabdc2aac4ad97baf0cd https://git.kernel.org/stable/c/7a89c245d203aa0ed5ff2d68ac05b48b2ef9fa3f https://git.kernel.org/stable/c/6939b97ddad3cf3dfbb3b5a0a12ef79cb886747e