All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Improve admin command handling and result
@ 2025-04-20 11:19 Israel Rukshin
  2025-04-20 11:19 ` [PATCH 1/2] virtio-pci: Fix result size returned for the admin command completion Israel Rukshin
  2025-04-20 11:19 ` [PATCH 2/2] virtio-pci: Add admin command length check for device writable portions Israel Rukshin
  0 siblings, 2 replies; 13+ messages in thread
From: Israel Rukshin @ 2025-04-20 11:19 UTC (permalink / raw)
  To: virtualization, mst, Jason Wang
  Cc: Max Gurtovoy, Nitzan Carmi, Parav Pandit, Xuan Zhuo,
	Eugenio Pérez, Israel Rukshin

This small series addresses two issues in the virtio-pci driver related
to admin command handling:

1. Fix an incorrect result size in admin command completion, which
   was causing issues with state transfer and buffer allocation.

2. Add a safety check for the length of device-writable portions in
   admin commands, ensuring compliance with the virtio specification.

Israel Rukshin (2):
  virtio-pci: Fix result size returned for the admin command completion
  virtio-pci: Add admin command length check for device writable
    portions

 drivers/virtio/virtio_pci_modern.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2025-04-21 15:14 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-20 11:19 [PATCH 0/2] Improve admin command handling and result Israel Rukshin
2025-04-20 11:19 ` [PATCH 1/2] virtio-pci: Fix result size returned for the admin command completion Israel Rukshin
2025-04-20 11:19 ` [PATCH 2/2] virtio-pci: Add admin command length check for device writable portions Israel Rukshin
2025-04-20 11:33   ` Michael S. Tsirkin
2025-04-20 12:31     ` Max Gurtovoy
2025-04-20 13:07       ` Michael S. Tsirkin
2025-04-21 11:05         ` Israel Rukshin
2025-04-21 11:29           ` Michael S. Tsirkin
2025-04-21 12:36             ` Israel Rukshin
2025-04-21 14:12               ` Michael S. Tsirkin
2025-04-21 15:00                 ` Israel Rukshin
2025-04-21 15:06                   ` Michael S. Tsirkin
2025-04-21 15:13                     ` Max Gurtovoy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.