Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
CVE Vulnerability Details :
CVE-2026-53262
PUBLISHED
More InfoOfficial Page
Assigner-Linux
Assigner Org ID-416baaa9-dc9f-4396-8d5f-8c081fb06d67
View Known Exploited Vulnerability (KEV) details
Published At-25 Jun, 2026 | 08:39
Updated At-28 Jun, 2026 | 06:41
Rejected At-
▼CVE Numbering Authority (CNA)
l2tp: pppol2tp: hold reference to session in pppol2tp_ioctl()

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 Products
Vendor
Linux Kernel Organization, IncLinux
Product
Linux
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Program Files
  • net/l2tp/l2tp_ppp.c
Default Status
unaffected
Versions
Affected
  • From fd558d186df2c13a22455373858bae634a4795af before 78cdfdca88cbf731a92f3b9ee5427c633dd94e28 (git)
  • From fd558d186df2c13a22455373858bae634a4795af before e251d4cdfc725c9e7d686161e3b775a0e7d95053 (git)
  • From fd558d186df2c13a22455373858bae634a4795af before 62f327e287cf7b595ae3f73ba72f5cd2a9e9f39f (git)
  • From fd558d186df2c13a22455373858bae634a4795af before a213a8950414c684999dcf03edeea6c46ede172e (git)
Vendor
Linux Kernel Organization, IncLinux
Product
Linux
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Program Files
  • net/l2tp/l2tp_ppp.c
Default Status
affected
Versions
Affected
  • 2.6.35
Unaffected
  • From 0 before 2.6.35 (semver)
  • From 6.12.94 through 6.12.* (semver)
  • From 6.18.36 through 6.18.* (semver)
  • From 7.0.13 through 7.0.* (semver)
  • From 7.1 through * (original_commit_for_fix)
Metrics
VersionBase scoreBase severityVector
3.17.8HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Version: 3.1
Base score: 7.8
Base severity: HIGH
Vector:
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://git.kernel.org/stable/c/78cdfdca88cbf731a92f3b9ee5427c633dd94e28
N/A
https://git.kernel.org/stable/c/e251d4cdfc725c9e7d686161e3b775a0e7d95053
N/A
https://git.kernel.org/stable/c/62f327e287cf7b595ae3f73ba72f5cd2a9e9f39f
N/A
https://git.kernel.org/stable/c/a213a8950414c684999dcf03edeea6c46ede172e
N/A
Hyperlink: https://git.kernel.org/stable/c/78cdfdca88cbf731a92f3b9ee5427c633dd94e28
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/e251d4cdfc725c9e7d686161e3b775a0e7d95053
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/62f327e287cf7b595ae3f73ba72f5cd2a9e9f39f
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/a213a8950414c684999dcf03edeea6c46ede172e
Resource: N/A
Details not found