namespace: check a submount for references right before unmounting it
In the Linux kernel, the following vulnerability has been resolved: namespace: check a submount for references right before unmounting it shrink_submounts() and mark_mounts_for_expiry() first collect all the mounts they are allowed to unmount and then unmount them. Whether a mount is busy is decided by propagate_mount_busy() on the tree. But unmounting the first mount changes the tree that the second one propagates into. propagate_umount() moves a surviving overmount off a copy it unmounts and mounts it where the copy was mounted. If that's where the propagated copy of the second victim is looked up the overmount becomes a candidate of the second umount_tree(). It's childless and so trim_one() commits it without looking at its reference count. So a synchronous umount pulls out a busy mount that is in use somewhere else and marks it MNT_SYNC_UMOUNT while it has users: umount2(/tmp/plshrink/p1, 0) = 0 errno 0 cwd is (unreachable) The same two umounts requested one after the other fail with EBUSY. This needs a mount with MNT_SHRINKABLE, i.e., automounted submounts of NFS, AFS and CIFS or the tracefs mount below debugfs. Bind mounts inherit the flag. Check each mount right before it is unmounted under the same hold of namespace_sem and mount_lock as the umount itself. Make sure that the algorithm stays linear.
CVE-2026-98990
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-98990
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "1064f874abc0d05eeed8993815f584d847b72486",
"lessThan": "f6394281834492c6516a405a348b545ae698a331",
"versionType": "git"
},
{
"status": "affected",
"version": "1064f874abc0d05eeed8993815f584d847b72486",
"lessThan": "6e4012e571867868b545c91ca9d6095fdb709907",
"versionType": "git"
},
{
"status": "affected",
"version": "1064f874abc0d05eeed8993815f584d847b72486",
"lessThan": "d73f04e92c1aab78d96ac6cadb234c8a3a373d22",
"versionType": "git"
},
{
"status": "affected",
"version": "1064f874abc0d05eeed8993815f584d847b72486",
"lessThan": "18902a23ef36f83d32bafc58ae2484e6bb4bb8ef",
"versionType": "git"
},
{
"status": "affected",
"version": "1064f874abc0d05eeed8993815f584d847b72486",
"lessThan": "32bf92416614a1e3ff3524fc6b780259c7aad3ef",
"versionType": "git"
},
{
"status": "affected",
"version": "5e6ef5ef6eaf690faad3a7c6c665ebf45d7b6ccf",
"versionType": "git"
},
{
"status": "affected",
"version": "839d42687dfce0ed0ea2c6bd8d707cc0e276fbe7",
"versionType": "git"
},
{
"status": "affected",
"version": "808e83e5add13152bd4a88346487de68395c136b",
"versionType": "git"
},
{
"status": "affected",
"version": "6de9d08a9718ee9c12ba6343c50141c2d633e3dc",
"versionType": "git"
},
{
"status": "affected",
"version": "4.1.40",
"lessThan": "4.2",
"versionType": "semver"
},
{
"status": "affected",
"version": "4.4.54",
"lessThan": "4.5",
"versionType": "semver"
},
{
"status": "affected",
"version": "4.9.15",
"lessThan": "4.10",
"versionType": "semver"
},
{
"status": "affected",
"version": "4.10.3",
"lessThan": "4.11",
"versionType": "semver"
}
],
"programFiles": [
"fs/namespace.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "4.11"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "4.11",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.113",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.57",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.11",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"fs/namespace.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-98990
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #52838 · Revision 1
- Added to Heist Feed
- Publisher date