Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-26591

5.5 · MEDIUM
Published Feb 22, 2024 linux CWE-476 EPSS 0.23% (14th pctl)

Overview

CVE-2024-26591 is a medium-severity vulnerability affecting linux linux_kernel. It was published on February 22, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

In the Linux kernel, the following vulnerability has been resolved:

bpf: Fix re-attachment branch in bpf_tracing_prog_attach

The following case can cause a crash due to missing attach_btf:

1) load rawtp program

2) load fentry program with rawtp as target_fd

3) create tracing link for fentry program with target_fd = 0

4) repeat 3

In the end we have:

- prog->aux->dst_trampoline == NULL

- tgt_prog == NULL (because we did not provide target_fd to link_create)

- prog->aux->attach_btf == NULL (the program was loaded with attach_prog_fd=X)

- the program was loaded for tgt_prog but we have no way to find out which one

BUG: kernel NULL pointer dereference, address: 0000000000000058

Call Trace:

<TASK>

? __die+0x20/0x70

? page_fault_oops+0x15b/0x430

? fixup_exception+0x22/0x330

? exc_page_fault+0x6f/0x170

? asm_exc_page_fault+0x22/0x30

? bpf_tracing_prog_attach+0x279/0x560

? btf_obj_id+0x5/0x10

bpf_tracing_prog_attach+0x439/0x560

__s

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 0, < 5.15.148 Affected

Frequently Asked Questions

What is CVE-2024-26591?

CVE-2024-26591 is a medium-severity vulnerability affecting linux linux_kernel. It was published on February 22, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2024-26591?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-26591?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-26591?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-26591 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.