[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id:
<171282183106.1471.16014082254968457229.git-patchwork-notify@kernel.org>
Date: Thu, 11 Apr 2024 07:50:31 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Michal Luczaj <mhal@...x.co>
Cc: netdev@...r.kernel.org, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, kuniyu@...zon.com
Subject: Re: [PATCH net v2] af_unix: Fix garbage collector racing against
connect()
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@...hat.com>:
On Tue, 9 Apr 2024 22:09:39 +0200 you wrote:
> Garbage collector does not take into account the risk of embryo getting
> enqueued during the garbage collection. If such embryo has a peer that
> carries SCM_RIGHTS, two consecutive passes of scan_children() may see a
> different set of children. Leading to an incorrectly elevated inflight
> count, and then a dangling pointer within the gc_inflight_list.
>
> sockets are AF_UNIX/SOCK_STREAM
> S is an unconnected socket
> L is a listening in-flight socket bound to addr, not in fdtable
> V's fd will be passed via sendmsg(), gets inflight count bumped
>
> [...]
Here is the summary with links:
- [net,v2] af_unix: Fix garbage collector racing against connect()
https://git.kernel.org/netdev/net/c/47d8ac011fe1
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists