In the Linux kernel, the following vulnerability has been resolved: wifi: brcmfmac: drain bus_reset work on device removal brcmf_fw_crashed() and… (CVE-2026-64586)
A use-after-free vulnerability in the Linux kernel's brcmfmac WiFi driver was resolved by ensuring proper synchronization and cancellation of bus_reset work during device removal. The flaw involved a race condition where a bus_reset callback could outlive the driver structure, leading to potential invalid memory access. The fix introduces a mutex to serialize reset scheduling and cancellation, preventing work from running after the driver is freed. This patch addresses the lifetime management of the bus_reset work item but does not cover a separate asynchronous firmware completion issue.
AI Analysis
Technical Summary
The Linux kernel's brcmfmac WiFi driver had a vulnerability where the bus_reset work callback could be scheduled or running during device removal, potentially accessing freed driver memory (use-after-free). The removal path freed the driver structure without draining the pending or running bus_reset work, causing a race condition. The fix adds a per-bus mutex to serialize scheduling and cancellation of bus_reset work, ensuring that work is cancelled and drained before driver removal proceeds. This prevents the callback from outliving the driver structure. The patch also guards against NULL dereferences in brcmf_fw_crashed() and applies the fix across PCIe, SDIO, and USB bus types. The issue was found via static analysis and does not address a separate asynchronous firmware completion lifetime issue.
Potential Impact
The vulnerability could lead to use-after-free conditions in the brcmfmac WiFi driver, potentially causing kernel crashes or memory corruption. No active exploits are known. The impact is limited to affected Linux kernel WiFi driver code paths involving device removal and bus reset handling.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to properly synchronize and cancel bus_reset work during device removal, preventing use-after-free. Users should update to a Linux kernel version that includes this patch. Since this is a kernel-level fix, applying the official kernel update is the recommended remediation. No additional mitigation is indicated by the vendor advisory.
In the Linux kernel, the following vulnerability has been resolved: wifi: brcmfmac: drain bus_reset work on device removal brcmf_fw_crashed() and… (CVE-2026-64586)
Description
A use-after-free vulnerability in the Linux kernel's brcmfmac WiFi driver was resolved by ensuring proper synchronization and cancellation of bus_reset work during device removal. The flaw involved a race condition where a bus_reset callback could outlive the driver structure, leading to potential invalid memory access. The fix introduces a mutex to serialize reset scheduling and cancellation, preventing work from running after the driver is freed. This patch addresses the lifetime management of the bus_reset work item but does not cover a separate asynchronous firmware completion issue.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's brcmfmac WiFi driver had a vulnerability where the bus_reset work callback could be scheduled or running during device removal, potentially accessing freed driver memory (use-after-free). The removal path freed the driver structure without draining the pending or running bus_reset work, causing a race condition. The fix adds a per-bus mutex to serialize scheduling and cancellation of bus_reset work, ensuring that work is cancelled and drained before driver removal proceeds. This prevents the callback from outliving the driver structure. The patch also guards against NULL dereferences in brcmf_fw_crashed() and applies the fix across PCIe, SDIO, and USB bus types. The issue was found via static analysis and does not address a separate asynchronous firmware completion lifetime issue.
Potential Impact
The vulnerability could lead to use-after-free conditions in the brcmfmac WiFi driver, potentially causing kernel crashes or memory corruption. No active exploits are known. The impact is limited to affected Linux kernel WiFi driver code paths involving device removal and bus reset handling.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to properly synchronize and cancel bus_reset work during device removal, preventing use-after-free. Users should update to a Linux kernel version that includes this patch. Since this is a kernel-level fix, applying the official kernel update is the recommended remediation. No additional mitigation is indicated by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-5rg4-8h2h-x94w
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64586"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a74cfa1bf8831d5391b0d78
Added to database: 08/06/2026, 18:17:05 UTC
Last enriched: 08/06/2026, 19:14:35 UTC
Last updated: 08/07/2026, 00:41:15 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.