Thread (2 messages) flat view 2 messages, 2 authors, 2021-06-29

Re: [PATCH net-next] gve: DQO: Fix off by one in gve_rx_dqo()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-06-29 19:00:08
Also in: kernel-janitors

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Tue, 29 Jun 2021 11:25:13 +0300 you wrote:
The rx->dqo.buf_states[] array is allocated in gve_rx_alloc_ring_dqo()
and it has rx->dqo.num_buf_states so this > needs to >= to prevent an
out of bounds access.

Fixes: 9b8dd5e5ea48 ("gve: DQO: Add RX path")
Signed-off-by: Dan Carpenter <redacted>

[...]
Here is the summary with links:
  - [net-next] gve: DQO: Fix off by one in gve_rx_dqo()
    https://git.kernel.org/netdev/net-next/c/ecd89c02da85

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help