Instituto Nacional de ciberseguridad. Sección Incibe
Instituto Nacional de Ciberseguridad. Sección INCIBE-CERT

CVE-2026-53262

Gravedad CVSS v3.1:
ALTA
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
25/06/2026
Última modificación:
08/07/2026

Descripción

*** Pendiente de traducción *** 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-&gt;sk-&gt;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&amp;#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()).

Productos y versiones vulnerables

CPE Desde Hasta
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 2.6.35 (incluyendo) 6.12.94 (excluyendo)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13 (incluyendo) 6.18.36 (excluyendo)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.19 (incluyendo) 7.0.13 (excluyendo)
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:*:*:*:*:*:*