Re: [PATCH v2] iommu/amd: bound the early ACPI HID map

From: Will Deacon

Date: Tue Jul 21 2026 - 08:22:11 EST


On Mon, 20 Jul 2026 19:46:13 +0800, Pengpeng Hou wrote:
> The ivrs_acpihid command-line parser appends entries to a fixed
> four-element early_acpihid_map array. Unlike the sibling IOAPIC and HPET
> parsers, it does not reject a fifth entry before incrementing the map size.
>
> Check the capacity at the common found label before parsing the HID and
> UID or writing the entry.
>
> [...]

Applied to iommu (fixes), thanks!

[1/1] iommu/amd: bound the early ACPI HID map
https://git.kernel.org/iommu/c/fb80117fddb5

Cheers,
--
Will

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