linux/drivers/net/usb
Himadri Pandya a092b7233f net: usb: Fix uninit-was-stored issue in asix_read_phy_addr()
The buffer size is 2 Bytes and we expect to receive the same amount of
data. But sometimes we receive less data and run into uninit-was-stored
issue upon read. Hence modify the error check on the return value to match
with the buffer size as a prevention.

Reported-and-tested by: syzbot+a7e220df5a81d1ab400e@syzkaller.appspotmail.com
Signed-off-by: Himadri Pandya <himadrispandya@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-08-27 07:37:19 -07:00
..
aqc111.c
aqc111.h
asix.h
asix_common.c net: usb: Fix uninit-was-stored issue in asix_read_phy_addr() 2020-08-27 07:37:19 -07:00
asix_devices.c
ax88172a.c ax88172a: fix ax88172a_unbind() failures 2020-07-15 18:26:29 -07:00
ax88179_178a.c net: usb: ax88179_178a: fix packet alignment padding 2020-06-17 14:58:11 -07:00
catc.c
cdc-phonet.c
cdc_eem.c
cdc_ether.c net: cdc_ether: export usbnet_cdc_update_filter 2020-07-17 12:42:47 -07:00
cdc_mbim.c
cdc_ncm.c net: cdc_ncm: hook into set_rx_mode to admit multicast traffic 2020-07-17 12:42:47 -07:00
cdc_subset.c
ch9200.c
cx82310_eth.c
dm9601.c net: usbnet: support 64bit stats 2017-04-03 19:09:40 -07:00
gl620a.c
hso.c usb: hso: remove bogus check for EINPROGRESS 2020-08-05 17:43:39 -07:00
huawei_cdc_ncm.c net: huawei_cdc_ncm: remove redundant assignment to variable ret 2020-05-10 11:13:07 -07:00
int51x1.c
ipheth.c usbnet: ipheth: fix ipheth_tx()'s return type 2020-06-28 20:52:53 -07:00
kalmia.c
kaweth.c
Kconfig net: cdc_ncm: Fix build error 2020-08-26 07:29:40 -07:00
lan78xx.c net: lan78xx: replace bogus endpoint lookup 2020-07-28 13:35:44 -07:00
lan78xx.h
lg-vl600.c
Makefile
mcs7830.c
net1080.c
pegasus.c pegasus: Remove pegasus' own workqueue 2020-04-02 17:58:25 -07:00
pegasus.h
plusb.c
qmi_wwan.c net: usb: qmi_wwan: add support for Quectel EG95 LTE modem 2020-07-07 12:58:03 -07:00
r8152.c r8152: Use MAC address from correct device tree node 2020-08-07 17:13:52 -07:00
rndis_host.c
rtl8150.c
sierra_net.c net: sierra_net: Remove unused inline function 2020-05-05 12:07:43 -07:00
smsc75xx.c
smsc75xx.h
smsc95xx.c smsc95xx: avoid memory leak in smsc95xx_bind 2020-07-06 12:22:24 -07:00
smsc95xx.h
sr9700.c
sr9700.h
sr9800.c
sr9800.h
usbnet.c net: usbnet: export usbnet_set_rx_mode() 2020-07-17 12:42:47 -07:00
zaurus.c