diff options
author | 2019-07-06 12:23:41 +0800 | |
---|---|---|
committer | 2019-07-08 16:33:02 -0700 | |
commit | faf5577f2498cea23011b5c785ef853ded22700b (patch) | |
tree | 5162b739231084150838b811d977268af58b1761 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: axienet: fix a potential double free in axienet_probe() (diff) | |
download | wireguard-linux-faf5577f2498cea23011b5c785ef853ded22700b.tar.xz wireguard-linux-faf5577f2498cea23011b5c785ef853ded22700b.zip |
net: pasemi: fix an use-after-free in pasemi_mac_phy_init()
The phy_dn variable is still being used in of_phy_connect() after the
of_node_put() call, which may result in use-after-free.
Fixes: 1dd2d06c0459 ("net: Rework pasemi_mac driver to use of_mdio infrastructure")
Signed-off-by: Wen Yang <wen.yang99@zte.com.cn>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Luis Chamberlain <mcgrof@kernel.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions