CVE-2024-43914
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-43914 affects the Linux kernel's RAID5 implementation, specifically in the md/raid5 subsystem. The vulnerability was discovered when using mdadm's --revert-reshape functionality to abort reshape operations during array reassembly. The issue was disclosed on August 26, 2024, and received an initial analysis by NIST on September 5, 2024 (NVD).

Technical details

The vulnerability occurs in the reshaperequest function within drivers/md/raid5.c. When using mdadm's --revert-reshape to abort a reshape operation during reassembly, the raiddisks value is updated from 5 to 4 while the reshape position remains set. Upon array reassembly, the reshape position is read from the superblock, causing validation checks on the 'writepos' calculation to fail, triggering a kernel BUG_ON() assertion. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (MEDIUM) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability can cause a kernel panic through a BUG_ON() assertion, resulting in a denial of service condition. This affects multiple versions of the Linux kernel, including versions up to 4.19.320, 5.4.282, 5.10.224, 5.15.165, and 6.1.105 (NVD).

Mitigation and workarounds

The issue has been patched by converting the BUGON() assertions to WARNON() checks and adding proper error handling to stop the reshape operation if validation checks fail. The fix has been implemented in the kernel source code, with patches available for affected versions. Additionally, the mdadm utility needs to be updated to properly handle the --revert-shape operation, and metadata validation in md/raid should be enhanced (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-riscv
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-azure-5.4
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-debug-uki-virt-addons
NoYesDec 09, 2025
CVE-2025-40345N/AN/A
  • Linux KernelLinux Kernel
  • bpftool
NoYesDec 12, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • rtla
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management