Re: [PATCH net] net: phy: dp83822: Fix null pointer access on DP83825/DP83826 devices

From: patchwork-bot+netdevbpf
Date: Sat Jan 28 2023 - 03:40:27 EST


Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Wed, 25 Jan 2023 19:23:26 +0100 you wrote:
> From: Andre Kalb <andre.kalb@xxxxxx>
>
> The probe() function is only used for the DP83822 PHY, leaving the
> private data pointer uninitialized for the smaller DP83825/26 models.
> While all uses of the private data structure are hidden in 82822 specific
> callbacks, configuring the interrupt is shared across all models.
> This causes a NULL pointer dereference on the smaller PHYs as it accesses
> the private data unchecked. Verifying the pointer avoids that.
>
> [...]

Here is the summary with links:
- [net] net: phy: dp83822: Fix null pointer access on DP83825/DP83826 devices
https://git.kernel.org/netdev/net/c/422ae7d9c722

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html