mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1 0/2] iommu/virtio: Harden event handling
@ 2026-07-14  2:59 weimin xiong
  2026-07-14  2:59 ` [PATCH v1 1/2] iommu/virtio: Set driver data before enabling virtqueues weimin xiong
  2026-07-14  2:59 ` [PATCH v1 2/2] iommu/virtio: Reject short event buffers weimin xiong
  0 siblings, 2 replies; 5+ messages in thread
From: weimin xiong @ 2026-07-14  2:59 UTC (permalink / raw)
  To: Jean-Philippe Brucker, Joerg Roedel, Will Deacon
  Cc: Robin Murphy, virtualization, iommu, linux-kernel, Xiong Weimin

From: Xiong Weimin <xiongweimin@kylinos.cn>

Hi,

This follow-up series hardens virtio-iommu event handling.

It is based on the probe error handling fixes sent earlier:

  [PATCH v1 0/2] iommu/virtio: Fix probe error handling
  Message-ID: <20260714024949.190014-1-15927021679@163.com>

The first patch makes sure vq->vdev->priv is initialized before
virtqueues can invoke callbacks. The second patch rejects short event
buffers before reading the event contents.

Xiong Weimin (2):
  iommu/virtio: Set driver data before enabling virtqueues
  iommu/virtio: Reject short event buffers

 drivers/iommu/virtio-iommu.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2026-07-22 21:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-14  2:59 [PATCH v1 0/2] iommu/virtio: Harden event handling weimin xiong
2026-07-14  2:59 ` [PATCH v1 1/2] iommu/virtio: Set driver data before enabling virtqueues weimin xiong
2026-07-22 21:42   ` Will Deacon
2026-07-14  2:59 ` [PATCH v1 2/2] iommu/virtio: Reject short event buffers weimin xiong
2026-07-22 21:41   ` Will Deacon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®