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 792D13358D6 for ; Fri, 8 May 2026 14:26:14 +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=1778250374; cv=none; b=lzsjDwN3MZ1Bz3sVA8yAh1hMmgSbnPeaglSGqaQbqFjJcAvipfzoe7VG5mN+uf01QNI0Jsq22cPk//VuxKQ4YPRChyYj+nKNvyIjczortsTrA8/WIRw1Hauyu0TT/DxnqdhPVDbfUGBZ9y6Gw5HW/u/D4i6iKBCgtFbaCc1Xk78= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778250374; c=relaxed/simple; bh=78veuFWzVeqjSz9vnCK/FKptTa8isGaiORoQYVyeRZM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=oMQZCkorZ+jjLNIG5lq7nV4IBtVgFZKzGLAMe1CBwOSeB4cy1AQJzB4kbPi7B4Ilr5U8Gc4p7UrOq9l2ejqhxTI/kZ4dh9ZKEGJ6TkUo45lwmcSz9B81yvPLnjMsJQtceFQ7vhxzCq67DFpcK6pLZ+GPDaIOQPKe+q/crk/z978= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=rcNu4g6f; 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="rcNu4g6f" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0FFDAC2BCB0; Fri, 8 May 2026 14:26:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778250374; bh=78veuFWzVeqjSz9vnCK/FKptTa8isGaiORoQYVyeRZM=; h=From:To:Cc:Subject:Date:Reply-To:From; b=rcNu4g6fffNOVPGD1ZkYANEKYN7giB6DMx4JKamXX7CQ2ZzF+pOctVImbocuo66pT wT8t8tJxN85QhJ/zbhL+oBUblcDH2FeQ5J32SOMTzeEPqeS6ljUA/igkCeG1pnaQsa EyD1NFHkY4z8f1YjgCHNOIOVZQOxaVTlmC6nkPwY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43450: netfilter: nfnetlink_cthelper: fix OOB read in nfnl_cthelper_dump_table() Date: Fri, 8 May 2026 16:22:59 +0200 Message-ID: <2026050857-CVE-2026-43450-8919@gregkh> X-Mailer: git-send-email 2.54.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=4500; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=TissQBove8YCtuV5SC0JcbD1OysrM1gmp5/I+jMCO2w=; b=owGbwMvMwCRo6H6F97bub03G02pJDJl/P7Zu8jZY+Sq28MrJ9thSufyXdzdaJPQ+U2OPrm9pf eDAuNK1I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZSc5ZhwZnbVx+K6Ye/NNna 9f7cw8cvZztHbmBYcPq9qV1IYcXZsue5LXqTvhy6fEKVFQA= 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: nfnetlink_cthelper: fix OOB read in nfnl_cthelper_dump_table() nfnl_cthelper_dump_table() has a 'goto restart' that jumps to a label inside the for loop body. When the "last" helper saved in cb->args[1] is deleted between dump rounds, every entry fails the (cur != last) check, so cb->args[1] is never cleared. The for loop finishes with cb->args[0] == nf_ct_helper_hsize, and the 'goto restart' jumps back into the loop body bypassing the bounds check, causing an 8-byte out-of-bounds read on nf_ct_helper_hash[nf_ct_helper_hsize]. The 'goto restart' block was meant to re-traverse the current bucket when "last" is no longer found, but it was placed after the for loop instead of inside it. Move the block into the for loop body so that the restart only occurs while cb->args[0] is still within bounds. BUG: KASAN: slab-out-of-bounds in nfnl_cthelper_dump_table+0x9f/0x1b0 Read of size 8 at addr ffff888104ca3000 by task poc_cthelper/131 Call Trace: nfnl_cthelper_dump_table+0x9f/0x1b0 netlink_dump+0x333/0x880 netlink_recvmsg+0x3e2/0x4b0 sock_recvmsg+0xde/0xf0 __sys_recvfrom+0x150/0x200 __x64_sys_recvfrom+0x76/0x90 do_syscall_64+0xc3/0x6e0 Allocated by task 1: __kvmalloc_node_noprof+0x21b/0x700 nf_ct_alloc_hashtable+0x65/0xd0 nf_conntrack_helper_init+0x21/0x60 nf_conntrack_init_start+0x18d/0x300 nf_conntrack_standalone_init+0x12/0xc0 The Linux kernel CVE team has assigned CVE-2026-43450 to this issue. Affected and fixed versions =========================== Issue introduced in 3.6 with commit 12f7a505331e6b2754684b509f2ac8f0011ce644 and fixed in 5.10.253 with commit 0605e1985a95d4334a67869aee45a47e82301abf Issue introduced in 3.6 with commit 12f7a505331e6b2754684b509f2ac8f0011ce644 and fixed in 5.15.203 with commit 92441f6d9405a0c18d03f278b395e782f79a4a30 Issue introduced in 3.6 with commit 12f7a505331e6b2754684b509f2ac8f0011ce644 and fixed in 6.1.167 with commit 3cc328ffc32ddb389cba7b78b6aa95d995c2876e Issue introduced in 3.6 with commit 12f7a505331e6b2754684b509f2ac8f0011ce644 and fixed in 6.6.130 with commit 4a1f6ee69267a5f524102c028981410eeacfa3da Issue introduced in 3.6 with commit 12f7a505331e6b2754684b509f2ac8f0011ce644 and fixed in 6.12.78 with commit 894c5780ddadd5fde0e16f66587918e6be1504c4 Issue introduced in 3.6 with commit 12f7a505331e6b2754684b509f2ac8f0011ce644 and fixed in 6.18.19 with commit 05018cd9370f77bb18fbf6e15ff33c7a06f10b3c Issue introduced in 3.6 with commit 12f7a505331e6b2754684b509f2ac8f0011ce644 and fixed in 6.19.9 with commit 61b3a1f8621df1a5928118313f133996f6a786db Issue introduced in 3.6 with commit 12f7a505331e6b2754684b509f2ac8f0011ce644 and fixed in 7.0 with commit 6dcee8496d53165b2d8a5909b3050b62ae71fe89 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-43450 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/nfnetlink_cthelper.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/0605e1985a95d4334a67869aee45a47e82301abf https://git.kernel.org/stable/c/92441f6d9405a0c18d03f278b395e782f79a4a30 https://git.kernel.org/stable/c/3cc328ffc32ddb389cba7b78b6aa95d995c2876e https://git.kernel.org/stable/c/4a1f6ee69267a5f524102c028981410eeacfa3da https://git.kernel.org/stable/c/894c5780ddadd5fde0e16f66587918e6be1504c4 https://git.kernel.org/stable/c/05018cd9370f77bb18fbf6e15ff33c7a06f10b3c https://git.kernel.org/stable/c/61b3a1f8621df1a5928118313f133996f6a786db https://git.kernel.org/stable/c/6dcee8496d53165b2d8a5909b3050b62ae71fe89