Menu

Star on GitHub · 3.4k

CVE-2024-40914

5.5 · MEDIUM

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 in…

Published Jul 12, 2024EPSS 0.28%

Overview

CVE-2024-40914 is a medium-severity vulnerability. 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, 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-40914?

CVE-2024-40914 is a medium-severity vulnerability. 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, 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-40914?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-40914 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 MEDIUM CVEs from 2024

View all
Watch the demo →