Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-40203

published high CVSS 3.1 · 7.8

listmount: don't call path_put() under namespace semaphore

Published
12 Nov 2025, 21:56:34 UTC
Updated
05 Aug 2026, 12:08:32 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxb4c2bea8ceaa50cd42a8f73667389d801a3ecf2d to < 659874b7ee4976ad9ce476e07fd36bc67b3537f1 · b4c2bea8ceaa50cd42a8f73667389d801a3ecf2d to < 9c80da26fda2fdcaac7f92b5908875b3108830ff · b4c2bea8ceaa50cd42a8f73667389d801a3ecf2d to < c1f86d0ac322c7e77f6f8dbd216c65d39358ffc0 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.8 (affected) · 0 to < 6.8 (unaffected · semver) · 6.12.54 through 6.12.* (unaffected · semver) · 6.17.4 through 6.17.* (unaffected · semver) · 6.18 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-1316 Fixed Not stated Amazon Linux assessment
SUSE / openSUSE SLE-16 cluster-md-kmp-defaultppc64le Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 cluster-md-kmp-defaultppc64le Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20021-1
SUSE / openSUSE SLE-16 cluster-md-kmp-defaults390x Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20021-1
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE SLE-16 cluster-md-kmp-defaultx86_64 Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 cluster-md-kmp-defaultx86_64 Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20021-1
SUSE / openSUSE SLE-16 dlm-kmp-defaultppc64le Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 dlm-kmp-defaultppc64le Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20021-1
SUSE / openSUSE SLE-16 dlm-kmp-defaults390x Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20021-1
SUSE / openSUSE SLE-16 dlm-kmp-defaultx86_64 Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 dlm-kmp-defaultx86_64 Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20021-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaultppc64le Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaultppc64le Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20021-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaults390x Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20021-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaultx86_64 Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaultx86_64 Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20021-1
SUSE / openSUSE SLE-16 kernel-64kbaarch64 Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-64kb-develaarch64 Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-64kb-extraaarch64 Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-defaultaarch64 Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-defaultppc64le Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-defaults390x Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-defaultx86_64 Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-default-baseaarch64 Advisory build 6.12.0-160000.8.1.160000.2.5 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-default-baseppc64le Advisory build 6.12.0-160000.8.1.160000.2.5 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-default-basex86_64 Advisory build 6.12.0-160000.8.1.160000.2.5 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-default-develaarch64 Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-default-develppc64le Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-default-devels390x Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-default-develx86_64 Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-default-extraaarch64 Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-default-extrappc64le Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-default-extras390x Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-default-extrax86_64 Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-default-livepatchppc64le Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-default-livepatchs390x Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-default-livepatchx86_64 Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-default-vdsox86_64 Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-develnoarch Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-docsnoarch Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-docs-htmlnoarch Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-kvmsmallaarch64 Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-kvmsmallppc64le Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-kvmsmallx86_64 Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-kvmsmall-develaarch64 Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-kvmsmall-develppc64le Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-kvmsmall-develx86_64 Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-kvmsmall-vdsox86_64 Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-macrosnoarch Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-obs-qaaarch64 Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-obs-qappc64le Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-obs-qas390x Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-obs-qax86_64 Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-sourcenoarch Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-source-vanillanoarch Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-symsaarch64 Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-symsppc64le Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-symss390x Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-symsx86_64 Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE SLE-16 kernel-zfcpdumps390x Advisory build 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-64kbaarch64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-defaultaarch64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-defaultppc64le Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-defaults390x Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-defaultx86_64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-rtaarch64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-rtx86_64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-64kbaarch64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-defaultaarch64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-defaultppc64le Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-defaults390x Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-defaultx86_64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-rtaarch64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-rtx86_64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-allwinneraarch64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-alteraaarch64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-amazonaarch64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-amdaarch64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-amlogicaarch64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-apmaarch64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-appleaarch64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-armaarch64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-broadcomaarch64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-caviumaarch64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-exynosaarch64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-freescaleaarch64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-hisiliconaarch64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-lgaarch64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-marvellaarch64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-mediatekaarch64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-nvidiaaarch64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-qcomaarch64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-renesasaarch64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-rockchipaarch64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-socionextaarch64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-sprdaarch64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-xilinxaarch64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 gfs2-kmp-64kbaarch64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 gfs2-kmp-defaultaarch64 Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 gfs2-kmp-defaultppc64le Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1
SUSE / openSUSE openSUSE-Leap-16.0 gfs2-kmp-defaults390x Advisory build 6.12.0-160000.8.1 OPENSUSE-SU-2025:20172-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: listmount: don't call path_put() under namespace semaphore Massage listmount() and make sure we don't call path_put() under the namespace semaphore. If we put the last reference we're fscked.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

10

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerability is reached only through the `listmount(2)` system call in fs/namespace.c; there is no remote or adjacent-network path to `do_listmount()`. Exploitation requires the ability to execute syscalls on the target, i.e. local access. AC:L - The attacker controls both sides of the race — it holds the extra path reference via `listmount()` while a `CLONE_FS` sibling thread moves `fs->root` off a lazily-unmounted mount, deterministically making the in-syscall `path_put()` the final reference. The setup (unshare, tmpfs mount, chroot, `umount2(MNT_DETACH)`) is scripted and retryable without limit. PR:L - `listmount(2)` requires no capability at all for the caller's own mount namespace, and the mount/chroot/lazy-umount setup is obtainable by any unprivileged user via `unshare -Ur` since CAP_SYS_ADMIN/CAP_SYS_CHROOT are granted inside a user namespace. No real root in the init namespace is needed. UI:N - The attacking process performs every step itself — namespace creation, mount setup, and the concurrent `listmount()`/`chroot()` race. No victim action or cooperation is involved. S:U - The corrupted state (`struct mount`, `struct mountpoint`, `struct dentry`, `namespace_sem`) and the resulting impact all live within the kernel's own security authority. No hypervisor, IOMMU, or sandbox boundary is crossed. C:H - The final `mntput_no_expire()` tears down mounts, frees `struct mountpoint`, and destroys dentries/inodes while only the read side of `namespace_sem` is held, so concurrent readers (other `listmount()`/`statmount()`/propagation walkers that legitimately hold the read lock and expect a stable topology) can traverse freed objects — a use-after-free giving an attacker-influenceable kernel-memory read primitive via slab reuse. I:H - The same violated invariant permits mount-tree list surgery (`list_del(&mnt->mnt_instance)`, `unhash_mnt()`, child reparenting) to race concurrent read-side traversal, yielding linked-list corruption and use-after-free writes into reallocated slab objects, which is exploitable for control-flow hijacking. A:H - Performing the final `path_put()` under `namespace_sem` can block or self-deadlock — inode eviction can stall indefinitely on a userspace filesystem daemon, and `__detach_mounts()`'s `down_write(&namespace_sem)` on an already read-held semaphore deadlocks — hanging every mount, umount, statmount, and listmount on the system; the same UAF also reliably oopses the kernel.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux b4c2bea8ceaa50cd42a8f73667389d801a3ecf2d to < 659874b7ee4976ad9ce476e07fd36bc67b3537f1 (affected · git)b4c2bea8ceaa50cd42a8f73667389d801a3ecf2d to < 9c80da26fda2fdcaac7f92b5908875b3108830ff (affected · git)b4c2bea8ceaa50cd42a8f73667389d801a3ecf2d to < c1f86d0ac322c7e77f6f8dbd216c65d39358ffc0 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.8 (affected)0 to < 6.8 (unaffected · semver)6.12.54 through 6.12.* (unaffected · semver)6.17.4 through 6.17.* (unaffected · semver)6.18 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

1

Linux · cna

listmount: don't call path_put() under namespace semaphore

Provenance

Schema
5.2
Searchable
yes
Content hash
187b842ab204f6ecb63df9b8b21810db3a31818f44df00ada6051c8f97e3d98e
Ingested
23 Sep 2026, 08:48:04 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected