Thread (5 messages) 5 messages, 4 authors, 2026-02-26

Re: [PATCH net] vsock: Use container_of() to get net namespace in sysctl handlers

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-02-26 03:10:11
Also in: lkml, virtualization

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

On Mon, 23 Feb 2026 18:32:18 +0100 you wrote:
current->nsproxy is should not be accessed directly as syzbot has found
that it could be NULL at times, causing crashes.  Fix up the af_vsock
sysctl handlers to use container_of() to deal with the current net
namespace instead of attempting to rely on current.

This is the same type of change done in commit 7f5611cbc487 ("rds:
sysctl: rds_tcp_{rcv,snd}buf: avoid using current->nsproxy")

[...]
Here is the summary with links:
  - [net] vsock: Use container_of() to get net namespace in sysctl handlers
    https://git.kernel.org/netdev/net/c/5cc619583c7e

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help