CVE-2024-26591
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-26591 is a vulnerability in the Linux kernel's BPF subsystem, specifically in the bpf_tracing_prog_attach function. The vulnerability was discovered in January 2024 and affects multiple versions of the Linux kernel up to versions 5.15.148, 6.1.75, 6.6.14, and 6.7.2. The issue occurs during the re-attachment process of BPF programs (Kernel Patch).

Technical details

The vulnerability manifests as a NULL pointer dereference in the bpf_tracing_prog_attach function when handling program re-attachment. The issue occurs in a specific sequence: 1) loading a rawtp program, 2) loading an fentry program with rawtp as target_fd, 3) creating a tracing link for fentry program with target_fd = 0, and 4) repeating step 3. This leads to a situation where prog->aux->dst_trampoline is NULL, tgt_prog is NULL, and prog->aux->attach_btf is NULL. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

When exploited, this vulnerability can cause a kernel crash due to the NULL pointer dereference, resulting in a denial of service condition. The impact is limited to availability with no direct impact on confidentiality or integrity of the system (NVD).

Mitigation and workarounds

The vulnerability has been patched in the Linux kernel with a fix that adds validation for attach_btf before allowing re-attachment. The patch returns -EINVAL when attempting re-attachment without valid attach_btf. Users should update their Linux kernel to versions that include this fix (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-gcp
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-extra
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management