Re: [tip:x86/pti] x86/asm: Pad assembly functions with INT3 instructions

From: Borislav Petkov
Date: Sun Jun 17 2018 - 15:51:35 EST


On Sun, Jun 17, 2018 at 04:02:58PM +0200, Mike Galbraith wrote:
> (/me does that.. all better)
>
> From 6ac281ee69f4cb5b581d5f49662fb56b6326155a Mon Sep 17 00:00:00 2001
> From: Borislav Petkov <bp@xxxxxxx>
> Date: Sun, 17 Jun 2018 13:57:42 +0200
> Subject: [PATCH] x86/crypto: Add a missing RET
>
> crypto_aegis128_aesni_enc_tail() needs to return too.
>
> Signed-off-by: Borislav Petkov <bp@xxxxxxx>

[ Mike: took care of the other tail calls. ]
Signed-off-by: Mike Galbraith <efault@xxxxxx>

> ---
> arch/x86/crypto/aegis128-aesni-asm.S | 1 +
> arch/x86/crypto/aegis128l-aesni-asm.S | 1 +
> arch/x86/crypto/aegis256-aesni-asm.S | 1 +
> arch/x86/crypto/morus1280-avx2-asm.S | 1 +
> arch/x86/crypto/morus1280-sse2-asm.S | 1 +
> arch/x86/crypto/morus640-sse2-asm.S | 1 +
> 6 files changed, 6 insertions(+)

...

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.