[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <163370340808.9336.17613256864498488691.git-patchwork-notify@kernel.org>
Date: Fri, 08 Oct 2021 14:30:08 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Russell King (Oracle) <rmk+kernel@...linux.org.uk>
Cc: andrew@...n.ch, hkallweit1@...il.com, davem@...emloft.net,
netdev@...r.kernel.org, kuba@...nel.org
Subject: Re: [PATCH net-next] net: mdio: ensure the type of mdio devices match
mdio drivers
Hello:
This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@...emloft.net>:
On Thu, 07 Oct 2021 14:23:27 +0100 you wrote:
> On the MDIO bus, we have PHYLIB devices and drivers, and we have non-
> PHYLIB devices and drivers. PHYLIB devices are MDIO devices that are
> wrapped with a struct phy_device.
>
> Trying to bind a MDIO device with a PHYLIB driver results in out-of-
> bounds accesses as we attempt to access struct phy_device members. So,
> let's prevent this by ensuring that the type of the MDIO device
> (indicated by the MDIO_DEVICE_FLAG_PHY flag) matches the type of the
> MDIO driver (indicated by the MDIO_DEVICE_IS_PHY flag.)
>
> [...]
Here is the summary with links:
- [net-next] net: mdio: ensure the type of mdio devices match mdio drivers
https://git.kernel.org/netdev/net-next/c/94114d90037f
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