GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2024-40909 (GCVE-0-2024-40909)

Vulnerability from cvelistv5 – Published: 2024-07-12 12:20 – Updated: 2026-08-05 11:33
VLAI
Title
bpf: Fix a potential use-after-free in bpf_link_free()
Summary
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix a potential use-after-free in bpf_link_free() After commit 1a80dbcb2dba, bpf_link can be freed by link->ops->dealloc_deferred, but the code still tests and uses link->ops->dealloc afterward, which leads to a use-after-free as reported by syzbot. Actually, one of them should be sufficient, so just call one of them instead of both. Also add a WARN_ON() in case of any problematic implementation.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2024-09-10 17:06 UTC
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 876941f533e7b47fc69977fc4551c02f2d18af97 , < 91cff53136daeff50816b0baeafd38a6976f6209 (git)
Affected: 1a80dbcb2dbaf6e4c216e62e30fa7d3daa8001ce , < fa97b8fed9896f1e89cb657513e483a152d4c382 (git)
Affected: 1a80dbcb2dbaf6e4c216e62e30fa7d3daa8001ce , < 2884dc7d08d98a89d8d65121524bb7533183a63a (git)
Affected: 5d8d447777564b35f67000e7838e7ccb64d525c8 (git)
Affected: 6.6.26 , < 6.6.35 (semver)
Affected: 6.8.5 , < 6.9 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 6.9
Unaffected: 0 , < 6.9 (semver)
Unaffected: 6.6.35 , ≤ 6.6.* (semver)
Unaffected: 6.9.6 , ≤ 6.9.* (semver)
Unaffected: 6.10 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T04:39:55.487Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/91cff53136daeff50816b0baeafd38a6976f6209"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/fa97b8fed9896f1e89cb657513e483a152d4c382"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/2884dc7d08d98a89d8d65121524bb7533183a63a"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-40909",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-09-10T17:06:09.099919Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-09-11T17:34:37.410Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "kernel/bpf/syscall.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "91cff53136daeff50816b0baeafd38a6976f6209",
              "status": "affected",
              "version": "876941f533e7b47fc69977fc4551c02f2d18af97",
              "versionType": "git"
            },
            {
              "lessThan": "fa97b8fed9896f1e89cb657513e483a152d4c382",
              "status": "affected",
              "version": "1a80dbcb2dbaf6e4c216e62e30fa7d3daa8001ce",
              "versionType": "git"
            },
            {
              "lessThan": "2884dc7d08d98a89d8d65121524bb7533183a63a",
              "status": "affected",
              "version": "1a80dbcb2dbaf6e4c216e62e30fa7d3daa8001ce",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "5d8d447777564b35f67000e7838e7ccb64d525c8",
              "versionType": "git"
            },
            {
              "lessThan": "6.6.35",
              "status": "affected",
              "version": "6.6.26",
              "versionType": "semver"
            },
            {
              "lessThan": "6.9",
              "status": "affected",
              "version": "6.8.5",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "kernel/bpf/syscall.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.9"
            },
            {
              "lessThan": "6.9",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.35",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.9.*",
              "status": "unaffected",
              "version": "6.9.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.10",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.35",
                  "versionStartIncluding": "6.6.26",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.9.6",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.10",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.8.5",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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-\u003eops-\u003edealloc_deferred, but the code still tests and uses\nlink-\u003eops-\u003edealloc 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."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The vulnerability is reached exclusively through the local `bpf()` syscall \u2014 creating a raw_tracepoint/kprobe_multi/uprobe_multi link and then closing its file descriptor. No network or remote-peer data is involved.\nAC:L - The attacker drives the free side directly and can repeat the create/close cycle in an unbounded loop across all CPUs while generating scheduling and RCU load to force preemption between `call_rcu()` and the stale `link-\u003eops` read; syzbot triggered it in practice, so the window is reachable without relying on conditions outside attacker influence.\nPR:L - `bpf_token_capable()` grants BPF/PERFMON at `ns_capable()` level when a BPF token is delegated (kernel/bpf/token.c:17-28), so a process unprivileged in the init namespace inside a container can load these tracing programs and create the affected links; the same path is reachable by ordinary non-root service accounts holding only CAP_BPF+CAP_PERFMON, which is not administrative control of the host.\nUI:N - The entire sequence \u2014 link creation and fd close \u2014 is performed by the attacker\u0027s own process with no action required from any other user.\nS:U - The corruption and its consequences are confined to the kernel\u0027s own memory and privilege domain; no hypervisor, IOMMU, or other security-authority boundary is crossed.\nC:H - The use-after-free reads the `ops` pointer out of a freed slab object that the attacker can reallocate and fill via heap spraying, yielding an arbitrary kernel pointer dereference and an arbitrary-read primitive over kernel memory.\nI:H - After the stale `link-\u003eops` read, the code performs `link-\u003eops-\u003edealloc(link)` \u2014 an indirect call through an attacker-controlled function pointer table, giving control-flow hijack and full kernel-integrity compromise.\nA:H - Even unweaponized, dereferencing and calling through a freed/recycled `ops` pointer produces a wild indirect branch and immediate kernel oops or panic, and the attacker can trigger it repeatedly."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T11:33:56.691Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/91cff53136daeff50816b0baeafd38a6976f6209"
        },
        {
          "url": "https://git.kernel.org/stable/c/fa97b8fed9896f1e89cb657513e483a152d4c382"
        },
        {
          "url": "https://git.kernel.org/stable/c/2884dc7d08d98a89d8d65121524bb7533183a63a"
        }
      ],
      "title": "bpf: Fix a potential use-after-free in bpf_link_free()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-40909",
    "datePublished": "2024-07-12T12:20:48.447Z",
    "dateReserved": "2024-07-12T12:17:45.580Z",
    "dateUpdated": "2026-08-05T11:33:56.691Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2024-40909",
      "date": "2026-09-16",
      "epss": "0.00278",
      "percentile": "0.20273"
    },
    "fkie_nvd": {
      "configurations": "[{\"nodes\": [{\"operator\": \"OR\", \"negate\": false, \"cpeMatch\": [{\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"6.6.26\", \"versionEndExcluding\": \"6.6.35\", \"matchCriteriaId\": \"610CA734-4C6D-43D5-B254-80BB5B7E5098\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"6.9\", \"versionEndExcluding\": \"6.9.6\", \"matchCriteriaId\": \"A2E0E6CD-2DC0-4E5C-9037-9A023960B2F9\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:6.10:rc1:*:*:*:*:*:*\", \"matchCriteriaId\": \"2EBB4392-5FA6-4DA9-9772-8F9C750109FA\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:6.10:rc2:*:*:*:*:*:*\", \"matchCriteriaId\": \"331C2F14-12C7-45D5-893D-8C52EE38EA10\"}]}]}]",
      "descriptions": "[{\"lang\": \"en\", \"value\": \"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-\u003eops-\u003edealloc_deferred, but the code still tests and uses\\nlink-\u003eops-\u003edealloc 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.\"}, {\"lang\": \"es\", \"value\": \"En el kernel de Linux, se resolvi\\u00f3 la siguiente vulnerabilidad: bpf: corrige un posible use-after-free en bpf_link_free() Despu\\u00e9s del commit 1a80dbcb2dba, bpf_link se puede liberar mediante link-\u0026gt;ops-\u0026gt;dealloc_deferred, pero el c\\u00f3digo a\\u00fan prueba y usa link-\u0026gt;ops-\u0026gt;dealloc despu\\u00e9s, lo que conduce a un use-after-free seg\\u00fan lo informado por syzbot. En realidad, uno de ellos deber\\u00eda ser suficiente, as\\u00ed que llame a uno de ellos en lugar de a ambos. Tambi\\u00e9n agregue WARN_ON() en caso de cualquier implementaci\\u00f3n problem\\u00e1tica.\"}]",
      "id": "CVE-2024-40909",
      "lastModified": "2024-11-21T09:31:50.293",
      "metrics": "{\"cvssMetricV31\": [{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"cvssData\": {\"version\": \"3.1\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\", \"baseScore\": 7.8, \"baseSeverity\": \"HIGH\", \"attackVector\": \"LOCAL\", \"attackComplexity\": \"LOW\", \"privilegesRequired\": \"LOW\", \"userInteraction\": \"NONE\", \"scope\": \"UNCHANGED\", \"confidentialityImpact\": \"HIGH\", \"integrityImpact\": \"HIGH\", \"availabilityImpact\": \"HIGH\"}, \"exploitabilityScore\": 1.8, \"impactScore\": 5.9}]}",
      "published": "2024-07-12T13:15:14.137",
      "references": "[{\"url\": \"https://git.kernel.org/stable/c/2884dc7d08d98a89d8d65121524bb7533183a63a\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"tags\": [\"Patch\"]}, {\"url\": \"https://git.kernel.org/stable/c/91cff53136daeff50816b0baeafd38a6976f6209\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"tags\": [\"Patch\"]}, {\"url\": \"https://git.kernel.org/stable/c/fa97b8fed9896f1e89cb657513e483a152d4c382\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"tags\": [\"Patch\"]}, {\"url\": \"https://git.kernel.org/stable/c/2884dc7d08d98a89d8d65121524bb7533183a63a\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Patch\"]}, {\"url\": \"https://git.kernel.org/stable/c/91cff53136daeff50816b0baeafd38a6976f6209\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Patch\"]}, {\"url\": \"https://git.kernel.org/stable/c/fa97b8fed9896f1e89cb657513e483a152d4c382\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Patch\"]}]",
      "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "vulnStatus": "Modified",
      "weaknesses": "[{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-416\"}]}]"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-40909\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-07-12T13:15:14.137\",\"lastModified\":\"2026-08-04T11:19:04.073\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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-\u003eops-\u003edealloc_deferred, but the code still tests and uses\\nlink-\u003eops-\u003edealloc 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.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se resolvi\u00f3 la siguiente vulnerabilidad: bpf: corrige un posible use-after-free en bpf_link_free() Despu\u00e9s del commit 1a80dbcb2dba, bpf_link se puede liberar mediante link-\u0026gt;ops-\u0026gt;dealloc_deferred, pero el c\u00f3digo a\u00fan prueba y usa link-\u0026gt;ops-\u0026gt;dealloc despu\u00e9s, lo que conduce a un use-after-free seg\u00fan lo informado por syzbot. En realidad, uno de ellos deber\u00eda ser suficiente, as\u00ed que llame a uno de ellos en lugar de a ambos. Tambi\u00e9n agregue WARN_ON() en caso de cualquier implementaci\u00f3n problem\u00e1tica.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"kernel/bpf/syscall.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"876941f533e7b47fc69977fc4551c02f2d18af97\",\"lessThan\":\"91cff53136daeff50816b0baeafd38a6976f6209\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"1a80dbcb2dbaf6e4c216e62e30fa7d3daa8001ce\",\"lessThan\":\"fa97b8fed9896f1e89cb657513e483a152d4c382\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"1a80dbcb2dbaf6e4c216e62e30fa7d3daa8001ce\",\"lessThan\":\"2884dc7d08d98a89d8d65121524bb7533183a63a\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"5d8d447777564b35f67000e7838e7ccb64d525c8\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"6.6.26\",\"lessThan\":\"6.6.35\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"6.8.5\",\"lessThan\":\"6.9\",\"versionType\":\"semver\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"kernel/bpf/syscall.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.9\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.9\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.35\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.9.6\",\"lessThanOrEqual\":\"6.9.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.10\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2024-09-10T17:06:09.099919Z\",\"id\":\"CVE-2024-40909\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"partial\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-416\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.6.26\",\"versionEndExcluding\":\"6.6.35\",\"matchCriteriaId\":\"610CA734-4C6D-43D5-B254-80BB5B7E5098\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.9\",\"versionEndExcluding\":\"6.9.6\",\"matchCriteriaId\":\"A2E0E6CD-2DC0-4E5C-9037-9A023960B2F9\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.10:rc1:*:*:*:*:*:*\",\"matchCriteriaId\":\"2EBB4392-5FA6-4DA9-9772-8F9C750109FA\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.10:rc2:*:*:*:*:*:*\",\"matchCriteriaId\":\"331C2F14-12C7-45D5-893D-8C52EE38EA10\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/2884dc7d08d98a89d8d65121524bb7533183a63a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/91cff53136daeff50816b0baeafd38a6976f6209\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/fa97b8fed9896f1e89cb657513e483a152d4c382\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/2884dc7d08d98a89d8d65121524bb7533183a63a\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/91cff53136daeff50816b0baeafd38a6976f6209\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/fa97b8fed9896f1e89cb657513e483a152d4c382\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-04T18:47:39+00:00",
      "cve": "CVE-2024-40909",
      "id": "CVE-2024-40909",
      "initial_release_date": "2024-07-12T00:00:00+00:00",
      "product_status:known_affected": "28",
      "product_status:known_not_affected": "170",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: bpf: Fix a potential use-after-free in bpf_link_free()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-40909.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "important",
      "current_release_date": "2026-09-02T01:28:16Z",
      "cve": "CVE-2024-40909",
      "id": "CVE-2024-40909",
      "initial_release_date": "2024-07-16T02:35:01Z",
      "product_status:known_affected": "330",
      "product_status:known_not_affected": "292",
      "product_status:recommended": "667",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2024-40909",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2024-40909.json",
      "version": "117"
    },
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/91cff53136daeff50816b0baeafd38a6976f6209\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/fa97b8fed9896f1e89cb657513e483a152d4c382\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/2884dc7d08d98a89d8d65121524bb7533183a63a\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T04:39:55.487Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-40909\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-09-10T17:06:09.099919Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-09-11T12:42:24.857Z\"}}], \"cna\": {\"title\": \"bpf: Fix a potential use-after-free in bpf_link_free()\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"876941f533e7b47fc69977fc4551c02f2d18af97\", \"lessThan\": \"91cff53136daeff50816b0baeafd38a6976f6209\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"1a80dbcb2dbaf6e4c216e62e30fa7d3daa8001ce\", \"lessThan\": \"fa97b8fed9896f1e89cb657513e483a152d4c382\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"1a80dbcb2dbaf6e4c216e62e30fa7d3daa8001ce\", \"lessThan\": \"2884dc7d08d98a89d8d65121524bb7533183a63a\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"5d8d447777564b35f67000e7838e7ccb64d525c8\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"6.6.26\", \"lessThan\": \"6.6.35\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"6.8.5\", \"lessThan\": \"6.9\", \"versionType\": \"semver\"}], \"programFiles\": [\"kernel/bpf/syscall.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"6.9\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"6.9\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"6.6.35\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.9.6\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.9.*\"}, {\"status\": \"unaffected\", \"version\": \"6.10\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"kernel/bpf/syscall.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/91cff53136daeff50816b0baeafd38a6976f6209\"}, {\"url\": \"https://git.kernel.org/stable/c/fa97b8fed9896f1e89cb657513e483a152d4c382\"}, {\"url\": \"https://git.kernel.org/stable/c/2884dc7d08d98a89d8d65121524bb7533183a63a\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"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-\u003eops-\u003edealloc_deferred, but the code still tests and uses\\nlink-\u003eops-\u003edealloc 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.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6.35\", \"versionStartIncluding\": \"6.6.26\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.9.6\", \"versionStartIncluding\": \"6.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.10\", \"versionStartIncluding\": \"6.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionStartIncluding\": \"6.8.5\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-05-23T15:50:39.144Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-40909\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-05-23T15:50:39.144Z\", \"dateReserved\": \"2024-07-12T12:17:45.580Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-07-12T12:20:48.447Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…