Thread (2 messages) 2 messages, 2 authors, 2025-10-10

Re: [PATCH] sctp: fix null derefer in sctp_sf_do_5_1D_ce()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-10-10 08:37:44
Also in: linux-sctp, lkml

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski [off-list ref]:

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help