[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <167489521762.20245.17614376915364522830.git-patchwork-notify@kernel.org>
Date: Sat, 28 Jan 2023 08:40:17 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Andre Kalb <svc.sw.rte.linux@....de>
Cc: andrew@...n.ch, hkallweit1@...il.com, linux@...linux.org.uk,
davem@...emloft.net, kuba@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, felix.riemann@....de
Subject: Re: [PATCH net] net: phy: dp83822: Fix null pointer access on
DP83825/DP83826 devices
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Wed, 25 Jan 2023 19:23:26 +0100 you wrote:
> From: Andre Kalb <andre.kalb@....de>
>
> 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
Powered by blists - more mailing lists