--- zzzz-none-000/linux-3.10.107/arch/x86/include/asm/compat.h 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/x86/include/asm/compat.h 2021-02-04 17:41:59.000000000 +0000 @@ -301,7 +301,7 @@ sp = task_pt_regs(current)->sp; } else { /* -128 for the x32 ABI redzone */ - sp = this_cpu_read(old_rsp) - 128; + sp = task_pt_regs(current)->sp - 128; } return (void __user *)round_down(sp - len, 16);