Thread (6 messages) 6 messages, 3 authors, 2017-04-05

Re: [2/2] zd1211rw: fix NULL-deref at probe

From: Johan Hovold <johan@kernel.org>
Date: 2017-03-22 12:48:48
Also in: linux-wireless, lkml

On Wed, Mar 22, 2017 at 09:04:15AM +0000, Kalle Valo wrote:
Johan Hovold [off-list ref] wrote:
quoted
Make sure to check the number of endpoints to avoid dereferencing a
NULL-pointer or accessing memory beyond the endpoint array should a
malicious device lack the expected endpoints.

Fixes: a1030e92c150 ("[PATCH] zd1211rw: Convert installer CDROM device into WLAN device")
Cc: Daniel Drake <redacted>
Signed-off-by: Johan Hovold <johan@kernel.org>
Patch applied to wireless-drivers-next.git, thanks.

ca260ece6a57 zd1211rw: fix NULL-deref at probe
What about patch 1/2 which fixes the same bug (literally copied from the
zd1211rw driver)?

And as these fixes should be backported to stable (I left out the tag
for networking drivers), why only apply to -next?

Thanks,
Johan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help