Re: [PATCH net v4] netconsole: Fix race condition in between reader and writer of userdata
From: patchwork-bot+netdevbpf
Date: Wed Oct 29 2025 - 20:50:38 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Tue, 28 Oct 2025 15:06:32 -0700 you wrote:
> The update_userdata() function constructs the complete userdata string
> in nt->extradata_complete and updates nt->userdata_length. This data
> is then read by write_msg() and write_ext_msg() when sending netconsole
> messages. However, update_userdata() was not holding target_list_lock
> during this process, allowing concurrent message transmission to read
> partially updated userdata.
>
> [...]
Here is the summary with links:
- [net,v4] netconsole: Fix race condition in between reader and writer of userdata
https://git.kernel.org/netdev/net/c/00764aa5c9bb
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html