Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by patchwork-bot+netdevbpf
Tue, 20 Oct 2026 19:40
Re: [PATCH net] net: qede: initialize extack in qede_flow_spec_to_rule()
Author: patchwork-bot+netdevbpf
Date: Tue, 20 Oct 2026 19:40
Date: Tue, 20 Oct 2026 19:40
25 lines
8744 bytes
8744 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads