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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Yr1QhjNGVJ7oPpRX@kroah.com>
Date:   Thu, 30 Jun 2022 09:28:06 +0200
From:   Greg KH <gregkh@...uxfoundation.org>
To:     zys.zljxml@...il.com
Cc:     tj@...nel.org, viro@...iv.linux.org.uk,
        linux-kernel@...r.kernel.org, katrinzhou <katrinzhou@...cent.com>
Subject: Re: [PATCH] kernfs: fix potential NULL dereference in __kernfs_remove

On Thu, Jun 30, 2022 at 12:00:47PM +0800, zys.zljxml@...il.com wrote:
> From: katrinzhou <katrinzhou@...cent.com>
> 
> When lockdep is enabled, lockdep_assert_held_write would
> cause potential NULL pointer dereference.
> 
> Fix the folloeing smatch warnings:
> 
> fs/kernfs/dir.c:1353 __kernfs_remove() warn: variable dereferenced before check 'kn' (see line 1346)
> 
> Signed-off-by: katrinzhou <katrinzhou@...cent.com>

Can you please submit this with your legal name that you use to sign
documents?

Also, what commit id does this fix?  Did you actually hit this with a
real workload?  How can this be reproduced and tested?

thanks,

greg k-h

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ