Re: [PATCH] sctp: fix null derefer in sctp_sf_do_5_1D_ce()
From: patchwork-bot+netdevbpf
Date: Fri Oct 10 2025 - 04:37:56 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
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