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