Pan Bian
eff9431caf
wan: pc300too: abort path on failure
...
[ Upstream commit 2a39e7aa8a98f777f0732ca7125b6c9668791760 ]
In function pc300_pci_init_one(), on the ioremap error path, function
pc300_pci_remove_one() is called to free the allocated memory. However,
the path is not terminated, and the freed memory will be used later,
resulting in use-after-free bugs. This path fixes the bug.
Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-24 11:00:14 +01:00
..
lmc
treewide: replace dev->trans_start update with helper
2016-05-04 14:16:49 -04:00
.gitignore
c101.c
cosa.c
treewide: replace dev->trans_start update with helper
2016-05-04 14:16:49 -04:00
cosa.h
dlci.c
dscc4.c
dscc4: Undefined signed int shift
2016-02-13 06:10:21 -05:00
farsync.c
treewide: replace dev->trans_start update with helper
2016-05-04 14:16:49 -04:00
farsync.h
fsl_ucc_hdlc.c
wan/fsl_ucc_hdlc: Fix size used in dma_free_coherent()
2016-10-08 00:04:48 -04:00
fsl_ucc_hdlc.h
drivers/net/fsl_ucc: Do not prefix header guard with CONFIG_
2016-06-08 11:07:17 -07:00
hd64570.c
hd64570.h
hd64572.c
hd64572.h
hdlc.c
WAN: HDLC: Call notifiers before and after changing device type
2015-12-05 17:41:42 -05:00
hdlc_cisco.c
WAN: HDLC: Call notifiers before and after changing device type
2015-12-05 17:41:42 -05:00
hdlc_fr.c
WAN: HDLC: Call notifiers before and after changing device type
2015-12-05 17:41:42 -05:00
hdlc_ppp.c
hdlc_ppp: carrier detect ok, don't turn off negotiation
2018-03-11 16:21:31 +01:00
hdlc_raw.c
WAN: HDLC: Call notifiers before and after changing device type
2015-12-05 17:41:42 -05:00
hdlc_raw_eth.c
WAN: HDLC: Call notifiers before and after changing device type
2015-12-05 17:41:42 -05:00
hdlc_x25.c
WAN: HDLC: Call notifiers before and after changing device type
2015-12-05 17:41:42 -05:00
hostess_sv11.c
ixp4xx_hss.c
Kconfig
net: wan: slic_ds26522: Allow driver to built if COMPILE_TEST is enabled
2016-10-14 10:11:49 -04:00
lapbether.c
Makefile
Maxim/driver: Add driver for maxim ds26522
2016-06-29 04:05:14 -04:00
n2.c
pc300too.c
wan: pc300too: abort path on failure
2018-03-24 11:00:14 +01:00
pci200syn.c
sbni.c
net: wan: sbni: Spelling s/acknoweledge/acknowledge/, Grammar
2016-08-31 09:26:30 -07:00
sbni.h
sdla.c
sealevel.c
slic_ds26522.c
net: wan: slic_ds26522: Export OF module alias information
2016-10-14 10:11:49 -04:00
slic_ds26522.h
Maxim/driver: Add driver for maxim ds26522
2016-06-29 04:05:14 -04:00
wanxl.c
wan: wanxl: add pci_disable_device in case of error
2015-12-14 16:21:58 -05:00
wanxl.h
wanxlfw.inc_shipped
wanxlfw.S
x25_asy.c
x25_asy: Free x25_asy on x25_asy_open() failure.
2016-01-13 11:45:39 -05:00
x25_asy.h
z85230.c
z85230.h