{
  "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-41042",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2024-41042",
    "idYear": 2024,
    "status": "PUBLISHED",
    "publishedAt": "2024-07-29T14:31:55.530Z",
    "updatedAt": "2026-05-11T20:25:02.881Z",
    "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": "netfilter: nf_tables: prefer nft_chain_validate",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_tables: prefer nft_chain_validate\n\nnft_chain_validate already performs loop detection because a cycle will\nresult in a call stack overflow (ctx->level >= NFT_JUMP_STACK_SIZE).\n\nIt also follows maps via ->validate callback in nft_lookup, so there\nappears no reason to iterate the maps again.\n\nnf_tables_check_loops() and all its helper functions can be removed.\nThis improves ruleset load time significantly, from 23s down to 12s.\n\nThis also fixes a crash bug. Old loop detection code can result in\nunbounded recursion:\n\nBUG: TASK stack guard page was hit at ....\nOops: stack guard page: 0000 [#1] PREEMPT SMP KASAN\nCPU: 4 PID: 1539 Comm: nft Not tainted 6.10.0-rc5+ #1\n[..]\n\nwith a suitable ruleset during validation of register stores.\n\nI can't see any actual reason to attempt to check for this from\nnft_validate_register_store(), at this point the transaction is still in\nprogress, so we don't have a full picture of the rule graph.\n\nFor nf-next it might make sense to either remove it or make this depend\non table->validate_state in case we could catch an error earlier\n(for improved error reporting to userspace).",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "20a69341f2d00cd042e81c82289fba8a13c05a25",
              "status": "affected",
              "versionType": "git",
              "lessThan": "1947e4c3346faa8ac7e343652c0fd3b3e394202f"
            },
            {
              "version": "20a69341f2d00cd042e81c82289fba8a13c05a25",
              "status": "affected",
              "versionType": "git",
              "lessThan": "cd4348e0a50286282c314ad6d2b0740e7c812c24"
            },
            {
              "version": "20a69341f2d00cd042e81c82289fba8a13c05a25",
              "status": "affected",
              "versionType": "git",
              "lessThan": "31c35f9f89ef585f1edb53e17ac73a0ca4a9712b"
            },
            {
              "version": "20a69341f2d00cd042e81c82289fba8a13c05a25",
              "status": "affected",
              "versionType": "git",
              "lessThan": "8246b7466c8da49d0d9e85e26cbd69dd6d3e3d1e"
            },
            {
              "version": "20a69341f2d00cd042e81c82289fba8a13c05a25",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b6b6e430470e1c3c5513311cb35a15a205595abe"
            },
            {
              "version": "20a69341f2d00cd042e81c82289fba8a13c05a25",
              "status": "affected",
              "versionType": "git",
              "lessThan": "717c91c6ed73e248de6a15bc53adefb81446c9d0"
            },
            {
              "version": "20a69341f2d00cd042e81c82289fba8a13c05a25",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9df785aeb7dcc8efd1d4110bb27d26005298ebae"
            },
            {
              "version": "20a69341f2d00cd042e81c82289fba8a13c05a25",
              "status": "affected",
              "versionType": "git",
              "lessThan": "cff3bd012a9512ac5ed858d38e6ed65f6391008c"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "3.13",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "3.13"
            },
            {
              "version": "4.19.320",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.282",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.224",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.165",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.105",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.46",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.9.10",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.9.*"
            },
            {
              "version": "6.10",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}