8.4

CVE-2026-98978

namespace: never expire a locked mount

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.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942
Version < 435ac7f12209979ae3d080c2a8a74d42ea120a0a
Status affected
Version 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942
Version < b3af17785bec47a65c820c9e75c5bd0a81b94c80
Status affected
Version 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942
Version < 6c8013ea84fcc51cf26aa870b61b5388c7196ed5
Status affected
Version 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942
Version < 6b8dc3713a76346d212abab46cbfc8d7070f534c
Status affected
Version 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942
Version < d23265a12e4991ce7aedce670c0b6b598cadb644
Status affected
Version 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942
Version < f78ddcc872248c7aa1d7e904928441a0be4c6d5d
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 3.12
Status affected
Version 0
Version < 3.12
Status unaffected
Version <= 6.1.*
Version 6.1.193
Status unaffected
Version <= 6.6.*
Version 6.6.163
Status unaffected
Version <= 6.12.*
Version 6.12.117
Status unaffected
Version <= 6.18.*
Version 6.18.57
Status unaffected
Version <= 7.2.*
Version 7.2.11
Status unaffected
Version <= *
Version 7.3
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.17% 0.063
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
416baaa9-dc9f-4396-8d5f-8c081fb06d67 8.4 2 5.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/6b8dc3713a76346d212abab46cbfc8d7070f534c
https://git.kernel.org/stable/c/d23265a12e4991ce7aedce670c0b6b598cadb644
https://git.kernel.org/stable/c/f78ddcc872248c7aa1d7e904928441a0be4c6d5d
https://git.kernel.org/stable/c/6c8013ea84fcc51cf26aa870b61b5388c7196ed5
https://git.kernel.org/stable/c/435ac7f12209979ae3d080c2a8a74d42ea120a0a
https://git.kernel.org/stable/c/b3af17785bec47a65c820c9e75c5bd0a81b94c80