From: patchwork-bot+netdevbpf@kernel.org
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: davem@davemloft.net, netdev@vger.kernel.org, edumazet@google.com,
vyasevich@gmail.com, nhorman@tuxdriver.com,
marcelo.leitner@gmail.com
Subject: Re: [PATCH net] sctp: fix sctp_auth_init_hmacs() error path
Date: Thu, 08 Oct 2020 20:00:05 +0000 [thread overview]
Message-ID: <160218720508.8125.9469723637272631712.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20201008083831.521769-1-eric.dumazet@gmail.com>
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 <edumazet@google.com>
>
> 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: KASAN: use-after-free in sctp_auth_free+0x17e/0x1d0 net/sctp/auth.c:1070
> Read of size 8 at addr ffff8880a8ff52c0 by task syz-executor941/6874
>
> [...]
Here is the summary with links:
- [net] sctp: fix sctp_auth_init_hmacs() error path
https://git.kernel.org/netdev/net/c/d42ee76ecb6c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2020-10-08 20:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-08 8:38 [PATCH net] sctp: fix sctp_auth_init_hmacs() error path Eric Dumazet
2020-10-08 16:23 ` Marcelo Ricardo Leitner
2020-10-08 20:00 ` patchwork-bot+netdevbpf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=160218720508.8125.9469723637272631712.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=eric.dumazet@gmail.com \
--cc=marcelo.leitner@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=nhorman@tuxdriver.com \
--cc=vyasevich@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).