On Tue, Jan 09, 2018 at 05:03:23PM -0800, Andi Kleen wrote:
> From: Andi Kleen
>
> We clear all the non argument registers for 64bit SYSCALLs
> to minimize any risk of bad speculation using user values.
>
> So far unused argument registers still leak. To be addressed
> in
On Tue, Jan 09, 2018 at 05:03:23PM -0800, Andi Kleen wrote:
> From: Andi Kleen
>
> We clear all the non argument registers for 64bit SYSCALLs
> to minimize any risk of bad speculation using user values.
>
> So far unused argument registers still leak. To be addressed
> in future patches.
>
>
On Wed, Jan 10, 2018 at 10:35:58PM -0500, Brian Gerst wrote:
> > @@ -263,6 +271,7 @@ entry_SYSCALL_64_fastpath:
> > #endif
> > ja 1f /* return -ENOSYS (already
> > in pt_regs->ax) */
> > movq%r10, %rcx
> > + xor %r10, %r10
>
> RCX
On Wed, Jan 10, 2018 at 10:35:58PM -0500, Brian Gerst wrote:
> > @@ -263,6 +271,7 @@ entry_SYSCALL_64_fastpath:
> > #endif
> > ja 1f /* return -ENOSYS (already
> > in pt_regs->ax) */
> > movq%r10, %rcx
> > + xor %r10, %r10
>
> RCX
On Tue, Jan 9, 2018 at 8:03 PM, Andi Kleen wrote:
> From: Andi Kleen
>
> We clear all the non argument registers for 64bit SYSCALLs
> to minimize any risk of bad speculation using user values.
>
> So far unused argument registers still leak. To be
On Tue, Jan 9, 2018 at 8:03 PM, Andi Kleen wrote:
> From: Andi Kleen
>
> We clear all the non argument registers for 64bit SYSCALLs
> to minimize any risk of bad speculation using user values.
>
> So far unused argument registers still leak. To be addressed
> in future patches.
>
>
From: Andi Kleen
We clear all the non argument registers for 64bit SYSCALLs
to minimize any risk of bad speculation using user values.
So far unused argument registers still leak. To be addressed
in future patches.
Signed-off-by: Andi Kleen
---
From: Andi Kleen
We clear all the non argument registers for 64bit SYSCALLs
to minimize any risk of bad speculation using user values.
So far unused argument registers still leak. To be addressed
in future patches.
Signed-off-by: Andi Kleen
---
arch/x86/entry/entry_64.S | 9 +
1 file
8 matches
Mail list logo