[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<175136700676.4114988.13242683891063263726.git-patchwork-notify@kernel.org>
Date: Tue, 01 Jul 2025 10:50:06 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Oleksij Rempel <o.rempel@...gutronix.de>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, woojung.huh@...rochip.com, andrew+netdev@...n.ch,
rmk+kernel@...linux.org.uk, Thangaraj.S@...rochip.com,
Rengarajan.S@...rochip.com, dan.carpenter@...aro.org, kernel@...gutronix.de,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
UNGLinuxDriver@...rochip.com, phil@...pberrypi.org,
maxime.chevallier@...tlin.com, horms@...nel.org
Subject: Re: [PATCH net-next v1 1/1] net: usb: lan78xx: fix possible NULL
pointer
dereference in lan78xx_phy_init()
Hello:
This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@...hat.com>:
On Thu, 26 Jun 2025 12:37:31 +0200 you wrote:
> If no PHY device is found (e.g., for LAN7801 in fixed-link mode),
> lan78xx_phy_init() may proceed to dereference a NULL phydev pointer,
> leading to a crash.
>
> Update the logic to perform MAC configuration first, then check for the presence
> of a PHY. For the fixed-link case, set up the fixed link and return early,
> bypassing any code that assumes a valid phydev pointer.
>
> [...]
Here is the summary with links:
- [net-next,v1,1/1] net: usb: lan78xx: fix possible NULL pointer dereference in lan78xx_phy_init()
https://git.kernel.org/netdev/net-next/c/c22f056e49d9
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