Thread (4 messages) flat view 4 messages, 3 authors, 2021-09-09

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

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-09-09 10:10:10
Also in: lkml

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

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