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] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 11 Jun 2021 15:13:37 +0200
From:   Miklos Szeredi <>
To:     Ian Kent <>
Cc:     Greg Kroah-Hartman <>,
        Tejun Heo <>, Eric Sandeen <>,
        Fox Chen <>,
        Brice Goglin <>,
        Al Viro <>,
        Rick Lindsley <>,
        David Howells <>,
        Marcelo Tosatti <>,
        "Eric W. Biederman" <>,
        Carlos Maiolino <>,
        linux-fsdevel <>,
        Kernel Mailing List <>
Subject: Re: [PATCH v6 6/7] kernfs: add kernfs_need_inode_refresh()

On Wed, 9 Jun 2021 at 10:52, Ian Kent <> wrote:
> Now the kernfs_rwsem read lock is held for kernfs_refresh_inode() and
> the i_lock taken to protect inode updates there can be some contention
> introduced when .permission() is called with concurrent path walks in
> progress.
> Since .permission() is called frequently during path walks it's worth
> checking if the update is actually needed before taking the lock and
> performing the update.
> Signed-off-by: Ian Kent <>

Reviewed-by: Miklos Szeredi <>

Powered by blists - more mailing lists