Article View: linux.kernel.netdev
Article #25123Re: [PATCH net] net/smc: fix sock reference leak on abort_work cancel
From: patchwork-bot+netdevbpf
Date: Tue, 01 Dec 2026 09:20
Date: Tue, 01 Dec 2026 09:20
26 lines
8934 bytes
8934 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Tue, 24 Nov 2026 08:36:02 +0100 you wrote:
> smc_cdc_msg_validate() takes a reference on the socket before queueing
> conn->abort_work, and smc_conn_abort_work() drops it when it runs. When
> smc_conn_free() cancels the work while it is still pending, for example
> because a close races with a failed CDC validation, the handler never
> runs and the reference is leaked, so the SMC socket is never freed.
>
> Drop the reference when cancel_work_sync() reports that it cancelled a
> pending work.
>
> [...]
Here is the summary with links:
- [net] net/smc: fix sock reference leak on abort_work cancel
https://git.kernel.org/netdev/net-next/c/34d30f9e1f2d
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179611681249.134962.9942220690257547009.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-374894-linux-kernel-netdev=dewy.ruReferences:
<20261124073602.2341904-1-mjambigi@linux.ibm.com>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-374894-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] net/smc: fix sock reference leak on abort_work cancel Date: Tue, 01 Dec 2026 09:20:12 +0000 Organization: Usenet Network Message-ID: <179611681249.134962.9942220690257547009.git-patchwork-notify@kernel.org> References: <20261124073602.2341904-1-mjambigi@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="1672392"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:0asvDTaGmT/5KV10OIyCSwofuyM= sha256:Qc4QsI9hZQW335Nz8lzB7aBIf+zvMqR5q3+oHRw9fR4= sha1:G0SUdDRk0yWwcK12ImtEl5ARb0o= sha256:6fLeu1vJezmE3KuOLqDYwjWdqBVDsUHkp+vjeAzmFs0= 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 805811172FA; Tue, 1 Dec 2026 12:20:34 +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 gZggqU12CWla; Tue, 1 Dec 2026 12:20:31 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-374894-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id D37C61172F8; Tue, 1 Dec 2026 12:20:22 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sin.lore.kernel.org (Postfix) with ESMTP id A96F12335D; Tue, 1 Dec 2026 09:20:18 +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=1796116815; b=TYt1W6pENOdUfh/ecY3bKJvkORKnaYW9087nm8xHyKPTaCWY7iJ0UXx9ZV2LI/WEHudT LJq3K1YcT6W4L/DXetfbtsM0HQO6DFlV672eWiTKeQLq4ZU5Ki2W9KeQNLSiwQSCvoWZl QfRMz8uHqhIBZJmVzgkJThI29SODKaay4d937Cqb/QBzelL8vd1nu5wVkfcrlLlzvIDLl SMLQ5MgtMGvxkK/nQYsG8oMr4gMw3gsnHMr0qm+GAgWPlUGO/fZyJW+/P/n1WeNUbNxME ED35Fy1uTqWjYNfa7zAHELKTFtqaU2VtUSu4oNGdhmtxBh4yiQUu71ZhImQUgjUUDKg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796116815; 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=8N6tV+SbHvrGMKfiJt9nssEfs+m91ZwxKIbi7CWo6wE=; b=lkMqzo5RJoIlU/3pS5ujAsbK/s8+EgUUY+e7aZNmglhQhKTJzPY18dO2vAMRVJJp5JUe FaBDtASdg6OZD5SRYnK+h3MJsSDZfaV+CVnmJ7fOMW8NxGpUoPqma/oTzbvNcekwq5iOn DOiUGLB1H+CcrcC3LHdwEMtEzksci5d13nS0UAqXn/6iDidj9Yo+UjZmGS4iGbEsfInx+ 07UjjSVocTa6+/n4LV65AaLGKIrgUqqHl0zrg6LaBD+TV473HbycsB8xZ2/Tc/I7Op3ut JbF8xZPg7HcC7A4o0hZVAw8lgmvKTOdzFRVdZBpPXSexQiqRF6hesSWL6r+/qMXgvBA== 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=kxc5oqSU; 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 57FA7606A31A; Tue, 1 Dec 2026 09:20:15 +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=kxc5oqSU 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=1796116814; b=Cl1EKZ3TcQAzKJboGBMV7KO2q35eEsUf4nIlecV+vesz9YjLK/duDOBA38FkgGgf7I9m MV2jRZDgDMLELVaS1pnTD1odFbvPK46XdV+QSdtf15lj6GVMavSpFI8MUhsV3bJSiJxNM IzsqXuTKn+8fTaUUStzYOb8o16+nN6Ilj1K2QWB+xxxAMW8hJX9MeqnXxr8lCOGb2hhTw OviFCM61T12O8Dfr4VJeANJOloogWEdb6LfD748dzZrtrAaTfWWZ9ilPVEX4glPlF1uKp HHCrdYIzUhPi6PjcCf7i8sMBLl4fIcuVeZhZNFTijvl3lrXwx6amp52Lw2fMYvYcLkA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796116814; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=8N6tV+SbHvrGMKfiJt9nssEfs+m91ZwxKIbi7CWo6wE=; b=hmhowGisFFoO6rvwxJdtfMhpW1kyp5IJiqhFI6tnLTsKhDhKeUxI4pz/YK4fbtx3gFdQ DP/y2p5Mqp8KTvzS7uqq5WxYXRS6h1oTsjEWazgcv2KWMJ8rQh0fctTtIneb3OqO0IzUA sPZSLoPUe7oRMuQaS/+Q1ffVilIf7f87MAXQIKY1RgXmLGDAqcEg9O9gQCpZ9KvrHAJVW duAM1H1RwPd2UaePJFjobpN+wOWiV3Z2I7+OqVyXqYwwDJYzwuLa2C8+3jfU38tYxw2+z QznUDFn2210u5Fs7D4vjGWBTDet6rFxQrdm2wFnhcvBsNzZjCMjOPTR25jJaLnGcUQA== 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=kxc5oqSU; 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 745CF606A32D; Tue, 1 Dec 2026 09:20:14 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id F41FB1F00898; Tue, 1 Dec 2026 09:20:13 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796116814; bh=8N6tV+SbHvrGMKfiJt9nssEfs+m91ZwxKIbi7CWo6wE=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=kxc5oqSUqt6PZdY8rwn89qZb1jhntTan5u9R8vbWTrkg9+7oalQ/Ch5P5SPyLRjvo zZ7GrbxtjxpXehrm00QJyroz6CliDcKlZS/uiJyJQGv0RE7YLV1oqmTbYsBakKIq9k z0ewXxX5BqPVAIX0LC0vzKbdwt3xowiCbF84PgnBrkwORMzjHzG486950ThCMypbW1 /2LuJX5aDbx3wvTBLU31ULxw3wwBdri3M4SMVTEpwQwC47LeQAtN0fzL3act810W1+ dHO1kHBRC0WyrCJo1e0707lWw4GegcWMfLZ1nvj3YdwRKIJ1+APbtyk0pfV8GIaUlp x57lcUiM3CblQ== 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 EB86D38068C0; Tue, 1 Dec 2026 09:20: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: <20261124073602.2341904-1-mjambigi@linux.ibm.com> X-Cc: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, alibuda@linux.alibaba.com, dust.li@linux.alibaba.com, sidraya@linux.ibm.com, hidayath@linux.ibm.com, pasic@linux.ibm.com, horms@kernel.org, tonylu@linux.alibaba.com, guwen@linux.alibaba.com, netdev@vger.kernel.org, linux-s390@vger.kernel.org, linux-rdma@vger.kernel.org, stable@vger.kernel.org