Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/git/jgg...
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 28 Jul 2023 17:15:44 +0000 (10:15 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 28 Jul 2023 17:15:44 +0000 (10:15 -0700)
commit0299a13af0be43f2679047c7236e3a58e587f3f8
treef456d937ffb8ccd40ec62b0ae1a6545d9ca8a873
parentc75981a1be350f14dbfca56e62bea077dafdad96
parentb7c822fa6b7701b17e139f1c562fc24135880ed4
Merge tag 'for-linus-iommufd' of git://git./linux/kernel/git/jgg/iommufd

Pull iommufd fixes from Jason Gunthorpe:
 "Two user triggerable problems:

   - Syzkaller found a way to trigger a WARN_ON and leak memory by
     racing destroy with other actions

   - There is still a bug in the "batch carry" stuff that gets invoked
     for complex cases with accesses and unmapping of huge pages. The
     test suite found this (triggers rarely)"

* tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd:
  iommufd: Set end correctly when doing batch carry
  iommufd: IOMMUFD_DESTROY should not increase the refcount