[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 12 Dec 2023 12:20:23 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Hyunwoo Kim <v4bel@...ori.io>
Cc: davem@...emloft.net, kuba@...nel.org, edumazet@...gle.com,
imv4bel@...il.com, pabeni@...hat.com, netdev@...r.kernel.org
Subject: Re: [PATCH net v3] atm: Fix Use-After-Free in do_vcc_ioctl
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@...hat.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
Powered by blists - more mailing lists