linux/drivers/staging/wlan-ng
Rustam Kovhaev fea22e159d staging: wlan-ng: fix out of bounds read in prism2sta_probe_usb()
let's use usb_find_common_endpoints() to discover endpoints, it does all
necessary checks for type and xfer direction

remove memset() in hfa384x_create(), because we now assign endpoints in
prism2sta_probe_usb() and because create_wlan() uses kzalloc() to
allocate hfa384x struct before calling hfa384x_create()

Fixes: faaff97656 ("staging: wlan-ng: properly check endpoint types")
Reported-and-tested-by: syzbot+22794221ab96b0bab53a@syzkaller.appspotmail.com
Link: https://syzkaller.appspot.com/bug?extid=22794221ab96b0bab53a
Signed-off-by: Rustam Kovhaev <rkovhaev@gmail.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200804145614.104320-1-rkovhaev@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-08-18 16:12:54 +02:00
..
cfg80211.c staging: wlan-ng: Fix alignment to match open parenthesis 2020-07-21 16:52:47 +02:00
hfa384x_usb.c staging: wlan-ng: fix out of bounds read in prism2sta_probe_usb() 2020-08-18 16:12:54 +02:00
hfa384x.h staging: Replace zero-length array with flexible-array member 2020-02-23 19:18:54 +01:00
Kconfig staging/wlan-ng: add CRC32 dependency in Kconfig 2019-12-10 10:56:54 +01:00
Makefile
p80211conv.c
p80211conv.h
p80211hdr.h
p80211ioctl.h
p80211metadef.h
p80211metastruct.h
p80211mgmt.h
p80211msg.h
p80211netdev.c mm, treewide: rename kzfree() to kfree_sensitive() 2020-08-07 11:33:22 -07:00
p80211netdev.h
p80211req.c
p80211req.h
p80211types.h staging: Replace zero-length array with flexible-array member 2020-02-23 19:18:54 +01:00
p80211wep.c staging: wlan-ng: p80211wep.c: use lib/crc32 2019-10-07 12:32:43 +02:00
prism2fw.c staging: wlan-ng: prism2fw.c: Fix "Possible unnecessary 'out of memory' message" checkpatch.pl warning" 2019-01-07 08:56:07 +01:00
prism2mgmt.c staging: wlan-ng: ensure error return is actually returned 2020-01-15 13:11:41 +01:00
prism2mgmt.h
prism2mib.c staging: wlan-ng: Remove function prism2mib_excludeunencrypted() 2019-08-02 13:55:38 +02:00
prism2sta.c staging: wlan-ng: use "%*pE" for serial number 2019-07-22 07:34:12 +02:00
prism2usb.c staging: wlan-ng: fix out of bounds read in prism2sta_probe_usb() 2020-08-18 16:12:54 +02:00
README

TODO:
	- checkpatch.pl cleanups
	- sparse warnings
	- move to use the in-kernel wireless stack

Please send any patches or complaints about this driver to Greg
Kroah-Hartman <greg@kroah.com> and don't bother the upstream wireless
kernel developers about it, they want nothing to do with it.