linux/drivers/net/fddi
Pavel Skripkin deb7178eb9 net: fddi: fix UAF in fza_probe
fp is netdev private data and it cannot be
used after free_netdev() call. Using fp after free_netdev()
can cause UAF bug. Fix it by moving free_netdev() after error message.

Fixes: 61414f5ec9 ("FDDI: defza: Add support for DEC FDDIcontroller 700
TURBOchannel adapter")
Signed-off-by: Pavel Skripkin <paskripkin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-07-13 09:43:50 -07:00
..
skfp net: fddi: skfp: remove leading spaces before tabs 2021-05-20 15:10:57 -07:00
defxx.c FDDI: defxx: Use driver's name with resource requests 2021-03-10 13:08:15 -08:00
defxx.h FDDI: defxx: Implement dynamic CSR I/O address space selection 2021-03-10 13:08:15 -08:00
defza.c net: fddi: fix UAF in fza_probe 2021-07-13 09:43:50 -07:00
defza.h FDDI: defza: Add missing comment closing 2018-11-07 21:53:30 -08:00
Kconfig FDDI: defxx: Implement dynamic CSR I/O address space selection 2021-03-10 13:08:15 -08:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00