public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH V1 0/2] fixes for virtual address update
@ 2022-12-13 15:46 Steve Sistare
  2022-12-13 15:46 ` [PATCH V1 1/2] vfio/type1: exclude mdevs from VFIO_UPDATE_VADDR Steve Sistare
  2022-12-13 15:46 ` [PATCH V1 2/2] vfio/type1: prevent locked_vm underflow Steve Sistare
  0 siblings, 2 replies; 12+ messages in thread
From: Steve Sistare @ 2022-12-13 15:46 UTC (permalink / raw)
  To: kvm; +Cc: Alex Williamson, Cornelia Huck, Steve Sistare

Fix bugs in the interfaces that allow the underlying memory object of an
iova range to be mapped in a new address space.  They allow userland to
indefinitely block vfio mediated device kernel threads, and do not
propagate the locked_vm count to a new mm.

Steve Sistare (2):
  vfio/type1: exclude mdevs from VFIO_UPDATE_VADDR
  vfio/type1: prevent locked_vm underflow

 drivers/vfio/vfio_iommu_type1.c | 36 +++++++++++++++++++++++++++++++++++-
 include/uapi/linux/vfio.h       |  6 +++++-
 2 files changed, 40 insertions(+), 2 deletions(-)

-- 
1.8.3.1


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

end of thread, other threads:[~2022-12-13 19:40 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-13 15:46 [PATCH V1 0/2] fixes for virtual address update Steve Sistare
2022-12-13 15:46 ` [PATCH V1 1/2] vfio/type1: exclude mdevs from VFIO_UPDATE_VADDR Steve Sistare
2022-12-13 16:26   ` Alex Williamson
2022-12-13 16:54     ` Steven Sistare
2022-12-13 17:31       ` Alex Williamson
2022-12-13 17:42         ` Steven Sistare
2022-12-13 15:46 ` [PATCH V1 2/2] vfio/type1: prevent locked_vm underflow Steve Sistare
2022-12-13 18:02   ` Alex Williamson
2022-12-13 18:17     ` Steven Sistare
2022-12-13 18:21       ` Steven Sistare
2022-12-13 19:29         ` Alex Williamson
2022-12-13 19:40           ` Steven Sistare

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