linux_dsm_epyc7002/drivers/net/usb
Johan Hovold 86f3f4cd53 r8152: add missing endpoint sanity check
Add missing endpoint sanity check to probe in order to prevent a
NULL-pointer dereference (or slab out-of-bounds access) when retrieving
the interrupt-endpoint bInterval on ndo_open() in case a device lacks
the expected endpoints.

Fixes: 40a82917b1 ("net/usb/r8152: enable interrupt transfer")
Cc: hayeswang <hayeswang@realtek.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-01-14 18:43:21 -08:00
..
aqc111.c
aqc111.h net: usb: aqc111: Use the correct style for SPDX License Identifier 2019-11-27 11:27:01 -08:00
asix_common.c
asix_devices.c
asix.h
ax88172a.c ax88172a: fix information leak on short answers 2019-11-15 12:18:45 -08:00
ax88179_178a.c ax88179_178a: add ethtool_op_get_ts_info() 2019-11-24 18:40:54 -08:00
catc.c
cdc_eem.c
cdc_ether.c r8152: Add macpassthru support for ThinkPad Thunderbolt 3 Dock Gen 2 2019-11-05 18:30:30 -08:00
cdc_mbim.c
cdc_ncm.c net: cdc_ncm: Signedness bug in cdc_ncm_set_dgram_size() 2019-11-13 14:30:16 -08:00
cdc_subset.c
cdc-phonet.c
ch9200.c
cx82310_eth.c cx82310_eth: fix a memory leak bug 2019-08-18 13:01:54 -07:00
dm9601.c
gl620a.c
hso.c net: hso: Fix -Wcast-function-type 2019-11-26 14:03:58 -08:00
huawei_cdc_ncm.c
int51x1.c
ipheth.c
kalmia.c net: kalmia: fix memory leaks 2019-08-18 13:03:21 -07:00
kaweth.c
Kconfig
lan78xx.c net: usb: lan78xx: limit size of local TSO packets 2020-01-14 11:04:42 -08:00
lan78xx.h
lg-vl600.c net: usb: Delete unnecessary checks before the macro call “dev_kfree_skb” 2019-08-22 16:22:03 -07:00
Makefile
mcs7830.c
net1080.c
pegasus.c
pegasus.h
plusb.c
qmi_wwan.c qmi_wwan: Add support for Quectel RM500Q 2020-01-13 18:43:39 -08:00
r8152.c r8152: add missing endpoint sanity check 2020-01-14 18:43:21 -08:00
rndis_host.c
rtl8150.c net: usb: Delete unnecessary checks before the macro call “dev_kfree_skb” 2019-08-22 16:22:03 -07:00
sierra_net.c treewide: Use sizeof_field() macro 2019-12-09 10:36:44 -08:00
smsc75xx.c
smsc75xx.h
smsc95xx.c
smsc95xx.h
sr9700.c
sr9700.h
sr9800.c net: usb: sr9800: fix uninitialized local variable 2019-10-15 21:02:12 -07:00
sr9800.h
usbnet.c treewide: Use sizeof_field() macro 2019-12-09 10:36:44 -08:00
zaurus.c