[lvc-project] [PATCH v2 net] sctp: avoid NULL dereference when chunk data buffer is missing

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Thu Oct 23 06:46:03 MSK 2025


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba at kernel.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





More information about the lvc-project mailing list