summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>2018-08-01 16:32:25 +0300
committerThomas Gleixner <tglx@linutronix.de>2018-08-02 14:22:22 +0200
commit1b3a62643660020cdc68e6139a010c06e8fc96c7 (patch)
tree2396dad62af3c907ef91afe6daac36a64e5609fd /arch/arm
parent6b4703768268d09ac928c64474fd686adf4574f9 (diff)
downloadlinux-1b3a62643660020cdc68e6139a010c06e8fc96c7.tar.bz2
x86/boot/compressed/64: Validate trampoline placement against E820
There were two report of boot failure cased by trampoline placed into a reserved memory region. It can happen on machines that don't report EBDA correctly. Fix the problem by re-validating the found address against the E820 table. If the address is in a reserved area, find the next usable region below the initial address. Fixes: 3548e131ec6a ("x86/boot/compressed/64: Find a place for 32-bit trampoline") Reported-by: Dmitry Malkin <d.malkin@real-time-systems.com> Reported-by: youling 257 <youling257@gmail.com> Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: "H. Peter Anvin" <hpa@zytor.com> Link: https://lkml.kernel.org/r/20180801133225.38121-1-kirill.shutemov@linux.intel.com
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions