[lvc-project] [PATCH net] netrom: Fix a memory leak in nr_heartbeat_expiry()

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Mon Jun 17 15:10:27 MSK 2024


Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller <davem at davemloft.net>:

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





More information about the lvc-project mailing list