From mboxrd@z Thu Jan 1 00:00:00 1970 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 DBD645D8EB for ; Thu, 4 Apr 2024 09:52:05 +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=1712224326; cv=none; b=dGdYXJBeyAVsuR7qOGSRAtmpkhZWmnODVo2d//YyB8feYzAOCDnmunwAePqqBHBxcFU8j1CbIfc288SXVCDs/r2t1EJ1nfAhj3mg/+6rc2NEmjUVTOfKeb8lciKjtQzQtp+ei1QZoYI2ou0QfIXWUNOTV42mhzjMLcE/i7b0CRQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712224326; c=relaxed/simple; bh=viJyPOgjqhfS8ZbxQyzlqOaVTarGe5h3qsiMfNcoCh8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=eyd58N1WsJOKTsYsebcjxfFS1rCCF9FSAfAIQ57fpMynV2ajAFNtP0aoHXyzFlWyyNM+3ExpglYUUewbLUCFk/8W9bn2XgKuzp6WU/6rMIr8+Mwl0LPdcMX6XVH/VEoKoyEb+Z+PmBHvF850H8eK2X2JhQ/rJzWuErUqN5yzcyE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1RNVoINl; 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="1RNVoINl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E9AE0C433C7; Thu, 4 Apr 2024 09:52:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712224325; bh=viJyPOgjqhfS8ZbxQyzlqOaVTarGe5h3qsiMfNcoCh8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=1RNVoINlFJQKce4bj/9DudMksTjbfTEr73V32OPRZOCya0bfxRhPc+Vrx7dpaaCrW LIk+y2qwWPMg2t5+PK7okBYlcKx4fLfmK7//JVSJN3IWiVLGeboA+xg54eRjas9rGk SUzxI99t1caK6tQhq2TMVA2o31eH//1Dc9IjCUi4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-26809: netfilter: nft_set_pipapo: release elements in clone only from destroy path Date: Thu, 4 Apr 2024 11:52:00 +0200 Message-ID: <2024040401-CVE-2024-26809-b0d1@gregkh> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2965; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=viJyPOgjqhfS8ZbxQyzlqOaVTarGe5h3qsiMfNcoCh8=; b=owGbwMvMwCRo6H6F97bub03G02pJDGl8FY5G/1jznEyiQnN1Z6b+MXv21u+I6ZmPpwVWVpqwz ryR4f6rI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZy3IJhfjrfrJ6pLQxZzKfm Lq3VFXjU8nxPDMOC/Qr2pn6PTtwPPv1O542Exyvne70cAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_set_pipapo: release elements in clone only from destroy path Clone already always provides a current view of the lookup table, use it to destroy the set, otherwise it is possible to destroy elements twice. This fix requires: 212ed75dc5fb ("netfilter: nf_tables: integrate pipapo into commit protocol") which came after: 9827a0e6e23b ("netfilter: nft_set_pipapo: release elements in clone from abort path"). The Linux kernel CVE team has assigned CVE-2024-26809 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10.130 with commit 4a6430b99f67 and fixed in 5.10.214 with commit b36b83297ff4 Issue introduced in 5.15.54 with commit 5ccecafc728b and fixed in 5.15.153 with commit 362508506bf5 Issue introduced in 5.19 with commit 9827a0e6e23b and fixed in 6.1.83 with commit 5ad233dc731a Issue introduced in 5.19 with commit 9827a0e6e23b and fixed in 6.6.23 with commit ff9005077141 Issue introduced in 5.19 with commit 9827a0e6e23b and fixed in 6.7.11 with commit 821e28d5b506 Issue introduced in 5.19 with commit 9827a0e6e23b and fixed in 6.8.2 with commit 9384b4d85c46 Issue introduced in 5.19 with commit 9827a0e6e23b and fixed in 6.9-rc1 with commit b0e256f3dd2b Issue introduced in 5.18.11 with commit d2b18d110685 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-2024-26809 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: net/netfilter/nft_set_pipapo.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/b36b83297ff4910dfc8705402c8abffd4bbf8144 https://git.kernel.org/stable/c/362508506bf545e9ce18c72a2c48dcbfb891ab9c https://git.kernel.org/stable/c/5ad233dc731ab64cdc47b84a5c1f78fff6c024af https://git.kernel.org/stable/c/ff90050771412b91e928093ccd8736ae680063c2 https://git.kernel.org/stable/c/821e28d5b506e6a73ccc367ff792bd894050d48b https://git.kernel.org/stable/c/9384b4d85c46ce839f51af01374062ce6318b2f2 https://git.kernel.org/stable/c/b0e256f3dd2ba6532f37c5c22e07cb07a36031ee