Skip to main content
VulnerabilityPublished Updated

CVE-2024-56665: Linux kernel · bpf,perf: Fix invalid prog_array access in perf_event_detach_bpf_prog

Source GCVE Database

0
Compare

Not known to be exploited · CVSS 5.5 Medium.

Data as of 30 Oct 2026, 00:52 UTC

CVSS 3.1 base score
5.5Medium
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Dec 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

AI-suggested

A fix has been implemented that adds a validity check on the prog_array pointer before removal in perf_event_detach_bpf_prog. Users should apply the official kernel update containing this fix once available. Until then, avoid tracing scenarios that involve inherited perf events with BPF programs attached to prevent triggering the crash.

Description

CVE-2024-56665 is a medium-severity vulnerability in the Linux kernel's BPF perf subsystem. It involves an invalid access to a prog_array in the perf_event_detach_bpf_prog function, which can cause a crash when detaching BPF programs from perf events under certain tracing scenarios involving process forking and event inheritance. The issue is fixed by adding a check to ensure the prog_array is valid before removal.

References

Community reviews

Loading reviews…