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

9.8 · CRITICAL
Published Jul 12, 2024 linux CWE-416 EPSS 0.61% (47th pctl)

Overview

CVE-2024-40907 is a critical-severity vulnerability affecting linux linux_kernel. It was published on July 12, 2024 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

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

ionic: fix kernel panic in XDP_TX action

In the XDP_TX path, ionic driver sends a packet to the TX path with rx

page and corresponding dma address.

After tx is done, ionic_tx_clean() frees that page.

But RX ring buffer isn't reset to NULL.

So, it uses a freed page, which causes kernel panic.

BUG: unable to handle page fault for address: ffff8881576c110c

PGD 773801067 P4D 773801067 PUD 87f086067 PMD 87efca067 PTE 800ffffea893e060

Oops: Oops: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC KASAN NOPTI

CPU: 1 PID: 25 Comm: ksoftirqd/1 Not tainted 6.9.0+ #11

Hardware name: ASUS System Product Name/PRIME Z690-P D4, BIOS 0603 11/01/2021

RIP: 0010:bpf_prog_f0b8caeac1068a55_balancer_ingress+0x3b/0x44f

Code: 00 53 41 55 41 56 41 57 b8 01 00 00 00 48 8b 5f 08 4c 8b 77 00 4c 89 f7 48 83 c7 0e 48 39 d8

RSP: 0018:ffff888104e6fa28 EFLAGS: 00010283

RAX: 0000000000000002 RBX: ffff8881576c1140 RCX: 0000000000000002

RDX: ffffffffc0051f64 RSI:

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.9, < 6.9.6 Affected

Frequently Asked Questions

What is CVE-2024-40907?

CVE-2024-40907 is a critical-severity vulnerability affecting linux linux_kernel. It was published on July 12, 2024 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

How severe is CVE-2024-40907?

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

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

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

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