Article View: linux.kernel.netdev
Article #24686Re: [PATCH net] tcp: fix CA module refcount underflow in tcp_v4_syn_recv_sock()
From: patchwork-bot+netdevbpf
Date: Mon, 30 Nov 2026 16:10
Date: Mon, 30 Nov 2026 16:10
26 lines
8822 bytes
8822 bytes
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
Technical Details
Message-ID:
<179605501249.3403811.13807749240665028294.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374301-linux-kernel-netdev=dewy.ruReferences:
<20261124062625.264148-1-jiayuan.chen@linux.dev>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374301-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev 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 Organization: Usenet Network Message-ID: <179605501249.3403811.13807749240665028294.git-patchwork-notify@kernel.org> References: <20261124062625.264148-1-jiayuan.chen@linux.dev> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="1464791"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:vUmEVeVEVjvlb5m9t20C5WK21Qc= sha256:it+DT9AxkkBd2tREdU1xfeNYmWDtEmvLpPKytXWkmFc= sha1:eILa1ejrMLmWv5B8fpWgmDVcESo= sha256:FvvmLEATdufmQVcoXE5Co+9SACbLX9visNf0nlxgb1c= 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 93627125FF0; Mon, 30 Nov 2026 19:11:14 +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 aIfD1dexwvsY; Mon, 30 Nov 2026 19:11:11 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-374301-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id 276DA125FF2; Mon, 30 Nov 2026 19:11:03 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id 0DC922D479; Mon, 30 Nov 2026 16:10:25 +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=1796055020; b=bUCbeM3EhmmYrCM+R6gQRiWWyk6KCROuaI4s0rK/rMzCJN425nqvgfW3TMUHAIgJoguW XqoJUpLpgDMC5w9Ff7ZO0Zy3IF+fXgtaplh/uK66X/Ml+LXl6epmX/BCajIrydEEZQQCv m4achfUvvTTHNUWG5hMuz8EfZSfprx+BmZnFj4rj30rylZtCViofSDkN61ewDN1+K7lya ZLd2uyTJy2CA+s7Sb6qa+Gb/IWO3iBizR74Mds9UqIrIIKkLg/MXDreKDSPczkwEKORVY 8L0BebdbmaRygt93/yNQt0+5glHjnsK1tOYJKVZr3pti6DRsNzI8AdBQ0CB/9xmvJOw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796055020; 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=5WpZW3JnR1rgL7FDbS3qTu3sadNnCifxpzXzt+BguG8=; b=HzGc3WxvmHzqbAztGinzsYtD7Tkni/M46aK/Z6llX9VtXfaSIm3/YpJCHiJonFPW4MMX AUah8Ql2P9gPNlVv3EPIrqsU2+HK2jYe4IjJz0aJ+11GzNaFu+1pBrpgEqCbogsgZJIrW 6fpbzPJZI63E/OHxZ+ssMDLOlZRqohWsEKE/I9TI4O1FJtE1huMk+UkO4mEocNwgqvYmH UDfIoilhOamP1X3t0z57XXXD+U/NXpsh88Z1UmGmsLdTy0rXcfj8RrPhUg0x51J+Mnpxx rMgx0LkUj8d6UJzDTrox2JDKhp1WrzOhib/FEprdxCHYijPUt/bCzR08NLF0C/9UtzA== 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=cN0N55Sj; 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 17F30606A682; Mon, 30 Nov 2026 16:10:20 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=cN0N55Sj 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=1796055014; b=Le5I5ZqN4q99bjjryY8MsQGfFSp8/iiwDtHUqfvFREKa0FU8u0cqaJry7WX0fKHP7wwO 0Mu977/Pxlh0Fc92Pi3t5X4eSPP/fYAd3NXEyDrLMEi8vlvtfOVXDbD24LlRs/Uaopjg1 zPtJPFcgoabxN6pHIvew9B1vnl2hgt+mMCPV103Ccr19jF0l1WQkVrtYIiRTs6P60/M4O OmGWLGXRtk/1aOp4MVDMVqnqT2gxpVGQB+vaa8GgvlsAqSV8IZviY+oP9S4Lwnp1OofSs pZPPd/Zuoj4rEwge7n+2hZCGISPkech2Unb31tZuRSjFuSRQsUHmG+eAEkXRAqDxF7Q== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796055014; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=5WpZW3JnR1rgL7FDbS3qTu3sadNnCifxpzXzt+BguG8=; b=xc9qYolYTmQWh+Jnt6wsLpnp7laptGmy+uo/NMJC5EE3tDWotAEfdvK3NK+7giiCZe1V NmzD6VdGFqkFhE/OSrb9IrskFj8p5jTfFjcHYrEkUfHG8dRKHFV+Bqm/79PdN6kYjrERX 1uJoqJFXHrlm7gqb3mdMms7y7DStkC4SqaRLRLURRRTVnkrtIkzedh4pgV5pccQ1FtcwH Ge/ymjZvuW88V+hQHT86T1KFoYB+O6t7W+02wgwR9dxJ0hxl63jDXJQmXA+U+GH71d0Za ZmyjNjaR6R4/Q+CAmj5pYkwpKuHeaGolcrPcOQJdnp5KKsAL0C6PZOg/tdn8c+EC5mg== 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=cN0N55Sj; 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 397C0606A693; Mon, 30 Nov 2026 16:10:14 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0374D1F00A24; Mon, 30 Nov 2026 16:10:14 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796055014; bh=5WpZW3JnR1rgL7FDbS3qTu3sadNnCifxpzXzt+BguG8=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=cN0N55Sj+WC807NEk0ohUdF3p0hTbhqKGvXFYsBvwto6IpmDOYGIHNW0uZ0xu/iHV sHSAW19yaty0/ZJshiwoy8/bzywRMAgqsoQLIbCS08jD1NU7QeXH2ibkUF0+AhbNCj oRlI9tW7EZaWyopnd0AGHSXi3J6rXqqSlj1hXGGGgbGqYVVXg2WkUc7tkiFdmeIQF3 escce2947iwncYanDyOQnTA/l2EEMqUwhjhuazz+qDE0cpCh1EdmjzkOk+QYbzTxVM pVPI+/Ajf4eHoMQPW7QJPFYUviQO8wH6y0WSf/cpMFnj0juvFwRdXzY3qB/Jv1gHWj RXTN8cHURtY2Q== 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 EB7B039E4DAB; Mon, 30 Nov 2026 16:10:13 +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: <20261124062625.264148-1-jiayuan.chen@linux.dev> X-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