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 2EF573783A0 for ; Sat, 15 Aug 2026 06:29:08 +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=1786775349; cv=none; b=NPtHpCWl0q6Uq2YJ+dTJ3oOmec4+HAT1mrFMKVu1MMK8G19h+tagtWQAJOwjdHii+NDRm5Ac9A6wFwTvD7prfm9dgVbrhsd8xD3NjOIBePutVoT9aXsxmg2Fa83t7tzj2CiLXcz5o2j6WYsamBXbSMKaui/+mJRXh7ZYoERPL1I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775349; c=relaxed/simple; bh=bbc34jDqzxQcKh+7m63kty623a7xXEhtNxE6V9cyCA0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NHBujuogcz0e8VOtxM3lsBgHp7d0aE/U8OlJIFc/Z1exQY9KzxE4DQqBDvLnAHsJdeZCKA+xfy+lPv6BGi4olCBcdlsVq+hFCVfVZNrIHjU+cuxo146nLiFOf90Iv/OcEX9R/15odO11NimMbQdsm7zPRDqKGMh8KlC6MRMeL38= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=B//rHu80; 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="B//rHu80" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 84C241F000E9; Sat, 15 Aug 2026 06:29:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775348; bh=xWUPo6GQLBrd2lzWT2KeymuPTiBQVRlDPc6qz0eHgR0=; h=From:To:Cc:Subject:Date:Reply-To; b=B//rHu80vGu1rd71CwPEk8wGEmpHYPkUFdnNE0ZBxhjIpftaflIH3QEQ7ROsHYFGM dIh5KWp/QyYujf87qPjPGxN1ZxAk0Mfq2Yw4L+5y9vivG8rn73VsIJKPIorH8tttD1 DE2ztNm9F2hu2ZNNGKpdKaIGnzCQ9vQQeb70Bu0E= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72418: netfilter: nf_conncount: prevent connlimit drops for early confirmed ct Date: Sat, 15 Aug 2026 15:08:17 +0900 Message-ID: <2026081525-CVE-2026-72418-185c@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=4798; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ELQWiSWIA9cOk0PGC5xvSAGNXQ3J6fgIpUUxTKBhoXc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDB+5T8ieN5lQPfPxuhtnm5dvPtIoPLUmNGCabPlmk 6SUhzeaO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi3uYMC7ZpR5SYc+wI/Cwk vjzg9+mUw7aXVjEsaF98KD39jN3kI93Pi/bXXazLneRsDQA= 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: netfilter: nf_conncount: prevent connlimit drops for early confirmed ct Commit 69894e5b4c5e ("netfilter: nft_connlimit: update the count if add was skipped") introduced a regression where packets for valid connections are dropped when using connlimit for soft-limiting scenarios. The issue occurs when a new connection reuses a socket currently in the TIME_WAIT state. In this scenario, the connection tracking entry is evaluated as already confirmed. Previously, __nf_conncount_add() assumed that if a connection was confirmed and did not originate from the loopback interface, it should skip the addition and return -EEXIST. Skipping the addition triggers a garbage collection run that cleans up the TIME_WAIT connection. Consequently, the active connection count drops to 0, which xt_connlimit mishandles, leading to the false rejection of the perfectly valid new connection. Fix this by replacing the interface check with protocol-agnostic state checks. We now skip the tree insertion and preserve the lockless garbage collection optimization only if the connection is IPS_ASSURED. This allows early-confirmed setup packets (such as reused TIME_WAIT sockets or locally generated SYN-ACKs) to be properly evaluated and counted without falsely dropping. The goto check_connections path is maintained to ensure these setup packets are deduplicated correctly. This has been tested with slowhttptest and HTTP server configured locally to ensure we are not breaking soft-limiting scenarios for local or external connections. In addition, it was tested with a OVS zone limit too. The Linux kernel CVE team has assigned CVE-2026-72418 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10.248 with commit 460c112e1d887b58b06b56e8e0230058906ff2c3 and fixed in 5.10.261 with commit 000ac6830b56499d6b65fd91486ce6689eb02be4 Issue introduced in 5.15.198 with commit 53bc0ac47f4f7621c991807bc90e01df49561ac8 and fixed in 5.15.212 with commit cbe2d14a7c5b1fc71821fbfee5c4963917411e92 Issue introduced in 6.1.160 with commit ca8b4d1d6304a84ce2016fa2fe9a114b9607b839 and fixed in 6.1.178 with commit 3793d24de224943e0a6016bbeffb6f5c4cea2e3d Issue introduced in 6.6.120 with commit 8286c02fe9100330475331253fc590f047963f90 and fixed in 6.6.145 with commit abef7f817217fcb62c11821d6b895063eadb2828 Issue introduced in 6.12.63 with commit b29ddccf36946a90323486221f39e9f88cc01b8e and fixed in 6.12.97 with commit ebfe8249ba79e4ff0f1e3aad8787b992ef27f026 Issue introduced in 6.18.2 with commit 77ea3d8ac3d3d59b5ac9ad639e4ba107c0f2ff1e and fixed in 6.18.40 with commit 329f2626ee5cb8fafdf6b58b624311529c57cb45 Issue introduced in 6.19 with commit 69894e5b4c5e28cda5f32af33d4a92b7a4b93b0e and fixed in 7.1.5 with commit be52572c6d55f677ba76869d3c63805c0d4891a3 Issue introduced in 6.19 with commit 69894e5b4c5e28cda5f32af33d4a92b7a4b93b0e and fixed in 7.2-rc1 with commit c8b6f36f766991e3ebebec6596daee4b04dcbc49 Issue introduced in 6.17.13 with commit f85623af16b83615e5f64a9b19ae1d584805cb07 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-72418 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/nf_conncount.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/000ac6830b56499d6b65fd91486ce6689eb02be4 https://git.kernel.org/stable/c/cbe2d14a7c5b1fc71821fbfee5c4963917411e92 https://git.kernel.org/stable/c/3793d24de224943e0a6016bbeffb6f5c4cea2e3d https://git.kernel.org/stable/c/abef7f817217fcb62c11821d6b895063eadb2828 https://git.kernel.org/stable/c/ebfe8249ba79e4ff0f1e3aad8787b992ef27f026 https://git.kernel.org/stable/c/329f2626ee5cb8fafdf6b58b624311529c57cb45 https://git.kernel.org/stable/c/be52572c6d55f677ba76869d3c63805c0d4891a3 https://git.kernel.org/stable/c/c8b6f36f766991e3ebebec6596daee4b04dcbc49