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] [day] [month] [year] [list]
Message-ID: <2023061402-resilient-chafe-3a24@gregkh>
Date:   Wed, 14 Jun 2023 18:28:42 +0200
From:   Greg KH <gregkh@...uxfoundation.org>
To:     Chenyuan Mi <cymi20@...an.edu.cn>
Cc:     ilpo.jarvinen@...ux.intel.com, andriy.shevchenko@...ux.intel.com,
        jirislaby@...nel.org, linux-serial@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] serial: 8250_lpss: Fix missing check for return value of
 pci_get_slot()

On Wed, Jun 14, 2023 at 08:32:26AM -0700, Chenyuan Mi wrote:
> The pci_get_slot() function may return NULL, which may
> cause null pointer deference, and most other callsites of
> pci_get_slot() do Null check. Add Null check for return
> value of pci_get_slot().
> 
> Found by our static analysis tool.

Please read Documentation/process/researcher-guidelines.rst for how to
do this properly.  Until then, we obviously can not take these types of
patches.

greg k-h

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ