[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165661741418.1981.16436724422790201997.git-patchwork-notify@kernel.org>
Date: Thu, 30 Jun 2022 19:30:14 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Vladimir Oltean <vladimir.oltean@....com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, rmk+kernel@...linux.org.uk,
linux@...linux.org.uk, andrew@...n.ch, hkallweit1@...il.com
Subject: Re: [PATCH net-next] net: phylink: fix NULL pl->pcs dereference during
phylink_pcs_poll_start
Hello:
This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Wed, 29 Jun 2022 22:33:58 +0300 you wrote:
> The current link mode of the phylink instance may not require an
> attached PCS. However, phylink_major_config() unconditionally
> dereferences this potentially NULL pointer when restarting the link poll
> timer, which will panic the kernel.
>
> Fix the problem by checking whether a PCS exists in phylink_pcs_poll_start(),
> otherwise do nothing. The code prior to the blamed patch also only
> looked at pcs->poll within an "if (pcs)" block.
>
> [...]
Here is the summary with links:
- [net-next] net: phylink: fix NULL pl->pcs dereference during phylink_pcs_poll_start
https://git.kernel.org/netdev/net-next/c/b7d78b46d5e8
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