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 DFF33185939 for ; Wed, 8 Jan 2025 17:52:21 +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=1736358742; cv=none; b=htPs9O8obPSLqd598jRuSfHLtCXAOQsMBf3n0zRHWyhggnjRs4QZOPsAS6MhX6OmEPdUNvmYQ8nxtrbggYbT124SX/vAejCZGzo8xDcQWeTgLHGOa8TuEPI+ENpg1JS7GmPx0eRdCGE6+XhOiTvhguV2xbf2TpOc1vxtnhNeVms= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736358742; c=relaxed/simple; bh=lWxbWsQKLRl+QN//KZsndrTqSo6f0KezZs3WwXso9kQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=duXYIquJAOeK6sOr2Ynb0P++BHb3mLC3z9GdEeuLK9lpErAvrzNHun5q1+RII0AIM+atUnKOD8XoF5vFyBXUeN0LfANqn9ujBEQY0kUwKuQwW0mzOLteZdi1aQkwki9Ntzaje7HkKrXgeiBU24//h9hmsPi3Bqaod0df17fgHMc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=z7fWzj3v; 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="z7fWzj3v" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2E6D3C4CED3; Wed, 8 Jan 2025 17:52:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1736358741; bh=lWxbWsQKLRl+QN//KZsndrTqSo6f0KezZs3WwXso9kQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=z7fWzj3vw85ujDWNOAVrar0AwA54/xhoMxOj/y9nIq/rQSomtk5kZx66R4Xr1Vr6b UNxdh4mXEWIay/AB569QO/1KUzCq2klUM372ki+CKMsBGmUZsgy8WHsXN/spvRPi1u pA95fAWmSpe1yz+27iSnSJsSm/TrCWp/oHsJV9G4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-56783: netfilter: nft_socket: remove WARN_ON_ONCE on maximum cgroup level Date: Wed, 8 Jan 2025 18:52:09 +0100 Message-ID: <2025010807-CVE-2024-56783-4ed9@gregkh> X-Mailer: git-send-email 2.47.1 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=2546; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=lWxbWsQKLRl+QN//KZsndrTqSo6f0KezZs3WwXso9kQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDOl1u90PbHkiFsLn2aNxxCuovdbffOuD99LK1et4nW6x/ ZC8cjyvI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZSvZxhwVWtPwfcVkzZs6vL 7cW2i0Lrcx8+Xc4wh3/6EYeFaaFiFjtefIm71mx3dNLTvQA= 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_socket: remove WARN_ON_ONCE on maximum cgroup level cgroup maximum depth is INT_MAX by default, there is a cgroup toggle to restrict this maximum depth to a more reasonable value not to harm performance. Remove unnecessary WARN_ON_ONCE which is reachable from userspace. The Linux kernel CVE team has assigned CVE-2024-56783 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1.112 with commit ace0db36b4a1db07a48517c4f04488d1cd05e5f5 and fixed in 6.1.120 with commit 7064a6daa4a700a298fe3aee11dea296bfe59fc4 Issue introduced in 6.6.53 with commit f07e28e4c623168f9fa5c00f518bd341d4014aa6 and fixed in 6.6.66 with commit 2f9bec0a749eb646b384fde0c7b7c24687b2ffae Issue introduced in 6.11 with commit 7f3287db654395f9c5ddd246325ff7889f550286 and fixed in 6.12.5 with commit e227c042580ab065edc610c9ddc9bea691e6fc4d Issue introduced in 6.11 with commit 7f3287db654395f9c5ddd246325ff7889f550286 and fixed in 6.13-rc2 with commit b7529880cb961d515642ce63f9d7570869bbbdc3 Issue introduced in 6.10.12 with commit ecc5368315af8473fe052cb928e53756dbfe4403 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-56783 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_socket.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/7064a6daa4a700a298fe3aee11dea296bfe59fc4 https://git.kernel.org/stable/c/2f9bec0a749eb646b384fde0c7b7c24687b2ffae https://git.kernel.org/stable/c/e227c042580ab065edc610c9ddc9bea691e6fc4d https://git.kernel.org/stable/c/b7529880cb961d515642ce63f9d7570869bbbdc3