[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164274481345.1814.13604791618402169229.git-patchwork-notify@kernel.org>
Date: Fri, 21 Jan 2022 06:00:13 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Marek BehĂșn <kabel@...nel.org>@ci.codeaurora.org
Cc: netdev@...r.kernel.org, rmk+kernel@...linux.org.uk, andrew@...n.ch,
sergei.shtylyov@...entembedded.com, davem@...emloft.net
Subject: Re: [PATCH net] phylib: fix potential use-after-free
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Wed, 19 Jan 2022 17:27:48 +0100 you wrote:
> Commit bafbdd527d56 ("phylib: Add device reset GPIO support") added call
> to phy_device_reset(phydev) after the put_device() call in phy_detach().
>
> The comment before the put_device() call says that the phydev might go
> away with put_device().
>
> Fix potential use-after-free by calling phy_device_reset() before
> put_device().
>
> [...]
Here is the summary with links:
- [net] phylib: fix potential use-after-free
https://git.kernel.org/netdev/net/c/cbda1b166875
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists