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: <20210530141623.33d2d00d@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net>
Date:   Sun, 30 May 2021 14:16:23 -0700
From:   Jakub Kicinski <kuba@...nel.org>
To:     Sriranjani P <sriranjani.p@...sung.com>
Cc:     netdev@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
        linux-kernel@...r.kernel.org, peppe.cavallaro@...com,
        alexandre.torgue@...s.st.com, joabreu@...opsys.com,
        davem@...emloft.net, mcoquelin.stm32@...il.com,
        linux@...linux.org.uk, boon.leong.ong@...el.com,
        Pankaj Dubey <pankaj.dubey@...sung.com>
Subject: Re: [PATCH] net: stmmac: fix kernel panic due to NULL pointer
 dereference of mdio_bus_data

On Fri, 28 May 2021 12:40:56 +0530 Sriranjani P wrote:
> Fixed link does not need mdio bus and in that case mdio_bus_data will
> not be allocated. Before using mdio_bus_data we should check for NULL.
> 
> This patch fix the kernel panic due to NULL pointer dereference of
> mdio_bus_data when it is not allocated.
> 
> Without this patch we do see following kernel crash caused due to kernel
> NULL pointer dereference.

Applied, thanks.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ