Linux kernel: namespace: don't copy an unmounted mount tree
Overview
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.
- Published
- 10/23/2026
- Last modified
- 10/30/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
Linux Linux | ≥ e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, < 94d05b62dc7aea236db20166e79ee002e466393a | Verify advisory | Source |
Linux Linux | ≥ e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, < 07c6a8f004bcc58b4ccf993e6efa7b9b8b4a1b8b | Verify advisory | Source |
Linux Linux | ≥ e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, < 31cf157298271392ab5fb0805b28d37c8d7a8057 | Verify advisory | Source |
Linux Linux | ≥ e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, < 86a2d56b1960720bf1844441c0890621e9db2f25 | Verify advisory | Source |
Linux Linux | ≥ e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, < 7e037b1fd339d865737c8accd29abcf40130a5a0 | Verify advisory | Source |
Linux Linux | ≥ e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, < b47b40c4f058418f9707454543179df240796aad | Verify advisory | Source |
Linux Linux | ≥ e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, < 8d3527457e183cedee3003c2897314da49488311 | Verify advisory | Source |
Linux Linux | ≥ e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, < 8bacbf6be959973b28b691713a872c12eae69eec | Verify advisory | Source |
Linux Linux | 3.19 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
No CVSS score is published for this record yet. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.