CVE-2026-46069

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

State
Published
Severity
Not scored
Published
May 27, 2026
Updated
Oct 15, 2026
Reserved
May 13, 2026

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4636187da60b6e33526050235c610409d9cc00e8 to before c3508895450cca4aeaf5dbadbb5e582363005264Affected
  • 4636187da60b6e33526050235c610409d9cc00e8 to before 1958a92599b2653d730ccb6f5685fc3fbed21812Affected
  • 4636187da60b6e33526050235c610409d9cc00e8 to before a88f5391dc68f78cae5eb6a8cd341cafee795d3dAffected
  • 4636187da60b6e33526050235c610409d9cc00e8 to before 11869ce402d95519d49b25a2a97741f68d69d103Affected
  • 4636187da60b6e33526050235c610409d9cc00e8 to before 63fe3389b3e092d6c0eeea9fc0318e7918b16618Affected
  • 4636187da60b6e33526050235c610409d9cc00e8 to before 4e179a60a60c0a5aea245e8e67768343c0f070b8Affected
  • 4636187da60b6e33526050235c610409d9cc00e8 to before 030abbae49cf9fd1fba7aa08e15ec81efbeb78cfAffected
  • 4636187da60b6e33526050235c610409d9cc00e8 to before ae5e95d4157481693be2317e3ffcd84e36010cbbAffected
LinuxLinux
  • 4.0Affected
  • before 4.0Not affected
  • 5.10.259 through 5.10.*Not affected
  • 5.15.210 through 5.15.*Not affected
  • 6.1.176 through 6.1.*Not affected
  • 6.6.140 through 6.6.*Not affected
  • 6.12.86 through 6.12.*Not affected
  • 6.18.27 through 6.18.*Not affected
  • 7.0.4 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.