[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<176195880651.684055.2420166688271014327.git-patchwork-notify@kernel.org>
Date: Sat, 01 Nov 2025 01:00:06 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Gustavo Luiz Duarte <gustavold@...il.com>
Cc: leitao@...ian.org, andrew+netdev@...n.ch, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
thepacketgeek@...il.com, netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net] netconsole: Acquire su_mutex before navigating
configs
hierarchy
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Wed, 29 Oct 2025 13:50:24 -0700 you wrote:
> There is a race between operations that iterate over the userdata
> cg_children list and concurrent add/remove of userdata items through
> configfs. The update_userdata() function iterates over the
> nt->userdata_group.cg_children list, and count_extradata_entries() also
> iterates over this same list to count nodes.
>
> Quoting from Documentation/filesystems/configfs.rst:
> > A subsystem can navigate the cg_children list and the ci_parent pointer
> > to see the tree created by the subsystem. This can race with configfs'
> > management of the hierarchy, so configfs uses the subsystem mutex to
> > protect modifications. Whenever a subsystem wants to navigate the
> > hierarchy, it must do so under the protection of the subsystem
> > mutex.
>
> [...]
Here is the summary with links:
- [net] netconsole: Acquire su_mutex before navigating configs hierarchy
https://git.kernel.org/netdev/net/c/d7d2fcf7ae31
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