diff options
| author | Slavin Liu <bolin.liu@seu.edu.cn> | 2026-09-13 20:51:23 +0800 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-09-16 15:08:17 +0200 |
| commit | 047c834d939df75386cfc0603c7ddeaa23a349a4 (patch) | |
| tree | f40f79dbb2bf3811d2fbb6b26bc8f6e0e891bf39 /include/linux/array_size.h | |
| parent | 72a35790da31acc12f05d35466e46254439d5dcd (diff) | |
ACPI: tables: handle failed initrd override mappings
The runtime AML table-loading path can invoke initrd override after
permanent mappings are enabled. Mapping bookkeeping can then fail.
Return AE_NO_MEMORY in that case to prevent a NULL pointer dereference
when attempting to read the table length.
Detected by static analysis and reviewed with AI-assisted source auditing.
Fixes: b2a35003dfbc ("ACPI: Implement physical address table override")
Assisted-by: LLM
Signed-off-by: Slavin Liu <bolin.liu@seu.edu.cn>
[ rjw: Added empty code line after conditional, changelog edits ]
Link: https://patch.msgid.link/20260913125123.109803-1-bolin.liu@seu.edu.cn
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/array_size.h')
0 files changed, 0 insertions, 0 deletions
