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  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 30 Sep 2021 10:40:11 +0200
From:   Peter Zijlstra <>
To:     Josh Poimboeuf <>
Cc:     Kees Cook <>,
        kernel test robot <>,
        Vito Caputo <>,
        Jann Horn <>, Ingo Molnar <>,
        Juri Lelli <>,
        Vincent Guittot <>,
        Dietmar Eggemann <>,
        Steven Rostedt <>,
        Ben Segall <>, Mel Gorman <>,
        Daniel Bristot de Oliveira <>,
        Andrew Morton <>,
        Christian Brauner <>,
        Anand K Mistry <>,
        "" <>,
        Alexey Gladkov <>,
        Michael WeiƟ 
        Michal Hocko <>, Helge Deller <>,
        Qi Zheng <>,
        "Tobin C. Harding" <>,
        Tycho Andersen <>,
        Thomas Gleixner <>,
        Borislav Petkov <>,
        "H. Peter Anvin" <>,
        Mark Rutland <>,
        Jens Axboe <>,
        Stefan Metzmacher <>,
        Lai Jiangshan <>,
        Andy Lutomirski <>,
        Dave Hansen <>,
        "Eric W. Biederman" <>,
        Ohhoon Kwon <>,
        Kalesh Singh <>,
        YiFei Zhu <>,,,,
Subject: Re: [PATCH v2 0/6] wchan: Fix ORC support and leaky fallback

On Wed, Sep 29, 2021 at 06:01:57PM -0700, Josh Poimboeuf wrote:

> - Should we use a similar sched wrapper for /proc/$pid/stack to make its
>   raciness go away?

Alternatively, can we make /stack go away? AFAICT the semantics of that
are far worse in that it wants the actual kernel stack of a task,
blocked or not, which is a total pain in the arse (not to mention a
giant infoleak and side-channel).

> - At the risk of triggering a much larger patch set, I suspect
>   get_wchan() can be made generic ;-)  It's just a glorified wrapper
>   around stack_trace_save_tsk().

Done that for you :-)

Powered by blists - more mailing lists