l2tp: fix tunnel and session refcount leak on seq_file release (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.18 % · percentile 8 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
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.
References
- https://git.kernel.org/stable/c/c38b723858a51d6ca4e56470b9f1087f23276772
- https://git.kernel.org/stable/c/bd897e414451fb34dfdf08b31899180e5ab7149b
- https://git.kernel.org/stable/c/bdf83613781956cc39798ed08321f74ab0467f4d
- https://git.kernel.org/stable/c/8c4fde01bcf91f22b9c7ded8c3e14addd7ddd500
- https://git.kernel.org/stable/c/ebe2774e956482dd3c70b8991f6f7654356339e6
- https://git.kernel.org/stable/c/9006c116dd111d457bf5d074990210f70a4ad2c8
European references
- ENISA EUVD · EUVD-2026-66565
- GCVE · GCVE-0-2026-74735
CERT-FR advisories
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1372 — Multiples vulnérabilités dans les produits SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1335 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1289 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1253 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 0e0c3fee3a59a387aeecc4fca6f3a2e9615a5443 < c38b723858a51d6ca4e56470b9f1087f23276772 ; affected 0e0c3fee3a59a387aeecc4fca6f3a2e9615a5443 < bd897e414451fb34dfdf08b31899180e5ab7149b ; affected 0e0c3fee3a59a387aeecc4fca6f3a2e9615a5443 < bdf83613781956cc39798ed08321f74ab0467f4d ; affected 0e0c3fee3a59a387aeecc4fca6f3a2e9615a5443 < 8c4fde01bcf91f22b9c7ded8c3e14addd7ddd500 ; affected 0e0c3fee3a59a387aeecc4fca6f3a2e9615a5443 < ebe2774e956482dd3c70b8991f6f7654356339e6 ; affected 0e0c3fee3a59a387aeecc4fca6f3a2e9615a5443 < 9006c116dd111d457bf5d074990210f70a4ad2c8 |
| Linux · Linux | affected 4.17 ; unaffected 0 < 4.17 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.111 ≤ 6.12.* ; unaffected 6.18.53 ≤ 6.18.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |