Subject: Re: [PATCH] net: page_pool: check nla_nest_start() return value in page_pool_nl_stats_fill()

From: [email-masked]
Date: Thu, 28 May 2026 00:50:05 +0000

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <[email-masked]>:

On Tue, 26 May 2026 14:51:56 +0800 you wrote:
> From: Zhao Dongdong <[email-masked]>
> 
> nla_nest_start() can return NULL if the skb runs out of space.
> page_pool_nl_stats_fill() does not check the return value before
> calling nla_nest_end(), which can lead to a NULL pointer dereference.
> Add a NULL check after nla_nest_start() and abort the message if it fails.
> 
> [...]

Here is the summary with links:
  - net: page_pool: check nla_nest_start() return value in page_pool_nl_stats_fill()
    https://git.kernel.org/netdev/net-next/c/36d0d876c45f

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