[lvc-project] [PATCH] sctp: fix null derefer in sctp_sf_do_5_1D_ce()

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Fri Oct 10 11:37:32 MSK 2025


Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba at kernel.org>:

On Thu,  9 Oct 2025 20:32:49 +0300 you wrote:
> The check of new_asoc->peer.adaptation_ind can fail,
> leaving ai_ev unitilialized. In that case, the code
> can jump to the nomem_authdev label and later call
> sctp_ulpevent_free() with a null  ai_ev pointer.
> Leading to potential null dereference.
> 
> Add check of ai_ev pointer before call of
> sctp_ulpevent_free function.
> 
> [...]

Here is the summary with links:
  - sctp: fix null derefer in sctp_sf_do_5_1D_ce()
    https://git.kernel.org/netdev/net-next/c/2f3119686ef5

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