Thread (3 messages) 3 messages, 3 authors, 2023-01-30

Re: [PATCH v4] netrom: Fix use-after-free caused by accept on already connected socket

From: patchwork-bot+netdevbpf@kernel.org
Date: 2023-01-30 07:40:24
Also in: linux-hams

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller [off-list ref]:

On Thu, 26 Jan 2023 18:32:50 -0800 you wrote:
If you call listen() and accept() on an already connect()ed
AF_NETROM socket, accept() can successfully connect.
This is because when the peer socket sends data to sendmsg,
the skb with its own sk stored in the connected socket's
sk->sk_receive_queue is connected, and nr_accept() dequeues
the skb waiting in the sk->sk_receive_queue.

[...]
Here is the summary with links:
  - [v4] netrom: Fix use-after-free caused by accept on already connected socket
    https://git.kernel.org/netdev/net/c/611792920925

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help