Skip to content
This repository has been archived by the owner on Sep 24, 2020. It is now read-only.

Commit

Permalink
xen/pvh: increase early stack size
Browse files Browse the repository at this point in the history
commit 7deecbd 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>
  • Loading branch information
royger authored and gregkh committed Nov 13, 2018
1 parent cbc3fb7 commit ba94ecf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/xen/xen-pvh.S
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ba94ecf

Please sign in to comment.