summaryrefslogtreecommitdiff
path: root/drivers/acpi/apei/ghes.c
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2017-03-22 18:33:23 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-08-30 10:19:29 +0200
commitb526de00a9b09eb12f1c68df25a50139f315e400 (patch)
tree833bf6e308c7928bcde62bf364b23640a7369e02 /drivers/acpi/apei/ghes.c
parent4e5f2c2041503bd0f855b9467de3cd05a8748c91 (diff)
ACPI: ioapic: Clear on-stack resource before using it
commit e3d5092b6756b9e0b08f94bbeafcc7afe19f0996 upstream. The on-stack resource-window 'win' in setup_res() is not properly initialized. This causes the pointers in the embedded 'struct resource' to contain stale addresses. These pointers (in my case the ->child pointer) later get propagated to the global iomem_resources list, causing a #GP exception when the list is traversed in iomem_map_sanity_check(). Fixes: c183619b63ec (x86/irq, ACPI: Implement ACPI driver to support IOAPIC hotplug) Signed-off-by: Joerg Roedel <jroedel@suse.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/acpi/apei/ghes.c')
0 files changed, 0 insertions, 0 deletions