ACPICA: Check that EBDA pointer is in valid memory
authorVit Kabele <vit@kabele.me>
Thu, 27 Oct 2022 17:50:06 +0000 (19:50 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 28 Oct 2022 15:28:22 +0000 (17:28 +0200)
commit4fe54f509304ea6cc80a40620cac860c57edf7f3
tree409996fbd493532f49eb271f8582765d61582b2d
parent5c62d5aab8752e5ee7bfbe75ed6060db1c787f98
ACPICA: Check that EBDA pointer is in valid memory

ACPICA commit cc9e7763ceb2e2649fe3422130416d84a3c6854a

If the memory at 0x40e is uninitialized, the retrieved physical_memory
address of EBDA may be beyond the low memory (i.e. above 640K).

If so, the kernel may unintentionally access the VGA memory, that
might not be decoded or even present in case of virtualization.

Link: https://github.com/acpica/acpica/commit/cc9e7763
Signed-off-by: Vit Kabele <vit@kabele.me>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/tbxfroot.c