Re: [PATCH] PCI: Prevent NULL dereference during pciehp probe

2014-09-23 Thread Guenter Roeck
On Tue, Sep 23, 2014 at 04:04:42PM -0600, Bjorn Helgaas wrote: > On Tue, Sep 23, 2014 at 3:55 PM, Guenter Roeck wrote: > > On Mon, Sep 15, 2014 at 10:20:41PM +, Rajat Jain wrote: > >> Hello Bjorn, > >> > >> I think this patch needs to be applied to all -stable branches (all the > >> way back

Re: [PATCH] PCI: Prevent NULL dereference during pciehp probe

2014-09-23 Thread Bjorn Helgaas
On Tue, Sep 23, 2014 at 3:55 PM, Guenter Roeck wrote: > On Mon, Sep 15, 2014 at 10:20:41PM +, Rajat Jain wrote: >> Hello Bjorn, >> >> I think this patch needs to be applied to all -stable branches (all the way >> back to 3.2). >> >> I encounter this same issue on my platform that is running 3

Re: [PATCH] PCI: Prevent NULL dereference during pciehp probe

2014-09-23 Thread Guenter Roeck
On Mon, Sep 15, 2014 at 10:20:41PM +, Rajat Jain wrote: > Hello Bjorn, > > I think this patch needs to be applied to all -stable branches (all the way > back to 3.2). > > I encounter this same issue on my platform that is running 3.14.y. > Bjorn, can you send this to -stable, or is it ok

Re: [PATCH] PCI: Prevent NULL dereference during pciehp probe

2014-09-16 Thread Bjorn Helgaas
On Mon, Jun 09, 2014 at 11:03:32PM +0200, Andreas Noever wrote: > pciehp assumes that dev->subordinate exists. But we do not assign a bus > if we run out of bus numbers during enumeration. This leads to a NULL > dereference in init_slot (and other places). > > Change pciehp_probe to return -ENODEV

RE: [PATCH] PCI: Prevent NULL dereference during pciehp probe

2014-09-15 Thread Rajat Jain
Hello Bjorn, I think this patch needs to be applied to all -stable branches (all the way back to 3.2). I encounter this same issue on my platform that is running 3.14.y. Thanks, Rajat > -Original Message- > From: linux-pci-ow...@vger.kernel.org [mailto:linux-pci- > ow...@vger.kernel.