[PATCH v?] iommu/riscv: check pte null pointer before use

XianLiang Huang huangxianliang at lanxincomputing.com
Thu Aug 7 19:42:03 PDT 2025


Sure, 'prevent' is much appropriate than 'check' here...

Prevent null pointer dereference in riscv_iommu_iova_to_phys(). Now, when
it's called with an unmapped iova, the kernel will not crash here.



More information about the linux-riscv mailing list