VDB

CVE-2025-38499

CVE-2025-38499 PUBLISHED CVSS 7.8 HIGH

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

Reported by linux · Published August 11, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-tools-develAmazon Linux1:6.12.40-63.114.amzn2023
kernel-headersAmazon Linux1:6.1.147-172.266.amzn2023
kernel-libbpf-staticAmazon Linux1:6.1.147-172.266.amzn2023
kernel-develAmazon Linux4.14.355-280.684.amzn2
kernel6.12-develAmazon Linux1:6.12.40-63.114.amzn2023
kernel-tools-develAmazon Linux1:6.1.147-172.266.amzn2023
kernel6.12-libbpf-staticAmazon Linux1:6.12.40-63.114.amzn2023
linux_kernellinux6.15.3, 6.12.40, 6.6.100, 6.1.147, 5.15.190, 5.14, 5.11, 5.5, 4.20, 4.15, 4.10, 4.5

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux427215d85e8d1476da1a86b8d67aceb485eb3631, 427215d85e8d1476da1a86b8d67aceb485eb3631, 427215d85e8d1476da1a86b8d67aceb485eb3631
LinuxLinux5.14, 0, 5.15.190
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel-headers0
amazon:2023kernel-libbpf-static0
amazon:2kernel-devel0
amazon:2023kernel6.12-devel0
amazon:2023kernel-tools-devel0
amazon:2023kernel6.12-libbpf-static0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.5
linuxlinux_kernel4.9.280, 5.13.11, 5.10.59
amazon:2023kernel-modules-extra0
amazon:2023kernel-devel0
amazon:2023kernel6.12-headers0
amazon:2023perf6.120
amazon:2kernel0
amazon:2023python3-perf0
amazon:2023kernel6.12-libbpf-devel0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.5
amazon:2python-perf0

…and 24 more

Timeline

  • Aug 8, 2025 CVE Published
  • Aug 12, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 12, 2025 PoC Published (16 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (148 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (177 in total, the first dated here)
  • Jun 9, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-38499
vulnetix vdb fixes CVE-2025-38499

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38499/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›