Skip to main content

Linux Kernel CVE-2025-40203

HIGH
2025-11-12 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Share

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY
7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI
5.8 MEDIUM

Local unprivileged syscall (AV:L/PR:L), but hitting the last-reference-under-lock window is race-dependent (AC:H); most reliable outcome is crash/deadlock (A:H) with lesser confidentiality/integrity impact.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H
4.0 AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
SUSE
5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat
5.8 MEDIUM
qualitative

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
Analysis Updated
Jul 30, 2026 - 08:23 vuln.today
v2 (cvss_changed)
Re-analysis Queued
Jul 30, 2026 - 06:37 vuln.today
cvss_changed
CVSS changed
Jul 30, 2026 - 06:37 NVD
7.8 (HIGH)
Analysis Generated
Mar 28, 2026 - 19:21 vuln.today
CVE Published
Nov 12, 2025 - 22:15 nvd
N/A

DescriptionCVE.org

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.

AnalysisAI

Local privilege-adjacent memory corruption in the Linux kernel's listmount() mount-enumeration syscall arises because the code invoked path_put() while still holding the namespace semaphore; if that call drops the final reference to a path, cleanup runs under the held lock and can trigger a use-after-free or deadlock. Any local user able to call listmount() is affected on vulnerable stable kernels, and while EPSS is very low (0.03%) with no public exploit identified at time of analysis, the NVD-assigned CVSS of 7.8 reflects full CIA impact from local exploitation. The fix relocates the reference drop to outside the lock across three stable-branch commits.

Technical ContextAI

The bug lives in the VFS mount subsystem's listmount() syscall (introduced with the newer statmount()/listmount() mount-iteration API). listmount() walks mount namespaces under the namespace read/write semaphore (namespace_sem) to serialize against mount-tree changes. The defect is an ordering error in reference-count management: path_put() releases a reference on a struct path and, when it releases the last reference, proceeds to dput()/mntput() teardown that may sleep and re-enter locking paths. Performing that final put while namespace_sem is still held violates lock ordering - this is the improper-locking / lifetime-management class of defect (conceptually CWE-667 Improper Locking and CWE-416 Use-After-Free), even though the record lists CWE as N/A. The 'Information Disclosure' tag reflects that stale/freed path structures could expose kernel memory, though the more likely primary effect is a UAF or lock-related crash.

Affected ProductsAI

The Linux kernel VFS/mount subsystem, specifically stable kernel series that shipped the listmount() syscall (the statmount/listmount API, added in the 6.x series). No exact affected-version range or CPE string was supplied in the intelligence set; the three git.kernel.org/stable commits (659874b7ee4976ad9ce476e07fd36bc67b3537f1, 9c80da26fda2fdcaac7f92b5908875b3108830ff, c1f86d0ac322c7e77f6f8dbd216c65d39358ffc0) indicate backports across multiple maintained stable branches. Downstream distributions (RHEL, Ubuntu, Debian, SUSE and derivatives) that ship affected stable kernels inherit the flaw until they pick up the corresponding stable update.

RemediationAI

Upstream fix available (commit); a specific tagged patched-release version is not independently confirmed from the provided data - apply the vendor stable-kernel update that incorporates commits 659874b7ee4976ad9ce476e07fd36bc67b3537f1, 9c80da26fda2fdcaac7f92b5908875b3108830ff, or c1f86d0ac322c7e77f6f8dbd216c65d39358ffc0 (see https://git.kernel.org/stable/c/659874b7ee4976ad9ce476e07fd36bc67b3537f1). Track your distribution's security advisory for the exact fixed package version and reboot into the patched kernel. As a compensating control where patching must be delayed, restrict local access on multi-tenant hosts and consider constraining mount-namespace usage - for example, disabling unprivileged user namespaces (sysctl kernel.unprivileged_userns_clone=0 on kernels that support it) to reduce the population of users who can construct the mount states reached via listmount(); note this can break container runtimes and sandboxes (Docker rootless, Chromium/Flatpak sandboxes) that rely on unprivileged user namespaces. A seccomp policy blocking the listmount() syscall for untrusted workloads is a narrower alternative but requires the syscall not be needed by those workloads.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
Container suse/sl-micro/6.0/baremetal-os-container:latest Container suse/sl-micro/6.1/baremetal-os-container:latest Affected
Container suse/sl-micro/6.0/base-os-container:latest Container suse/sl-micro/6.0/kvm-os-container:latest Container suse/sl-micro/6.0/rt-os-container:latest Container suse/sl-micro/6.1/base-os-container:latest Container suse/sl-micro/6.1/kvm-os-container:latest Container suse/sl-micro/6.1/rt-os-container:latest Affected
Image SL-Micro-Azure Image SL-Micro-BYOS-Azure Image SL-Micro-BYOS-EC2 Image SL-Micro-BYOS-GCE Image SL-Micro-EC2 Image SLE-Micro Image SLE-Micro-Azure Image SLE-Micro-BYOS Image SLE-Micro-BYOS-Azure Image SLE-Micro-BYOS-EC2 Image SLE-Micro-BYOS-GCE Image SLE-Micro-EC2 Image SLE-Micro-GCE Image SUSE-Multi-Linux-Manager-Proxy-BYOS-Azure Image SUSE-Multi-Linux-Manager-Proxy-BYOS-EC2 Image SUSE-Multi-Linux-Manager-Proxy-BYOS-GCE Image SUSE-Multi-Linux-Manager-Server-Azure-llc Image SUSE-Multi-Linux-Manager-Server-Azure-ltd Image SUSE-Multi-Linux-Manager-Server-BYOS-Azure Image SUSE-Multi-Linux-Manager-Server-BYOS-EC2 Image SUSE-Multi-Linux-Manager-Server-BYOS-GCE Image SUSE-Multi-Linux-Manager-Server-EC2-llc Image SUSE-Multi-Linux-Manager-Server-EC2-ltd Affected
Image SLES-Azure-3P Image SLES-Azure-Basic Image SLES-Azure-Standard Image SLES-BYOS-Azure Image SLES-BYOS-EC2 Image SLES-BYOS-GCE Image SLES-CHOST-BYOS-Aliyun Image SLES-CHOST-BYOS-Azure Image SLES-CHOST-BYOS-EC2 Image SLES-CHOST-BYOS-GCE Image SLES-CHOST-BYOS-GDC Image SLES-CHOST-BYOS-SAP-CCloud Image SLES-EC2 Image SLES-EC2-ECS Image SLES-GCE Image SLES-GCE-3P Image SLES-Hardened-BYOS-Azure Image SLES-Hardened-BYOS-EC2 Image SLES-Hardened-BYOS-GCE Image SLES-SAPCAL-Azure Image SLES-SAPCAL-EC2 Image SLES-SAPCAL-GCE Affected
Image SLES-SAP-Azure Image SLES-SAP-Azure-3P Image SLES-SAP-BYOS-Azure Image SLES-SAP-BYOS-EC2 Image SLES-SAP-BYOS-GCE Image SLES-SAP-EC2 Image SLES-SAP-GCE Image SLES-SAP-GCE-3P Affected

Share

CVE-2025-40203 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy