CVE-2026-74735

l2tp: fix tunnel and session refcount leak on seq_file release

No CVSS score yet EPSS 0.22%

Published 26 Aug 2026 Updated 30 Oct 2026 CNA: Linux

Check your servers for CVE-2026-74735

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-74735 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.7% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 0e0c3fee3a59a387aeecc4fca6f3a2e9615a5443, before c38b723858a51d6ca4e56470b9f1087f23276772
affected from 0e0c3fee3a59a387aeecc4fca6f3a2e9615a5443, before bd897e414451fb34dfdf08b31899180e5ab7149b
affected from 0e0c3fee3a59a387aeecc4fca6f3a2e9615a5443, before bdf83613781956cc39798ed08321f74ab0467f4d
affected from 0e0c3fee3a59a387aeecc4fca6f3a2e9615a5443, before 8c4fde01bcf91f22b9c7ded8c3e14addd7ddd500
affected from 0e0c3fee3a59a387aeecc4fca6f3a2e9615a5443, before ebe2774e956482dd3c70b8991f6f7654356339e6
affected from 0e0c3fee3a59a387aeecc4fca6f3a2e9615a5443, before 9006c116dd111d457bf5d074990210f70a4ad2c8
affected f6104e9ae04462523c372928b1173766a771ef95
affected 7f8e401f9e612df2a95c1ef76217c00181389bb5
affected c712ed63e9b33d9a282fbd92ce25c64918c3129f
affected 9a8863e8a8def9d88583cd9c60db38a008e6b8cf
affected from 3.16.60, before 3.17
affected from 4.16.6, before 4.17
Other versions: unaffected
Linux
affected 4.17
unaffected before 4.17
unaffected from 6.1.191 up to and including 6.1.*
unaffected from 6.6.160 up to and including 6.6.*
unaffected from 6.12.111 up to and including 6.12.*
unaffected from 6.18.53 up to and including 6.18.*
unaffected from 7.1.10 up to and including 7.1.*
unaffected 7.2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-74735 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-74735

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-74735
trivy image --scanners vuln IMAGE | grep CVE-2026-74735

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-74735 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.