lists.openwall.net   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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200427173134.GC3936841@kroah.com>
Date:   Mon, 27 Apr 2020 19:31:34 +0200
From:   Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To:     youngjun <her0gyugyu@...il.com>
Cc:     Tejun Heo <tj@...nel.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] kernfs: fix possibility of NULL pointer dereference.

On Mon, Apr 27, 2020 at 09:48:36AM -0700, youngjun wrote:
> When dentry is negative, "kernfs_dentry_node" returns NULL.
> In this case, "kernfs_root" dereferences NULL pointer.
> 
> Signed-off-by: youngjun <her0gyugyu@...il.com>
> ---
>  fs/kernfs/dir.c | 18 ++++++++++--------
>  1 file changed, 10 insertions(+), 8 deletions(-)

And how can this be triggered on a kernfs filesystem?

thanks,

greg k-h

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ