CVE-2026-139502: wifi: mt76: check the owner of a remain-on-channel request

Published Nov 30, 2026
·
Updated

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

wifi: mt76: check the owner of a remain-on-channel request

mvif->rocphy points to the phy of the request that started last for the interface. That request can end, and the phy can start a request for a different interface. The driver does not always clear the pointer.

Two callers trust the pointer:

- mt76vifcleanup() aborts the request on that phy when the driver removes the interface. - mt76cancelremainonchannel() aborts the request on that phy for the interface.

If the phy holds a request for a different interface, both callers abort the wrong request. The request of the interface stays active. Its work then runs after the driver removes the interface. The work tears the link down through the freed bssconf.

Compare phy->rocvif with the interface in both callers before the abort.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In the mt76 driver, compare `phy->roc_vif` with the interface in both `mt76_cancel_remain_on_channel()` and `mt76_vif_cleanup()` before aborting the remain-on-channel request.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:35 PM
Data Sourced
via MITRE·01:35 PM
Description

Frequently Asked Questions

1

What conditions are required to trigger this issue?

The affected mt76 driver must have remain-on-channel requests involving different interfaces on the same PHY. A request for one interface must end and be followed by a request for another interface while the first interface retains a stale roc_phy pointer; later interface cleanup or cancellation can then abort the other interface's request.

2

What is the consequence if the stale request is not handled correctly?

The original interface's remain-on-channel request can stay active after that interface is removed. Its later work may tear down a link through a freed bss_conf, creating a use-after-free condition.

3

How can administrators determine whether their kernel includes the fix?

Check whether the kernel source or applied stable patches include any of the referenced commits: 991a458d9848d33f814abbe0f6e85ac925c4c895, 29035e4450d7d2f6bfec428d0e548baaef40b6a5, or d6173b8b36e5cefc7cce34c31a0cc63fb3bd77f4. The fix verifies that phy->roc_vif matches the interface before aborting a remain-on-channel request.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203