{
  "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-40313",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-40313",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-12-08T00:46:39.444Z",
    "updatedAt": "2026-05-11T21:46:56.353Z",
    "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": "ntfs3: pretend $Extend records as regular files",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nntfs3: pretend $Extend records as regular files\n\nSince commit af153bb63a33 (\"vfs: catch invalid modes in may_open()\")\nrequires any inode be one of S_IFDIR/S_IFLNK/S_IFREG/S_IFCHR/S_IFBLK/\nS_IFIFO/S_IFSOCK type, use S_IFREG for $Extend records.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "4534a70b7056fd4b9a1c6db5a4ce3c98546b291e",
              "status": "affected",
              "versionType": "git",
              "lessThan": "63eb6730ce0604d3eacf036c2f68ea70b068317c"
            },
            {
              "version": "4534a70b7056fd4b9a1c6db5a4ce3c98546b291e",
              "status": "affected",
              "versionType": "git",
              "lessThan": "78d46f5276ed3589aaaa435580068c5b62efc921"
            },
            {
              "version": "4534a70b7056fd4b9a1c6db5a4ce3c98546b291e",
              "status": "affected",
              "versionType": "git",
              "lessThan": "17249b2a65274f73ed68bcd1604e08a60fd8a278"
            },
            {
              "version": "4534a70b7056fd4b9a1c6db5a4ce3c98546b291e",
              "status": "affected",
              "versionType": "git",
              "lessThan": "37f65e68ba9852dc51c78dbb54a9881c3f0fe4f7"
            },
            {
              "version": "4534a70b7056fd4b9a1c6db5a4ce3c98546b291e",
              "status": "affected",
              "versionType": "git",
              "lessThan": "57534db1bbc4ca772393bb7d92e69d5e7b9051cf"
            },
            {
              "version": "4534a70b7056fd4b9a1c6db5a4ce3c98546b291e",
              "status": "affected",
              "versionType": "git",
              "lessThan": "4e8011ffec79717e5fdac43a7e79faf811a384b7"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "5.15",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "5.15"
            },
            {
              "version": "5.15.197",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.159",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.117",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.58",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.17.8",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.17.*"
            },
            {
              "version": "6.18",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}