[PATCH v3] iommu/riscv: prevent NULL deref in iova_to_phys

Joerg Roedel joro at 8bytes.org
Mon Aug 18 09:04:43 PDT 2025


On Fri, Aug 15, 2025 at 03:43:25PM +0100, Robin Murphy wrote:
> It's a valid PA on many systems of many architectures, but it's also been
> the "not mapped/error" value for the iova_to_phys operation all the way back
> to the very very first intel_iommu_iova_to_pfn() nearly 17 years ago, so hey
> :)

Right, the sins of the past finally haunt me ;)



More information about the linux-riscv mailing list