CVE-2026-46069: wifi: mwifiex: fix use-after-free in mwifiex_adapter_cleanup()

Published May 27, 2026
·
Updated

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

wifi: mwifiex: fix use-after-free in mwifiexadaptercleanup()

The mwifiexadaptercleanup() function uses timerdelete() (non-synchronous) for the wakeuptimer before the adapter structure is freed. This is incorrect because timerdelete() does not wait for any running timer callback to complete.

If the wakeuptimer callback (wakeuptimerfn) is executing when mwifiexadaptercleanup() is called, the callback will continue to access adapter fields (adapter->hwstatus, adapter->ifops.cardreset, etc.) which may be freed by mwifiexfreeadapter() called later in the mwifiexremovecard() path.

Use timerdeletesync() instead to ensure any running timer callback has completed before returning.

Affected Software

9 affected componentsFixes available
Linux Linux kernel (mwifiex)
Linux Linux kernel>=4.0<5.10.259
Linux Linux kernel>=5.11<5.15.210
Linux Linux kernel>=5.16<6.1.176
Linux Linux kernel>=6.2<6.6.140
Linux Linux kernel>=6.7<6.12.86
Linux Linux kernel>=6.13<6.18.27
Linux Linux kernel>=6.19<7.0.4
Microsoft azl3 kernel 6.6.139.1-1<6.6.141.1-1
6.6.141.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.141.1-1
  2. Configuration

    Modify mwifiex_adapter_cleanup() to use timer_delete_sync() rather than timer_delete(), ensuring any running wakeup_timer_fn callback completes before mwifiex_adapter_cleanup() returns and before adapter fields are freed via mwifiex_free_adapter() / mwifiex_remove_card() path.

    Linux kernel (wifi: mwifiex) Use timer_delete_sync() instead of timer_delete() in mwifiex_adapter_cleanup() = timer_delete_sync()

Event History

May 27, 2026
CVE Published
via MITRE·12:57 PM
Data Sourced
via MITRE·12:57 PM
Description
Data Sourced
via NVD·02:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
May 28, 2026
Data Sourced
via Microsoft·08:08 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Systems running a Linux kernel with the mwifiex Wi-Fi driver are exposed. The affected software list also includes Microsoft azl3 kernel 6.6.139.1-1.

2

What conditions are required to trigger the use-after-free?

The wakeup_timer callback must already be running when mwifiex_adapter_cleanup() is called during the card removal path. The non-synchronous timer deletion can then allow the callback to access adapter fields after the adapter has been freed.

3

What is the remediation?

Apply the kernel fix that replaces timer_delete() with timer_delete_sync() for the mwifiex wakeup_timer cleanup. This ensures any running callback completes before adapter cleanup proceeds.

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