Re: [PATCH net] nexthop: initialize extack in nh_res_bucket_migrate()
From: patchwork-bot+netdevbpf
Date: Tue Jul 21 2026 - 18:32:15 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Mon, 13 Jul 2026 22:15:51 +0000 you wrote:
> nh_res_bucket_migrate() passes an uninitialized netlink_ext_ack to
> call_nexthop_res_bucket_notifiers(). When
> nh_notifier_res_bucket_info_init() fails (e.g. the kzalloc returns
> -ENOMEM), the error is propagated back before any notifier sets
> extack._msg, and the error path formats the stale pointer with
> pr_err_ratelimited("%s\n", extack._msg). With CONFIG_INIT_STACK_NONE
> this dereferences uninitialized stack memory:
>
> [...]
Here is the summary with links:
- [net] nexthop: initialize extack in nh_res_bucket_migrate()
https://git.kernel.org/netdev/net/c/6347c5314cee
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html