Skip to main content
← All vulnerabilities
CVE-2026-46069

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.10.259, 5.15.210, 6.1.176, 6.6.140, 6.12.86, and 2 more
None on Exploit-DB, Metasploit or GitHub

Summary

In the Linux kernel, the following vulnerability has been resolved: wifi: mwifiex: fix use-after-free in mwifiex_adapter_cleanup() The mwifiex_adapter_cleanup() function uses timer_delete() (non-synchronous) for the wakeup_timer before the adapter structure is freed. This is incorrect because timer_delete() does not wait for any running timer callback to complete. If the wakeup_timer callback (wakeup_timer_fn) is executing when mwifiex_adapter_cleanup() is called, the callback will continue to access adapter fields (adapter->hw_status, adapter->if_ops.card_reset, etc.) which may be freed by mwifiex_free_adapter() called later in the mwifiex_remove_card() path. Use timer_delete_sync() instead to ensure any running timer callback has completed before returning.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 4636187da60b6e33526050235c610409d9cc00e8 · fixed in c3508895450cca4aeaf5dbadbb5e582363005264; From 4636187da60b6e33526050235c610409d9cc00e8 · fixed in 1958a92599b2653d730ccb6f5685fc3fbed21812; From 4636187da60b6e33526050235c610409d9cc00e8 · fixed in a88f5391dc68f78cae5eb6a8cd341cafee795d3d; From 4636187da60b6e33526050235c610409d9cc00e8 · fixed in 11869ce402d95519d49b25a2a97741f68d69d103; From 4636187da60b6e33526050235c610409d9cc00e8 · fixed in 63fe3389b3e092d6c0eeea9fc0318e7918b16618; From 4636187da60b6e33526050235c610409d9cc00e8 · fixed in 4e179a60a60c0a5aea245e8e67768343c0f070b8; From 4636187da60b6e33526050235c610409d9cc00e8 · fixed in 030abbae49cf9fd1fba7aa08e15ec81efbeb78cf; From 4636187da60b6e33526050235c610409d9cc00e8 · fixed in ae5e95d4157481693be2317e3ffcd84e36010cbb

  • Linux Linux

    4.0

  • KernelLinux

    From 4.0.0 · fixed in 5.10.259; From 5.11.0 · fixed in 5.15.210; From 5.16.0 · fixed in 6.1.176; From 6.2.0 · fixed in 6.6.140; From 6.7.0 · fixed in 6.12.86; From 6.13.0 · fixed in 6.18.27; From 6.19.0 · fixed in 7.0.4

References 8

git.kernel.org