linux/drivers/net
Peter S. Housel 44656b9390 brcmfmac: Fix glom_skb leak in brcmf_sdiod_recv_chain
[ Upstream commit 5ea59db8a3 ]

An earlier change to this function (3bdae81072) fixed a leak in the
case of an unsuccessful call to brcmf_sdiod_buffrw(). However, the
glom_skb buffer, used for emulating a scattering read, is never used
or referenced after its contents are copied into the destination
buffers, and therefore always needs to be freed by the end of the
function.

Fixes: 3bdae81072 ("brcmfmac: Fix glob_skb leak in brcmf_sdiod_recv_chain")
Fixes: a413e39a38 ("brcmfmac: fix brcmf_sdcard_recv_chain() for host without sg support")
Cc: stable@vger.kernel.org # 4.9.x-
Signed-off-by: Peter S. Housel <housel@acm.org>
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2018-11-10 07:41:38 -08:00
..
appletalk net/appletalk: fix minor pointer leak to userspace in SIOCFINDIPDDPRT 2018-09-29 03:08:52 -07:00
arcnet
bonding bonding: avoid possible dead-lock 2018-10-20 09:52:36 +02:00
caif
can can: mpc5xxx_can: check of_iomap return before use 2018-09-05 09:18:35 +02:00
cris
dsa
ethernet ixgbe: Correct X550EM_x revision check 2018-11-10 07:41:38 -08:00
fddi
fjes
hamradio net: hamradio: use eth_broadcast_addr 2018-08-24 13:26:55 +02:00
hippi
hyperv
ieee802154 ieee802154: fakelb: switch from BUG_ON() to WARN_ON() on problem 2018-08-24 13:26:58 +02:00
ipvlan
irda
phy net: phy: fix flag masking in __set_phy_supported 2018-07-25 10:18:17 +02:00
plip
ppp
slip
team team: Forbid enslaving team device to itself 2018-10-20 09:52:36 +02:00
usb smsc95xx: Check for Wake-on-LAN modes 2018-11-10 07:41:34 -08:00
vmxnet3
wan drivers: net: lmc: fix case value for target abort error 2018-09-05 09:18:36 +02:00
wimax
wireless brcmfmac: Fix glom_skb leak in brcmf_sdiod_recv_chain 2018-11-10 07:41:38 -08:00
xen-netback
dummy.c
eql.c
geneve.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macvlan.c
macvtap.c
Makefile
mdio.c
mii.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tun.c
veth.c
virtio_net.c
vrf.c
vxlan.c
xen-netfront.c xen/netfront: don't bug in case of too many frags 2018-09-29 03:08:51 -07:00