Re: [PATCH v3 net] l2tp: fix tunnel and session refcount leak on seq_file release
| Newsgroups | gmane.linux.network |
|---|---|
| Message-ID | <178661520639.2350073.15095295535866945481.git-patchwork-notify@kernel.org> |
Hello: This patch was applied to netdev/net.git (main) by Paolo Abeni <[email protected]>: On Tue, 11 Aug 2026 14:46:51 +0000 you wrote: > In pppol2tp_proc_open() and l2tp_dfs_seq_open(), iteration state > (pd->tunnel and pd->session) is kept in seq_file private data to allow > iteration across multiple read() system calls. > > However, if userspace closes /proc/net/pppol2tp or /sys/kernel/debug/l2tp/tunnels > before reading to end-of-file (EOF), any tunnel or session reference stored in > pd->tunnel / pd->session is left un-dropped when seq_file private data is freed. > > [...] Here is the summary with links: - [v3,net] l2tp: fix tunnel and session refcount leak on seq_file release https://git.kernel.org/netdev/net/c/9006c116dd11 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html