{
  "id": "CVE-2025-38499",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38499",
  "published_at": "2025-08-11T16:01:08.257Z",
  "title": "clone_private_mnt(): make sure that caller has CAP_SYS_ADMIN in the right userns",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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 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.",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.14:-:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.14:rc6:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.14:rc7:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 427215d85e8d1476da1a86b8d67aceb485eb3631, \u003c 36fecd740de2d542d2091d65d36554ee2bcf9c65",
          "\u003e= 427215d85e8d1476da1a86b8d67aceb485eb3631, \u003c d717325b5ecf2a40daca85c61923e17f32306179",
          "\u003e= 427215d85e8d1476da1a86b8d67aceb485eb3631, \u003c dc6a664089f10eab0fb36b6e4f705022210191d2",
          "\u003e= 427215d85e8d1476da1a86b8d67aceb485eb3631, \u003c e77078e52fbf018ab986efb3c79065ab35025607",
          "\u003e= 427215d85e8d1476da1a86b8d67aceb485eb3631, \u003c 38628ae06e2a37770cd794802a3f1310cf9846e3",
          "\u003e= 427215d85e8d1476da1a86b8d67aceb485eb3631, \u003c c28f922c9dcee0e4876a2c095939d77fe7e15116",
          "c6e8810d25295acb40a7b69ed3962ff181919571",
          "e3eee87c846dc47f6d8eb6d85e7271f24122a279",
          "517b875dfbf58f0c6c9e32dc90f5cf42d71a42ce",
          "963d85d630dabe75a3cfde44a006fec3304d07b8",
          "812f39ed5b0b7f34868736de3055c92c7c4cf459",
          "6a002d48a66076524f67098132538bef17e8445e",
          "41812f4b84484530057513478c6770590347dc30",
          "\u003e= 4.4.281, \u003c 4.5",
          "\u003e= 4.9.280, \u003c 4.10",
          "\u003e= 4.14.244, \u003c 4.15",
          "\u003e= 4.19.204, \u003c 4.20",
          "\u003e= 5.4.141, \u003c 5.5",
          "\u003e= 5.10.59, \u003c 5.11",
          "\u003e= 5.13.11, \u003c 5.14"
        ],
        "fixed_in": [
          "36fecd740de2d542d2091d65d36554ee2bcf9c65",
          "d717325b5ecf2a40daca85c61923e17f32306179",
          "dc6a664089f10eab0fb36b6e4f705022210191d2",
          "e77078e52fbf018ab986efb3c79065ab35025607",
          "38628ae06e2a37770cd794802a3f1310cf9846e3",
          "c28f922c9dcee0e4876a2c095939d77fe7e15116",
          "4.5",
          "4.10",
          "4.15",
          "4.20",
          "5.5",
          "5.11",
          "5.14"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.14"
        ],
        "fixed_in": [
          "0",
          "5.15.190",
          "6.1.147",
          "6.6.100",
          "6.12.40",
          "6.15.3",
          "6.16"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 36fecd740de2d542d2091d65d36554ee2bcf9c65 or d717325b5ecf2a40daca85c61923e17f32306179 or dc6a664089f10eab0fb36b6e4f705022210191d2 or e77078e52fbf018ab986efb3c79065ab35025607 or 38628ae06e2a37770cd794802a3f1310cf9846e3 or c28f922c9dcee0e4876a2c095939d77fe7e15116 or 4.5 or 4.10 or 4.15 or 4.20 or 5.5 or 5.11 or 5.14 or later.",
      "Upgrade Linux to 0 or 5.15.190 or 6.1.147 or 6.6.100 or 6.12.40 or 6.15.3 or 6.16 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
