From: patchwork-bot+netdevbpf@kernel.org
To: Hyunwoo Kim <v4bel@theori.io>
Cc: davem@davemloft.net, kuba@kernel.org, edumazet@google.com,
imv4bel@gmail.com, pabeni@redhat.com, netdev@vger.kernel.org
Subject: Re: [PATCH net v3] atm: Fix Use-After-Free in do_vcc_ioctl
Date: Tue, 12 Dec 2023 12:20:23 +0000 [thread overview]
Message-ID: <170238362367.3796.13496681775483460069.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20231209094210.GA403126@v4bel-B760M-AORUS-ELITE-AX>
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Sat, 9 Dec 2023 04:42:10 -0500 you wrote:
> Because do_vcc_ioctl() accesses sk->sk_receive_queue
> without holding a sk->sk_receive_queue.lock, it can
> cause a race with vcc_recvmsg().
> A use-after-free for skb occurs with the following flow.
> ```
> do_vcc_ioctl() -> skb_peek()
> vcc_recvmsg() -> skb_recv_datagram() -> skb_free_datagram()
> ```
> Add sk->sk_receive_queue.lock to do_vcc_ioctl() to fix this issue.
>
> [...]
Here is the summary with links:
- [net,v3] atm: Fix Use-After-Free in do_vcc_ioctl
https://git.kernel.org/netdev/net/c/24e90b9e34f9
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:[~2023-12-12 12:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-09 9:42 [PATCH net v3] atm: Fix Use-After-Free in do_vcc_ioctl Hyunwoo Kim
2023-12-12 12:20 ` 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=170238362367.3796.13496681775483460069.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=imv4bel@gmail.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=v4bel@theori.io \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.