{
  "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-42315",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2024-42315",
    "idYear": 2024,
    "status": "PUBLISHED",
    "publishedAt": "2024-08-17T09:09:23.779Z",
    "updatedAt": "2026-05-23T15:52:53.654Z",
    "importedAt": "2026-10-24T01:57:16.009Z",
    "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 potential deadlock on __exfat_get_dentry_set",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nexfat: fix potential deadlock on __exfat_get_dentry_set\n\nWhen accessing a file with more entries than ES_MAX_ENTRY_NUM, the bh-array\nis allocated in __exfat_get_entry_set. The problem is that the bh-array is\nallocated with GFP_KERNEL. It does not make sense. In the following cases,\na deadlock for sbi->s_lock between the two processes may occur.\n\n       CPU0                CPU1\n       ----                ----\n  kswapd\n   balance_pgdat\n    lock(fs_reclaim)\n                      exfat_iterate\n                       lock(&sbi->s_lock)\n                       exfat_readdir\n                        exfat_get_uniname_from_ext_entry\n                         exfat_get_dentry_set\n                          __exfat_get_dentry_set\n                           kmalloc_array\n                            ...\n                            lock(fs_reclaim)\n    ...\n    evict\n     exfat_evict_inode\n      lock(&sbi->s_lock)\n\nTo fix this, let's allocate bh-array with GFP_NOFS.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "bd3bdb9e0d656f760b11d0c638d35d7f7068144d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "632fb232b6bbf8277edcbe9ecd4b4d98ecb122eb"
            },
            {
              "version": "92dcd7d6c6068bf4fd35a6f64d606e27d634807e",
              "status": "affected",
              "versionType": "git",
              "lessThan": "c052f775ee6ccacd3c97e4cf41a2a657e63d4259"
            },
            {
              "version": "d8fe01ad2d8ab33aaf8f2efad9e8f1dae11c4b0c",
              "status": "affected",
              "versionType": "git",
              "lessThan": "cd1c7858641384191ff7033fb1fc65dfcd559c6f"
            },
            {
              "version": "a3ff29a95fde16906304455aa8c0bd84eb770258",
              "status": "affected",
              "versionType": "git",
              "lessThan": "a7ac198f8dba791e3144c4da48a5a9b95773ee4b"
            },
            {
              "version": "a3ff29a95fde16906304455aa8c0bd84eb770258",
              "status": "affected",
              "versionType": "git",
              "lessThan": "1d1970493c289e3f44b9ec847ed26a5dbdf56a62"
            },
            {
              "version": "a3ff29a95fde16906304455aa8c0bd84eb770258",
              "status": "affected",
              "versionType": "git",
              "lessThan": "89fc548767a2155231128cb98726d6d2ea1256c9"
            },
            {
              "version": "5.10.190",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "5.10.232"
            },
            {
              "version": "5.15.150",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "5.15.175"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "6.2",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "6.2"
            },
            {
              "version": "5.10.232",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.175",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.6.44",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.10.3",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.10.*"
            },
            {
              "version": "6.11",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}