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: <2023110809-headache-heaving-3472@gregkh>
Date:   Wed, 8 Nov 2023 08:54:04 +0100
From:   "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>
To:     柳菁峰 <liujingfeng@...nxin.com>
Cc:     Marco Elver <elver@...gle.com>,
        "rafael@...nel.org" <rafael@...nel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "security@...nel.org" <security@...nel.org>,
        "syzkaller@...glegroups.com" <syzkaller@...glegroups.com>
Subject: Re: Reply: A null-ptr crash in linux-6.4 usb driver

On Wed, Nov 08, 2023 at 07:40:08AM +0000, 柳菁峰 wrote:
> I have made a patch that simply checks for null pointer, but I am not sure if this will affect certain functions or logic. I hope you can check it carefully.
> 
> 1006c1006
> <       if (dev->p->dead) {
> ---
> >       if (!dev->p||dev->p->dead) {

Can you take a look at the file,
Documentation/process/submitting-patches.rst for how to properly
generate a patch?  This does not give us any context to even know what
file you are changing.

Also, we have no context at all to even know what this is about at all,
what is this for?

confused,

greg k-h

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ