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 C246D433D4 for ; Wed, 1 May 2024 05:32:47 +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=1714541567; cv=none; b=eZKTjfUPABsFj7hcyzdfPrc61m85VRmlTdu/9SQwaGV9godfYBxc01Osk3fvIcz8ZirpxvlbxgeNG5Zd9fdMEpQq2pdB34dZtb5RE4OS7tpDCqYN7ebi5QWUTplBoNzj77zSnrOTK385DhlMS4WlAP3QZpcfupr6dFSpz/99WJw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714541567; c=relaxed/simple; bh=jNjdVgLCeJUxdZNvWkYbI0v0+lgFChD94KGvAdJIlGQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=JDtSkL+Msnb17zYKfToAuG46zN52R8HtfVzsn0h34VhK2vLwTX3eaZ/I12Y8MBbjRLJLXbYECf5/r8vdYEStq6vnK19WjE31Oh/mu3IH2y3JQHPhAV2bJAjwppkywVP9IZttkBxyq+TECn+M7AB794XXf/a6karzlf8S/+KtTsU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mOPoOi19; 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="mOPoOi19" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4A7BDC113CC; Wed, 1 May 2024 05:32:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1714541567; bh=jNjdVgLCeJUxdZNvWkYbI0v0+lgFChD94KGvAdJIlGQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=mOPoOi19/pu113aU+kFdeo/564TUYlDouBluZ9AzxYsgKmc1DyMeD8VrPQsUoUZ93 tbAzlLqoHlwkAJt/4Vn6aPQn+t+dPTqZrkgB4hgsAwCeCxQTd+4At/2Cc0PnB+NNu1 ZwsWllRBdiRlrDoBM6nVhtcXXL+ujo+4SkNLOBNA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-27017: netfilter: nft_set_pipapo: walk over current view on netlink dump Date: Wed, 1 May 2024 07:31:18 +0200 Message-ID: <2024050150-CVE-2024-27017-d867@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=2240; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=jNjdVgLCeJUxdZNvWkYbI0v0+lgFChD94KGvAdJIlGQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmGl7tO2ojnf97Odu/rh8rHpw6/vcS5oIItW2LnEr0dz Yu+3iw+1hHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATudXDMJNRXa/+7r/UX1N+ zZhewbRg3fa+MF2GBZ0tZhMsbha8Ljswe9enluyNecGnpwMA 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: walk over current view on netlink dump The generation mask can be updated while netlink dump is in progress. The pipapo set backend walk iterator cannot rely on it to infer what view of the datastructure is to be used. Add notation to specify if user wants to read/update the set. Based on patch from Florian Westphal. The Linux kernel CVE team has assigned CVE-2024-27017 to this issue. Affected and fixed versions =========================== Issue introduced in 6.4 with commit 2b84e215f874 and fixed in 6.8.8 with commit 721715655c72 Issue introduced in 6.4 with commit 2b84e215f874 and fixed in 6.9-rc5 with commit 29b359cf6d95 Issue introduced in 5.10.186 with commit 2a90da8e0dd5 Issue introduced in 5.15.119 with commit 45eb6944d0f5 Issue introduced in 6.1.36 with commit 0d836f917520 Issue introduced in 6.3.10 with commit f661383b5f1a 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-27017 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: include/net/netfilter/nf_tables.h net/netfilter/nf_tables_api.c 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/721715655c72640567e8742567520c99801148ed https://git.kernel.org/stable/c/29b359cf6d95fd60730533f7f10464e95bd17c73