x86/xen: fix SLS mitigation in xen_hypercall_iret()
BugLink: https://bugs.launchpad.net/bugs/2107449 The backport of upstream patch a2796dff62d6 ("x86/xen: don't do PV iret hypercall through hypercall page") missed to adapt the SLS mitigation config check from CONFIG_MITIGATION_SLS to CONFIG_SLS. Signed-off-by: Juergen Gross <jgross@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Koichiro Den <koichiro.den@canonical.com> Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
This commit is contained in:
committed by
Stefan Bader
parent
030a2dbb8c
commit
daf1fe8e13
@@ -221,7 +221,7 @@ SYM_CODE_END(xen_early_idt_handler_array)
|
||||
push %rax
|
||||
mov $__HYPERVISOR_iret, %eax
|
||||
syscall /* Do the IRET. */
|
||||
#ifdef CONFIG_MITIGATION_SLS
|
||||
#ifdef CONFIG_SLS
|
||||
int3
|
||||
#endif
|
||||
.endm
|
||||
|
||||
Reference in New Issue
Block a user