Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 5 Nov 2019 09:04:26 +0000
From: Mark Rutland <>
To: Sami Tolvanen <>
Cc: Will Deacon <>,
	Catalin Marinas <>,
	Steven Rostedt <>,
	Masami Hiramatsu <>,
	Ard Biesheuvel <>,
	Dave Martin <>,
	Kees Cook <>,
	Laura Abbott <>, Marc Zyngier <>,
	Nick Desaulniers <>,
	Jann Horn <>,
	Miguel Ojeda <>,
	Masahiro Yamada <>,
	clang-built-linux <>,
	Kernel Hardening <>,
	linux-arm-kernel <>,
	LKML <>
Subject: Re: [PATCH v4 10/17] arm64: disable kretprobes with SCS

On Mon, Nov 04, 2019 at 03:42:09PM -0800, Sami Tolvanen wrote:
> On Mon, Nov 4, 2019 at 9:05 AM Mark Rutland <> wrote:
> > I'm a bit confused as to why that's the case -- could you please
> > elaborate on how this is incompatible?
> >
> > IIUC kretrobes works by patching the function entry point with a BRK, so
> > that it can modify the LR _before_ it is saved to the stack. I don't see
> > how SCS affects that.
> You're correct. While this may not be optimal for reducing attack
> surface, I just tested this to confirm that there's no functional
> conflict. I'll drop this and related patches from v5.

Great; thanks for confirming!


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.