Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9FBC93E023E for ; Fri, 24 Apr 2026 14:48:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777042108; cv=none; b=Bv5Z69/yfZPAz66Mf80MaWnG5J59vBGvoe5YomDi921A73uIgGS0sr/zv5bRi7q7TscwPa+q8+y8FrQfDUOC+nVK4MqpzuWXf/cMUOhYU1ZuXsov0XPKErxtINKSbEfulHcYwLQD1AY28/YwrSO6JyeVuawE1c3CxyGJK+Ppw98= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777042108; c=relaxed/simple; bh=4s2dmuwQ0J1qdozzrnyV5Ln+mvrtXvAEOr+zBaDPUuw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=FicE8k4dwIWaB4vPeTccYyvzi9yzm/3gwlP648ZTFOhbAKZUf64vlvAZa/+lcuTq2zAjiTruDEH9uAh3+euZCyIfyeMjLCbg8RFEnsD9aSuULUGot+1kUzMLX6ep+ZdCjHQx9huLauoZ+qNRiNUNja8eWZ9n/jV6ANJMNO/k1/Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=nSkmkd6o; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="nSkmkd6o" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E431AC19425; Fri, 24 Apr 2026 14:48:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777042108; bh=4s2dmuwQ0J1qdozzrnyV5Ln+mvrtXvAEOr+zBaDPUuw=; h=From:To:Cc:Subject:Date:Reply-To:From; b=nSkmkd6oWcGLr28n+No7VImOM9KiWppKIZUcCd9/HgywNoMAq1Mrn42z0PRDfa4mM fdx8MzqdDrdoa8t+Rtz/FDQ0kGTEJdkMXpyDfZ+dDX9gQNm1wxbVxXjUg4o+19G+Ej SjSwk4029D2z2yBi/SYpA6dOvszuTtyvOVTUmAqA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31661: wifi: brcmsmac: Fix dma_free_coherent() size Date: Fri, 24 Apr 2026 16:46:23 +0200 Message-ID: <2026042404-CVE-2026-31661-16ae@gregkh> X-Mailer: git-send-email 2.53.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3294; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=gJW7Ik3keZ82hr8jAgUeGAcugTetorBQAU4+qCObalc=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmvm3Ry3G6FvlpSHf09TdTTKjdq6fn6nc5v7CosbietO M34ZD9nRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExk9gyG+eln2KKVjph+S+QX MFy+XC2w68LrRwzzs1qPS2a28kdfl9Qt0jLbm/VStHUWAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-31661 to this issue. Affected and fixed versions =========================== Issue introduced in 3.2 with commit 5b435de0d786869c95d1962121af0d7df2542009 and fixed in 5.10.253 with commit f449676bab54fea1440775c8c915dadb323fe015 Issue introduced in 3.2 with commit 5b435de0d786869c95d1962121af0d7df2542009 and fixed in 5.15.203 with commit 3c204a0fd079fa7a867151a47d830ad1c2db5177 Issue introduced in 3.2 with commit 5b435de0d786869c95d1962121af0d7df2542009 and fixed in 6.1.169 with commit 0f87777b74bcce29b966ec42d9aa8f9edd9b1667 Issue introduced in 3.2 with commit 5b435de0d786869c95d1962121af0d7df2542009 and fixed in 6.6.135 with commit 4bf41c2731a0549e21f66180ff780b1e036639ab Issue introduced in 3.2 with commit 5b435de0d786869c95d1962121af0d7df2542009 and fixed in 6.12.82 with commit 77263f053963dea9f3962505ac0c768853d7dc59 Issue introduced in 3.2 with commit 5b435de0d786869c95d1962121af0d7df2542009 and fixed in 6.18.23 with commit b27fa888e4a426a3bcf6f6ab24701d888d9bf5aa Issue introduced in 3.2 with commit 5b435de0d786869c95d1962121af0d7df2542009 and fixed in 6.19.13 with commit 01f1330d3d1bee07e0c42d40cc48b7be8b6dad84 Issue introduced in 3.2 with commit 5b435de0d786869c95d1962121af0d7df2542009 and fixed in 7.0 with commit 12cd7632757a54ce586e36040210b1a738a0fc53 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-31661 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/f449676bab54fea1440775c8c915dadb323fe015 https://git.kernel.org/stable/c/3c204a0fd079fa7a867151a47d830ad1c2db5177 https://git.kernel.org/stable/c/0f87777b74bcce29b966ec42d9aa8f9edd9b1667 https://git.kernel.org/stable/c/4bf41c2731a0549e21f66180ff780b1e036639ab https://git.kernel.org/stable/c/77263f053963dea9f3962505ac0c768853d7dc59 https://git.kernel.org/stable/c/b27fa888e4a426a3bcf6f6ab24701d888d9bf5aa https://git.kernel.org/stable/c/01f1330d3d1bee07e0c42d40cc48b7be8b6dad84 https://git.kernel.org/stable/c/12cd7632757a54ce586e36040210b1a738a0fc53