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

5.5 · MEDIUM
Published Jul 12, 2024 linux EPSS 0.28% (20th pctl)

Overview

CVE-2024-40914 is a medium-severity vulnerability affecting linux linux_kernel. It was published on July 12, 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:

mm/huge_memory: don't unpoison huge_zero_folio

When I did memory failure tests recently, below panic occurs:

kernel BUG at include/linux/mm.h:1135!

invalid opcode: 0000 [#1] PREEMPT SMP NOPTI

CPU: 9 PID: 137 Comm: kswapd1 Not tainted 6.9.0-rc4-00491-gd5ce28f156fe-dirty #14

RIP: 0010:shrink_huge_zero_page_scan+0x168/0x1a0

RSP: 0018:ffff9933c6c57bd0 EFLAGS: 00000246

RAX: 000000000000003e RBX: 0000000000000000 RCX: ffff88f61fc5c9c8

RDX: 0000000000000000 RSI: 0000000000000027 RDI: ffff88f61fc5c9c0

RBP: ffffcd7c446b0000 R08: ffffffff9a9405f0 R09: 0000000000005492

R10: 00000000000030ea R11: ffffffff9a9405f0 R12: 0000000000000000

R13: 0000000000000000 R14: 0000000000000000 R15: ffff88e703c4ac00

FS: 0000000000000000(0000) GS:ffff88f61fc40000(0000) knlGS:0000000000000000

CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033

CR2: 000055f4da6e9878 CR3: 0000000c71048000 CR4: 00000000000006f0

Call Trace:

<TASK>

do

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 >= 5.15.41, < 5.15.162 Affected

Frequently Asked Questions

What is CVE-2024-40914?

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

How severe is CVE-2024-40914?

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

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

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