Thread (4 messages) 4 messages, 4 authors, 4d ago

Re: [PATCH net] gve: fix out-of-bounds read in gve_get_flow_rule_entry()

flat view

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-10-23 21:00:22
Also in: lkml, stable

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

On Tue, 20 Oct 2026 23:33:46 +0100 you wrote:
gve_get_flow_rule_entry() checks the requested location against the
first and last cached rules, but rules_cache_num can be 0 while
rules_cache_synced is true: GVE_FLOW_RULE_QUERY_RULES returns the rules
from the requested location onwards, so a request past the last
installed rule - or any request when no rules are installed - returns
zero rules, which the driver accepts and marks as synced.

[...]
Here is the summary with links:
  - [net] gve: fix out-of-bounds read in gve_get_flow_rule_entry()
    https://git.kernel.org/netdev/net/c/45e0a63f9c86

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