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-43840

7.8 · HIGH
Published Aug 17, 2024 linux EPSS 0.21% (12th pctl)

Overview

CVE-2024-43840 is a high-severity vulnerability affecting linux linux_kernel. It was published on August 17, 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, arm64: Fix trampoline for BPF_TRAMP_F_CALL_ORIG

When BPF_TRAMP_F_CALL_ORIG is set, the trampoline calls

__bpf_tramp_enter() and __bpf_tramp_exit() functions, passing them

the struct bpf_tramp_image *im pointer as an argument in R0.

The trampoline generation code uses emit_addr_mov_i64() to emit

instructions for moving the bpf_tramp_image address into R0, but

emit_addr_mov_i64() assumes the address to be in the vmalloc() space

and uses only 48 bits. Because bpf_tramp_image is allocated using

kzalloc(), its address can use more than 48-bits, in this case the

trampoline will pass an invalid address to __bpf_tramp_enter/exit()

causing a kernel crash.

Fix this by using emit_a64_mov_i64() in place of emit_addr_mov_i64()

as it can work with addresses that are greater than 48-bits.

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 >= 6.0, < 6.10.3 Affected

Frequently Asked Questions

What is CVE-2024-43840?

CVE-2024-43840 is a high-severity vulnerability affecting linux linux_kernel. It was published on August 17, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-43840?

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-43840?

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-43840?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-43840 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.