Linux IOMMU Development
 help / color / mirror / Atom feed
* [PATCH rc 0/2] iommufd syzkaller fixes
@ 2023-06-19 18:24 Jason Gunthorpe
  2023-06-19 18:24 ` [PATCH rc 1/2] iommufd: Do not access the area pointer after unlocking Jason Gunthorpe
  2023-06-19 18:24 ` [PATCH rc 2/2] iommufd: Call iopt_area_contig_done() under the lock Jason Gunthorpe
  0 siblings, 2 replies; 7+ messages in thread
From: Jason Gunthorpe @ 2023-06-19 18:24 UTC (permalink / raw)
  To: iommu
  Cc: Kevin Tian, Lixiao Yang, Matthew Rosato, Nicolin Chen,
	syzbot+1ad12d16afca0e7d2dde, syzbot+6c8d756f238a75fc3eb8, Yi Liu

Two syzkaller fixes, both the same botched locking of the area pointer
during the unmap of IOVA being used by an access.

Jason Gunthorpe (2):
  iommufd: Do not access the area pointer after unlocking
  iommufd: Call iopt_area_contig_done() under the lock

 drivers/iommu/iommufd/device.c       |  2 +-
 drivers/iommu/iommufd/io_pagetable.c | 11 ++++++++---
 2 files changed, 9 insertions(+), 4 deletions(-)


base-commit: 45a3e24f65e90a047bef86f927ebdc4c710edaa1
-- 
2.40.1


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

end of thread, other threads:[~2023-06-20 12:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-19 18:24 [PATCH rc 0/2] iommufd syzkaller fixes Jason Gunthorpe
2023-06-19 18:24 ` [PATCH rc 1/2] iommufd: Do not access the area pointer after unlocking Jason Gunthorpe
2023-06-20  4:42   ` Nicolin Chen
2023-06-20  5:30     ` Tian, Kevin
2023-06-20 12:36       ` Jason Gunthorpe
2023-06-19 18:24 ` [PATCH rc 2/2] iommufd: Call iopt_area_contig_done() under the lock Jason Gunthorpe
2023-06-20  5:34   ` Tian, Kevin

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