Thread (2 messages) 2 messages, 2 authors, 2023-01-24

Re: [PATCH v1 net] netrom: Fix use-after-free of a listening socket.

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

Hello:

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

On Fri, 20 Jan 2023 15:19:27 -0800 you wrote:
syzbot reported a use-after-free in do_accept(), precisely nr_accept()
as sk_prot_alloc() allocated the memory and sock_put() frees it. [0]

The issue could happen if the heartbeat timer is fired and
nr_heartbeat_expiry() calls nr_destroy_socket(), where a socket
has SOCK_DESTROY or a listening socket has SOCK_DEAD.

[...]
Here is the summary with links:
  - [v1,net] netrom: Fix use-after-free of a listening socket.
    https://git.kernel.org/netdev/net/c/409db27e3a2e

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