[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <162688380600.30339.881378325987098397.git-patchwork-notify@kernel.org>
Date: Wed, 21 Jul 2021 16:10:06 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Nikolay Aleksandrov <razor@...ckwall.org>
Cc: netdev@...r.kernel.org, roopa@...dia.com,
bridge@...ts.linux-foundation.org, nikolay@...dia.com
Subject: Re: [PATCH net-next] net: bridge: multicast: fix igmp/mld port context
null pointer dereferences
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Wed, 21 Jul 2021 13:06:24 +0300 you wrote:
> From: Nikolay Aleksandrov <nikolay@...dia.com>
>
> With the recent change to use bridge/port multicast context pointers
> instead of bridge/port I missed to convert two locations which pass the
> port pointer as-is, but with the new model we need to verify the port
> context is non-NULL first and retrieve the port from it. The first
> location is when doing querier selection when a query is received, the
> second location is when leaving a group. The port context will be null
> if the packets originated from the bridge device (i.e. from the host).
> The fix is simple just check if the port context exists and retrieve
> the port pointer from it.
>
> [...]
Here is the summary with links:
- [net-next] net: bridge: multicast: fix igmp/mld port context null pointer dereferences
https://git.kernel.org/netdev/net-next/c/54cb43199e14
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