Skip to main content
VulnerabilityPublished Updated

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

Affects Linux kernelSource GCVE Database

0

Not known to be exploited · CVSS 5.5 Medium · fixed in 6.8.0-1029.31~22.04.1 : update Linux kernel when convenient.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 3.1 base score
5.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 12% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 6.8.0-1029.31~22.04.1, 6.8.0-1029.34~22.04.1, 6.8.0-1030.32~22.04.1 +23
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. Weaponised: 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 26 Oct 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux@6.8.0-60.63?arch=source&distro=nobleOther threatsAffected
  • <6.8.0-60.63
Fixed in
  • 6.8.0-60.63
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws@6.8.0-1029.31?arch=source&distro=nobleOther threatsAffected
  • <6.8.0-1029.31
Fixed in
  • 6.8.0-1029.31
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure@6.8.0-1029.34?arch=source&distro=nobleOther threatsAffected
  • <6.8.0-1029.34
Fixed in
  • 6.8.0-1029.34
Ubuntu 24.04 LTSlinux-azure-nvidiapkg:deb/ubuntu/linux-azure-nvidia@6.8.0-1016.17?arch=source&distro=nobleOther threatsAffected
  • <6.8.0-1016.17
Fixed in
  • 6.8.0-1016.17
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp@6.8.0-1030.32?arch=source&distro=nobleOther threatsAffected
  • <6.8.0-1030.32
Fixed in
  • 6.8.0-1030.32
Ubuntu 24.04 LTSlinux-gkepkg:deb/ubuntu/linux-gke@6.8.0-1025.29?arch=source&distro=nobleOther threatsAffected
  • <6.8.0-1025.29
Fixed in
  • 6.8.0-1025.29

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

In the Linux kernel, the following vulnerability has been resolved: bpf,perf: Fix invalid prog_array access in perf_event_detach_bpf_prog Syzbot reported [1] crash that happens for following tracing scenario: - create tracepoint perf event with attr.inherit=1, attach it to the process and set bpf program to it - attached process forks -> chid creates inherited event the new child event shares the parent's bpf program and tp_event (hence prog_array) which is global for tracepoint - exit both process and its child -> release both events - first perf_event_detach_bpf_prog call will release tp_event->prog_array and second perf_event_detach_bpf_prog will crash, because tp_event->prog_array is NULL The fix makes sure the perf_event_detach_bpf_prog checks prog_array is valid before it tries to remove the bpf program from it. [1] https://lore.kernel.org/bpf/Z1MR6dCIKajNS6nU@krava/T/#m91dbf0688221ec7a7fc95e896a7ef9ff93b0b8ad

References

Community reviews

Loading reviews…