CVE-2026-139483

wifi: mt76: keep beacons from queueing the scan work during an abort

Published Nov 30, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

wifi: mt76: keep beacons from queueing the scan work during an abort

mt76_abort_scan() clears beacon_wait and then cancels the scan work. A
scan work that runs at that time can set beacon_wait again when it
moves to a NO_IR or radar channel. After the cancel, a beacon on that
channel makes mt76_scan_rx_beacon() queue the work again. The work then
runs without dev->mutex while mt76_scan_phy_complete() removes the scan
link, so mt76_scan_send_probe() can use the removed link. Reachable via
mac80211 cancel_hw_scan, chanctx changes, interface removal and the
mt7996 reset work.

Disable the scan works instead of cancelling them, so that no beacon
can queue them until the abort completes the scan. Enable them again
with dev->mutex held, so that a scan that mt76_hw_scan() starts after
the abort can always queue its work.

Analysis

AI-generated

Technical impact

A race condition in the MediaTek mt76 WiFi driver can cause a use‑after‑free during a scan abort. When an abort clears the beacon wait flag and cancels the scan work, a concurrently running scan may reset the flag while negotiating a new channel. A beacon on that channel later re‑queues the work, which then runs without holding the device mutex and accesses a link that has been removed. This mis‑use of freed kernel memory can lead to memory corruption inside the kernel.

Affected Systems

All Linux kernels that include the mt76 driver without the patched commit are affected. The commit identifiers are 096e2e2964b5 and 49701802948aadc573d84840853e04c9f1cf6777, referenced in the kernel source repository. Updating to a kernel version that incorporates one of these commits removes the race and disables scan work queuing during abort.

Risk and Exploitability

The CVSS score is 5.3 and the EPSS score is below 1%, and the vulnerability is not listed in the CISA KEV catalog. Because the flaw requires control over WiFi scan abort or channel changes, access is local to the host. An attacker who can force a scan abort, channel context change, interface removal, or device reset could trigger the memory corruption, potentially allowing privilege escalation if kernel memory is corrupted. The overall risk is moderate to high depending on how easily an attacker can exploit scan or channel manipulation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the mt76 driver patch commit (096e2e2964b5 or later) to disable the race condition.
  • If an immediate kernel update is unavailable, backport the patch into the mt76 driver source, rebuild the module, and reload it into the running kernel.
  • Limit or disable automatic WiFi scan and channel switching operations (for example, use `iw dev <iface> set chanctx` settings or modify driver configuration) to reduce the chance of triggering the flaw.
  • If Wi‑Fi functionality is not required, physically disable or unplug the WiFi interface until a patched kernel is available.

Generated by OpenCVE AI on December 2, 2026 at 15:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-362
CWE-416
Type Values Removed Values Added
Weaknesses CWE-366
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-362
CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: keep beacons from queueing the scan work during an abort mt76_abort_scan() clears beacon_wait and then cancels the scan work. A scan work that runs at that time can set beacon_wait again when it moves to a NO_IR or radar channel. After the cancel, a beacon on that channel makes mt76_scan_rx_beacon() queue the work again. The work then runs without dev->mutex while mt76_scan_phy_complete() removes the scan link, so mt76_scan_send_probe() can use the removed link. Reachable via mac80211 cancel_hw_scan, chanctx changes, interface removal and the mt7996 reset work. Disable the scan works instead of cancelling them, so that no beacon can queue them until the abort completes the scan. Enable them again with dev->mutex held, so that a scan that mt76_hw_scan() starts after the abort can always queue its work.
Title wifi: mt76: keep beacons from queueing the scan work during an abort
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-366

    Race Condition within a Thread

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:35 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:35 PM