Description
In the Linux kernel, the following vulnerability has been resolved:

wifi: brcmsmac: Fix dma_free_coherent() size

dma_alloc_consistent() may change the size to align it. The new size is
saved in alloced.

Change the free size to match the allocation size.
Published: 2026-04-24
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: kernel memory corruption
Action: Immediate Patch
AI Analysis

Impact

The brcmsmac Wi‑Fi driver in the Linux kernel allocates DMA memory with dma_alloc_consistent(), which may round the requested size up to an alignment boundary. The original, smaller size is retained in the alloced field and used by dma_free_coherent() to free the memory. When the free size does not match the actual allocated size, the free operation can corrupt kernel memory, potentially destabilizing the system or exposing security flaws. The weakness is identified as a memory corruption issue (CWE‑763).

Affected Systems

Affected versions include the Linux kernel 3.2 and the 7.0 release candidates (rc1‑rc7), as listed in the CPE data. The flaw is present in any kernel configuration that builds the brcmsmac driver. Consequently, systems running any of these kernel releases with the brcmsmac driver enabled are subject to the vulnerability.

Risk and Exploitability

The CVSS score of 5.5 denotes a moderate severity, while the EPSS score of less than 1% indicates a very low but non‑zero likelihood of exploitation. The vulnerability is not listed in CISA’s KEV catalog. Based on the driver context, the attack likely requires local access or interaction with the Wi‑Fi hardware; no remote exploitation vector is described in the CVE data. The mismatch in allocation and free sizes could lead to kernel crashes or other stability issues, but the description does not explicitly state escalation or denial of service outcomes, so any such impact is inferred but not confirmed by the official data.

Generated by OpenCVE AI on April 28, 2026 at 23:35 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that incorporates the brcmsmac dma_free_coherent size fix committed in 01f1330d3d1bee07e0c42d40cc48b7be8b6dad84.
  • If upgrading is not possible, disable or blacklist the brcmsmac driver to eliminate the vulnerable code path.
  • Monitor the system for kernel panics, memory corruption alerts, or anomalous behavior related to Wi‑Fi operations that may indicate exploitation attempts.

Generated by OpenCVE AI on April 28, 2026 at 23:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4561-1 linux-6.1 security update
Debian DLA Debian DLA DLA-4606-1 linux security update
Debian DSA Debian DSA DSA-6238-1 linux security update
Debian DSA Debian DSA DSA-6243-1 linux security update
History

Mon, 27 Apr 2026 20:30:00 +0000

Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:o:linux:linux_kernel:3.2:-:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*

Sat, 25 Apr 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-763
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate


Fri, 24 Apr 2026 15:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: wifi: brcmsmac: Fix dma_free_coherent() size dma_alloc_consistent() may change the size to align it. The new size is saved in alloced. Change the free size to match the allocation size.
Title wifi: brcmsmac: Fix dma_free_coherent() size
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-05-11T22:13:08.559Z

Reserved: 2026-03-09T15:48:24.129Z

Link: CVE-2026-31661

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-04-24T15:16:45.703

Modified: 2026-04-27T20:17:46.190

Link: CVE-2026-31661

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-04-24T00:00:00Z

Links: CVE-2026-31661 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-28T23:45:16Z

Weaknesses