# CVE-2026-99615: l2tp: only return sessions of the given tunnel in l2tp\_session\_get()

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-28)
- **Published:** 2026-11-20T05:49:36.883Z
- **Modified:** 2026-11-20T06:17:53.940Z

## Who should check

- Anyone running Linux \>= 5f77c18ea55601822f9c495135a5b5d4b499d647, \< 649d00a0e1ff2f5a4f5b8c194755f9b9bbd98504; \>= 5f77c18ea55601822f9c495135a5b5d4b499d647, \< 26cb789c98bdd4dcc2af6e083eeaa23c4d8715c4; \>= 5f77c18ea55601822f9c495135a5b5d4b499d647, \< 2dec8c5a6928f27a40e8880df2af3289693abbcd; \>= 5f77c18ea55601822f9c495135a5b5d4b499d647, \< a75facf4bb3e866103ddca4f47a6f3ca4b090d8b
- Anyone running Linux 6.11

## Description

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

l2tp: only return sessions of the given tunnel in l2tp\_session\_get()

Commit 5f77c18ea556 ("l2tp: use IDR for all session lookups") made
pppol2tp\_connect() and the netlink session commands find sessions with
l2tp\_session\_get(), passing the socket of the tunnel they name.

L2TPv3 session IDs are unique per network namespace, except that
sessions carried over UDP are only unique per UDP socket, the socket of
their tunnel. However, l2tp\_v3\_session\_get() only checks the socket when
another session has the same session ID. Otherwise it returns the
session, whichever tunnel it belongs to. As of now, a session command
that names the wrong tunnel acts on a session of another tunnel, and a
PPPoL2TP socket for a second L2TPv3 tunnel fails with EEXIST, because it
finds session 0 of the first tunnel.

The issue can be reproduced with:

    ip l2tp add tunnel tunnel\_id 3 peer\_tunnel\_id 3 encap udp \\
        local 127.0.0.1 remote 127.0.0.1 udp\_sport 5003 udp\_dport 6003
    ip l2tp add tunnel tunnel\_id 4 peer\_tunnel\_id 4 encap udp \\
        local 127.0.0.1 remote 127.0.0.1 udp\_sport 5004 udp\_dport 6004
    ip l2tp add session tunnel\_id 3 session\_id 7 peer\_session\_id 7
    ip l2tp del session tunnel\_id 4 session\_id 7
    ip l2tp show session

Before that commit, the delete fails with "No such device", and session
7 of tunnel 3 is still listed. After that commit, the delete succeeds,
and session 7 of tunnel 3 is gone.

This patch will make l2tp\_session\_get() return NULL when the L2TPv3
session it finds does not belong to the given socket. The receive path
calls l2tp\_v3\_session\_get() directly and is not changed.

## Affected and fixed versions

- Linux: \>= 5f77c18ea55601822f9c495135a5b5d4b499d647, \< 649d00a0e1ff2f5a4f5b8c194755f9b9bbd98504; \>= 5f77c18ea55601822f9c495135a5b5d4b499d647, \< 26cb789c98bdd4dcc2af6e083eeaa23c4d8715c4; \>= 5f77c18ea55601822f9c495135a5b5d4b499d647, \< 2dec8c5a6928f27a40e8880df2af3289693abbcd; \>= 5f77c18ea55601822f9c495135a5b5d4b499d647, \< a75facf4bb3e866103ddca4f47a6f3ca4b090d8b (cvelist)
- Linux: 6.11 (cvelist)

## Technologies

Linux kernel

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-99615.md
Affected: Linux >= 5f77c18ea55601822f9c495135a5b5d4b499d647, < 649d00a0e1ff2f5a4f5b8c194755f9b9bbd98504; >= 5f77c18ea55601822f9c495135a5b5d4b499d647, < 26cb789c98bdd4dcc2af6e083eeaa23c4d8715c4; >= 5f77c18ea55601822f9c495135a5b5d4b499d647, < 2dec8c5a6928f27a40e8880df2af3289693abbcd; >= 5f77c18ea55601822f9c495…
Fixed in: Linux 649d00a0e1ff2f5a4f5b8c194755f9b9bbd98504, Linux 26cb789c98bdd4dcc2af6e083eeaa23c4d8715c4, Linux 2dec8c5a6928f27a40e8880df2af3289693abbcd

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-99615 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 5f77c18ea55601822f9c495135a5b5d4b499d647, \< 649d00a0e1ff2f5a4f5b8c194755f9b9bbd98504; \>= 5f77c18ea55601822f9c495135a5b5d4b499d647, \< 26cb789c98bdd4dcc2af6e083eeaa23c4d8715c4; \>= 5f77c18ea55601822f9c495135a5b5d4b499d647, \< 2dec8c5a6928f27a40e8880df2af3289693abbcd; \>= 5f77c18ea55601822f9c495135a5b5d4b499d647, \< a75facf4bb3e866103ddca4f47a6f3ca4b090d8b; Linux 6.11.

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

Yes. Fixed in Linux 649d00a0e1ff2f5a4f5b8c194755f9b9bbd98504, Linux 26cb789c98bdd4dcc2af6e083eeaa23c4d8715c4, Linux 2dec8c5a6928f27a40e8880df2af3289693abbcd. No fix listed yet: follow the vendor advisory.

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

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

- other: <https://git.kernel.org/stable/c/649d00a0e1ff2f5a4f5b8c194755f9b9bbd98504>
- other: <https://git.kernel.org/stable/c/26cb789c98bdd4dcc2af6e083eeaa23c4d8715c4>
- other: <https://git.kernel.org/stable/c/2dec8c5a6928f27a40e8880df2af3289693abbcd>
- other: <https://git.kernel.org/stable/c/a75facf4bb3e866103ddca4f47a6f3ca4b090d8b>

## 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-99615>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

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