{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-31661",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-03-09T15:48:24.129Z",
        "datePublished": "2026-04-24T14:45:11.917Z",
        "dateUpdated": "2026-05-11T22:13:08.559Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-05-11T22:13:08.559Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: brcmsmac: Fix dma_free_coherent() size\n\ndma_alloc_consistent() may change the size to align it. The new size is\nsaved in alloced.\n\nChange the free size to match the allocation size."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c"
                    ],
                    "versions": [
                        {
                            "version": "5b435de0d786869c95d1962121af0d7df2542009",
                            "lessThan": "f449676bab54fea1440775c8c915dadb323fe015",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5b435de0d786869c95d1962121af0d7df2542009",
                            "lessThan": "3c204a0fd079fa7a867151a47d830ad1c2db5177",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5b435de0d786869c95d1962121af0d7df2542009",
                            "lessThan": "0f87777b74bcce29b966ec42d9aa8f9edd9b1667",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5b435de0d786869c95d1962121af0d7df2542009",
                            "lessThan": "4bf41c2731a0549e21f66180ff780b1e036639ab",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5b435de0d786869c95d1962121af0d7df2542009",
                            "lessThan": "77263f053963dea9f3962505ac0c768853d7dc59",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5b435de0d786869c95d1962121af0d7df2542009",
                            "lessThan": "b27fa888e4a426a3bcf6f6ab24701d888d9bf5aa",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5b435de0d786869c95d1962121af0d7df2542009",
                            "lessThan": "01f1330d3d1bee07e0c42d40cc48b7be8b6dad84",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5b435de0d786869c95d1962121af0d7df2542009",
                            "lessThan": "12cd7632757a54ce586e36040210b1a738a0fc53",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c"
                    ],
                    "versions": [
                        {
                            "version": "3.2",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "3.2",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.253",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.203",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.169",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.135",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.82",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.23",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.19.13",
                            "lessThanOrEqual": "6.19.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.0",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.2",
                                    "versionEndExcluding": "5.10.253"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.2",
                                    "versionEndExcluding": "5.15.203"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.2",
                                    "versionEndExcluding": "6.1.169"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.2",
                                    "versionEndExcluding": "6.6.135"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.2",
                                    "versionEndExcluding": "6.12.82"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.2",
                                    "versionEndExcluding": "6.18.23"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.2",
                                    "versionEndExcluding": "6.19.13"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.2",
                                    "versionEndExcluding": "7.0"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/f449676bab54fea1440775c8c915dadb323fe015"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3c204a0fd079fa7a867151a47d830ad1c2db5177"
                },
                {
                    "url": "https://git.kernel.org/stable/c/0f87777b74bcce29b966ec42d9aa8f9edd9b1667"
                },
                {
                    "url": "https://git.kernel.org/stable/c/4bf41c2731a0549e21f66180ff780b1e036639ab"
                },
                {
                    "url": "https://git.kernel.org/stable/c/77263f053963dea9f3962505ac0c768853d7dc59"
                },
                {
                    "url": "https://git.kernel.org/stable/c/b27fa888e4a426a3bcf6f6ab24701d888d9bf5aa"
                },
                {
                    "url": "https://git.kernel.org/stable/c/01f1330d3d1bee07e0c42d40cc48b7be8b6dad84"
                },
                {
                    "url": "https://git.kernel.org/stable/c/12cd7632757a54ce586e36040210b1a738a0fc53"
                }
            ],
            "title": "wifi: brcmsmac: Fix dma_free_coherent() size",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}