Thread (5 messages) 5 messages, 2 authors, 2025-07-08

Re: [PATCH net v4 0/3] vsock: Fix transport_{h2g,g2h,dgram,local} TOCTOU issues

From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-07-08 15:59:48
Also in: lkml, virtualization

Hello:

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

On Thu, 03 Jul 2025 17:18:17 +0200 you wrote:
transport_{h2g,g2h,dgram,local} may become NULL on vsock_core_unregister().
Make sure a poorly timed `rmmod transport` won't lead to a NULL/stale
pointer dereference.

Note that these oopses are pretty unlikely to happen in the wild. Splats
were collected after sprinkling kernel with mdelay()s.

[...]
Here is the summary with links:
  - [net,v4,1/3] vsock: Fix transport_{g2h,h2g} TOCTOU
    https://git.kernel.org/netdev/net/c/209fd720838a
  - [net,v4,2/3] vsock: Fix transport_* TOCTOU
    https://git.kernel.org/netdev/net/c/687aa0c5581b
  - [net,v4,3/3] vsock: Fix IOCTL_VM_SOCKETS_GET_LOCAL_CID to check also `transport_local`
    https://git.kernel.org/netdev/net/c/1e7d9df379a0

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