[GIT PULL] VFIO fixes for v5.7-rc4
From: Alex Williamson
Date: Fri May 01 2020 - 17:51:03 EST
Hi Linus,
The following changes since commit ae83d0b416db002fe95601e7f97f64b59514d936:
Linux 5.7-rc2 (2020-04-19 14:35:30 -0700)
are available in the Git repository at:
git://github.com/awilliam/linux-vfio.git tags/vfio-v5.7-rc4
for you to fetch changes up to 5cbf3264bc715e9eb384e2b68601f8c02bb9a61d:
vfio/type1: Fix VA->PA translation for PFNMAP VMAs in vaddr_get_pfn() (2020-04-23 12:10:01 -0600)
----------------------------------------------------------------
VFIO fixes for v5.7-rc4
- copy_*_user validity check for new vfio_dma_rw interface (Yan Zhao)
- Fix a potential math overflow (Yan Zhao)
- Use follow_pfn() for calculating PFNMAPs (Sean Christopherson)
----------------------------------------------------------------
Sean Christopherson (1):
vfio/type1: Fix VA->PA translation for PFNMAP VMAs in vaddr_get_pfn()
Yan Zhao (2):
vfio: checking of validity of user vaddr in vfio_dma_rw
vfio: avoid possible overflow in vfio_iommu_type1_pin_pages
drivers/vfio/vfio_iommu_type1.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)