wifi: mwifiex: fix use-after-free in mwifiex_adapter_cleanup()
Summary
| CVE | CVE-2026-46069 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-05-27 14:17:28 UTC |
| Updated | 2026-06-24 17:03:45 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.001770000 probability, percentile 0.073210000 (date 2026-06-24)
Problem Types: CWE-416
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 4636187da60b6e33526050235c610409d9cc00e8 c3508895450cca4aeaf5dbadbb5e582363005264 git | Not specified |
| CNA | Linux | Linux | affected 4636187da60b6e33526050235c610409d9cc00e8 1958a92599b2653d730ccb6f5685fc3fbed21812 git | Not specified |
| CNA | Linux | Linux | affected 4636187da60b6e33526050235c610409d9cc00e8 a88f5391dc68f78cae5eb6a8cd341cafee795d3d git | Not specified |
| CNA | Linux | Linux | affected 4636187da60b6e33526050235c610409d9cc00e8 11869ce402d95519d49b25a2a97741f68d69d103 git | Not specified |
| CNA | Linux | Linux | affected 4636187da60b6e33526050235c610409d9cc00e8 63fe3389b3e092d6c0eeea9fc0318e7918b16618 git | Not specified |
| CNA | Linux | Linux | affected 4636187da60b6e33526050235c610409d9cc00e8 4e179a60a60c0a5aea245e8e67768343c0f070b8 git | Not specified |
| CNA | Linux | Linux | affected 4636187da60b6e33526050235c610409d9cc00e8 030abbae49cf9fd1fba7aa08e15ec81efbeb78cf git | Not specified |
| CNA | Linux | Linux | affected 4636187da60b6e33526050235c610409d9cc00e8 ae5e95d4157481693be2317e3ffcd84e36010cbb git | Not specified |
| CNA | Linux | Linux | affected 4.0 | Not specified |
| CNA | Linux | Linux | unaffected 4.0 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.259 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.210 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.176 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.140 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.86 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.27 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0.4 7.0.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/c3508895450cca4aeaf5dbadbb5e582363005264 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/4e179a60a60c0a5aea245e8e67768343c0f070b8 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/ae5e95d4157481693be2317e3ffcd84e36010cbb | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/63fe3389b3e092d6c0eeea9fc0318e7918b16618 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/a88f5391dc68f78cae5eb6a8cd341cafee795d3d | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/11869ce402d95519d49b25a2a97741f68d69d103 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/1958a92599b2653d730ccb6f5685fc3fbed21812 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/030abbae49cf9fd1fba7aa08e15ec81efbeb78cf | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.