freebsd-dev/sys/arm64/iommu
Alan Cox 8bc3673847 iommu_gas: Eliminate a possible case of use-after-free
Eliminate a possible case of use-after-free in an error handling path
after a mapping failure.  Specifically, eliminate IOMMU_MAP_ENTRY_QI_NF
and instead perform the IOTLB invalidation synchronously.  Otherwise,
when iommu_domain_unload_entry() is called and told not to free the
IOMMU map entry, the caller could free the entry before dmar_qi_task()
is finished with it.

Reviewed by:	kib
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D35878
2022-07-25 11:14:58 -05:00
..
iommu_if.m Add OFW support to arm64's IOMMU framework. 2022-05-18 14:11:23 +01:00
iommu_pmap.c Change __unused to __diagused. 2022-05-09 11:24:47 +01:00
iommu_pmap.h
iommu_pte.h
iommu.c iommu_gas: Eliminate a possible case of use-after-free 2022-07-25 11:14:58 -05:00
iommu.h Add OFW support to arm64's IOMMU framework. 2022-05-18 14:11:23 +01:00
smmu_acpi.c arm64: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 14:26:45 -07:00
smmu_fdt.c Add OFW support to arm64's IOMMU framework. 2022-05-18 14:11:23 +01:00
smmu_quirks.c
smmu.c Add OFW support to arm64's IOMMU framework. 2022-05-18 14:11:23 +01:00
smmureg.h
smmuvar.h Add FDT attachment driver for ARM System MMU v3.2 controller. 2022-05-07 11:18:35 +01:00