From: patchwork-bot+netdevbpf@kernel.org
To: Jiayuan Chen <jiayuan.chen@linux.dev>
Cc: netdev@vger.kernel.org, edumazet@kernel.org,
ncardwell@google.com, kuniyu@google.com, davem@davemloft.net,
kuba@kernel.org, pabeni@redhat.com, horms@kernel.org,
fw@strlen.de, daniel@iogearbox.net, linux-kernel@vger.kernel.org,
bpf@vger.kernel.org
Subject: Re: [PATCH net] tcp: fix CA module refcount underflow in tcp_v4_syn_recv_sock()
Date: Mon, 30 Nov 2026 16:10:12 +0000 [thread overview]
Message-ID: <179605501249.3403811.13807749240665028294.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20261124062625.264148-1-jiayuan.chen@linux.dev>
Hello:
This patch was applied to netdev/net.git (main)
by Willem de Bruijn <willemb@google.com>:
On Tue, 24 Nov 2026 14:26:24 +0800 you wrote:
> Issue found by sashiko [1].
>
> tcp_v4_syn_recv_sock() creates the child with tcp_create_openreq_child(),
> which inherits icsk->icsk_ca_ops from the listener without taking a
> reference. The reference is only taken later in tcp_ca_openreq_child().
> If inet_csk_route_child_sock() fails in between, we go to put_and_exit
> and tcp_done() ends up in tcp_cleanup_congestion_control(), which puts
> the reference unconditionally. The one dropped belongs to the listener.
>
> [...]
Here is the summary with links:
- [net] tcp: fix CA module refcount underflow in tcp_v4_syn_recv_sock()
https://git.kernel.org/netdev/net/c/431f957cb67c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2026-11-30 16:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 6:26 [PATCH net] tcp: fix CA module refcount underflow in tcp_v4_syn_recv_sock() Jiayuan Chen
2026-11-25 6:26 ` netdev-bot+sashiko
2026-11-25 6:37 ` Jiayuan Chen
2026-11-29 23:48 ` Kuniyuki Iwashima
2026-11-30 16:10 ` patchwork-bot+netdevbpf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179605501249.3403811.13807749240665028294.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=fw@strlen.de \
--cc=horms@kernel.org \
--cc=jiayuan.chen@linux.dev \
--cc=kuba@kernel.org \
--cc=kuniyu@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=ncardwell@google.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.