{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-38499","id":"CVE-2025-38499","title":"clone_private_mnt(): make sure that caller has CAP_SYS_ADMIN in the right userns","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nclone_private_mnt(): make sure that caller has CAP_SYS_ADMIN in the right userns\n\nWhat we want is to verify there is that clone won't expose something\nhidden by a mount we wouldn't be able to undo.  \"Wouldn't be able to undo\"\nmay be a result of MNT_LOCKED on a child, but it may also come from\nlacking admin rights in the userns of","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nclone_private_mnt(): make sure that caller has CAP_SYS_ADMIN in the right userns\n\nWhat we want is to verify there is that clone won't expose something\nhidden by a mount we wouldn't be able to undo.  \"Wouldn't be able to undo\"\nmay be a result of MNT_LOCKED on a child, but it may also come from\nlacking admin rights in the userns of the namespace mount belongs to.\n\nclone_private_mnt() checks the former, but not the latter.\n\nThere's a number of rather confusing CAP_SYS_ADMIN checks in various\nuserns during the mount, especially with the new mount API; they serve\ndifferent purposes and in case of clone_private_mnt() they usually,\nbut not always end up covering the missing check mentioned above.","published":"2025-08-11T16:01:08.257Z","updated":"2026-11-17T07:02:41.858947903Z","reserved":"2025-04-16T04:51:24.022Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"427215d85e8d1476da1a86b8d67aceb485eb3631","lessThan":"36fecd740de2d542d2091d65d36554ee2bcf9c65","status":"affected","versionType":"git"},{"version":"427215d85e8d1476da1a86b8d67aceb485eb3631","lessThan":"d717325b5ecf2a40daca85c61923e17f32306179","status":"affected","versionType":"git"},{"version":"427215d85e8d1476da1a86b8d67aceb485eb3631","lessThan":"dc6a664089f10eab0fb36b6e4f705022210191d2","status":"affected","versionType":"git"},{"version":"427215d85e8d1476da1a86b8d67aceb485eb3631","lessThan":"e77078e52fbf018ab986efb3c79065ab35025607","status":"affected","versionType":"git"},{"version":"427215d85e8d1476da1a86b8d67aceb485eb3631","lessThan":"38628ae06e2a37770cd794802a3f1310cf9846e3","status":"affected","versionType":"git"},{"version":"427215d85e8d1476da1a86b8d67aceb485eb3631","lessThan":"c28f922c9dcee0e4876a2c095939d77fe7e15116","status":"affected","versionType":"git"},{"version":"c6e8810d25295acb40a7b69ed3962ff181919571","status":"affected","versionType":"git"},{"version":"e3eee87c846dc47f6d8eb6d85e7271f24122a279","status":"affected","versionType":"git"},{"version":"517b875dfbf58f0c6c9e32dc90f5cf42d71a42ce","status":"affected","versionType":"git"},{"version":"963d85d630dabe75a3cfde44a006fec3304d07b8","status":"affected","versionType":"git"},{"version":"812f39ed5b0b7f34868736de3055c92c7c4cf459","status":"affected","versionType":"git"},{"version":"6a002d48a66076524f67098132538bef17e8445e","status":"affected","versionType":"git"},{"version":"41812f4b84484530057513478c6770590347dc30","status":"affected","versionType":"git"},{"version":"4.4.281","lessThan":"4.5","status":"affected","versionType":"semver"},{"version":"4.9.280","lessThan":"4.10","status":"affected","versionType":"semver"},{"version":"4.14.244","lessThan":"4.15","status":"affected","versionType":"semver"},{"version":"4.19.204","lessThan":"4.20","status":"affected","versionType":"semver"},{"version":"5.4.141","lessThan":"5.5","status":"affected","versionType":"semver"},{"version":"5.10.59","lessThan":"5.11","status":"affected","versionType":"semver"},{"version":"5.13.11","lessThan":"5.14","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.14","status":"affected"},{"version":"0","lessThan":"5.14","status":"unaffected","versionType":"semver"},{"version":"5.15.190","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.147","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.100","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.40","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.15.3","lessThanOrEqual":"6.15.*","status":"unaffected","versionType":"semver"},{"version":"6.16","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/36fecd740de2d542d2091d65d36554ee2bcf9c65","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d717325b5ecf2a40daca85c61923e17f32306179","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/dc6a664089f10eab0fb36b6e4f705022210191d2","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e77078e52fbf018ab986efb3c79065ab35025607","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/38628ae06e2a37770cd794802a3f1310cf9846e3","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c28f922c9dcee0e4876a2c095939d77fe7e15116","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["Third Party Advisory","web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-082556.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38499.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38499","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00199,"epssPercentile":0.09816,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-38499","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38499","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-38499","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-38499","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}