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  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:   Sun, 5 Jul 2020 14:05:02 -0600
From:   Jonathan Corbet <>
To:     Kees Cook <>
Cc:     Linus Torvalds <>,
        Dominik Czarnota <>,,
Subject: Re: [PATCH] Documentation: Clarify f_cred vs current_cred() use

On Fri, 3 Jul 2020 10:44:22 -0700
Kees Cook <> wrote:

> When making access control choices from a file-based context, f_cred
> must be used instead of current_cred() to avoid confused deputy attacks
> where an open file may get passed to a more privileged process. Add a
> short paragraph to explicitly state the rationale.
> Cc: Jonathan Corbet <>
> Cc:
> Signed-off-by: Kees Cook <>
> ---
> I forgot to include this patch in my kallsyms_show_value() f_cred series:
> I can either take this in that series, or it can go via docs?
> ---
>  Documentation/security/credentials.rst | 4 ++++
>  1 file changed, 4 insertions(+)

I've applied it, thanks.


Powered by blists - more mailing lists