# CVE-2026-53262: l2tp: pppol2tp: hold reference to session in pppol2tp\_ioctl()

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.17% (percentile 4, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-06-25T08:39:50.550Z
- **Modified:** 2026-10-30T13:19:14.403Z

## Who should check

- Anyone running Linux \>= fd558d186df2c13a22455373858bae634a4795af, \< cc19c164a99ab706d4cb45d3c300b305c16798b5; \>= fd558d186df2c13a22455373858bae634a4795af, \< 312ecea13b67797747eb9d4b9dab8d3846de6dfb; \>= fd558d186df2c13a22455373858bae634a4795af, \< 78cdfdca88cbf731a92f3b9ee5427c633dd94e28; \>= fd558d186df2c13a22455373858bae634a4795af, \< e251d4cdfc725c9e7d686161e3b775a0e7d95053; \>= fd558d186df2c13a22455373858bae634a4795af, \< 62f327e287cf7b595ae3f73ba72f5cd2a9e9f39f; \>= fd558d186df2c13a22455373858bae634a4795af, \< a213a8950414c684999dcf03edeea6c46ede172e
- Anyone running Linux 2.6.35

## Description

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

l2tp: pppol2tp: hold reference to session in pppol2tp\_ioctl()

pppol2tp\_ioctl() read sock-\>sk-\>sk\_user\_data directly without any
locks or reference counting.  If a controllable sleep was induced during
copy\_from\_user() (e.g. via a userfaultfd page fault sleep), a concurrent
socket close could trigger pppol2tp\_session\_close() asynchronously.  This
frees the l2tp\_session structure via the l2tp\_session\_del\_work workqueue.
Upon resuming, the ioctl thread dereferences the stale session pointer,
resulting in a Use-After-Free (UAF).

Fix this by securely fetching the session reference using the RCU-safe,
refcounted helper pppol2tp\_sock\_to\_session(sk) on entry.  This locks the
session's refcount across the sleep.  We structured the function to exit
via standard err breaks, guaranteeing that l2tp\_session\_put() is cleanly
called on all return paths to drop the reference.

To preserve existing behavior we validate the session and its magic
signature only for the specific L2TP commands that require it.  This
ensures that generic/unknown ioctls called on an unconnected socket
still return -ENOIOCTLCMD and correctly fall back to generic handlers
(e.g. in sock\_do\_ioctl()).

## Affected and fixed versions

- Linux: \>= fd558d186df2c13a22455373858bae634a4795af, \< cc19c164a99ab706d4cb45d3c300b305c16798b5; \>= fd558d186df2c13a22455373858bae634a4795af, \< 312ecea13b67797747eb9d4b9dab8d3846de6dfb; \>= fd558d186df2c13a22455373858bae634a4795af, \< 78cdfdca88cbf731a92f3b9ee5427c633dd94e28; \>= fd558d186df2c13a22455373858bae634a4795af, \< e251d4cdfc725c9e7d686161e3b775a0e7d95053; \>= fd558d186df2c13a22455373858bae634a4795af, \< 62f327e287cf7b595ae3f73ba72f5cd2a9e9f39f; \>= fd558d186df2c13a22455373858bae634a4795af, \< a213a8950414c684999dcf03edeea6c46ede172e (cvelist)
- Linux: 2.6.35 (cvelist)

## 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-53262. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-53262.md
Affected: Linux >= fd558d186df2c13a22455373858bae634a4795af, < cc19c164a99ab706d4cb45d3c300b305c16798b5; >= fd558d186df2c13a22455373858bae634a4795af, < 312ecea13b67797747eb9d4b9dab8d3846de6dfb; >= fd558d186df2c13a22455373858bae634a4795af, < 78cdfdca88cbf731a92f3b9ee5427c633dd94e28; >= fd558d186df2c13a2245537…
Fixed in: Linux 312ecea13b67797747eb9d4b9dab8d3846de6dfb, Linux 78cdfdca88cbf731a92f3b9ee5427c633dd94e28, Linux 62f327e287cf7b595ae3f73ba72f5cd2a9e9f39f

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

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

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= fd558d186df2c13a22455373858bae634a4795af, \< cc19c164a99ab706d4cb45d3c300b305c16798b5; \>= fd558d186df2c13a22455373858bae634a4795af, \< 312ecea13b67797747eb9d4b9dab8d3846de6dfb; \>= fd558d186df2c13a22455373858bae634a4795af, \< 78cdfdca88cbf731a92f3b9ee5427c633dd94e28; \>= fd558d186df2c13a22455373858bae634a4795af, \< e251d4cdfc725c9e7d686161e3b775a0e7d95053; \>= fd558d186df2c13a22455373858bae634a4795af, \< 62f327e287cf7b595ae3f73ba72f5cd2a9e9f39f; \>= fd558d186df2c13a22455373858bae634a4795af, \< a213a8950414c684999dcf03edeea6c46ede172e; Linux 2.6.35.

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

Yes. Fixed in Linux 312ecea13b67797747eb9d4b9dab8d3846de6dfb, Linux 78cdfdca88cbf731a92f3b9ee5427c633dd94e28, Linux 62f327e287cf7b595ae3f73ba72f5cd2a9e9f39f. No fix listed yet: follow the vendor advisory.

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

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/78cdfdca88cbf731a92f3b9ee5427c633dd94e28>
- patch: <https://git.kernel.org/stable/c/e251d4cdfc725c9e7d686161e3b775a0e7d95053>
- patch: <https://git.kernel.org/stable/c/62f327e287cf7b595ae3f73ba72f5cd2a9e9f39f>
- patch: <https://git.kernel.org/stable/c/a213a8950414c684999dcf03edeea6c46ede172e>
- other: <https://git.kernel.org/stable/c/cc19c164a99ab706d4cb45d3c300b305c16798b5>
- other: <https://git.kernel.org/stable/c/312ecea13b67797747eb9d4b9dab8d3846de6dfb>

## 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-53262>

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