Re: [PATCH 1/2] iommu: debug-pagealloc: Check map overflow in a phys_addr_t

From: Jörg Rödel

Date: Tue Dec 01 2026 - 05:57:57 EST


On Mon, Nov 30, 2026 at 04:46:27PM +0000, Mostafa Saleh wrote:
> void __iommu_debug_map(struct iommu_domain *domain, phys_addr_t phys, size_t size)
> {
> - size_t off, end;
> + size_t off;
> + phys_addr_t end;
> size_t page_size = iommu_debug_page_size(domain);

The __iommu_debug_update_iova() function has the same bug.

-Joerg