Re: [PATCH net] sctp: fix sctp_auth_init_hmacs() error path

2020-10-08 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Thu, 8 Oct 2020 01:38:31 -0700 you wrote: > From: Eric Dumazet > > After freeing ep->auth_hmacs we have to clear the pointer > or risk use-after-free as reported by syzbot: > > BUG: KASAN: use-after-free in sctp_auth_dest

Re: [PATCH net] sctp: fix sctp_auth_init_hmacs() error path

2020-10-08 Thread Marcelo Ricardo Leitner
On Thu, Oct 08, 2020 at 01:38:31AM -0700, Eric Dumazet wrote: > From: Eric Dumazet > > After freeing ep->auth_hmacs we have to clear the pointer > or risk use-after-free as reported by syzbot: > Acked-by: Marcelo Ricardo Leitner

[PATCH net] sctp: fix sctp_auth_init_hmacs() error path

2020-10-08 Thread Eric Dumazet
From: Eric Dumazet After freeing ep->auth_hmacs we have to clear the pointer or risk use-after-free as reported by syzbot: BUG: KASAN: use-after-free in sctp_auth_destroy_hmacs net/sctp/auth.c:509 [inline] BUG: KASAN: use-after-free in sctp_auth_destroy_hmacs net/sctp/auth.c:501 [inline] BUG: