Menu

Star on GitHub · 3.4k

CVE-2024-43914

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: md/raid5: avoid BUG_ON() while continue reshape after reassembling Currently, mdadm support --revert-reshape to abort the resha…

Published Aug 26, 2024EPSS 0.23%

Overview

CVE-2024-43914 is a medium-severity vulnerability. It was published on August 26, 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:

md/raid5: avoid BUG_ON() while continue reshape after reassembling

Currently, mdadm support --revert-reshape to abort the reshape while

reassembling, as the test 07revert-grow. However, following BUG_ON()

can be triggerred by the test:

kernel BUG at drivers/md/raid5.c:6278!

invalid opcode: 0000 [#1] PREEMPT SMP PTI

irq event stamp: 158985

CPU: 6 PID: 891 Comm: md0_reshape Not tainted 6.9.0-03335-g7592a0b0049a #94

RIP: 0010:reshape_request+0x3f1/0xe60

Call Trace:

<TASK>

raid5_sync_request+0x43d/0x550

md_do_sync+0xb7a/0x2110

md_thread+0x294/0x2b0

kthread+0x147/0x1c0

ret_from_fork+0x59/0x70

ret_from_fork_asm+0x1a/0x30

</TASK>

Root cause is that --revert-reshape update the raid_disks from 5 to 4,

while reshape position is still set, and after reassembling the array,

reshape position will be read from super block, then during reshape the

checking of 'writepos' that is caculated by old reshape position will

fail.

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

CVE-2024-43914 is a medium-severity vulnerability. It was published on August 26, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2024-43914?

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

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

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