[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <167395621658.741.1266845429640247394.git-patchwork-notify@kernel.org>
Date: Tue, 17 Jan 2023 11:50:16 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Heiner Kallweit <hkallweit1@...il.com>
Cc: andrew@...n.ch, linux@...linux.org.uk, davem@...emloft.net,
kuba@...nel.org, edumazet@...gle.com, pabeni@...hat.com,
netdev@...r.kernel.org
Subject: Re: [PATCH net] net: mdio: validate parameter addr in mdiobus_get_phy()
Hello:
This patch was applied to netdev/net.git (master)
by Paolo Abeni <pabeni@...hat.com>:
On Sun, 15 Jan 2023 11:54:06 +0100 you wrote:
> The caller may pass any value as addr, what may result in an out-of-bounds
> access to array mdio_map. One existing case is stmmac_init_phy() that
> may pass -1 as addr. Therefore validate addr before using it.
>
> Fixes: 7f854420fbfe ("phy: Add API for {un}registering an mdio device to a bus.")
> Signed-off-by: Heiner Kallweit <hkallweit1@...il.com>
>
> [...]
Here is the summary with links:
- [net] net: mdio: validate parameter addr in mdiobus_get_phy()
https://git.kernel.org/netdev/net/c/867dbe784c50
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