CVE-2026-31661 wifi: brcmsmac: Fix dma_free_coherent() size

Medium 5.5 Published Updated

A size mismatch in the brcmsmac Wi-Fi driver's DMA memory freeing logic can lead to memory corruption and potential denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-31661?

CVE-2026-31661 is a medium-severity memory corruption vulnerability in Linux kernel, published on 24 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2026-31661?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-31661?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-31661 being exploited?

There is no known exploitation of CVE-2026-31661 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-84584, BELL-CVE-2026-31661, DEBIAN-CVE-2026-31661, GHSA-2g4h-425m-78f8, ROOT-OS-DEBIAN-11-CVE-2026-31661, ROOT-OS-DEBIAN-12-CVE-2026-31661 and 4 more.

Is CVE-2026-31661 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free