CVE-2026-74735: l2tp: fix tunnel and session refcount leak on seq_file release

Published Aug 26, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

l2tp: fix tunnel and session refcount leak on seqfile release

In pppol2tpprocopen() and l2tpdfsseqopen(), iteration state (pd->tunnel and pd->session) is kept in seqfile 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 seqfile private data is freed.

Fix this by dropping any remaining pd->tunnel and pd->session references in pppol2tpprocrelease() and l2tpdfsseqrelease() when closing the file.

Affected Software

1 affected component
Linux Linux kernel

Event History

Aug 26, 2026
CVE Published
via MITRE·02:36 PM
Data Sourced
via MITRE·02:36 PM
Description
Data Sourced
via NVD·03:16 PM
Description

Frequently Asked Questions

1

What conditions are required to trigger the reference leak?

A userspace process must open /proc/net/pppol2tp or /sys/kernel/debug/l2tp/tunnels, cause tunnel or session iteration state to be retained, and then close the file before reading it to EOF. The unreleased references are associated with the tunnel and session stored in the seq_file private data.

2

Which systems are exposed through the debugfs path?

The /sys/kernel/debug/l2tp/tunnels path is relevant only where the L2TP debugfs interface is available. The other affected path, /proc/net/pppol2tp, is a procfs interface.

3

How can I tell whether the leak may already have occurred?

The described condition is premature closure of either affected file after iteration state has retained tunnel or session references. The provided information does not specify a log message, counter, or other direct detection method.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203