[Devel] [PATCH hci-8.1 v4 0/2] drivers/vhost/blk: add support for worker ioctls
Konstantin Khorenko
khorenko at virtuozzo.com
Mon Nov 16 20:29:05 MSK 2026
I'm ready to apply this series, but only after the series
"drivers/vhost/blk: support VIRTIO_BLK_F_WRITE_ZEROES": its 1/2,
"drivers/vhost/blk: fix a flush hang on requests completed after
worker kill", is the hang fix I asked for on v1.
Then applying with these fixes on my side:
- patch 1 message: says that vhost_dev_flush() skipped these workers
(attachment_cnt 0) and now waits for them; the use-after-free is
tied to vhost-blk getting the worker ioctls in patch 2, since
CONFIG_VHOST_SCSI is off in our kernels; the first paragraph split
- patch 2 message: VHOST_SET_FORK_FROM_OWNER before every
VHOST_SET_OWNER, VHOST_RESET_OWNER goes back to kthread
On Mon, 16 Nov 2026 09:51:37 +0100, Alexander Ivanov wrote:
> Alexander Ivanov (2):
> drivers/vhost: fix a use-after-free of VHOST_SET_NWORKERS workers
> drivers/vhost/blk: add support for worker ioctls
The two series apply cleanly on top of each other in this order.
--
Konstantin Khorenko,
Virtuozzo Linux Kernel Team
More information about the Devel
mailing list