CVE-2026-53262·Kernel vulnerability
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()).
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.0.13
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.12% — higher than 2% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-53262 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.12%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 7.0.13
Fixed in: 7.0.13
How to fix this CVE
Update your Linux kernel to version 7.0.13 or later to patch a use-after-free vulnerability in the l2tp/pppol2tp subsystem. This vulnerability could allow a local attacker with user privileges to crash the kernel or potentially execute arbitrary code by exploiting a race condition between socket ioctl operations and concurrent socket closure. Ensure your system is rebooted after applying the kernel update.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check installed kernel version with 'uname -r' and verify if it falls between 6.19 and 7.0.12
- Step 2: Confirm l2tp kernel module is loaded by running 'lsmod | grep l2tp' or 'cat /proc/modules | grep l2tp'
- Step 3: Search system logs for kernel panics or UAF errors related to l2tp/pppol2tp using 'sudo journalctl -b | grep -i "l2tp\|use.after.free\|UAF"'
- Step 4: After patching, verify the new kernel version with 'uname -r' and confirm it is 7.0.13 or later
FAQ
What is CVE-2026-53262?
This is a use-after-free vulnerability in the Linux kernel's l2tp/pppol2tp subsystem where a race condition between ioctl operations and socket closure can lead to dereferencing freed memory, potentially allowing local privilege escalation or kernel crashes.
Is CVE-2026-53262 being actively exploited?
No, this vulnerability is not currently listed in CISA's Known Exploited Vulnerabilities catalog and no public exploits have been disclosed.
What versions of Kernel are affected by CVE-2026-53262?
Linux kernel versions 6.19 through 7.0.12 are affected. Versions 7.0.13 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-53262?
Run 'uname -r' to check your kernel version. If it shows a version between 6.19 and 7.0.12 inclusive, your system is vulnerable. Additionally, verify l2tp support is compiled in with 'grep CONFIG_L2TP /boot/config-$(uname -r)'.
Does Defensia detect CVE-2026-53262?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-53262 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/312ecea13b67797747eb9d4b9dab8d3846de6dfb
- https://git.kernel.org/stable/c/62f327e287cf7b595ae3f73ba72f5cd2a9e9f39f
- https://git.kernel.org/stable/c/78cdfdca88cbf731a92f3b9ee5427c633dd94e28
- https://git.kernel.org/stable/c/a213a8950414c684999dcf03edeea6c46ede172e
- https://git.kernel.org/stable/c/cc19c164a99ab706d4cb45d3c300b305c16798b5
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-53262. Free for 1 server.
Get started free