Skip to main content
← All vulnerabilities
CVE-2026-74735

l2tp: fix tunnel and session refcount leak on seq_file release

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.17, 4.17, 6.6.160, 6.12.111, 6.18.53, and 1 more
None on Exploit-DB, Metasploit or GitHub

Summary

In the Linux kernel, the following vulnerability has been resolved: l2tp: fix tunnel and session refcount leak on seq_file release 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. Fix this by dropping any remaining pd->tunnel and pd->session references in pppol2tp_proc_release() and l2tp_dfs_seq_release() when closing the file.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 3.16.60 · fixed in 3.17; From 4.16.6 · fixed in 4.17

  • Linux Linux

    4.17

  • KernelLinux

    From 4.17.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.111; From 6.13.0 · fixed in 6.18.53; From 6.19.0 · fixed in 7.1.10

References 6

git.kernel.org