Thread (2 messages) read the whole thread 2 messages, 2 authors, 2024-06-17

Re: [PATCH net] netrom: Fix a memory leak in nr_heartbeat_expiry()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2024-06-17 12:10:28
Also in: linux-hams, lkml

Hello:

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

On Thu, 13 Jun 2024 08:23:00 +0000 you wrote:
syzbot reported a memory leak in nr_create() [0].

Commit 409db27e3a2e ("netrom: Fix use-after-free of a listening socket.")
added sock_hold() to the nr_heartbeat_expiry() function, where
a) a socket has a SOCK_DESTROY flag or
b) a listening socket has a SOCK_DEAD flag.

[...]
Here is the summary with links:
  - [net] netrom: Fix a memory leak in nr_heartbeat_expiry()
    https://git.kernel.org/netdev/net/c/0b9130247f3b

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