Re: [PATCH] watchdog: pcwd_usb: fix NULL-deref at probe

From: Guenter Roeck
Date: Mon Apr 03 2017 - 10:05:58 EST


On 04/03/2017 01:36 AM, Johan Hovold wrote:
On Mon, Mar 13, 2017 at 10:16:33AM -0700, Guenter Roeck wrote:
On Mon, Mar 13, 2017 at 01:49:45PM +0100, Johan Hovold wrote:
Make sure to check the number of endpoints to avoid dereferencing a
NULL-pointer should a malicious device lack endpoints.

Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Cc: stable <stable@xxxxxxxxxxxxxxx>
Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>

Reviewed-by: Guenter Roeck <linux@xxxxxxxxxxxx>

Any progress on this one? I noticed you merged it to both the fixes and
next branches in your staging tree, Guenter (but it does not show up in
linux-next). Will you be sending it on to Linus?


Hi Johan,

my watchdog staging trees are inofficial and not in linux-next.
Wim is working on setting up a new server which will provide the
official staging tree.

I asked Wim to push the pending patches. I'll do it if he asks me.

Thanks,
Guenter