{"id":"CVE-2026-98990","published":"2026-10-23T12:20:09Z","modified":"2026-10-30T12:40:44Z","title":"namespace: check a submount for references right before unmounting it","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnamespace: check a submount for references right before unmounting it\n\nshrink_submounts() and mark_mounts_for_expiry() first collect all the\nmounts they are allowed to unmount and then unmount them.\n\nWhether a mount is busy is decided by propagate_mount_busy() on the\ntree. But unmounting the first mount changes the tree that the second\none propagates into. propagate_umount()\nmoves a surviving overmount off a copy it unmounts and mounts it where\nthe copy was mounted. If that's where the propagated copy of the second\nvictim is looked up the overmount becomes a candidate of the second\numount_tree(). It's childless and so trim_one() commits it without\nlooking at its reference count.\n\nSo a synchronous umount pulls out a busy mount that is in use somewhere\nelse and marks it MNT_SYNC_UMOUNT while it has users:\n\n  umount2(/tmp/plshrink/p1, 0) = 0 errno 0\n  cwd is (unreachable)\n\nThe same two umounts requested one after the other fail with EBUSY.\nThis needs a mount with MNT_SHRINKABLE, i.e., automounted submounts of\nNFS, AFS and CIFS or the tracefs mount below debugfs. Bind mounts\ninherit the flag.\n\nCheck each mount right before it is unmounted under the same hold of\nnamespace_sem and mount_lock as the umount itself. Make sure that the\nalgorithm stays linear.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0022,"percentile":0.12662,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/cda0c4e502a0f74a191471ce100fb061e5ab35d6","tags":[]},{"url":"https://git.kernel.org/stable/c/3f55f71291e4332983cd63b288d1f2be3c9c08fc","tags":[]},{"url":"https://git.kernel.org/stable/c/361f59e7f3f9a219fb5567bf9abc8482a154a399","tags":[]},{"url":"https://git.kernel.org/stable/c/f6394281834492c6516a405a348b545ae698a331","tags":[]},{"url":"https://git.kernel.org/stable/c/6e4012e571867868b545c91ca9d6095fdb709907","tags":[]},{"url":"https://git.kernel.org/stable/c/d73f04e92c1aab78d96ac6cadb234c8a3a373d22","tags":[]},{"url":"https://git.kernel.org/stable/c/18902a23ef36f83d32bafc58ae2484e6bb4bb8ef","tags":[]},{"url":"https://git.kernel.org/stable/c/32bf92416614a1e3ff3524fc6b780259c7aad3ef","tags":[]}],"priority":{"score":2.5,"factors":[{"name":"EPSS percentile","points":2.53}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1064f874abc0d05eeed8993815f584d847b72486, < cda0c4e502a0f74a191471ce100fb061e5ab35d6",">= 1064f874abc0d05eeed8993815f584d847b72486, < 3f55f71291e4332983cd63b288d1f2be3c9c08fc",">= 1064f874abc0d05eeed8993815f584d847b72486, < 361f59e7f3f9a219fb5567bf9abc8482a154a399",">= 1064f874abc0d05eeed8993815f584d847b72486, < f6394281834492c6516a405a348b545ae698a331",">= 1064f874abc0d05eeed8993815f584d847b72486, < 6e4012e571867868b545c91ca9d6095fdb709907",">= 1064f874abc0d05eeed8993815f584d847b72486, < d73f04e92c1aab78d96ac6cadb234c8a3a373d22",">= 1064f874abc0d05eeed8993815f584d847b72486, < 18902a23ef36f83d32bafc58ae2484e6bb4bb8ef",">= 1064f874abc0d05eeed8993815f584d847b72486, < 32bf92416614a1e3ff3524fc6b780259c7aad3ef","5e6ef5ef6eaf690faad3a7c6c665ebf45d7b6ccf","839d42687dfce0ed0ea2c6bd8d707cc0e276fbe7"]},{"vendor":"Linux","product":"Linux","versions":["4.11"]}],"euvd":{"id":"EUVD-2026-108784","exploited":false,"provenance":"source"}}