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

From: patchwork-bot+netdevbpf

Date: Tue Nov 17 2026 - 22:30:18 EST


Hello:

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

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