Description
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.
Published: 2026-08-10
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The brcmfmac Wi‑Fi driver in the Linux kernel contains a double‑free flaw: it frees shared DMA buffers during a reset or removal without clearing their pointers. If a reset occurs before the device is removed, the second free attempts deallocate already‑freed memory and can corrupt kernel memory, leading to a crash.

Affected Systems

All Linux systems that ship the brcmfmac module, such as most mainstream distributions. The exact kernel versions are not specified, but any kernel containing this driver is potentially affected.

Risk and Exploitability

The CVSS score is 8.8 and the EPSS score is below 1 %. The vulnerability is not listed in CISA KEV. The flaw is a classic double‑free in kernel space; if an attacker can trigger a reset followed by removal, the driver may execute the second free and cause an oops. No public exploit is known and the low EPSS suggests a low likelihood of widespread attack, yet the impact can be a kernel crash or disruption of system availability.

Generated by OpenCVE AI on August 14, 2026 at 04:07 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the brcmfmac release_scratchbuffers idempotent patch
  • If a kernel upgrade is not possible, disable or unload the brcmfmac Wi‑Fi module to prevent driver operations that could trigger the fault
  • For custom kernel builds, cherry‑pick the commit that adds pointer clearing after freeing and rebuild the kernel

Generated by OpenCVE AI on August 14, 2026 at 04:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4745-1 linux-6.12 security update
History

Wed, 19 Aug 2026 16:45:00 +0000


Fri, 14 Aug 2026 04:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-415

Fri, 14 Aug 2026 02:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-415

Thu, 13 Aug 2026 22:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Mon, 10 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-415

Mon, 10 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
Description 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.
Title wifi: brcmfmac: make release_scratchbuffers idempotent
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-19T16:31:06.873Z

Reserved: 2026-07-30T09:28:09.373Z

Link: CVE-2026-68192

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-10T13:20:06.543

Modified: 2026-08-19T17:20:35.413

Link: CVE-2026-68192

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T04:15:03Z

Weaknesses