[lvc-project] [PATCH] net/sctp: fix a null dereference in sctp_disposition sctp_sf_do_5_1D_ce()
Xin Long
lucien.xin at gmail.com
Thu Oct 2 22:27:25 MSK 2025
On Thu, Oct 2, 2025 at 5:14 AM Alexandr Sapozhnkiov <alsp705 at gmail.com> wrote:
>
> From: Alexandr Sapozhnikov <alsp705 at gmail.com>
>
> If new_asoc->peer.adaptation_ind=0 and sctp_ulpevent_make_authkey=0
> and sctp_ulpevent_make_authkey() returns 0, then the variable
> ai_ev remains zero and the zero will be dereferenced
> in the sctp_ulpevent_free() function.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
> Signed-off-by: Alexandr Sapozhnikov <alsp705 at gmail.com>
Fixes: 30f6ebf65bc4 ("sctp: add SCTP_AUTH_NO_AUTH type for
AUTHENTICATION_EVENT")
Acked-by: Xin Long <lucien.xin at gmail.com>
More information about the lvc-project
mailing list