[1/3] powerpc/eeh: Null check uses of eeh_pe_bus_get

Michael Ellerman patch-notifications at ellerman.id.au
Sun Sep 25 13:00:07 AEST 2016


On Mon, 2016-12-09 at 04:17:22 UTC, Russell Currey wrote:
> eeh_pe_bus_get() can return NULL if a PCI bus isn't found for a given PE.
> Some callers don't check this, and can cause a null pointer dereference
> under certain circumstances.
> 
> Fix this by checking NULL everywhere eeh_pe_bus_get() is called.
> 
> Fixes: 8a6b1bc70dbb ("powerpc/eeh: EEH core to handle special event")
> Cc: stable at vger.kernel.org # v3.11+
> Signed-off-by: Russell Currey <ruscur at russell.cc>
> Reviewed-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>

Series applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/04fec21c06e35b169a83e75a84

cheers


More information about the Linuxppc-dev mailing list