Re: [PATCH] net/l2tp: Fix reference count leak in l2tp_udp_recv_core

From: patchwork-bot+netdevbpf
Date: Thu Sep 09 2021 - 06:10:12 EST


Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Thu, 9 Sep 2021 12:32:00 +0800 you wrote:
> The reference count leak issue may take place in an error handling
> path. If both conditions of tunnel->version == L2TP_HDR_VER_3 and the
> return value of l2tp_v3_ensure_opt_in_linear is nonzero, the function
> would directly jump to label invalid, without decrementing the reference
> count of the l2tp_session object session increased earlier by
> l2tp_tunnel_get_session(). This may result in refcount leaks.
>
> [...]

Here is the summary with links:
- net/l2tp: Fix reference count leak in l2tp_udp_recv_core
https://git.kernel.org/netdev/net/c/9b6ff7eb6664

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