CVE-2026-53262 (GCVE-0-2026-53262)
Vulnerability from cvelistv5 – Published: 2026-06-25 08:39 – Updated: 2026-08-05 12:34
VLAI
EPSS
VEX
Title
l2tp: pppol2tp: hold reference to session in pppol2tp_ioctl()
Summary
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
7.8 (High)
Assigner
References
Impacted products
2 products
| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| Linux | Linux |
Affected:
fd558d186df2c13a22455373858bae634a4795af , < 78cdfdca88cbf731a92f3b9ee5427c633dd94e28
(git)
Affected: fd558d186df2c13a22455373858bae634a4795af , < e251d4cdfc725c9e7d686161e3b775a0e7d95053 (git) Affected: fd558d186df2c13a22455373858bae634a4795af , < 62f327e287cf7b595ae3f73ba72f5cd2a9e9f39f (git) Affected: fd558d186df2c13a22455373858bae634a4795af , < a213a8950414c684999dcf03edeea6c46ede172e (git) |
guessed | |
| Linux | Linux |
Affected:
2.6.35
Unaffected: 0 , < 2.6.35 (semver) Unaffected: 6.12.94 , ≤ 6.12.* (semver) Unaffected: 6.18.36 , ≤ 6.18.* (semver) Unaffected: 7.0.13 , ≤ 7.0.* (semver) Unaffected: 7.1 , ≤ * (original_commit_for_fix) |
guessed |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"net/l2tp/l2tp_ppp.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "78cdfdca88cbf731a92f3b9ee5427c633dd94e28",
"status": "affected",
"version": "fd558d186df2c13a22455373858bae634a4795af",
"versionType": "git"
},
{
"lessThan": "e251d4cdfc725c9e7d686161e3b775a0e7d95053",
"status": "affected",
"version": "fd558d186df2c13a22455373858bae634a4795af",
"versionType": "git"
},
{
"lessThan": "62f327e287cf7b595ae3f73ba72f5cd2a9e9f39f",
"status": "affected",
"version": "fd558d186df2c13a22455373858bae634a4795af",
"versionType": "git"
},
{
"lessThan": "a213a8950414c684999dcf03edeea6c46ede172e",
"status": "affected",
"version": "fd558d186df2c13a22455373858bae634a4795af",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"net/l2tp/l2tp_ppp.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "2.6.35"
},
{
"lessThan": "2.6.35",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.94",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.36",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.0.*",
"status": "unaffected",
"version": "7.0.13",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.1",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.94",
"versionStartIncluding": "2.6.35",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.36",
"versionStartIncluding": "2.6.35",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.0.13",
"versionStartIncluding": "2.6.35",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.1",
"versionStartIncluding": "2.6.35",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nl2tp: pppol2tp: hold reference to session in pppol2tp_ioctl()\n\npppol2tp_ioctl() read sock-\u003esk-\u003esk_user_data directly without any\nlocks or reference counting. If a controllable sleep was induced during\ncopy_from_user() (e.g. via a userfaultfd page fault sleep), a concurrent\nsocket close could trigger pppol2tp_session_close() asynchronously. This\nfrees the l2tp_session structure via the l2tp_session_del_work workqueue.\nUpon resuming, the ioctl thread dereferences the stale session pointer,\nresulting in a Use-After-Free (UAF).\n\nFix this by securely fetching the session reference using the RCU-safe,\nrefcounted helper pppol2tp_sock_to_session(sk) on entry. This locks the\nsession\u0027s refcount across the sleep. We structured the function to exit\nvia standard err breaks, guaranteeing that l2tp_session_put() is cleanly\ncalled on all return paths to drop the reference.\n\nTo preserve existing behavior we validate the session and its magic\nsignature only for the specific L2TP commands that require it. This\nensures that generic/unknown ioctls called on an unconnected socket\nstill return -ENOIOCTLCMD and correctly fall back to generic handlers\n(e.g. in sock_do_ioctl())."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 7.8,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"scenarios": [
{
"lang": "en",
"value": "AV:L - The vulnerable path is reached through a local `ioctl()` on a connected PPPoL2TP `AF_PPPOX` socket. Remote L2TP packets do not invoke `pppol2tp_ioctl()`.\nAC:L - The attacker controls both sides of the race by blocking `copy_from_user()` in the ioctl thread and closing the same socket concurrently. No external victim state is required.\nPR:L - A local unprivileged user can reach the PPPoL2TP socket/ioctl path; L2TP management also uses user-namespace admin permissions rather than requiring real init-namespace root. This is not remotely reachable without local code execution.\nUI:N - No victim action is required after the attacker runs local code. The attacker creates/connects the socket, issues the ioctl, and closes the socket.\nS:U - The impact is within the kernel security authority on the same system. It is not a VM escape, IOMMU bypass, or cross-authority boundary violation.\nC:H - This is a kernel heap use-after-free of `struct l2tp_session`, and the resumed ioctl can read from reclaimed/faked session and tunnel data before copying results to userspace. Per conservative kernel UAF scoring, this supports high confidentiality impact.\nI:H - Kernel UAFs with attacker-controlled timing and heap reuse can be leveraged beyond a simple stale read, including corruption or control-flow primitives. When uncertain, the higher severity option is appropriate.\nA:H - At minimum, dereferencing the stale session or tunnel pointer can trigger a kernel oops or panic. The attacker can repeatedly trigger the race locally."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-05T12:34:40.148Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/78cdfdca88cbf731a92f3b9ee5427c633dd94e28"
},
{
"url": "https://git.kernel.org/stable/c/e251d4cdfc725c9e7d686161e3b775a0e7d95053"
},
{
"url": "https://git.kernel.org/stable/c/62f327e287cf7b595ae3f73ba72f5cd2a9e9f39f"
},
{
"url": "https://git.kernel.org/stable/c/a213a8950414c684999dcf03edeea6c46ede172e"
}
],
"title": "l2tp: pppol2tp: hold reference to session in pppol2tp_ioctl()",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-53262",
"datePublished": "2026-06-25T08:39:50.550Z",
"dateReserved": "2026-06-09T07:44:35.394Z",
"dateUpdated": "2026-08-05T12:34:40.148Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-53262",
"date": "2026-09-16",
"epss": "0.00119",
"percentile": "0.02003"
},
"microsoft_vex": {
"current_release_date": "2026-08-13T00:14:44.000Z",
"cve": "CVE-2026-53262",
"id": "msrc_CVE-2026-53262",
"initial_release_date": "2026-06-27T01:13:52.000Z",
"product_status:known_affected": "3",
"product_status:under_investigation": "1",
"source": "Microsoft CSAF VEX",
"status": "final",
"title": "l2tp: pppol2tp: hold reference to session in pppol2tp_ioctl()",
"url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-53262.json",
"version": "5"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2026-53262\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-06-25T09:16:44.190\",\"lastModified\":\"2026-07-08T15:15:55.710\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nl2tp: pppol2tp: hold reference to session in pppol2tp_ioctl()\\n\\npppol2tp_ioctl() read sock-\u003esk-\u003esk_user_data directly without any\\nlocks or reference counting. If a controllable sleep was induced during\\ncopy_from_user() (e.g. via a userfaultfd page fault sleep), a concurrent\\nsocket close could trigger pppol2tp_session_close() asynchronously. This\\nfrees the l2tp_session structure via the l2tp_session_del_work workqueue.\\nUpon resuming, the ioctl thread dereferences the stale session pointer,\\nresulting in a Use-After-Free (UAF).\\n\\nFix this by securely fetching the session reference using the RCU-safe,\\nrefcounted helper pppol2tp_sock_to_session(sk) on entry. This locks the\\nsession\u0027s refcount across the sleep. We structured the function to exit\\nvia standard err breaks, guaranteeing that l2tp_session_put() is cleanly\\ncalled on all return paths to drop the reference.\\n\\nTo preserve existing behavior we validate the session and its magic\\nsignature only for the specific L2TP commands that require it. This\\nensures that generic/unknown ioctls called on an unconnected socket\\nstill return -ENOIOCTLCMD and correctly fall back to generic handlers\\n(e.g. in sock_do_ioctl()).\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"net/l2tp/l2tp_ppp.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"fd558d186df2c13a22455373858bae634a4795af\",\"lessThan\":\"78cdfdca88cbf731a92f3b9ee5427c633dd94e28\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"fd558d186df2c13a22455373858bae634a4795af\",\"lessThan\":\"e251d4cdfc725c9e7d686161e3b775a0e7d95053\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"fd558d186df2c13a22455373858bae634a4795af\",\"lessThan\":\"62f327e287cf7b595ae3f73ba72f5cd2a9e9f39f\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"fd558d186df2c13a22455373858bae634a4795af\",\"lessThan\":\"a213a8950414c684999dcf03edeea6c46ede172e\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"net/l2tp/l2tp_ppp.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"2.6.35\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"2.6.35\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.94\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.36\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.0.13\",\"lessThanOrEqual\":\"7.0.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-Other\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"2.6.35\",\"versionEndExcluding\":\"6.12.94\",\"matchCriteriaId\":\"8E092CDC-D238-443D-B52B-C57704BE09B7\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.13\",\"versionEndExcluding\":\"6.18.36\",\"matchCriteriaId\":\"389025D2-958D-41BD-BD96-70ED1033A9F3\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.19\",\"versionEndExcluding\":\"7.0.13\",\"matchCriteriaId\":\"6A64BF9F-3BCA-42FD-98CB-8F03474D2B1E\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*\",\"matchCriteriaId\":\"B1EF7059-E670-45F4-B422-54C40FA86390\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*\",\"matchCriteriaId\":\"0D38F0BF-A728-4133-A358-D44A2F7EE6D6\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*\",\"matchCriteriaId\":\"EC732D08-5F7B-46D9-B154-E60C7F4F0A97\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*\",\"matchCriteriaId\":\"E5910A9D-F60A-409A-B486-FE66BFEBA9B9\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:*\",\"matchCriteriaId\":\"81DFF19E-9CF8-49C6-8C36-1E4038622933\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:7.1:rc6:*:*:*:*:*:*\",\"matchCriteriaId\":\"B0E8FC71-3952-444C-83E9-718DBBBEC615\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/62f327e287cf7b595ae3f73ba72f5cd2a9e9f39f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/78cdfdca88cbf731a92f3b9ee5427c633dd94e28\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/a213a8950414c684999dcf03edeea6c46ede172e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/e251d4cdfc725c9e7d686161e3b775a0e7d95053\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
"redhat_vex": {
"aggregate_severity": "Important",
"current_release_date": "2026-09-15T16:32:41+00:00",
"cve": "CVE-2026-53262",
"id": "CVE-2026-53262",
"initial_release_date": "2026-06-25T00:00:00+00:00",
"product_status:known_affected": "105",
"product_status:known_not_affected": "169",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "kernel: l2tp: pppol2tp: hold reference to session in pppol2tp_ioctl()",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-53262.json",
"version": "3"
},
"suse_vex": {
"aggregate_severity": "important",
"current_release_date": "2026-09-10T16:56:11Z",
"cve": "CVE-2026-53262",
"id": "CVE-2026-53262",
"initial_release_date": "2026-06-26T02:08:14Z",
"product_status:first_fixed": "2",
"product_status:known_affected": "648",
"product_status:recommended": "304",
"source": "SUSE CSAF VEX",
"status": "interim",
"title": "SUSE CVE CVE-2026-53262",
"url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-53262.json",
"version": "17"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…