Re: [PATCH net] net: qede: initialize extack in qede_flow_spec_to_rule()

From: patchwork-bot+netdevbpf

Date: Tue Oct 20 2026 - 15:41:14 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Tue, 13 Oct 2026 16:24:51 +0530 you wrote:
> qede_flow_spec_to_rule() declares a netlink_ext_ack on the stack
> without initializing it. qede_parse_flow_attr() and
> qede_flow_spec_validate() only set extack._msg on error paths via
> NL_SET_ERR_MSG_MOD(), so on a successful parse the err_out block
> reads an uninitialized pointer. If that garbage happens to be
> non-NULL, DP_NOTICE("%s", extack._msg) dereferences it inside
> vsnprintf, causing a page fault and kernel panic.
>
> [...]

Here is the summary with links:
- [net] net: qede: initialize extack in qede_flow_spec_to_rule()
https://git.kernel.org/netdev/net/c/106e562966a0

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