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: <YfPLVyo+4qvHASZm@kroah.com>
Date:   Fri, 28 Jan 2022 11:54:15 +0100
From:   Greg KH <gregkh@...uxfoundation.org>
To:     Kalle Valo <kvalo@...nel.org>
Cc:     Zhou Qingyang <zhou1615@....edu>, kjlu@....edu,
        Arend van Spriel <aspriel@...il.com>,
        Franky Lin <franky.lin@...adcom.com>,
        Hante Meuleman <hante.meuleman@...adcom.com>,
        Chi-hsien Lin <chi-hsien.lin@...ineon.com>,
        Wright Feng <wright.feng@...ineon.com>,
        Chung-hsien Hsu <chung-hsien.hsu@...ineon.com>,
        "David S. Miller" <davem@...emloft.net>,
        Jakub Kicinski <kuba@...nel.org>,
        Pieter-Paul Giesberts <pieter-paul.giesberts@...adcom.com>,
        Angus Ainslie <angus@...ea.ca>,
        "Daniel (Deognyoun) Kim" <dekim@...adcom.com>,
        "John W. Linville" <linville@...driver.com>,
        linux-wireless@...r.kernel.org,
        brcm80211-dev-list.pdl@...adcom.com,
        SHA-cyfmac-dev-list@...ineon.com, netdev@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] brcmfmac: Fix a wild pointer dereference bug in
 brcmf_chip_recognition()

On Fri, Jan 28, 2022 at 12:31:44PM +0200, Kalle Valo wrote:
> Greg KH <greg@...ah.com> writes:
> 
> > On Tue, Jan 25, 2022 at 12:48:45AM +0800, Zhou Qingyang wrote:
> >> In brcmf_chip_recognition(), the return value of brcmf_chip_add_core()
> >> is assigned to core and is passed to brcmf_chip_sb_corerev(). In
> >> brcmf_chip_sb_corerev(), there exists dereference of core without check.
> >> the return value of brcmf_chip_add_core() could be ERR_PTR on failure of
> >> allocation, which could lead to a NULL pointer dereference bug.
> >> 
> >> Fix this bug by adding IS_ERR check for every variable core.
> >> 
> >> This bug was found by a static analyzer.
> >> 
> >> Builds with 'make allyesconfig' show no new warnings,
> >> and our static analyzer no longer warns about this code
> >> 
> >> Fixes: cb7cf7be9eba ("brcmfmac: make chip related functions host
> >> interface independent")
> >> Signed-off-by: Zhou Qingyang <zhou1615@....edu>
> >> ---
> >> The analysis employs differential checking to identify inconsistent 
> >> security operations (e.g., checks or kfrees) between two code paths 
> >> and confirms that the inconsistent operations are not recovered in the
> >> current function or the callers, so they constitute bugs. 
> >> 
> >> Note that, as a bug found by static analysis, it can be a false
> >> positive or hard to trigger. Multiple researchers have cross-reviewed
> >> the bug.
> >
> > As stated before, umn.edu is still not allowed to contribute to the
> > Linux kernel.  Please work with your administration to resolve this
> > issue.
> 
> Thanks Greg, I didn't notice that this is from umn.edu. After seeing
> what kind of "research" umn.edu does I will not even look at umn.edu
> patches, they all will be automatically rejected without comments.

Thank you.  We could just block their emails from the mailing lists, but
then that would not let us see when they send a patch and cc: the
relevant maintainers, so we have to live with this way for now.

I'll be contacting the umn.edu administration again and ask them what
went wrong here.

greg k-h

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ