← All Advisories
Reported from OT-Advisories.com as of

Linux Kernel OPEN_TREE_NAMESPACE Loses the Covered Status of Previously Covered Mounts in the New Namespace

Last refreshed2026-10-25

Status: UPDATED  |  Advisory ID: CVE-2026-98988

Key Details

CVECVE-2026-98988
CVSS Score / Version
8.8 (High) / CVSS v3.1
Updated2026-10-24
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS Prose
attack vector is local; attack complexity is low; privileges required is low; user interaction is none; scope is changed; confidentiality impact is high; integrity impact is high; availability impact is high.
Affected products
Linux Kernel
Exploitation prediction (EPSS)
0.16% probability of exploitation in the next 30 days (6% percentile) -- FIRST.org's EPSS model.

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
LinuxLinux Kernel
SubsystemsOT Supporting Infrastructure
SectorsAll Sectors

What to Know

In the Linux kernel, the following vulnerability has been resolved:

namespace: keep covered mounts covered in OPEN_TREE_NAMESPACE

open_tree(OPEN_TREE_NAMESPACE) creates a new mount namespace from a

copy of the tree at the given path. The caller needs to be privileged

over its current user namespace because the new mount namespace will be

owned by it. It doesn't need to be privileged over the mount namespace

the tree is copied from. An unprivileged user just needs to create a

user namespace first.

The copy follows the rules of a detached bind mount. Without

AT_RECURSIVE only the mount itself is cloned and its children are left

out. With AT_RECURSIVE unbindable mounts are skipped. Both is fine when

the caller has privileges over the source mount namespace because it

could unmount those mounts anyway. Not so for an unprivileged user in

that mount namespace. For them a mount namespace copy is what unshare()

does. copy_mnt_ns() copies everything including unbindable mounts and

lock_mnt_tree() makes sure nothing can be unmounted in the copy. Nothing

that was covered gets revealed.

create_new_namespace() only does the locking and so the covered content

is right there in the new mount namespace:

# mount -t tmpfs none /tmp/otn; mkdir /tmp/otn/covered

# echo hidden > /tmp/otn/covered/under.txt

# mount -t tmpfs none /tmp/otn/covered

uid 1000, after unshare(CLONE_NEWUSER):

fd = open_tree(AT_FDCWD, "/tmp/otn", OPEN_TREE_NAMESPACE);

setns(fd, CLONE_NEWNS);

open("/covered/under.txt", O_RDONLY) -> "hidden"

Covering paths with mounts is how container runtimes mask parts of

/proc and /sys and how admins hide things.

When the caller's user namespace doesn't own the source mount namespace

copy the way unshare() does and refuse a non-recursive copy of a mount

that has anything mounted below the requested directory and copy

unbindable mounts in a recursive copy. A caller that is privileged over

the source mount namespace sees no change. (NVD)

What to Do

Monitor Linux's web page for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-98988
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-98988
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.