CVE-2026-31661 Details
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.
A vulnerability exists in the Linux kernel's WiFi brcmsmac driver, specifically in the handling of DMA memory allocation and deallocation. The issue arises because the function dma_alloc_consistent can alter the size of the allocated memory to ensure proper alignment. This adjusted size is then stored in a variable called 'alloced'. However, the corresponding deallocation function, dma_free_coherent, was originally called with the unadjusted size, leading to a mismatch. The vulnerability has been addressed by modifying the free operation to use the correct, aligned size.
Users can apply the latest patches available in the Linux kernel stable tree to address this vulnerability. The patch can be downloaded from the Linux kernel Git repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/01f1330d3d1bee07e0c42d40cc48b7be8b6dad84 | kernel.org | Patch |
| https://git.kernel.org/stable/c/0f87777b74bcce29b966ec42d9aa8f9edd9b1667 | kernel.org | Patch |
| https://git.kernel.org/stable/c/12cd7632757a54ce586e36040210b1a738a0fc53 | kernel.org | Patch |
| https://git.kernel.org/stable/c/3c204a0fd079fa7a867151a47d830ad1c2db5177 | kernel.org | Patch |
| https://git.kernel.org/stable/c/4bf41c2731a0549e21f66180ff780b1e036639ab | kernel.org | Patch |
| https://git.kernel.org/stable/c/77263f053963dea9f3962505ac0c768853d7dc59 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b27fa888e4a426a3bcf6f6ab24701d888d9bf5aa | kernel.org | Patch |
| https://git.kernel.org/stable/c/f449676bab54fea1440775c8c915dadb323fe015 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 3.2.1, < 5.10.253 >= 5.11, < 5.15.203 >= 5.16, < 6.1.169 >= 6.2, < 6.6.135 >= 6.7, < 6.12.82 >= 6.13, < 6.18.23 >= 6.19, < 6.19.13 3.2 - 7.0 rc1 7.0 rc2 7.0 rc3 7.0 rc4 7.0 rc5 7.0 rc6 7.0 rc7 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Apr 27, 2026 | Initial Analysis | [email protected] |
| Apr 24, 2026 | New CVE Received | kernel.org |