[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <163968790071.17466.7200435085941937139.git-patchwork-notify@kernel.org>
Date: Thu, 16 Dec 2021 20:51:40 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: John Keeping <john@...anate.com>
Cc: netdev@...r.kernel.org, linux-rockchip@...ts.infradead.org,
peppe.cavallaro@...com, alexandre.torgue@...s.st.com,
joabreu@...opsys.com, davem@...emloft.net, kuba@...nel.org,
mcoquelin.stm32@...il.com, david.wu@...k-chips.com,
ezequiel@...guardiasur.com.ar,
linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: stmmac: dwmac-rk: fix oob read in rk_gmac_setup
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:
On Tue, 14 Dec 2021 19:10:09 +0000 you wrote:
> KASAN reports an out-of-bounds read in rk_gmac_setup on the line:
>
> while (ops->regs[i]) {
>
> This happens for most platforms since the regs flexible array member is
> empty, so the memory after the ops structure is being read here. It
> seems that mostly this happens to contain zero anyway, so we get lucky
> and everything still works.
>
> [...]
Here is the summary with links:
- net: stmmac: dwmac-rk: fix oob read in rk_gmac_setup
https://git.kernel.org/netdev/net/c/0546b224cc77
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