[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164493601093.31968.5280162375440741536.git-patchwork-notify@kernel.org>
Date: Tue, 15 Feb 2022 14:40:10 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Vladimir Oltean <vladimir.oltean@....com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, kuba@...nel.org,
andrew@...n.ch, vivien.didelot@...il.com, f.fainelli@...il.com,
claudiu.manoil@....com, alexandre.belloni@...tlin.com,
UNGLinuxDriver@...rochip.com
Subject: Re: [PATCH net] net: mscc: ocelot: fix use-after-free in
ocelot_vlan_del()
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:
On Tue, 15 Feb 2022 01:42:00 +0200 you wrote:
> ocelot_vlan_member_del() will free the struct ocelot_bridge_vlan, so if
> this is the same as the port's pvid_vlan which we access afterwards,
> what we're accessing is freed memory.
>
> Fix the bug by determining whether to clear ocelot_port->pvid_vlan prior
> to calling ocelot_vlan_member_del().
>
> [...]
Here is the summary with links:
- [net] net: mscc: ocelot: fix use-after-free in ocelot_vlan_del()
https://git.kernel.org/netdev/net/c/ef5764057540
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