FKIE_CVE-2026-98992
Vulnerability from fkie_nvd - Published: 2026-10-23 13:17 - Updated: 2026-10-23 13:17
Severity
Summary
In the Linux kernel, the following vulnerability has been resolved:
namespace: don't copy an unmounted mount tree
may_copy_tree() accepts a mount whose root is an nsfs or pidfs file
before it checks whether that mount is mounted. This exception exists
for nsfs and pidfs mounts. They are part of no mount namespace so
neither check_mnt() nor is_mounted() would let them through and
bind-mounting a nsfsfd or a pidfd wouldn't work.
Problem is that exception also admits a bind mount of such a file when
it was lazily unmounted and is only kept alive by a file descriptor:
mount --bind /proc/self/ns/net /tmp/x
exec 3< /tmp/x
umount -l /tmp/x
mount --rbind /proc/self/fd/3 /tmp/y
With MS_REC or AT_RECURSIVE copy_tree() doesn't stop at the unmounted
mount. It copies every mount that stayed attached to it as well. So if
you have a bunch of overmounts over the nsfsfd or the pidfd the whole
unmounted stack is copied. That's a bug.
So refuse to walk an unmounted tree. Copying its root alone stays
possible. So a bind mount of a namespace that is gone can still be
recreated from a file descriptor on the old one. The file descriptor
pins that mount and its root and __has_locked_children() only reads the
direct children which don't leave the parent's list without
namespace_sem. The internal mounts carry MNT_NS_INTERNAL instead of NULL
and are still walked. Copying an unmounted tree recursively fails with
EINVAL.
References
Impacted products
| Vendor | Product | Version |
|---|
{
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/namespace.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "86a2d56b1960720bf1844441c0890621e9db2f25",
"status": "affected",
"version": "e149ed2b805fefdccf7ccdfc19eca22fdd4514ac",
"versionType": "git"
},
{
"lessThan": "7e037b1fd339d865737c8accd29abcf40130a5a0",
"status": "affected",
"version": "e149ed2b805fefdccf7ccdfc19eca22fdd4514ac",
"versionType": "git"
},
{
"lessThan": "b47b40c4f058418f9707454543179df240796aad",
"status": "affected",
"version": "e149ed2b805fefdccf7ccdfc19eca22fdd4514ac",
"versionType": "git"
},
{
"lessThan": "8d3527457e183cedee3003c2897314da49488311",
"status": "affected",
"version": "e149ed2b805fefdccf7ccdfc19eca22fdd4514ac",
"versionType": "git"
},
{
"lessThan": "8bacbf6be959973b28b691713a872c12eae69eec",
"status": "affected",
"version": "e149ed2b805fefdccf7ccdfc19eca22fdd4514ac",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"fs/namespace.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "3.19"
},
{
"lessThan": "3.19",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.113",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.57",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.2.*",
"status": "unaffected",
"version": "7.2.11",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnamespace: don\u0027t copy an unmounted mount tree\n\nmay_copy_tree() accepts a mount whose root is an nsfs or pidfs file\nbefore it checks whether that mount is mounted. This exception exists\nfor nsfs and pidfs mounts. They are part of no mount namespace so\nneither check_mnt() nor is_mounted() would let them through and\nbind-mounting a nsfsfd or a pidfd wouldn\u0027t work.\n\nProblem is that exception also admits a bind mount of such a file when\nit was lazily unmounted and is only kept alive by a file descriptor:\n\n mount --bind /proc/self/ns/net /tmp/x\n exec 3\u003c /tmp/x\n umount -l /tmp/x\n mount --rbind /proc/self/fd/3 /tmp/y\n\nWith MS_REC or AT_RECURSIVE copy_tree() doesn\u0027t stop at the unmounted\nmount. It copies every mount that stayed attached to it as well. So if\nyou have a bunch of overmounts over the nsfsfd or the pidfd the whole\nunmounted stack is copied. That\u0027s a bug.\n\nSo refuse to walk an unmounted tree. Copying its root alone stays\npossible. So a bind mount of a namespace that is gone can still be\nrecreated from a file descriptor on the old one. The file descriptor\npins that mount and its root and __has_locked_children() only reads the\ndirect children which don\u0027t leave the parent\u0027s list without\nnamespace_sem. The internal mounts carry MNT_NS_INTERNAL instead of NULL\nand are still walked. Copying an unmounted tree recursively fails with\nEINVAL."
}
],
"id": "CVE-2026-98992",
"lastModified": "2026-10-23T13:17:21.283",
"metrics": {},
"published": "2026-10-23T13:17:21.283",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/7e037b1fd339d865737c8accd29abcf40130a5a0"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/86a2d56b1960720bf1844441c0890621e9db2f25"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/8bacbf6be959973b28b691713a872c12eae69eec"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/8d3527457e183cedee3003c2897314da49488311"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/b47b40c4f058418f9707454543179df240796aad"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Received"
}
Loading…
Loading…
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
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.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
Loading timeline…
Loading…
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.