{
  "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-2024-57940",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2024-57940",
    "idYear": 2024,
    "status": "PUBLISHED",
    "publishedAt": "2025-01-21T12:18:09.150Z",
    "updatedAt": "2026-10-15T01:00:52.079Z",
    "importedAt": "2026-10-24T01:57:20.494Z",
    "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": "exfat: fix the infinite loop in exfat_readdir()",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nexfat: fix the infinite loop in exfat_readdir()\n\nIf the file system is corrupted so that a cluster is linked to\nitself in the cluster chain, and there is an unused directory\nentry in the cluster, 'dentry' will not be incremented, causing\ncondition 'dentry < max_dentries' unable to prevent an infinite\nloop.\n\nThis infinite loop causes s_lock not to be released, and other\ntasks will hang, such as exfat_sync_fs().\n\nThis commit stops traversing the cluster chain when there is unused\ndirectory entry in the cluster to avoid this infinite loop.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "ca06197382bde0a3bc20215595d1c9ce20c6e341",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d8cfbb8723bd3d3222f360227a1cc15227189ca6"
            },
            {
              "version": "ca06197382bde0a3bc20215595d1c9ce20c6e341",
              "status": "affected",
              "versionType": "git",
              "lessThan": "28c21f0ac5293a4bf19b3e0e32005d6dd31a6c17"
            },
            {
              "version": "ca06197382bde0a3bc20215595d1c9ce20c6e341",
              "status": "affected",
              "versionType": "git",
              "lessThan": "31beabd0f47f8c3ed9965ba861c9e5b252d4920a"
            },
            {
              "version": "ca06197382bde0a3bc20215595d1c9ce20c6e341",
              "status": "affected",
              "versionType": "git",
              "lessThan": "dc1d7afceb982e8f666e70a582e6b5aa806de063"
            },
            {
              "version": "ca06197382bde0a3bc20215595d1c9ce20c6e341",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d9ea94f5cd117d56e573696d0045ab3044185a15"
            },
            {
              "version": "ca06197382bde0a3bc20215595d1c9ce20c6e341",
              "status": "affected",
              "versionType": "git",
              "lessThan": "fee873761bd978d077d8c55334b4966ac4cb7b59"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "5.7",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "5.7"
            },
            {
              "version": "5.10.234",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.177",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "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": "*"
            }
          ]
        }
      ]
    }
  }
}