Article View: linux.kernel.netdev
Article #11018Re: [PATCH net] tcp: ipv6: do not read ireq->pktopts from tcp_v6_send_synack()
From: patchwork-bot+netdevbpf
Date: Wed, 04 Nov 2026 14:50
Date: Wed, 04 Nov 2026 14:50
30 lines
9028 bytes
9028 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Mon, 2 Nov 2026 08:54:41 +0100 you wrote:
> When IPV6_FL_F_REFLECT is set on a listener, or the
> net.ipv6.flowlabel_reflect sysctl has FLOWLABEL_REFLECT_ESTABLISHED,
> tcp_v6_send_synack() reflects the flowlabel of the SYN packet,
> reading it from the skb stored in ireq->pktopts.
>
> Since commit 079096f103fa ("tcp/dccp: install syn_recv requests
> into ehash table"), request sockets are processed without holding
> the listener lock. A cpu can then process a retransmitted SYN for a
> request socket, and send a SYNACK from tcp_check_req(), while another
> cpu receives the ACK completing the 3WHS. tcp_v6_syn_recv_sock()
> consumes ireq->pktopts when it wins the hashdance, and the first cpu
> reads a freed skb:
>
> [...]
Here is the summary with links:
- [net] tcp: ipv6: do not read ireq->pktopts from tcp_v6_send_synack()
https://git.kernel.org/netdev/net/c/8e069fd3fd39
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179380380505.2870837.10297269336036041200.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-356515-linux-kernel-netdev=dewy.ruReferences:
<20261102075441.3771550-1-edumazet@kernel.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-356515-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] tcp: ipv6: do not read ireq->pktopts from tcp_v6_send_synack() Date: Wed, 04 Nov 2026 14:50:05 +0000 Organization: Usenet Network Message-ID: <179380380505.2870837.10297269336036041200.git-patchwork-notify@kernel.org> References: <20261102075441.3771550-1-edumazet@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="3412882"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:6BQbfJj20Y1p/Wzl/wVwvSHFwrs= sha256:pIam52kJZKqUqLT5PHu+jACkmRm+tOtytbPBiE8/0BA= sha1:aX7Vas1K+/9/pJG6B+t21SHheMQ= sha256:7eM9Uta99pHAV9wqnLRo7h0iOknJyDzaCrtlWHAvumY= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 097F4112C1E; Wed, 4 Nov 2026 17:54:13 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I88apyT3plrp; Wed, 4 Nov 2026 17:54:09 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-356515-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id 79854112C01; Wed, 4 Nov 2026 17:54:01 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id 6EAF52A714; Wed, 4 Nov 2026 14:50:09 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1793803807; b=KSA611dvC9vB7j0fdoJb4GT8K4s5bFjliZVgK/AStfQpwz7SodYzunzv6n6OAdX6W2cO 6sYU8BoHU2ameFVRIl3frIkUrr950NjpA1A92GEJFimMAMoW+dDpF7HEXBnX3J0vhim0K FluxwqH2JxRyuByS035oz26PW4ErLanAyZI3MzDLCZLKYfm4/nnCRol55YzRKjHDkKzJQ 2iLlbdNdsQxjG5Mu5qKrUOq2B/oz8pYUMDb3k+KMMKZhSVSMvJRKE27izuuenewRnpNBJ VaS98K1eC3P5P/Gx/KZ14fk8UEFVujTSHvFUglEetbhFHy3d79yCVr5QqtvkJMzaBcg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793803807; h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=gYW4DXlbHV4R7NLPsq7QchRdN0rDVUNmWaF4xWASMHs=; b=LRX+lY40X2wviGnngxy6uF1pgmrikoy9oO9hPuiSv11NQszBl+DCVt/qf3bdgIrwkVKP ftp7v+G1abZAA4LjwuffvORVS6kGAh7rXrn+0oRuI7wR6AYlVhusfog0PPZveSicChKxu uq9vJof0uILSJoKaOO8ulzJTM8PzoB0tvMgRK22M9o5gNsdE9uufRk0kpZMPr7hq6O16s SvNfSopsKNb3WnwU9qt9YzmxEfhCjRm9lkV/HxFaIkXXeAzQuiZLLg/rpulLBURz51+Ue AZWVv/1iJ5E4aWUWYCQfW/Aas+s2kmo/uYkAoPDMIgvfsWFCZCSgpG0qRU15iBrZ9Kg== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=M9rKKu+i; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CAC5C606A335; Wed, 4 Nov 2026 14:50:07 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=M9rKKu+i X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793803807; b=stVAzrOucLt3t8uNi8vdgAAoBLNS3Nw7w83h3tMM+b5imxTnzr8ACYMsnGSOehqbqotH 8AN48BUbpAC+7HuVqWlVhlu8vPVDDrTLwUIOKfboD2iZBYSQ0FTFIMDp0Y6TrvPgzujhQ L3yY1IDDiEbPdvMRmpZyqmAuQss8N5IomDpJJBft7nt8yWpFPCiabjPrMl4C4xSK2rbqZ oVnEPdYSJwp/YzQUHuEAIozKJABfcdtOmq+UJ/UEHm8x4AyFBL52XfHgCPzlDWEhA39uY pFnQh5z8ZrGgGV70HPWCU05S3JTx13P5rT2yz1SEaekKIJESUiNlqoi8i73Svz7d/nA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793803807; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=gYW4DXlbHV4R7NLPsq7QchRdN0rDVUNmWaF4xWASMHs=; b=hn1FaY90jdu8BJ6LGdfkxnXwX3aPiUSge4vJ7J7zlrvvhFlHubF67OjDYDfvDEWCKQjo MKHvImMJ1EaB71xdMeXjkCwLBqEczRIiWV4OWAlYx69ITGJzkoniFWA9cIYKTQ+09tAAB aYyHH7xdib7mXOhjpllHeKrPlHs4QO1uJtZnxN9/IVl+h8IBBD5zpgw6Wd63kKk4Xsae/ XlTV6MKD1JSVfcuzLa0cjJwT51tZHI+bCZr3rbIvhBvlwgh1ihvGIhSExJHfqr7Y4pHUr AvDUCh3TxIO+SKREqI3Mzajfgau9DJ11BKNr1iyobpSB86ZtWLJb8cmxFQ4sFQxlTDQ== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=M9rKKu+i; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B1EEB606A32F for <netdev@vger.kernel.org>; Wed, 4 Nov 2026 14:50:06 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 49B281F00A17; Wed, 4 Nov 2026 14:50:06 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793803806; bh=gYW4DXlbHV4R7NLPsq7QchRdN0rDVUNmWaF4xWASMHs=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=M9rKKu+iy4ekuAB17SwJDUjXFqs8EQ2WWRZbBDIvWbkKvB3+ogGG2egX0/OuNgTLS fUp9jvIHgyexV2ttda9FFa7KP7/4vGOGW9gvciLNZ8526v5bO5EadlIgIXZRjttydU rY6XUi+k+7r4vSZlearH7lkeGFVRceMsDoQejVMVi/wSU5sySA1SiT0sJlkLzjJyNW b0Y2zmt/I+QG/jelbKLOfuZ0U9scHOqyQrA2yR2fRS74kmwASc0+6H3PQUrLVC/fG1 XGIOPdCEtV1Aqo1b/4hKJYubOm1sSzHbXFuTV4tHhR0Bk5YgIN2pnP/ZCF2SkOm2uE 2JuCdpfN3SqFw== X-Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 4020039E8A47; Wed, 4 Nov 2026 14:50:06 +0000 (UTC) X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <20261102075441.3771550-1-edumazet@kernel.org> X-Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, ncardwell@google.com, kuniyu@google.com, horms@kernel.org, netdev@vger.kernel.org, permissiontogallop@gmail.com, x-professor@outlook.com