Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 35AA23CC32E for ; Mon, 10 Aug 2026 12:06:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363607; cv=none; b=tSBUuIwsiie+IcDuqtpTZznajoFx27A6fRf3vwu7KS8JqSTK/7v0toLyZat4tywPoYFADb/ySiu67Yclyb2ORqkUbxzdMGXCcYR7iS1sNdO1+X84yfOVJf9PCNpANWYcLGYgnLQcE32PtUO5BePt+XnK9rgHDDftWKqyeO3fSdc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363607; c=relaxed/simple; bh=KmOWxAI3uAu5QkmlwEbTkTxaX9jCPDq/e3hToYNVkrA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SX/DJPZr047JZeCMdOtph1d6Ni4DaTj+PxYar499fT1fCHAs/vvvtimB6jbOrBUOXMvdCGNyw2nLP498E+8SYjtCeoiFvd8y6FQqA5vwDadspekc0kSjYi0sI70j3PwU9Cw9p7XNBW5NC0r/3v9I+eP565wYLiCl5levC+jTUKI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=kLdvzgEn; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="kLdvzgEn" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AE9051F000E9; Mon, 10 Aug 2026 12:06:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786363606; bh=ggUjHj4bFrjUJQc3rdsbj3AcdmrmwdlBfwdmmIa3kug=; h=From:To:Cc:Subject:Date:Reply-To; b=kLdvzgEnmlLCKSH/fP5T29gsCnHFIK5TW6BfpGoPpuk1KE38bJM9O9K+/RWfnLbjL SiiUyxfzpJPX9bJoL5r19pzFRHBJt7iXFNqJbREa+afRJ+F59zWIVmpgUtty5u+CQa UfYa1TlAMv3o2u4BFxKe80c5mom6N6l4XoHEVpjk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68192: wifi: brcmfmac: make release_scratchbuffers idempotent Date: Mon, 10 Aug 2026 13:58:29 +0200 Message-ID: <2026081009-CVE-2026-68192-03dc@gregkh> X-Mailer: git-send-email 2.55.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=3323; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=J0w5Xt9BBbMgsrYz9GtWDAMP97KBhT6y7HE5k0KW5V4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmVe6be9Uz70SIhvOhEwYPQyVbJz2zWV8zL61FWWqg2i 3tbWvfWjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIOQfD/JTHq/qaNhnz9rut PRq23Ny0t25lAsM8tQuhG8sLlv3ewbR2dkz0jInnJtWkAQA= 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: brcmfmac: make release_scratchbuffers idempotent brcmf_pcie_release_scratchbuffers() frees the shared.scratch and shared.ringupd DMA buffers with dma_free_coherent() but does not clear the pointers afterwards, unlike the sibling release_ringbuffers() which NULLs commonrings/flowrings/idxbuf on release. Both the bus_reset .reset callback (brcmf_pcie_reset) and brcmf_pcie_remove() call release_scratchbuffers. When reset teardown has run before removal, remove's own teardown would call dma_free_coherent() a second time on the already-freed DMA allocation. NULL the pointers after free, matching release_ringbuffers(), so a later release observes that the allocation has already been released. This patch makes repeated sequential release safe; the reset-work lifetime is handled separately by the following patch. This issue was found by an in-house static analysis tool. The Linux kernel CVE team has assigned CVE-2026-68192 to this issue. Affected and fixed versions =========================== Issue introduced in 5.2 with commit 4684997d9eea29380000e062755aa6d368d789a3 and fixed in 6.6.148 with commit b7d1d8cb1bdca56aecebacd2896615da0acc126a Issue introduced in 5.2 with commit 4684997d9eea29380000e062755aa6d368d789a3 and fixed in 6.12.101 with commit 5a045c2f0fbf029873d2295178fa0785ade35af0 Issue introduced in 5.2 with commit 4684997d9eea29380000e062755aa6d368d789a3 and fixed in 6.18.42 with commit 044fca8f45ba9ab6ca526163155234cf88287ff5 Issue introduced in 5.2 with commit 4684997d9eea29380000e062755aa6d368d789a3 and fixed in 7.1.6 with commit 0ca80328df23f851c86866720d4977783c919ee6 Issue introduced in 5.2 with commit 4684997d9eea29380000e062755aa6d368d789a3 and fixed in 7.2-rc5 with commit 538c51e9d124cf656f2dd0c0394a8545efc7102d 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-68192 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/brcmfmac/pcie.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/b7d1d8cb1bdca56aecebacd2896615da0acc126a https://git.kernel.org/stable/c/5a045c2f0fbf029873d2295178fa0785ade35af0 https://git.kernel.org/stable/c/044fca8f45ba9ab6ca526163155234cf88287ff5 https://git.kernel.org/stable/c/0ca80328df23f851c86866720d4977783c919ee6 https://git.kernel.org/stable/c/538c51e9d124cf656f2dd0c0394a8545efc7102d