{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-99615","id":"CVE-2026-99615","title":"Linux kernel cross-tunnel session access in L2TP session lookup","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nl2tp: only return sessions of the given tunnel in l2tp_session_get()\n\nCommit 5f77c18ea556 (\"l2tp: use IDR for all session lookups\") made\npppol2tp_connect() and the netlink session commands find sessions with\nl2tp_session_get(), passing the socket of the tunnel they name.\n\nL2TPv3 session IDs are unique per network namespace, excep","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nl2tp: only return sessions of the given tunnel in l2tp_session_get()\n\nCommit 5f77c18ea556 (\"l2tp: use IDR for all session lookups\") made\npppol2tp_connect() and the netlink session commands find sessions with\nl2tp_session_get(), passing the socket of the tunnel they name.\n\nL2TPv3 session IDs are unique per network namespace, except that\nsessions carried over UDP are only unique per UDP socket, the socket of\ntheir tunnel. However, l2tp_v3_session_get() only checks the socket when\nanother session has the same session ID. Otherwise it returns the\nsession, whichever tunnel it belongs to. As of now, a session command\nthat names the wrong tunnel acts on a session of another tunnel, and a\nPPPoL2TP socket for a second L2TPv3 tunnel fails with EEXIST, because it\nfinds session 0 of the first tunnel.\n\nThe issue can be reproduced with:\n\n    ip l2tp add tunnel tunnel_id 3 peer_tunnel_id 3 encap udp \\\n        local 127.0.0.1 remote 127.0.0.1 udp_sport 5003 udp_dport 6003\n    ip l2tp add tunnel tunnel_id 4 peer_tunnel_id 4 encap udp \\\n        local 127.0.0.1 remote 127.0.0.1 udp_sport 5004 udp_dport 6004\n    ip l2tp add session tunnel_id 3 session_id 7 peer_session_id 7\n    ip l2tp del session tunnel_id 4 session_id 7\n    ip l2tp show session\n\nBefore that commit, the delete fails with \"No such device\", and session\n7 of tunnel 3 is still listed. After that commit, the delete succeeds,\nand session 7 of tunnel 3 is gone.\n\nThis patch will make l2tp_session_get() return NULL when the L2TPv3\nsession it finds does not belong to the given socket. The receive path\ncalls l2tp_v3_session_get() directly and is not changed.","published":"2026-11-20T05:49:36.883Z","updated":"2026-11-20T07:00:52.734219969Z","reserved":"2026-09-25T10:25:14.425Z","status":"Received","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5f77c18ea55601822f9c495135a5b5d4b499d647","lessThan":"649d00a0e1ff2f5a4f5b8c194755f9b9bbd98504","status":"affected","versionType":"git"},{"version":"5f77c18ea55601822f9c495135a5b5d4b499d647","lessThan":"26cb789c98bdd4dcc2af6e083eeaa23c4d8715c4","status":"affected","versionType":"git"},{"version":"5f77c18ea55601822f9c495135a5b5d4b499d647","lessThan":"2dec8c5a6928f27a40e8880df2af3289693abbcd","status":"affected","versionType":"git"},{"version":"5f77c18ea55601822f9c495135a5b5d4b499d647","lessThan":"a75facf4bb3e866103ddca4f47a6f3ca4b090d8b","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.11","status":"affected"},{"version":"0","lessThan":"6.11","status":"unaffected","versionType":"semver"},{"version":"6.12.118","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.64","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/649d00a0e1ff2f5a4f5b8c194755f9b9bbd98504","tags":["web"]},{"url":"https://git.kernel.org/stable/c/26cb789c98bdd4dcc2af6e083eeaa23c4d8715c4","tags":["web"]},{"url":"https://git.kernel.org/stable/c/2dec8c5a6928f27a40e8880df2af3289693abbcd","tags":["web"]},{"url":"https://git.kernel.org/stable/c/a75facf4bb3e866103ddca4f47a6f3ca4b090d8b","tags":["web"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99615.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99615","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99615","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99615","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-99615","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99615","ok":false,"note":"no score yet"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}