CVE-2026-68192
NoneCVSS
—
EPSS
0.4%
Published
Aug 10, 2026
CISA due date
—
Cloudanix analysis
A driver bug can cause a wireless network card to free the same memory twice, which may crash the whole computer when the card is reset and then removed.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Moderate
- Impact
- Full Compromise
- Component
- OS kernel
- Class
- Use After Free
- Remediation
- Patch
- Effort
- Low
- Patch risk
- Low
What it actually does
Double-free of DMA-coherent scratch and ring-update buffers in brcmf_pcie_release_scratchbuffers because the pointers are not cleared after dma_free_coherent, allowing a subsequent call from brcmf_pcie_remove after brcmf_pcie_reset has already freed them.
Why it matters to the business
Kernel memory corruption or crash on systems using Broadcom PCIe Wi-Fi chips when the driver reset path runs before device removal, leading to unplanned reboots and loss of wireless connectivity.
How an attack unfolds
An attacker with local access or the ability to trigger driver reset (via bus error, power management, or module unload) forces the reset callback to free the buffers, then triggers device removal so the second free path executes on the already-released memory.
How to fix it
Apply the upstream patch that NULLs shared.scratch and shared.ringupd after dma_free_coherent; rebuild and deploy the fixed kernel. No backported fixed versions are listed.
How to confirm the fix worked
Inspect brcmf_pcie.c for the added pointer-clearing statements after each dma_free_coherent in release_scratchbuffers; boot-test repeated reset/remove cycles on affected hardware.
Typical attack path
- Obtain local execution or trigger conditions that cause brcmf_pcie_reset to run
- Ensure brcmf_pcie_remove is subsequently invoked while the device is still registered
- Trigger the second dma_free_coherent on the dangling pointers
- Cause kernel panic or exploitable heap state from the double-free
How to detect it
Search kernel logs for repeated brcmf_pcie_release_scratchbuffers entries or DMA free warnings around device removal; correlate with PCIe bus reset events on Broadcom Wi-Fi hardware.
What your security team should do
- Prioritize kernel update on all systems exposing Broadcom brcmfmac PCIe wireless
- Monitor for double-free crashes in the brcmfmac driver
- Disable the driver or hardware if the update cannot be applied promptly
The record
In the Linux kernel, the following vulnerability has been resolved: wifi: brcmfmac: make release_scratchbuffers idempotent brcmf_pcie_release_scratchbuffers() frees the shared.scratch and shared.ringupd DMA buffers with dma_free_coherent() but does not clear the pointers afterwards, unlike the sibling release_ringbuffers() which NULLs commonrings/flowrings/idxbuf on release. Both the bus_reset .reset callback (brcmf_pcie_reset) and brcmf_pcie_remove() call release_scratchbuffers. When reset teardown has run before removal, remove's own teardown would call dma_free_coherent() a second time on the already-freed DMA allocation. NULL the pointers after free, matching release_ringbuffers(), so a later release observes that the allocation has already been released. This patch makes repeated sequential release safe; the reset-work lifetime is handled separately by the following patch. This issue was found by an in-house static analysis tool.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|