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 3464D1FF1A8 for ; Fri, 14 Mar 2025 14:26:40 +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=1741962401; cv=none; b=DHbzn8o9mXslp8Lg/oEpZ1jI2YrhU8XWEY0lmCzxIyEmyvyDi7A6y5G/gMp+zvbL4sgHcK53BcAXmn56AFTRqQtwPGrFSEEXPjtbg/2NE+WuKTFAbth8uX5E0bY7dO2XvPoBBcKnVlWmweLWEJOmfOBPqmHwNU2gxASSb244RKQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741962401; c=relaxed/simple; bh=E1rTMcxXpqKdeSEnlpTXbNT8iCbCUoVWJB3Oxy6Ebs8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fV5K1M4vydhq2k7LRc40aFSLln9mGwnSiqsYNzYlzdckjXXCn02T4rAK0a6chcPU/XwA7Xw8dHszAT11Z7QWYeeg8oTJjZv0GIJcae9orMMUMSiM9xIUxWxenW086eZX0cqTnj26UpQnz/vHtkgD4MBEHUyR/gWXsJHuS/WK3ok= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xP4mOopq; 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="xP4mOopq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F0BAEC4CEE3; Fri, 14 Mar 2025 14:26:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1741962400; bh=E1rTMcxXpqKdeSEnlpTXbNT8iCbCUoVWJB3Oxy6Ebs8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=xP4mOopq8nvbX2UO04fHyi87CSlOXOqs1DENQ1XDQFLIIoLS5EuDggCjE8PBmFVqL fuHTnjeWG+RK/i8inzGuH0Hl3prH+v1j4d4IhgXIbX1bSTF/rIGslVaeDlPg9Phtsf gzQgaFlic67D07jHLTxRHuhIeDKdy3fb6ADwOOGw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52927: netfilter: allow exp not to be removed in nf_ct_find_expectation Date: Fri, 14 Mar 2025 15:26:32 +0100 Message-ID: <2025031432-CVE-2023-52927-b600@gregkh> X-Mailer: git-send-email 2.48.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=2087; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=E1rTMcxXpqKdeSEnlpTXbNT8iCbCUoVWJB3Oxy6Ebs8=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlXbGbIS16t6OnhtS40dHff1ZtvzVan6d7zwuf2yheHZ NrYksI7YlkYBJkYZMUUWb5s4zm6v+KQopeh7WmYOaxMIEMYuDgFYCJS+xjm+1oLbvW3f8L/oJE3 ZoqwjNPN4oN8DAvWKEZU/q1uX7fxXvatb47PYgoLedkA 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: allow exp not to be removed in nf_ct_find_expectation Currently nf_conntrack_in() calling nf_ct_find_expectation() will remove the exp from the hash table. However, in some scenario, we expect the exp not to be removed when the created ct will not be confirmed, like in OVS and TC conntrack in the following patches. This patch allows exp not to be removed by setting IPS_CONFIRMED in the status of the tmpl. The Linux kernel CVE team has assigned CVE-2023-52927 to this issue. Affected and fixed versions =========================== Fixed in 6.1.130 with commit 3fa58a6fbd1e9e5682d09cdafb08fba004cb12ec Fixed in 6.6 with commit 4914109a8e1e494c6aa9852f9e84ec77a5fc643f 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-2023-52927 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_conntrack_expect.h net/netfilter/nf_conntrack_core.c net/netfilter/nf_conntrack_expect.c net/netfilter/nft_ct.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/3fa58a6fbd1e9e5682d09cdafb08fba004cb12ec https://git.kernel.org/stable/c/4914109a8e1e494c6aa9852f9e84ec77a5fc643f