[PW_SID:1122234] ACPI: RIMT: validate node and mapping bounds#2224
[PW_SID:1122234] ACPI: RIMT: validate node and mapping bounds#2224linux-riscv-bot wants to merge 2 commits into
Conversation
RIMT nodes and ID mappings are supplied by firmware. The parser must prove that the current node body, any ID mapping array, and any referenced destination node are inside the mapped RIMT table before consumers read type-specific fields. Add common node and array validators, use them before matching IOMMU, PCI root complex, and platform-device nodes, and fetch mapping destinations through the same validated offset path. Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "ACPI: RIMT: validate node and mapping bounds" |
|
Patch 1: "ACPI: RIMT: validate node and mapping bounds" |
|
Patch 1: "ACPI: RIMT: validate node and mapping bounds" |
|
Patch 1: "ACPI: RIMT: validate node and mapping bounds" |
|
Patch 1: "ACPI: RIMT: validate node and mapping bounds" |
|
Patch 1: "ACPI: RIMT: validate node and mapping bounds" |
|
Patch 1: "ACPI: RIMT: validate node and mapping bounds" |
|
Patch 1: "ACPI: RIMT: validate node and mapping bounds" |
|
Patch 1: "ACPI: RIMT: validate node and mapping bounds" |
|
Patch 1: "ACPI: RIMT: validate node and mapping bounds" |
|
Patch 1: "ACPI: RIMT: validate node and mapping bounds" |
|
Patch 1: "ACPI: RIMT: validate node and mapping bounds" |
869345e to
f54dc6c
Compare
PR for series 1122234 applied to workflow__riscv__fixes
Name: ACPI: RIMT: validate node and mapping bounds
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1122234
Version: 1