[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<176119116374.2145463.5595697305521112833.git-patchwork-notify@kernel.org>
Date: Thu, 23 Oct 2025 03:46:03 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Alexey Simakov <bigalex934@...il.com>
Cc: marcelo.leitner@...il.com, lucien.xin@...il.com, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com, horms@...nel.org,
linux-sctp@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, lvc-project@...uxtesting.org
Subject: Re: [PATCH v2 net] sctp: avoid NULL dereference when chunk data
buffer is
missing
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Tue, 21 Oct 2025 16:00:36 +0300 you wrote:
> chunk->skb pointer is dereferenced in the if-block where it's supposed
> to be NULL only.
>
> chunk->skb can only be NULL if chunk->head_skb is not. Check for frag_list
> instead and do it just before replacing chunk->skb. We're sure that
> otherwise chunk->skb is non-NULL because of outer if() condition.
>
> [...]
Here is the summary with links:
- [v2,net] sctp: avoid NULL dereference when chunk data buffer is missing
https://git.kernel.org/netdev/net/c/441f0647f767
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists