[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <163188540739.4005.9639402799182516075.git-patchwork-notify@kernel.org>
Date: Fri, 17 Sep 2021 13:30:07 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Florian Fainelli <f.fainelli@...il.com>
Cc: netdev@...r.kernel.org, andrew@...n.ch, vivien.didelot@...il.com,
olteanv@...il.com, davem@...emloft.net, kuba@...nel.org,
rafal@...ecki.pl, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net] net: dsa: bcm_sf2: Fix array overrun in
bcm_sf2_num_active_ports()
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Thu, 16 Sep 2021 14:33:35 -0700 you wrote:
> After d12e1c464988 ("net: dsa: b53: Set correct number of ports in the
> DSA struct") we stopped setting dsa_switch::num_ports to DSA_MAX_PORTS,
> which created an off by one error between the statically allocated
> bcm_sf2_priv::port_sts array (of size DSA_MAX_PORTS). When
> dsa_is_cpu_port() is used, we end-up accessing an out of bounds member
> and causing a NPD.
>
> [...]
Here is the summary with links:
- [net] net: dsa: bcm_sf2: Fix array overrun in bcm_sf2_num_active_ports()
https://git.kernel.org/netdev/net/c/02319bf15acf
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