lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed, 26 Jun 2019 10:59:11 -0400
From:   Steven Rostedt <>
To:     Thomas Gleixner <>
Cc:     Petr Mladek <>, Miroslav Benes <>,
        Josh Poimboeuf <>,
        Jessica Yu <>, Jiri Kosina <>,
        Joe Lawrence <>,,,
        Johannes Erdfelt <>,
        Ingo Molnar <>,,
Subject: Re: [PATCH 1/3] module: Fix livepatch/ftrace module text
 permissions race

On Wed, 26 Jun 2019 16:44:45 +0200 (CEST)
Thomas Gleixner <> wrote:

> > 
> > It should be enough to fix the original problem because
> > x86 is the only architecture that calls set_all_modules_text_rw()
> > in ftrace path and supports livepatching at the same time.  
> Looks correct, but I've paged out all the gory details vs. lock ordering in
> that area.

I don't believe ftrace_lock and text_mutex had an order before Petr's
initial patches. Reversing them shouldn't be an issue here. They were
basically both "leaf" mutexes (not grabbing any mutexes when they are

-- Steve

Powered by blists - more mailing lists