Re: [PATCH] isa: Prevent NULL dereference in isa_bus driver callbacks

From: Greg Kroah-Hartman
Date: Wed Nov 08 2017 - 13:12:14 EST


On Wed, Nov 08, 2017 at 09:11:22AM -0800, Linus Torvalds wrote:
> On Wed, Nov 8, 2017 at 7:23 AM, William Breathitt Gray
> <vilhelm.gray@xxxxxxxxx> wrote:
> >
> > This patch fixes a possible NULL pointer dereference if one of the
> > isa_driver callbacks to attempted for an unsupported device. This error
> > should not occur in practice since ISA devices are typically manually
> > configured and loaded by the users, but we may as well prevent this
> > error from popping up for the 0day testers.
>
> Thanks. Acked-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
>
> And it doesn't seem critical enough for me to take directly this late
> in the 4.14 game, so I guess I'll get it from the usual channels.

I'll queue it up, given that this has been a problem for 10+ years :)

thanks,

greg k-h