🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #18287

Re: [PATCH net v3 0/2] af_unix: Fix scm_stat.nr_fds leak in unix_dgram_disconnected()

#18287
From: patchwork-bot+netdevbpf
Date: Wed, 18 Nov 2026 03:30
30 lines
9073 bytes
Hello:

This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Sat, 14 Nov 2026 16:26:30 +0000 you wrote:
> This series fixes a u->scm_stat.nr_fds accounting leak in
> unix_dgram_disconnected() when purging queued skbs from
> sk->sk_receive_queue on disconnect, along with a selftest:
> 
> - Patch 1 splices sk->sk_receive_queue onto a local list in
>   unix_dgram_disconnected() and calls scm_stat_del() before freeing each
>   purged skb.
> - Patch 2 adds dgram_disconnect_fdinfo to scm_rights.c verifying scm_fds
>   in /proc/self/fdinfo/<fd> across connect(AF_UNSPEC) and dead-peer
>   send() disconnects.
> 
> [...]

Here is the summary with links:
  - [net,v3,1/2] af_unix: Fix scm_stat.nr_fds leak in unix_dgram_disconnected().
    https://git.kernel.org/netdev/net/c/2c0d5e36aaf3
  - [net,v3,2/2] selftest: af_unix: Test scm_fds on dgram disconnect.
    https://git.kernel.org/netdev/net/c/c550cea62c1e

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179497260640.1442014.622308386192174457.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-365848-linux-kernel-netdev=dewy.ru
References: <20261114162632.16346-1-sidchintamaneni@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-365848-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v3 0/2] af_unix: Fix scm_stat.nr_fds leak in
 unix_dgram_disconnected()
Date: Wed, 18 Nov 2026 03:30:06 +0000
Organization: Usenet Network
Message-ID: <179497260640.1442014.622308386192174457.git-patchwork-notify@kernel.org>
References: <20261114162632.16346-1-sidchintamaneni@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2494356"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:g6Nj+02nf8yxN+NN1SMisFw+O18= sha256:aniydky7VEh97MYezUIWNrJ8//aawXfa5nt26o6YTUU=
	sha1:pN7m/XMs0z95/QQMY7K3//hRj3U= sha256:ExJCGytfjzk2SCX/NfhLFgD8LVytIvy3l8xgYreNlrk=
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 5596E11517E; Wed, 18 Nov 2026 06:30:24 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.501
X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31
	tests=[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 6tj3IicWAekA;
	Wed, 18 Nov 2026 06:30:20 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-365848-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id 8975D115127; Wed, 18 Nov 2026 06:30:10 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id 5056360A90B; Wed, 18 Nov 2026 03:30: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=1794972608;
	b=Jzko3kbNaxp7jJQdokDefEgfkhrzUR59nkKuadYA4GTg+CGcWxG0iSWS/oACIqsiKV1K
	 rCcHw+7wWXozK9LhrzMGGr1Q4Hp6ZUbkGznI496w4GyZFSjZe53V2tvq4cDFD/greMSuD
	 Scj19Gi1JnTACdxfFNDKTxIjCctdWGh3opDuJ1VOS03xYwvm3jMmaZwzb09Elb3uVVwvQ
	 +tETnAw2vQv2j+hsjTpN7Rt9QLdRYahTJ4+9cZ/FBMcgyBHiZrrJnCBY3d3Ai63zdgTDf
	 mNe5CjnPrz/uwmIResZpPACWH5VRDA+X7LUBgeHAi1ljPolpzUqIpfS/l1RWqWJiOCg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794972608;
	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=AGMAhnXtc43b9IR2967bQRs6CtgqCl1Ghq4YYDHir44=;
	b=Urrj+Ul1ljHJcv+5seiL0eWtnUeAZEh6YdUaTHSQFPOUooi9gi5274Kp/Wgii/u0suJN
	 uYNPB9Lwb6GnXoeudSGHRsrVFqGCfjvLy4c9+etS6lWMncjaPqZ3i6UZsG8y0TJveMeza
	 DeUvRfa93ojwGaJWB4fWivUaOcKsgSpIWrPiaO6Viwgh+KxwKDOa14TK6nYrbeYXAiZGg
	 ynQrYdxgDbYlBzNF/wEmyR+2RfCuK3gbt0dkwSEedY11iRr0bxVj37uuqjCfejk/QIxq/
	 +UZ6d7TGTyzi2UPuF9vNUYXuldKDT0UDcbxGUCJ0UexlJnYgwSnPXINlj+oWEYRTWfg==
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=bmQYkYcT;
	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 8B6AC606A338;
	Wed, 18 Nov 2026 03:30:08 +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=bmQYkYcT
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=1794972607;
	b=stJ1SlfXZT8C3ojMJU/RLfHOzRZdiNZK2Yt2DSU9pvEKbOvI7PGObGrnkF/bL4+YhqpS
	 Q9PlF+WM0xAWPMRQz98NhCQu9LYPfR8BFoIMbboOdMW+LjdbisWNVB6rUB6bOIjQd6byA
	 yfuX+n5lckvrRmD5AwSd/qc+FkI7sNnvM87icaZUJCJvMnKPHOr3XzcJ8KPMSRLsMNR+I
	 /D2SHSCASF7vwy1mFid4C5RcqJ8CuTSB33ZkVEP+FOsjvstAlQI+YNiP8EUY8O2wWdrn6
	 UeSBEPPkmzZWuPM/0W+QM0fO/dRfOvrSX9TWC+LUamWn3X2hCOjpPVsJjGFAWgCbt1Q==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794972607;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=AGMAhnXtc43b9IR2967bQRs6CtgqCl1Ghq4YYDHir44=;
	b=KY6cy7C3ddm2yV1v8sjKv/B2Vgbn7aCobxDn3jb7VWN86Sg/ax8bfxbHPQ8kYv/dZquK
	 /pq95a0MM5h8uRIepC5djaHav5x6hHwhw/mDLpFLmj0bd4UXG4mxot3WYcBzggahYdrkz
	 TYGb6pBeIQw+j+I1bf2CukazvAuj/Ty0w82BdOchIHlQdJgL+ITM0GvhnaDUEfneEhtWN
	 X22SzECA177c6NnYJcO8SUX7VSqLEPg/xVScj0HRicPjzMGG/BYCLGEL8gCQVS+23A3ZI
	 m2Q+DyjUZG7dgsjdbCpiYpjXRZ3CaAK/+FEiHYW1qy3ZpmWkRTJnvERMIUoadHCKb6g==
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=bmQYkYcT;
	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 ABBD6606A31C;
	Wed, 18 Nov 2026 03:30:07 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 823AD1F000C4;
	Wed, 18 Nov 2026 03:30:07 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794972607;
	bh=AGMAhnXtc43b9IR2967bQRs6CtgqCl1Ghq4YYDHir44=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=bmQYkYcTxwXsV7jVqj7xtKLQBbp8bJtz2Rvd6sUGtG7m+YALLuHG1EQvH8LgRtuR9
	 qfLPJzz8nlFbtLxIMRoUGdLHLw6/Gw7Wo3v81IqtJNYhAFRtHzIViUXuLI1SR2SlZz
	 CPekOnA7AFxlZ7v/Pwn69PdyQY0a1W8FmXvBR/dTDzRf1RCo8y8Vfn51FetnphWb5J
	 h+b5vHdRmBjPNCDkMpWFGp8inI8dRE66H28ENPUqIp+Dy0nX/9sOd/0ZAwFNLJ/qS3
	 9R9q+KDVeL+IwfEOH712q0Osa/D+5EMDROTqrNhFVPaCoH5EaBr6WV9MtCM4fmywLR
	 aZKg/yVacdvZw==
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 7732A392E982;
	Wed, 18 Nov 2026 03:30:07 +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: <20261114162632.16346-1-sidchintamaneni@gmail.com>
X-Cc: kuniyu@google.com, davem@davemloft.net, edumazet@kernel.org,
 kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, shuah@kernel.org,
 tkhai@ya.ru, apais@microsoft.com, hargar@linux.microsoft.com,
 rlmenge@gmail.com, egoriluk@gmail.com, netdev@vger.kernel.org,
 linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org