Menu

Star on GitHub · 3.2k

CVE-2024-26589

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: bpf: Reject variable offset alu on PTR_TO_FLOW_KEYS For PTR_TO_FLOW_KEYS, check_flow_keys_access() only uses fixed off for vali…

Published Feb 22, 2024CWE-119EPSS 0.24%

Overview

CVE-2024-26589 is a high-severity vulnerability. It was published on February 22, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. 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: Reject variable offset alu on PTR_TO_FLOW_KEYS

For PTR_TO_FLOW_KEYS, check_flow_keys_access() only uses fixed off

for validation. However, variable offset ptr alu is not prohibited

for this ptr kind. So the variable offset is not checked.

The following prog is accepted:

func#0 @0

0: R1=ctx() R10=fp0

0: (bf) r6 = r1 ; R1=ctx() R6_w=ctx()

1: (79) r7 = *(u64 *)(r6 +144) ; R6_w=ctx() R7_w=flow_keys()

2: (b7) r8 = 1024 ; R8_w=1024

3: (37) r8 /= 1 ; R8_w=scalar()

4: (57) r8 &= 1024 ; R8_w=scalar(smin=smin32=0,

smax=umax=smax32=umax32=1024,var_off=(0x0; 0x400))

5: (0f) r7 += r8

mark_precise: frame0: last_idx 5 first_idx 0 subseq_idx -1

mark_precise: frame0: regs=r8 stack= before 4: (57) r8 &= 1024

mark_precise: frame0: regs=r8 stack= before 3: (37) r8 /= 1

mark_precise: frame0: regs=r8 stack= before 2:

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. 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.

Frequently asked questions

What is CVE-2024-26589?

CVE-2024-26589 is a high-severity vulnerability. It was published on February 22, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-26589?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. 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-26589?

Check the references section for vendor advisories, patches, and mitigation guidance. 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-26589?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-26589 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2024

View all