kernel_optimize_test/drivers/net/fddi
Pavel Skripkin f33605908a net: fddi: fix UAF in fza_probe
commit deb7178eb940e2c5caca1b1db084a69b2e59b4c9 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-07-25 14:36:20 +02:00
..
skfp
defxx.c FDDI: defxx: Bail out gracefully with unassigned PCI resource for CSR 2021-05-14 09:49:57 +02:00
defxx.h
defza.c net: fddi: fix UAF in fza_probe 2021-07-25 14:36:20 +02:00
defza.h
Kconfig FDDI: defxx: Make MMIO the configuration default except for EISA 2021-05-14 09:50:00 +02:00
Makefile