linux-uconsole/drivers/net/usb
Eric Dumazet 77b07bbf47 net: usb: lan78xx: fix possible skb leak
[ Upstream commit 47240ba0cd ]

If skb_linearize() fails, we need to free the skb.

TSO makes skb bigger, and this bug might be the reason
Raspberry Pi 3B+ users had to disable TSO.

Fixes: 55d7de9de6 ("Microchip's LAN7800 family USB 2/3 to 10/100/1000 Ethernet device driver")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: RENARD Pierre-Francois <pfrenard@gmail.com>
Cc: Stefan Wahren <stefan.wahren@i2se.com>
Cc: Woojung Huh <woojung.huh@microchip.com>
Cc: Microchip Linux Driver Support <UNGLinuxDriver@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-12 12:17:26 +01:00
..
asix.h
asix_common.c
asix_devices.c net: usb: asix: init MAC address buffers 2019-07-26 09:14:15 +02:00
ax88172a.c ax88172a: fix information leak on short answers 2019-11-20 18:45:11 +01:00
ax88179_178a.c
catc.c
cdc-phonet.c
cdc_eem.c
cdc_ether.c r8152: add device id for Lenovo ThinkPad USB-C Dock Gen 2 2019-11-10 11:27:54 +01:00
cdc_mbim.c
cdc_ncm.c net: cdc_ncm: Signedness bug in cdc_ncm_set_dgram_size() 2019-11-24 08:19:10 +01:00
cdc_subset.c
ch9200.c
cx82310_eth.c cx82310_eth: fix a memory leak bug 2019-09-10 10:33:47 +01:00
dm9601.c
gl620a.c
hso.c hso: fix NULL-deref on tty open 2019-10-07 18:57:20 +02:00
huawei_cdc_ncm.c
int51x1.c
ipheth.c usbnet: ipheth: fix racing condition 2019-06-19 08:18:04 +02:00
kalmia.c net: kalmia: fix memory leaks 2019-09-10 10:33:48 +01:00
kaweth.c
Kconfig
lan78xx.c net: usb: lan78xx: fix possible skb leak 2020-01-12 12:17:26 +01:00
lan78xx.h
lg-vl600.c
Makefile
mcs7830.c
net1080.c
pegasus.c net: usb: pegasus: fix improper read if get_registers() fail 2019-08-25 10:47:50 +02:00
pegasus.h
plusb.c
qmi_wwan.c net: usb: qmi_wwan: add support for Foxconn T77W968 LTE modules 2019-11-20 18:45:12 +01:00
r8152.c r8152: add device id for Lenovo ThinkPad USB-C Dock Gen 2 2019-11-10 11:27:54 +01:00
rndis_host.c
rtl8150.c
sierra_net.c
smsc75xx.c
smsc75xx.h
smsc95xx.c usbnet: smsc95xx: fix rx packet alignment 2019-02-12 19:47:00 +01:00
smsc95xx.h
sr9700.c
sr9700.h
sr9800.c net: usb: sr9800: fix uninitialized local variable 2019-11-06 13:06:26 +01:00
sr9800.h
usbnet.c usbnet: sanity checking of packet sizes and device mtu 2019-10-05 13:09:30 +02:00
zaurus.c