{
  "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-40909",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2024-40909",
    "idYear": 2024,
    "status": "PUBLISHED",
    "publishedAt": "2024-07-12T12:20:48.447Z",
    "updatedAt": "2026-08-05T11:33:56.691Z",
    "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": "bpf: Fix a potential use-after-free in bpf_link_free()",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix a potential use-after-free in bpf_link_free()\n\nAfter commit 1a80dbcb2dba, bpf_link can be freed by\nlink->ops->dealloc_deferred, but the code still tests and uses\nlink->ops->dealloc afterward, which leads to a use-after-free as\nreported by syzbot. Actually, one of them should be sufficient, so\njust call one of them instead of both. Also add a WARN_ON() in case\nof any problematic implementation.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "876941f533e7b47fc69977fc4551c02f2d18af97",
              "status": "affected",
              "versionType": "git",
              "lessThan": "91cff53136daeff50816b0baeafd38a6976f6209"
            },
            {
              "version": "1a80dbcb2dbaf6e4c216e62e30fa7d3daa8001ce",
              "status": "affected",
              "versionType": "git",
              "lessThan": "fa97b8fed9896f1e89cb657513e483a152d4c382"
            },
            {
              "version": "1a80dbcb2dbaf6e4c216e62e30fa7d3daa8001ce",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2884dc7d08d98a89d8d65121524bb7533183a63a"
            },
            {
              "version": "5d8d447777564b35f67000e7838e7ccb64d525c8",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "6.6.26",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.6.35"
            },
            {
              "version": "6.8.5",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.9"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "6.9",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "6.9"
            },
            {
              "version": "6.6.35",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.9.6",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.9.*"
            },
            {
              "version": "6.10",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}