Description
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.
Published: 2026-08-26
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Reference Count Leak leading to Memory Leak
Action: Patch
AI Analysis

Impact

The Linux kernel flaw in pppol2tp_proc_open and l2tp_dfs_seq_open left tunnel and session reference counts unreleased when a userspace process closed /proc/net/pppol2tp or /sys/kernel/debug/l2tp/tunnels before reaching end-of-file, causing a reference count leak that can lead to persistent memory usage or resource exhaustion when repeatedly opened and prematurely closed.

Affected Systems

All Linux kernel builds compiled with pppol2tp or the l2tp debugfs interface that are running the commit history before the patch are affected; the fix resides in the kernel tip and applies to mainstream kernel releases that enable these features.

Risk and Exploitability

The vulnerability can be exploited by a local attacker who can read and close the proc or debug entries before reaching EOF, resulting in a memory leak; the EPSS score is <1% indicating low probability of exploitation, and it is not listed in the CISA KEV catalog.

Generated by OpenCVE AI on August 28, 2026 at 19:27 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the kernel patch that drops lingering tunnel and session references (see commits 9006c116dd111d457bf5d074990210f70a4ad2c8 and ebe2774e956482dd3c70b8991f6f7654356339e6).
  • Restrict or remove access to /proc/net/pppol2tp and /sys/kernel/debug/l2tp/tunnels by adjusting file permissions or disabling debugfs for L2TP.
  • If L2TP is not required, unload the l2tp kernel module or stop L2TP services to eliminate the vulnerable vector.
  • Monitor kernel memory usage and the count of tunnel or session objects as a sentinel for potential leakage.

Generated by OpenCVE AI on August 28, 2026 at 19:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 28 Aug 2026 18:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-753

Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-911
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Wed, 26 Aug 2026 16:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-753

Wed, 26 Aug 2026 14:45:00 +0000

Type Values Removed Values Added
Description 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.
Title l2tp: fix tunnel and session refcount leak on seq_file release
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-26T14:36:49.352Z

Reserved: 2026-08-15T05:44:03.930Z

Link: CVE-2026-74735

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-26T15:16:52.057

Modified: 2026-08-26T15:16:52.057

Link: CVE-2026-74735

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-26T00:00:00Z

Links: CVE-2026-74735 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T19:30:16Z

Weaknesses
  • CWE-911

    Improper Update of Reference Count