Thread (2 messages) 2 messages, 2 authors, 2025-08-29

Re: [PATCH] virtio_net: adjust the execution order of function `virtnet_close` during freeze

From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-08-29 18:52:47
Also in: lkml, virtualization

Hello:

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

On Thu, 28 Aug 2025 18:36:18 +0200 you wrote:
From: Junnan Wu <redacted>

"Use after free" issue appears in suspend once race occurs when
napi poll scheduls after `netif_device_detach` and before napi disables.

For details, during suspend flow of virtio-net,
the tx queue state is set to "__QUEUE_STATE_DRV_XOFF" by CPU-A.

[...]
Here is the summary with links:
  - virtio_net: adjust the execution order of function `virtnet_close` during freeze
    https://git.kernel.org/netdev/net/c/45d8ef6322b8

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