Re: [WARNING] x86/mm: Found insecure W+X mapping at address ..
From: Thomas Gleixner
Date: Wed May 24 2017 - 02:20:15 EST
On Tue, 23 May 2017, Steven Rostedt wrote:
> On Tue, 23 May 2017 22:48:19 +0200 (CEST)
> Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>
>
> > It's not KPROBES, it's the new fangled ftrace trampoline code. I
> > added a few printks. All the leaked W+X mappings are allocated via
> > this callchain:
>
> The trampoline code isn't new. But it has new users because of the
> introduction to synchronize_rcu_tasks(), and there was a bug I fixed in
> -rc2 that moved it down because the test was run before
> synchronize_rcu_tasks() was functional.
>
> Is this still a bug in rc2?
Yes. Otherwise we wouldn't talking about.
Thanks,
tglx