{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2025-38058",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-38058",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-06-18T09:33:38.022Z",
    "updatedAt": "2026-10-15T21:52:06.947Z",
    "importedAt": "2026-10-24T01:57:34.152Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "__legitimize_mnt(): check for MNT_SYNC_UMOUNT should be under mount_lock",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\n__legitimize_mnt(): check for MNT_SYNC_UMOUNT should be under mount_lock\n\n... or we risk stealing final mntput from sync umount - raising mnt_count\nafter umount(2) has verified that victim is not busy, but before it\nhas set MNT_SYNC_UMOUNT; in that case __legitimize_mnt() doesn't see\nthat it's safe to quietly undo mnt_count increment and leaves dropping\nthe reference to caller, where it'll be a full-blown mntput().\n\nCheck under mount_lock is needed; leaving the current one done before\ntaking that makes no sense - it's nowhere near common enough to bother\nwith.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "48a066e72d970a3e225a9c18690d570c736fc455",
              "status": "affected",
              "versionType": "git",
              "lessThan": "628fb00195ce21a90cf9e4e3d105cd9e58f77b40"
            },
            {
              "version": "48a066e72d970a3e225a9c18690d570c736fc455",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b89eb56a378b7b2c1176787fc228d0a57172bdd5"
            },
            {
              "version": "48a066e72d970a3e225a9c18690d570c736fc455",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f6d45fd92f62845cbd1eb5128fd8f0ed7d0c5a42"
            },
            {
              "version": "48a066e72d970a3e225a9c18690d570c736fc455",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9b0915e72b3cf52474dcee0b24a2f99d93e604a3"
            },
            {
              "version": "48a066e72d970a3e225a9c18690d570c736fc455",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d8ece4ced3b051e656c77180df2e69e19e24edc1"
            },
            {
              "version": "48a066e72d970a3e225a9c18690d570c736fc455",
              "status": "affected",
              "versionType": "git",
              "lessThan": "8cafd7266fa02e0863bacbf872fe635c0b9725eb"
            },
            {
              "version": "48a066e72d970a3e225a9c18690d570c736fc455",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b55996939c71a3e1a38f3cdc6a8859797efc9083"
            },
            {
              "version": "48a066e72d970a3e225a9c18690d570c736fc455",
              "status": "affected",
              "versionType": "git",
              "lessThan": "250cf3693060a5f803c5f1ddc082bb06b16112a9"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "3.13",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "3.13"
            },
            {
              "version": "5.4.294",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.238",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.185",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.141",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.93",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.31",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.14.9",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.14.*"
            },
            {
              "version": "6.15",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}