mbox series

[0/4] Fix three syzkaller splats in iommufd

Message ID 0-v1-ceab6a4d7d7a+94-iommufd_syz_jgg@nvidia.com (mailing list archive)
Headers show
Series Fix three syzkaller splats in iommufd | expand

Message

Jason Gunthorpe March 31, 2023, 3:32 p.m. UTC
All related to the pages code, and the latter are reproducible with a
simple test.

Jason Gunthorpe (4):
  iommufd: Check for uptr overflow
  iommufd: Fix unpinning of pages when an access is present
  iommufd: Do not corrupt the pfn list when doing batch carry
  iommufd/selftest: Cover domain unmap with huge pages and access

 drivers/iommu/iommufd/pages.c           | 16 ++++++++++--
 tools/testing/selftests/iommu/iommufd.c | 34 +++++++++++++++++++++++++
 2 files changed, 48 insertions(+), 2 deletions(-)


base-commit: 9c7d518b9b71f4d5ca3d12952cda3417ac6126c4

Comments

Jason Gunthorpe April 4, 2023, 1:25 p.m. UTC | #1
On Fri, Mar 31, 2023 at 12:32:23PM -0300, Jason Gunthorpe wrote:
> All related to the pages code, and the latter are reproducible with a
> simple test.
> 
> Jason Gunthorpe (4):
>   iommufd: Check for uptr overflow
>   iommufd: Fix unpinning of pages when an access is present
>   iommufd: Do not corrupt the pfn list when doing batch carry
>   iommufd/selftest: Cover domain unmap with huge pages and access
> 
>  drivers/iommu/iommufd/pages.c           | 16 ++++++++++--
>  tools/testing/selftests/iommu/iommufd.c | 34 +++++++++++++++++++++++++
>  2 files changed, 48 insertions(+), 2 deletions(-)

I picked these up to go to -rc

Jason