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 2BF7E426EC4 for ; Wed, 6 May 2026 11:33:30 +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=1778067210; cv=none; b=XpXCb0fJl14lgD/O4uR6WMoPttnYOzKhduXXNC5rJ1Smk8+akF4C9ZUiVIy8Tp5csBwa2fECsn98enj+jwt8encgs2ertj5Nj2IHGBC8Kgj2wvncB0d948JECesy0WRYnb82TqUxRmvygq6+TeBGK9JHQYvaTeTx/QsuJcOO4zQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778067210; c=relaxed/simple; bh=S0CT1O3nBDCTpraJYSgxR2pm4G9QLpqwii/Xtnvckmw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=K4Y/WIys6o/yBQxG2iM0jiUbBgqF3NxnCl05vH7utdXfIwgdySNfcuG6aJA/NaxWZC7S2mgRlk9eaovk1EkeSU48gEeHM2q5KjOihqXQ0MNkK50j9L9dN6eabHpmQYo34bKPlfVUwZrNsMoU7i49+L6wG0eETmfxapT2vL8JW58= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=o6hdvJsP; 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="o6hdvJsP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B70A6C2BCB8; Wed, 6 May 2026 11:33:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778067210; bh=S0CT1O3nBDCTpraJYSgxR2pm4G9QLpqwii/Xtnvckmw=; h=From:To:Cc:Subject:Date:Reply-To:From; b=o6hdvJsP5D1wV8LMCTWwsGtOBDkQtaFapytJWWmvqP/Amob4YZPxpiK2S3BMvsRzA 5f4gnaKwSb2bIwcnkwi7N0nPDjYgjekvPR484Pr+Raay+vvb12lQjkn5Fx/Ldl0IIV SIepb9cXeGofa4OVMKbraFFabBvvoO5yxuH6BBng= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43198: tcp: fix potential race in tcp_v6_syn_recv_sock() Date: Wed, 6 May 2026 13:28:34 +0200 Message-ID: <2026050645-CVE-2026-43198-0870@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=2765; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=TOltj9a1u5H2XbWi2UXW8DyZO7YNfqIVkUhbq9QB7jQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm/VTfeW6RveEd5otxmxopNj/NFSryDKmfuW6+lPz9Kl 9c2lieoI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbi2MAwT7m4/ObUuftcy7rN Tpe+i9c8U/+ki2HBCdP9B68s0la8z+zTfylcgbnwU+Z+AA== 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: tcp: fix potential race in tcp_v6_syn_recv_sock() Code in tcp_v6_syn_recv_sock() after the call to tcp_v4_syn_recv_sock() is done too late. After tcp_v4_syn_recv_sock(), the child socket is already visible from TCP ehash table and other cpus might use it. Since newinet->pinet6 is still pointing to the listener ipv6_pinfo bad things can happen as syzbot found. Move the problematic code in tcp_v6_mapped_child_init() and call this new helper from tcp_v4_syn_recv_sock() before the ehash insertion. This allows the removal of one tcp_sync_mss(), since tcp_v4_syn_recv_sock() will call it with the correct context. The Linux kernel CVE team has assigned CVE-2026-43198 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.18.16 with commit fe89b2f05b854847784f91127319172945c1fadd Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.19.6 with commit 7178e2a8027423b2af17ab95df73a749a5b72e5b Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.0 with commit 858d2a4f67ff69e645a43487ef7ea7f28f06deae 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-43198 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/inet_connection_sock.h include/net/tcp.h net/ipv4/syncookies.c net/ipv4/tcp_fastopen.c net/ipv4/tcp_ipv4.c net/ipv4/tcp_minisocks.c net/ipv6/tcp_ipv6.c net/mptcp/subflow.c net/smc/af_smc.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/fe89b2f05b854847784f91127319172945c1fadd https://git.kernel.org/stable/c/7178e2a8027423b2af17ab95df73a749a5b72e5b https://git.kernel.org/stable/c/858d2a4f67ff69e645a43487ef7ea7f28f06deae