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-38499

published high CVSS 3.1 · 7.8

clone_private_mnt(): make sure that caller has CAP_SYS_ADMIN in the right userns

Published
11 Aug 2025, 16:01:08 UTC
Updated
15 Oct 2026, 21:52:17 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux427215d85e8d1476da1a86b8d67aceb485eb3631 to < 36fecd740de2d542d2091d65d36554ee2bcf9c65 · 427215d85e8d1476da1a86b8d67aceb485eb3631 to < d717325b5ecf2a40daca85c61923e17f32306179 · 427215d85e8d1476da1a86b8d67aceb485eb3631 to < dc6a664089f10eab0fb36b6e4f705022210191d2 · 427215d85e8d1476da1a86b8d67aceb485eb3631 to < e77078e52fbf018ab986efb3c79065ab35025607 · 427215d85e8d1476da1a86b8d67aceb485eb3631 to < 38628ae06e2a37770cd794802a3f1310cf9846e3 · 427215d85e8d1476da1a86b8d67aceb485eb3631 to < c28f922c9dcee0e4876a2c095939d77fe7e15116 · c6e8810d25295acb40a7b69ed3962ff181919571 · e3eee87c846dc47f6d8eb6d85e7271f24122a279 · 517b875dfbf58f0c6c9e32dc90f5cf42d71a42ce · 963d85d630dabe75a3cfde44a006fec3304d07b8 · 812f39ed5b0b7f34868736de3055c92c7c4cf459 · 6a002d48a66076524f67098132538bef17e8445e · 41812f4b84484530057513478c6770590347dc30 · 4.4.281 to < 4.5 · 4.9.280 to < 4.10 · 4.14.244 to < 4.15 · 4.19.204 to < 4.20 · 5.4.141 to < 5.5 · 5.10.59 to < 5.11 · 5.13.11 to < 5.14 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.14 (affected) · 0 to < 5.14 (unaffected · semver) · 5.15.190 through 5.15.* (unaffected · semver) · 6.1.147 through 6.1.* (unaffected · semver) · 6.6.100 through 6.6.* (unaffected · semver) · 6.12.40 through 6.12.* (unaffected · semver) · 6.15.3 through 6.15.* (unaffected · semver) · 6.16 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Siemens — SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.5 and later · Other versions: unknown Affected Not stated siemens-SADP
Siemens — SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.5 and later · Other versions: unknown Affected Not stated siemens-SADP
Amazon Linux AL2 Release evaluationALAS2-2025-3001 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2025-104 Fixed Not stated Amazon Linux assessment
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-124.21.1.el10_1 ALSA-2025:23279
Debian bullseye linux-6.1 Advisory build 6.1.153-1~deb11u1 DLA-4328-1
Show 105 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Siemens — SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.5 and later · Other versions: unknown Affected Not stated siemens-SADP
Siemens — SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.5 and later · Other versions: unknown Affected Not stated siemens-SADP
Siemens — SIPLUS S7-1500 CPU 1518-4 PN/DP MFPV3.1.5 and later · Other versions: unknown Affected Not stated siemens-SADP
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2025-089 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2025-109 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-1144 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-1145 Fixed Not stated Amazon Linux assessment
Oracle Linux 10 kernelx86_64 Advisory build 0:6.12.0-124.21.1.el10_1 ELSA-2025-23279
AlmaLinux 10 kernel-doc Advisory build 6.12.0-124.21.1.el10_1 ALSA-2025:23279
AlmaLinux 9 kernel Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-64k Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-debug Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-devel Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-doc Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-headers Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-modules Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-64k Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-64k-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-64k-debug Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-64k-debug-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-64k-debug-devel Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-64k-debug-modules Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-64k-debug-modules-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-64k-debug-modules-extra Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-64k-devel Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-64k-modules Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-64k-modules-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-64k-modules-extra Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-tools Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-uki-virt-addons Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-zfcpdump-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-zfcpdump-devel Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-zfcpdump-devel-matched Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-zfcpdump-modules Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-zfcpdump-modules-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-zfcpdump-modules-extra Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 libperf Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 perf Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 python3-perf Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 rtla Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 rv Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
Oracle Linux 10 kernel-abi-stablelistsx86_64 Advisory build 0:6.12.0-124.21.1.el10_1 ELSA-2025-23279
Oracle Linux 10 kernel-corex86_64 Advisory build 0:6.12.0-124.21.1.el10_1 ELSA-2025-23279
Oracle Linux 10 kernel-cross-headersaarch64 Advisory build 0:6.12.0-124.21.1.el10_1 ELSA-2025-23279
Oracle Linux 10 kernel-cross-headersx86_64 Advisory build 0:6.12.0-124.21.1.el10_1 ELSA-2025-23279
Oracle Linux 10 kernel-debugx86_64 Advisory build 0:6.12.0-124.21.1.el10_1 ELSA-2025-23279
Oracle Linux 10 kernel-debug-corex86_64 Advisory build 0:6.12.0-124.21.1.el10_1 ELSA-2025-23279
Oracle Linux 10 kernel-debug-develx86_64 Advisory build 0:6.12.0-124.21.1.el10_1 ELSA-2025-23279
Oracle Linux 10 kernel-debug-devel-matchedx86_64 Advisory build 0:6.12.0-124.21.1.el10_1 ELSA-2025-23279
Oracle Linux 10 kernel-debug-modulesx86_64 Advisory build 0:6.12.0-124.21.1.el10_1 ELSA-2025-23279
Oracle Linux 10 kernel-debug-modules-corex86_64 Advisory build 0:6.12.0-124.21.1.el10_1 ELSA-2025-23279
Oracle Linux 10 kernel-debug-modules-extrax86_64 Advisory build 0:6.12.0-124.21.1.el10_1 ELSA-2025-23279
Oracle Linux 10 kernel-debug-uki-virtx86_64 Advisory build 0:6.12.0-124.21.1.el10_1 ELSA-2025-23279
Oracle Linux 10 kernel-develx86_64 Advisory build 0:6.12.0-124.21.1.el10_1 ELSA-2025-23279
Oracle Linux 10 kernel-devel-matchedx86_64 Advisory build 0:6.12.0-124.21.1.el10_1 ELSA-2025-23279
Oracle Linux 10 kernel-docx86_64 Advisory build 0:6.12.0-124.21.1.el10_1 ELSA-2025-23279
Oracle Linux 10 kernel-headersaarch64 Advisory build 0:6.12.0-124.21.1.el10_1 ELSA-2025-23279
Oracle Linux 10 kernel-headersx86_64 Advisory build 0:6.12.0-124.21.1.el10_1 ELSA-2025-23279
Oracle Linux 10 kernel-modulesx86_64 Advisory build 0:6.12.0-124.21.1.el10_1 ELSA-2025-23279
Oracle Linux 10 kernel-modules-corex86_64 Advisory build 0:6.12.0-124.21.1.el10_1 ELSA-2025-23279
Oracle Linux 10 kernel-modules-extrax86_64 Advisory build 0:6.12.0-124.21.1.el10_1 ELSA-2025-23279
Oracle Linux 10 kernel-modules-extra-matchedx86_64 Advisory build 0:6.12.0-124.21.1.el10_1 ELSA-2025-23279
Oracle Linux 10 kernel-toolsaarch64 Advisory build 0:6.12.0-124.21.1.el10_1 ELSA-2025-23279

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

Description

In the Linux kernel, the following vulnerability has been resolved: clone_private_mnt(): make sure that caller has CAP_SYS_ADMIN in the right userns What we want is to verify there is that clone won't expose something hidden by a mount we wouldn't be able to undo. "Wouldn't be able to undo" may be a result of MNT_LOCKED on a child, but it may also come from lacking admin rights in the userns of the namespace mount belongs to. clone_private_mnt() checks the former, but not the latter. There's a number of rather confusing CAP_SYS_ADMIN checks in various userns during the mount, especially with the new mount API; they serve different purposes and in case of clone_private_mnt() they usually, but not always end up covering the missing check mentioned above.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

134

Showing the first 100 linked advisory records.

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 vulnerable code is reached only through local filesystem syscalls (fsopen/fsconfig/fsmount or mount(2)) issued by a process on the machine. There is no remote or adjacent-network exposure of clone_private_mount(). AC:L - The attacker deterministically controls every step — creating the user namespace, opening the fs_context, passing the fd, and issuing FSCONFIG_CMD_CREATE from the confined mount namespace — with no race, no memory-layout dependency, and no reliance on any condition outside their control. PR:L - An ordinary unprivileged local user suffices: unshare(CLONE_NEWUSER|CLONE_NEWNS) yields CAP_SYS_ADMIN in a child userns for the fsopen(), and setns() back into that userns as its owner lets the same uid drive fsconfig() from the restricted mount namespace where it holds no privileges at all. UI:N - The entire sequence is performed by the attacker's own processes; no victim action, mount operation, or file access by another user is required. S:U - The bypassed mount visibility and the exposed files are all managed by the same kernel security authority; no VM, hypervisor, or IOMMU boundary is crossed. C:H - The private clone omits all child mounts, so entire directory trees deliberately concealed by mask/over-mounts the attacker cannot unmount (container masked paths, systemd InaccessiblePaths=/ProtectHome=, sandbox hiding mounts) become readable through the overlay lower layer. I:H - Using the same primitive for upperdir on a read-write parent mount discards read-only child bind mounts, giving direct write, create, and delete access to trees that mount-based hardening (ReadOnlyPaths=, ProtectSystem=strict, container ro binds) was enforcing as immutable. A:H - That regained write access covers the exact paths the confinement was protecting, so an attacker can overwrite or delete critical configuration and system files inside a hardened service or container and render it — or the host — inoperable.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 427215d85e8d1476da1a86b8d67aceb485eb3631 to < 36fecd740de2d542d2091d65d36554ee2bcf9c65 (affected · git)427215d85e8d1476da1a86b8d67aceb485eb3631 to < d717325b5ecf2a40daca85c61923e17f32306179 (affected · git)427215d85e8d1476da1a86b8d67aceb485eb3631 to < dc6a664089f10eab0fb36b6e4f705022210191d2 (affected · git)427215d85e8d1476da1a86b8d67aceb485eb3631 to < e77078e52fbf018ab986efb3c79065ab35025607 (affected · git)427215d85e8d1476da1a86b8d67aceb485eb3631 to < 38628ae06e2a37770cd794802a3f1310cf9846e3 (affected · git)427215d85e8d1476da1a86b8d67aceb485eb3631 to < c28f922c9dcee0e4876a2c095939d77fe7e15116 (affected · git)c6e8810d25295acb40a7b69ed3962ff181919571 (affected · git)e3eee87c846dc47f6d8eb6d85e7271f24122a279 (affected · git)517b875dfbf58f0c6c9e32dc90f5cf42d71a42ce (affected · git)963d85d630dabe75a3cfde44a006fec3304d07b8 (affected · git)812f39ed5b0b7f34868736de3055c92c7c4cf459 (affected · git)6a002d48a66076524f67098132538bef17e8445e (affected · git)41812f4b84484530057513478c6770590347dc30 (affected · git)4.4.281 to < 4.5 (affected · semver)4.9.280 to < 4.10 (affected · semver)4.14.244 to < 4.15 (affected · semver)4.19.204 to < 4.20 (affected · semver)5.4.141 to < 5.5 (affected · semver)5.10.59 to < 5.11 (affected · semver)5.13.11 to < 5.14 (affected · semver)Default: unaffected Linux · cna
Linux Linux 5.14 (affected)0 to < 5.14 (unaffected · semver)5.15.190 through 5.15.* (unaffected · semver)6.1.147 through 6.1.* (unaffected · semver)6.6.100 through 6.6.* (unaffected · semver)6.12.40 through 6.12.* (unaffected · semver)6.15.3 through 6.15.* (unaffected · semver)6.16 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5 and later (affected · custom)Default: unknown siemens-SADP · adp
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5 and later (affected · custom)Default: unknown siemens-SADP · adp
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5 and later (affected · custom)Default: unknown siemens-SADP · adp
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5 and later (affected · custom)Default: unknown siemens-SADP · adp
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5 and later (affected · custom)Default: unknown siemens-SADP · adp

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

4

Linux · cna

clone_private_mnt(): make sure that caller has CAP_SYS_ADMIN in the right userns

siemens-SADP · adp

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
d56cc56e3b60c57b4bce404b1fa87eddbc22231d79a5737e30e31498564aad63
Ingested
15 Oct 2026, 23:26:24 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