While examining the code I realized that we don't copy si_call_addr to 32bit callers. Fix it. It looks like no one has used this code path in the last 5 years. Cc: Will Drewry <wad@xxxxxxxxxxxx> Cc: H. Peter Anvin <hpa@xxxxxxxxx> Cc: Eric Paris <eparis@xxxxxxxxxx> Cc: Serge Hallyn <serge@xxxxxxxxxx> Cc: James Morris <james.l.morris@xxxxxxxxxx> Fixes: a0727e8ce513 ("signal, x86: add SIGSYS info and make it synchronous.") Signed-off-by: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx> --- arch/x86/kernel/signal_compat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/kernel/signal_compat.c b/arch/x86/kernel/signal_compat.c index 71beb28600d4..59e1029bb3d0 100644 --- a/arch/x86/kernel/signal_compat.c +++ b/arch/x86/kernel/signal_compat.c @@ -161,6 +161,7 @@ int __copy_siginfo_to_user32(compat_siginfo_t __user *to, const siginfo_t *from, } break; case __SI_SYS >> 16: + put_user_ex(ptr_to_compat(from->si_call_addr), &to->si_call_addr); put_user_ex(from->si_syscall, &to->si_syscall); put_user_ex(from->si_arch, &to->si_arch); break; -- 2.10.1 -- To unsubscribe from this list: send the line "unsubscribe linux-api" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html