# CVE-2026-23072: l2tp: Fix memleak in l2tp\_udp\_encap\_recv().

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.20% (percentile 6, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2026-02-04T16:07:52.790Z
- **Modified:** 2026-06-17T10:20:48.840Z

## Who should check

- Anyone running Linux \>= 364798056f518b0bf2f17cd9eaf0dd4e856d7393, \< 5cd158a88eef34e7b100cd9b963873d3b4e41b35; \>= 364798056f518b0bf2f17cd9eaf0dd4e856d7393, \< d4ce79e6dce2a4a49eebceea7b4caf5dc0f0ef3d; \>= 364798056f518b0bf2f17cd9eaf0dd4e856d7393, \< 4d10edfd1475b69dbd4c47f34b61a3772ece83ca
- Anyone running Linux 6.10

## Description

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

l2tp: Fix memleak in l2tp\_udp\_encap\_recv().

syzbot reported memleak of struct l2tp\_session, l2tp\_tunnel,
sock, etc. \[0\]

The cited commit moved down the validation of the protocol
version in l2tp\_udp\_encap\_recv().

The new place requires an extra error handling to avoid the
memleak.

Let's call l2tp\_session\_put() there.

\[0\]:
BUG: memory leak
unreferenced object 0xffff88810a290200 (size 512):
  comm "syz.0.17", pid 6086, jiffies 4294944299
  hex dump (first 32 bytes):
    7d eb 04 0c 00 00 00 00 01 00 00 00 00 00 00 00  }...............
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace (crc babb6a4f):
    kmemleak\_alloc\_recursive include/linux/kmemleak.h:44 \[inline\]
    slab\_post\_alloc\_hook mm/slub.c:4958 \[inline\]
    slab\_alloc\_node mm/slub.c:5263 \[inline\]
    \_\_do\_kmalloc\_node mm/slub.c:5656 \[inline\]
    \_\_kmalloc\_noprof+0x3e0/0x660 mm/slub.c:5669
    kmalloc\_noprof include/linux/slab.h:961 \[inline\]
    kzalloc\_noprof include/linux/slab.h:1094 \[inline\]
    l2tp\_session\_create+0x3a/0x3b0 net/l2tp/l2tp\_core.c:1778
    pppol2tp\_connect+0x48b/0x920 net/l2tp/l2tp\_ppp.c:755
    \_\_sys\_connect\_file+0x7a/0xb0 net/socket.c:2089
    \_\_sys\_connect+0xde/0x110 net/socket.c:2108
    \_\_do\_sys\_connect net/socket.c:2114 \[inline\]
    \_\_se\_sys\_connect net/socket.c:2111 \[inline\]
    \_\_x64\_sys\_connect+0x1c/0x30 net/socket.c:2111
    do\_syscall\_x64 arch/x86/entry/syscall\_64.c:63 \[inline\]
    do\_syscall\_64+0xa4/0xf80 arch/x86/entry/syscall\_64.c:94
    entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f

## Affected and fixed versions

- Linux: \>= 364798056f518b0bf2f17cd9eaf0dd4e856d7393, \< 5cd158a88eef34e7b100cd9b963873d3b4e41b35; \>= 364798056f518b0bf2f17cd9eaf0dd4e856d7393, \< d4ce79e6dce2a4a49eebceea7b4caf5dc0f0ef3d; \>= 364798056f518b0bf2f17cd9eaf0dd4e856d7393, \< 4d10edfd1475b69dbd4c47f34b61a3772ece83ca (cvelist)
- Linux: 6.10 (cvelist)

## Mitigation

- Upgrade Linux to 4d10edfd1475b69dbd4c47f34b61a3772ece83ca or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-23072. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23072.md
Affected: Linux >= 364798056f518b0bf2f17cd9eaf0dd4e856d7393, < 5cd158a88eef34e7b100cd9b963873d3b4e41b35; >= 364798056f518b0bf2f17cd9eaf0dd4e856d7393, < d4ce79e6dce2a4a49eebceea7b4caf5dc0f0ef3d; >= 364798056f518b0bf2f17cd9eaf0dd4e856d7393, < 4d10edfd1475b69dbd4c47f34b61a3772ece83ca; Linux 6.10
Fixed in: Linux 5cd158a88eef34e7b100cd9b963873d3b4e41b35, Linux 4d10edfd1475b69dbd4c47f34b61a3772ece83ca

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-23072 being exploited?

There is no confirmed exploitation: CVE-2026-23072 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-23072?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-23072?

Linux \>= 364798056f518b0bf2f17cd9eaf0dd4e856d7393, \< 5cd158a88eef34e7b100cd9b963873d3b4e41b35; \>= 364798056f518b0bf2f17cd9eaf0dd4e856d7393, \< d4ce79e6dce2a4a49eebceea7b4caf5dc0f0ef3d; \>= 364798056f518b0bf2f17cd9eaf0dd4e856d7393, \< 4d10edfd1475b69dbd4c47f34b61a3772ece83ca; Linux 6.10.

### Is there a fix for CVE-2026-23072?

Yes. Fixed in Linux 5cd158a88eef34e7b100cd9b963873d3b4e41b35, Linux 4d10edfd1475b69dbd4c47f34b61a3772ece83ca. Upgrade Linux to 4d10edfd1475b69dbd4c47f34b61a3772ece83ca or later.

### How do I check if I'm affected by CVE-2026-23072?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/5cd158a88eef34e7b100cd9b963873d3b4e41b35>
- patch: <https://git.kernel.org/stable/c/d4ce79e6dce2a4a49eebceea7b4caf5dc0f0ef3d>
- patch: <https://git.kernel.org/stable/c/4d10edfd1475b69dbd4c47f34b61a3772ece83ca>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-23072>

HTML: <https://flawdb.com/CVE-2026-23072> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-23072>
