diff options
author | Pavel Skripkin <paskripkin@gmail.com> | 2021-07-13 13:58:53 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-13 09:43:50 -0700 |
commit | deb7178eb940e2c5caca1b1db084a69b2e59b4c9 (patch) | |
tree | 5a2b59f4ba08ff0488b0088e3be2851ee7cc066f /drivers/misc | |
parent | b0b33b048dcfbd7da82c3cde4fab02751dfab4d6 (diff) | |
download | linux-stable-deb7178eb940e2c5caca1b1db084a69b2e59b4c9.tar.gz linux-stable-deb7178eb940e2c5caca1b1db084a69b2e59b4c9.tar.bz2 linux-stable-deb7178eb940e2c5caca1b1db084a69b2e59b4c9.zip |
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: 61414f5ec983 ("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>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions