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 CAF942FD1D0 for ; Fri, 1 May 2026 14:20:31 +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=1777645231; cv=none; b=bfvMwwFcClfRzOmQ9JTneQRDk4MvHQuJlAGaE51aNnnH8/UapINBWEo2R75CG93YPogInnUwAwsZcPD/u058ECHQ+gcJGzBRxHnITsR8dZwEEnvvRQk0PgaDARhDJBTHRpmPDren9uBwP7vQk8Utc9brdbNsi7aVXtu9ISq9J4o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777645231; c=relaxed/simple; bh=cD2Cy3nZQgAw1bTCpmkZxxMUjRFFwMbUfjeFpMhd7SI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NOK6XdoiNVlW4Fj0qI2xOyhNOjjHH7yCNDJGMlNOC7ZYJa+y+hQVRGWKKM9RHOIBPZP4PnxBouscwqU9NMtldf49DgmPHs39F2K7BXg+f+oaVi1Mege2SXBCUgGvyNgPVAWXr2ZG06xXSpOcmk48pe9LZ7zlnLn1eJ2yXa84vaY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=GTBEbnKn; 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="GTBEbnKn" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 61B10C2BCB4; Fri, 1 May 2026 14:20:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777645231; bh=cD2Cy3nZQgAw1bTCpmkZxxMUjRFFwMbUfjeFpMhd7SI=; h=From:To:Cc:Subject:Date:Reply-To:From; b=GTBEbnKnviUEeKsNbKS7ngIvcF2UFikaO4aY/ZiaxSEX1yOIDDaDwKIxLUG/z1dvl +VjxnDC676qWBIXHgwHuuoRZKSJdeuATfePFaXe6Drtr0TmoNIXU3cJg1OzFeSmvlQ NVTi+gOxMx0T8ThMzLNdZ32gVEvelVaC6h1Hs5f4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43027: netfilter: nf_conntrack_helper: pass helper to expect cleanup Date: Fri, 1 May 2026 16:16:00 +0200 Message-ID: <2026050159-CVE-2026-43027-5711@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=4294; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=gzlECphzhmofbuzTW8FmHn0vYJnTJSzZecA5s/itj98=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlftqZM23D8VMmVbQ8Wrf1vdCpH9OD6fOVt53RMXF36v /654Tr7a0csC4MgE4OsmCLLl208R/dXHFL0MrQ9DTOHlQlkCAMXpwBMxHw3w4JDOu2LHxc2LPJY fGvP55DMDeYt6+4wzI8WSPFMLdmuNjV1D7uO4pIvMRO8iwA= 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_conntrack_helper: pass helper to expect cleanup nf_conntrack_helper_unregister() calls nf_ct_expect_iterate_destroy() to remove expectations belonging to the helper being unregistered. However, it passes NULL instead of the helper pointer as the data argument, so expect_iter_me() never matches any expectation and all of them survive the cleanup. After unregister returns, nfnl_cthelper_del() frees the helper object immediately. Subsequent expectation dumps or packet-driven init_conntrack() calls then dereference the freed exp->helper, causing a use-after-free. Pass the actual helper pointer so expectations referencing it are properly destroyed before the helper object is freed. BUG: KASAN: slab-use-after-free in string+0x38f/0x430 Read of size 1 at addr ffff888003b14d20 by task poc/103 Call Trace: string+0x38f/0x430 vsnprintf+0x3cc/0x1170 seq_printf+0x17a/0x240 exp_seq_show+0x2e5/0x560 seq_read_iter+0x419/0x1280 proc_reg_read+0x1ac/0x270 vfs_read+0x179/0x930 ksys_read+0xef/0x1c0 Freed by task 103: The buggy address is located 32 bytes inside of freed 192-byte region [ffff888003b14d00, ffff888003b14dc0) The Linux kernel CVE team has assigned CVE-2026-43027 to this issue. Affected and fixed versions =========================== Issue introduced in 4.14 with commit ac7b848390036dadd4351899d2a23748075916bd and fixed in 5.10.253 with commit 5cf28d5c8dcbbe8af6d3b145babe491906d7bad1 Issue introduced in 4.14 with commit ac7b848390036dadd4351899d2a23748075916bd and fixed in 5.15.203 with commit 504ba4168466c91210c45acdc332479cfd5f2da6 Issue introduced in 4.14 with commit ac7b848390036dadd4351899d2a23748075916bd and fixed in 6.1.168 with commit dc1739eff48e34cc71d4e2f03715493fbcebd8af Issue introduced in 4.14 with commit ac7b848390036dadd4351899d2a23748075916bd and fixed in 6.6.134 with commit 2cf2737c85a2ba2b52024dafe68ffad2676f97be Issue introduced in 4.14 with commit ac7b848390036dadd4351899d2a23748075916bd and fixed in 6.12.81 with commit 2c16e4d64dd91227742dfe196a3e7b0568bef65a Issue introduced in 4.14 with commit ac7b848390036dadd4351899d2a23748075916bd and fixed in 6.18.22 with commit 620f3d14c1ef51d425060a3056ad8dbae8f998a3 Issue introduced in 4.14 with commit ac7b848390036dadd4351899d2a23748075916bd and fixed in 6.19.12 with commit 90bd7e8501349db3006d21fbc09df9ffcb172965 Issue introduced in 4.14 with commit ac7b848390036dadd4351899d2a23748075916bd and fixed in 7.0 with commit a242a9ae58aa46ff7dae51ce64150a93957abe65 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-43027 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_conntrack_helper.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/5cf28d5c8dcbbe8af6d3b145babe491906d7bad1 https://git.kernel.org/stable/c/504ba4168466c91210c45acdc332479cfd5f2da6 https://git.kernel.org/stable/c/dc1739eff48e34cc71d4e2f03715493fbcebd8af https://git.kernel.org/stable/c/2cf2737c85a2ba2b52024dafe68ffad2676f97be https://git.kernel.org/stable/c/2c16e4d64dd91227742dfe196a3e7b0568bef65a https://git.kernel.org/stable/c/620f3d14c1ef51d425060a3056ad8dbae8f998a3 https://git.kernel.org/stable/c/90bd7e8501349db3006d21fbc09df9ffcb172965 https://git.kernel.org/stable/c/a242a9ae58aa46ff7dae51ce64150a93957abe65