◆ CVE Hub

CVE-2026-98978

namespace: never expire a locked mount

Published
2026-10-23
Last modified
2026-10-24
CNA
Linux
NVD status
Received
CVSS v3.1 (listed by NVD)
8.4
HIGH
Scored by Linux (not yet scored by NVD)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
CVSS v4.0 (listed by NVD)
—
Not scored
CVSS (listed by CVE.org)
8.4
HIGH
Scored by CNA (Linux) · v3.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
EPSS exploit probability
0.2%
Percentile 10.2%
as of 2026-10-24
CISA KEV
—
Not listed

Attack conditions and impact

Derived from the CNA (via NVD) CVSS 3.1 vector
LocalLoginNo interaction Scope change Confidentiality HIntegrity HAvailability N
MetricValueMeaning
Attack vector AVLLocal
Attack complexity ACLLow (easy)
Privileges required PRLRegular user
User interaction UINNone
Scope SCChanged (affects other components)
Confidentiality CHHigh
Integrity IHHigh
Availability ANNone
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

Description

NVD

In the Linux kernel, the following vulnerability has been resolved: namespace: never expire a locked mount Locked mounts are special. They protect the underlying files and directories from being revealed. do_umount() refuses to unmount locked mounts but shrink_submounts() doesn't. A shrinkable mount can become locked once the owner of a user namespace puts it beneath a locked mount with MOVE_MOUNT_BENEATH. The locked property now moves to the mount at the bottom making it possible to unmount the top mount. So umount() of an unlocked ancestor now expires the bottom mount first and the covered directory is revealed: move_mount(c -> x/hidden, MOVE_MOUNT_BENEATH) = 0 the cover after the lock moved: umount2(x/hidden) = 0 the holder of the lock: umount2(x/hidden) = EINVAL the root of the copy, busy: umount2(x) = EBUSY reads x/hidden/secret: "covered-by-root" So leave a locked mount alone as it dies together with its parent. A plain umount() of an unlocked mount with a locked one below it is EBUSY from now on. It's the same for any other locked child. A lazy umount still takes the whole tree. mark_mounts_for_expiry() never sees a locked mount. lock_mnt_tree() leaves a mount on an expiry list alone and nothing else puts a locked one on such a list. Add an assert for this.

CVSS assessments

ProviderVersionScoreVector
NVD / 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)3.18.4 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
CNA / Linux3.18.4 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

Affected products and packages

CNA (CVE.org)

VendorProductVersions
LinuxLinux
affected: 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942 … < 6b8dc3713a76346d212abab46cbfc8d7070f534c
affected: 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942 … < d23265a12e4991ce7aedce670c0b6b598cadb644
affected: 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942 … < f78ddcc872248c7aa1d7e904928441a0be4c6d5d
default: unaffected
LinuxLinux
affected: 3.12
unaffected: 0 … < 3.12
unaffected: 6.18.57 … <= 6.18.*
unaffected: 7.2.11 … <= 7.2.*
unaffected: 7.3 … <= *
default: affected

Open-source packages (GitHub Advisory / OSV)

namespace: never expire a locked mount

EcosystemPackageAffected versionsFixed in
>= 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942, < 6b8dc3713a76346d212abab46cbfc8d7070f534c; < d23265a12e4991ce7aedce670c0b6b598cadb644; < f78ddcc872248c7aa1d7e904928441a0be4c6d5d6b8dc3713a76346d212abab46cbfc8d7070f534c, d23265a12e4991ce7aedce670c0b6b598cadb644, f78ddcc872248c7aa1d7e904928441a0be4c6d5d
LinuxKernel>= 3.12.0, < 6.18.57; >= 6.19.0, < 7.2.116.18.57, 7.2.11

Linux distribution status

Red Hat ↗

No record

Debian ↗

ReleasePackageStatusFixed version / notes
bookwormlinuxopen not yet assigned
forkylinuxresolved not yet assigned7.2.11-1
sidlinuxresolved not yet assigned7.2.11-1
trixielinuxopen not yet assigned

Ubuntu ↗

No record

References (6)