mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
The backport of upstream commit45d55e7bac("x86/apic/vector: Fix off by one in error path") missed to fixup the legacy interrupt data which is not longer available upstream. Handle legacy irq data correctly by clearing the legacy storage to prevent use after free. Fixes:7fd1335392("x86/apic/vector: Fix off by one in error path") - 4.4.y Fixes:c557481a94("x86/apic/vector: Fix off by one in error path") - 4.9.y Reported-by: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>