CVE-2024-56665

Kernel crash via NULL prog_array detachment

Published Dec 27, 2024 · Updated May 23, 2026

NULL-pointer dereference in Linux kernel BPF perf-event teardown allows local users to crash the host through inherited tracepoint events. perf_event_detach_bpf_prog removes a BPF program from the tracepoint's shared prog_array without checking whether an earlier inherited-event teardown already cleared that pointer. Reaching the fault requires low-privileged local access to create an inheritable tracepoint perf event, attach a BPF program, fork, and release both events; the consequence is a kernel crash.

CVSS severity5.5
Medium
EPSS probability0.22%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

NULL-pointer dereference in Linux kernel BPF perf-event teardown allows local users to crash the host through inherited tracepoint events. perf_event_detach_bpf_prog removes a BPF program from the tracepoint's shared prog_array without checking whether an earlier inherited-event teardown already cleared that pointer. Reaching the fault requires low-privileged local access to create an inheritable tracepoint perf event, attach a BPF program, fork, and release both events; the consequence is a kernel crash.

The record

CVE
CVE-2024-56665
Published
Dec 27, 2024
Updated
May 23, 2026
Vendor
The Linux Kernel Organization
Product
Linux
Classifications
CWE-416, T1499
Attack vector
local
Privileges
authenticated

Timeline

How it unfolded

  1. Dec 27, 2024CVE publishedPublication date reported by the CVE source.
  2. May 23, 2026Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=0ee288e69d033850bc87abe0f9cc3ada24763d7f <978c4486cca5c7b9253d3ab98a88c8e769cb9bbd
  2. Affected versionversion=0ee288e69d033850bc87abe0f9cc3ada24763d7f <dfb15ddf3b65e0df2129f9756d1b4fa78055cdb3
  3. Affected versionversion=21db2f35fa97e4a3447f2edeb7b2569a8bfdc83b <c2b6b47662d5f2dfce92e5ffbdcac8229f321d9d
  4. Affected versionversion=5.15.170 <5.16
  5. Affected versionversion=585674b9d0d80bd7f428b1f88be13cf6d5d6f739
  6. Affected versionversion=6.1.115 <6.1.121
  7. Affected versionversion=6.11.6 <6.12
  8. Affected versionversion=6.12
  9. Affected versionversion=6.6.59 <6.6.67
  10. Affected versionversion=7a5c653ede645693422e43cccaa3e8f905d21c74 <842e5af282453983586e2eae3c8eaf252de5f22f
  11. Affected versionversion=b4007d5fe38625b8a1b8edc0f385d86527651238

What conditions does exploitation require?

Attack vectorlocal
Required privilegesauthenticated

What is affected?

The Linux Kernel Organization · Linuxversion=0ee288e69d033850bc87abe0f9cc3ada24763d7f <978c4486cca5c7b9253d3ab98a88c8e769cb9bbd; version=0ee288e69d033850bc87abe0f9cc3ada24763d7f <dfb15ddf3b65e0df2129f9756d1b4fa78055cdb3; version=21db2f35fa97e4a3447f2edeb7b2569a8bfdc83b <c2b6b47662d5f2dfce92e5ffbdcac8229f321d9d; version=5.15.170 <5.16; version=585674b9d0d80bd7f428b1f88be13cf6d5d6f739; version=6.1.115 <6.1.121; version=6.11.6 <6.12; version=6.12; version=6.6.59 <6.6.67; version=7a5c653ede645693422e43cccaa3e8f905d21c74 <842e5af282453983586e2eae3c8eaf252de5f22f; version=b4007d5fe38625b8a1b8edc0f385d86527651238

Published CVSS scores

6.8SUSECVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
5.5UbuntuCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
5.5NVDCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
5.5CISA-ADPCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 10, 2026Sep 16, 2026
Latest reporting daySep 16, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesauthenticated
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

CWE-416Use After Free
T1499Endpoint Denial of Service

Public exploit references

No public exploit references are available in this record.

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo