diff options
author | Roger Pau Monne <roger.pau@citrix.com> | 2018-10-09 12:32:37 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-13 11:15:02 -0800 |
commit | ba94ecfc74e4e74acb46afe9a7bea10d869657b9 (patch) | |
tree | 4aa47b683c7bed93c45ceb4cf99a30a89d492178 | |
parent | cbc3fb7b48dc47d4c14cda0f40721af5b2054c0d (diff) | |
download | linux-stable-ba94ecfc74e4e74acb46afe9a7bea10d869657b9.tar.gz linux-stable-ba94ecfc74e4e74acb46afe9a7bea10d869657b9.tar.bz2 linux-stable-ba94ecfc74e4e74acb46afe9a7bea10d869657b9.zip |
xen/pvh: increase early stack size
commit 7deecbda3026f5e2a8cc095d7ef7261a920efcf2 upstream.
While booting on an AMD EPYC box the stack canary would detect stack
overflows when using the current PVH early stack size (256). Switch to
using the value defined by BOOT_STACK_SIZE, which prevents the stack
overflow.
Cc: <stable@vger.kernel.org> # 4.11
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | arch/x86/xen/xen-pvh.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/xen/xen-pvh.S b/arch/x86/xen/xen-pvh.S index 5d7554c025fd..7ecbd3dde2ea 100644 --- a/arch/x86/xen/xen-pvh.S +++ b/arch/x86/xen/xen-pvh.S @@ -178,7 +178,7 @@ canary: .fill 48, 1, 0 early_stack: - .fill 256, 1, 0 + .fill BOOT_STACK_SIZE, 1, 0 early_stack_end: ELFNOTE(Xen, XEN_ELFNOTE_PHYS32_ENTRY, |