{
  "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-21660",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-21660",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-01-21T12:18:16.062Z",
    "updatedAt": "2026-05-23T15:56:48.649Z",
    "importedAt": "2026-10-24T01:57:29.455Z",
    "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": "ksmbd: fix unexpectedly changed path in ksmbd_vfs_kern_path_locked",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix unexpectedly changed path in ksmbd_vfs_kern_path_locked\n\nWhen `ksmbd_vfs_kern_path_locked` met an error and it is not the last\nentry, it will exit without restoring changed path buffer. But later this\nbuffer may be used as the filename for creation.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "d1b2d2a9c912fc7b788985fbaf944e80f4b3f2af",
              "status": "affected",
              "versionType": "git",
              "lessThan": "13e41c58c74baa71f34c0830eaa3c29d53a6e964"
            },
            {
              "version": "6ab95e27b77730de3fa2d601db3764490c5eede2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "65b31b9d992c0fb0685c51a0cf09993832734fc4"
            },
            {
              "version": "c5a709f08d40b1a082e44ffcde1aea4d2822ddd5",
              "status": "affected",
              "versionType": "git",
              "lessThan": "51669f4af5f7959565b48e55691ba92fabf5c587"
            },
            {
              "version": "c5a709f08d40b1a082e44ffcde1aea4d2822ddd5",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2ac538e40278a2c0c051cca81bcaafc547d61372"
            },
            {
              "version": "d205cb1a13b37b2660df70a972dedc8c4ba1c2e8",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "c1e27b70e79050530c671b9dab688386c86f039a",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "6.1.113",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.1.125"
            },
            {
              "version": "6.6.54",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.6.72"
            },
            {
              "version": "6.10.13",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.11"
            },
            {
              "version": "6.11.2",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.12"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "6.12",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "6.12"
            },
            {
              "version": "6.1.125",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.72",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.10",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.13",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}