[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190708.163325.1977216943079953279.davem@davemloft.net>
Date: Mon, 08 Jul 2019 16:33:25 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: wen.yang99@....com.cn
Cc: linux-kernel@...r.kernel.org, xue.zhihong@....com.cn,
wang.yi59@....com.cn, cheng.shengyu@....com.cn, tglx@...utronix.de,
mcgrof@...nel.org, mpe@...erman.id.au, netdev@...r.kernel.org
Subject: Re: [PATCH] net: pasemi: fix an use-after-free in
pasemi_mac_phy_init()
From: Wen Yang <wen.yang99@....com.cn>
Date: Sat, 6 Jul 2019 12:23:41 +0800
> 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@....com.cn>
Applied.
Powered by blists - more mailing lists