[PATCH] ACPI: IORT: validate RMR node array bounds
Will Deacon
will at kernel.org
Fri Jul 31 08:42:42 PDT 2026
On Mon, Jul 06, 2026 at 05:43:00PM +0800, Pengpeng Hou wrote:
> IORT RMR nodes describe reserved-memory ranges through firmware
> offset and count fields inside the current IORT node.
>
> Validate the generic IORT node length before dispatching it, and
> check both the RMR descriptor array and the ID mapping array before
> walking them. This binds each array walk to the current node length
> instead of only trusting the firmware-provided count.
>
> Signed-off-by: Pengpeng Hou <pengpeng at iscas.ac.cn>
> ---
> drivers/acpi/arm64/iort.c | 83 +++++++++++++++++++++++++++++++++++++--
> 1 file changed, 79 insertions(+), 4 deletions(-)
Hanjun, Lorenzo, any thoughts on this one?
Will
More information about the linux-arm-kernel
mailing list