Re: [PATCH net] gve: fix out-of-bounds read in gve_get_flow_rule_entry()
From: patchwork-bot+netdevbpf
Date: Fri Oct 23 2026 - 17:01:21 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
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