{
  "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-42104",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2024-42104",
    "idYear": 2024,
    "status": "PUBLISHED",
    "publishedAt": "2024-07-30T07:46:00.180Z",
    "updatedAt": "2026-08-05T11:35:37.917Z",
    "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": "nilfs2: add missing check for inode numbers on directory entries",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nnilfs2: add missing check for inode numbers on directory entries\n\nSyzbot reported that mounting and unmounting a specific pattern of\ncorrupted nilfs2 filesystem images causes a use-after-free of metadata\nfile inodes, which triggers a kernel bug in lru_add_fn().\n\nAs Jan Kara pointed out, this is because the link count of a metadata file\ngets corrupted to 0, and nilfs_evict_inode(), which is called from iput(),\ntries to delete that inode (ifile inode in this case).\n\nThe inconsistency occurs because directories containing the inode numbers\nof these metadata files that should not be visible in the namespace are\nread without checking.\n\nFix this issue by treating the inode numbers of these internal files as\nerrors in the sanity check helper when reading directory folios/pages.\n\nAlso thanks to Hillf Danton and Matthew Wilcox for their initial mm-layer\nanalysis.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "2ba466d74ed74f073257f86e61519cb8f8f46184",
              "status": "affected",
              "versionType": "git",
              "lessThan": "c33c2b0d92aa1c2262d999b2598ad6fbd53bd479"
            },
            {
              "version": "2ba466d74ed74f073257f86e61519cb8f8f46184",
              "status": "affected",
              "versionType": "git",
              "lessThan": "07c176e7acc5579c133bb923ab21316d192d0a95"
            },
            {
              "version": "2ba466d74ed74f073257f86e61519cb8f8f46184",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2f2fa9cf7c3537958a82fbe8c8595a5eb0861ad7"
            },
            {
              "version": "2ba466d74ed74f073257f86e61519cb8f8f46184",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b11e8fb93ea5eefb2e4e719497ea177a58ff6131"
            },
            {
              "version": "2ba466d74ed74f073257f86e61519cb8f8f46184",
              "status": "affected",
              "versionType": "git",
              "lessThan": "1b7d549ed2c1fa202c751b69423a0d3a6bd5a180"
            },
            {
              "version": "2ba466d74ed74f073257f86e61519cb8f8f46184",
              "status": "affected",
              "versionType": "git",
              "lessThan": "3ab40870edb883b9633dc5cd55f5a2a11afa618d"
            },
            {
              "version": "2ba466d74ed74f073257f86e61519cb8f8f46184",
              "status": "affected",
              "versionType": "git",
              "lessThan": "265fff1a01cdc083aeaf0d934c929db5cc64aebf"
            },
            {
              "version": "2ba466d74ed74f073257f86e61519cb8f8f46184",
              "status": "affected",
              "versionType": "git",
              "lessThan": "bb76c6c274683c8570ad788f79d4b875bde0e458"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "2.6.30",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "2.6.30"
            },
            {
              "version": "4.19.318",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.280",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.222",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.163",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.98",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.39",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.9.9",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.9.*"
            },
            {
              "version": "6.10",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}