MTIby Motiontic
Colour theme
VulnerabilityCVE-2024-40909WID-SEC-W-2024-1607:CVE-2024-40909

bpf: Fix a potential use-after-free in bpf_link_free()

Not on CISA KEV
  • Overview

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

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • BSI CERT-Bund Source: BSI CERT-Bund
  • CVE List Source: CVE Program (cve.org)
  • Red Hat Source: Red Hat Security Data (CC BY 4.0)