CVE-2026-53262
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
25/06/2026
Last modified:
08/07/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
l2tp: pppol2tp: hold reference to session in pppol2tp_ioctl()<br />
<br />
pppol2tp_ioctl() read sock->sk->sk_user_data directly without any<br />
locks or reference counting. If a controllable sleep was induced during<br />
copy_from_user() (e.g. via a userfaultfd page fault sleep), a concurrent<br />
socket close could trigger pppol2tp_session_close() asynchronously. This<br />
frees the l2tp_session structure via the l2tp_session_del_work workqueue.<br />
Upon resuming, the ioctl thread dereferences the stale session pointer,<br />
resulting in a Use-After-Free (UAF).<br />
<br />
Fix this by securely fetching the session reference using the RCU-safe,<br />
refcounted helper pppol2tp_sock_to_session(sk) on entry. This locks the<br />
session&#39;s refcount across the sleep. We structured the function to exit<br />
via standard err breaks, guaranteeing that l2tp_session_put() is cleanly<br />
called on all return paths to drop the reference.<br />
<br />
To preserve existing behavior we validate the session and its magic<br />
signature only for the specific L2TP commands that require it. This<br />
ensures that generic/unknown ioctls called on an unconnected socket<br />
still return -ENOIOCTLCMD and correctly fall back to generic handlers<br />
(e.g. in sock_do_ioctl()).
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 2.6.35 (including) | 6.12.94 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 (including) | 6.18.36 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.19 (including) | 7.0.13 (excluding) |
| cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.1:rc6:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



