Skip to main content
Network Thinking Solutions Logo

CVE-2026-53262

Linux kernel: l2tp: pppol2tp: hold reference to session in pppol2tp_ioctl()

All CVEs
CVE-2026-53262Published 6/25/2026

Linux kernel: l2tp: pppol2tp: hold reference to session in pppol2tp_ioctl()

Vendor advisory
CVSS7.8High

Overview

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()).

Published
6/25/2026
Last modified
10/30/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 2.6.35, < 6.12.94

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.18.36

Verify advisory

Source
linux kernel
linux
≥ 6.19, < 7.0.13

Verify advisory

Source
linux kernel
linux
7.1

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ fd558d186df2c13a22455373858bae634a4795af, < cc19c164a99ab706d4cb45d3c300b305c16798b5

Verify advisory

Source
Linux
Linux
≥ fd558d186df2c13a22455373858bae634a4795af, < 312ecea13b67797747eb9d4b9dab8d3846de6dfb

Verify advisory

Source
Linux
Linux
≥ fd558d186df2c13a22455373858bae634a4795af, < 78cdfdca88cbf731a92f3b9ee5427c633dd94e28

Verify advisory

Source
Linux
Linux
≥ fd558d186df2c13a22455373858bae634a4795af, < e251d4cdfc725c9e7d686161e3b775a0e7d95053

Verify advisory

Source
Linux
Linux
≥ fd558d186df2c13a22455373858bae634a4795af, < 62f327e287cf7b595ae3f73ba72f5cd2a9e9f39f

Verify advisory

Source
Linux
Linux
≥ fd558d186df2c13a22455373858bae634a4795af, < a213a8950414c684999dcf03edeea6c46ede172e

Verify advisory

Source
Linux
Linux
2.6.35

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.