Re: [PATCH] iommu/msm: limit the per-master Machine ID list

From: Will Deacon

Date: Wed Jul 22 2026 - 17:44:56 EST


On Wed, 22 Jul 2026 12:16:19 +0800, Pengpeng Hou wrote:
> The OF translation path appends each unique stream ID from an IOMMU
> specifier to the fixed mids array in the per-master object. It currently
> has no capacity check before storing at mids[num_mids] and incrementing
> num_mids.
>
> Return -ENOSPC when the array is full rather than writing the next ID
> beyond it.
>
> [...]

Applied to iommu (qualcomm/msm), thanks!

[1/1] iommu/msm: limit the per-master Machine ID list
https://git.kernel.org/iommu/c/e283e646ee89

Cheers,
--
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev