Message ID | 161503313284.398.1974484550470289869.tip-bot2@tip-bot2 |
---|---|
State | Superseded |
Headers | show |
Series | [tip:,x86/urgent] x86/entry: Fix entry/exit mismatch on failed fast 32-bit syscalls | expand |
diff --git a/arch/x86/entry/common.c b/arch/x86/entry/common.c index a2433ae..4efd39a 100644 --- a/arch/x86/entry/common.c +++ b/arch/x86/entry/common.c @@ -128,7 +128,8 @@ static noinstr bool __do_fast_syscall_32(struct pt_regs *regs) regs->ax = -EFAULT; instrumentation_end(); - syscall_exit_to_user_mode(regs); + local_irq_disable(); + irqentry_exit_to_user_mode(regs); return false; }