CVE-2024-56677
Linux Kernel vulnerability analysis and mitigation

Overview

In the Linux kernel, a vulnerability (CVE-2024-56677) was discovered in the PowerPC architecture's Firmware-Assisted Dump (fadump) functionality. The issue stems from incorrect initialization timing of fadumpcmainit(), where it's called before pageblock_order initialization during early system boot. This vulnerability was disclosed on December 28, 2024, affecting the Linux kernel's PowerPC implementation (NVD).

Technical details

The vulnerability occurs during early initialization when CMAMINALIGNMENTBYTES can be PAGESIZE, as pageblockorder is still zero and gets initialized later during initmeminit(). The problematic execution path is: earlysetup() -> earlyinitdevtree() -> fadumpreservemem() -> fadumpcmainit(). This causes the CMA memory alignment check to be bypassed in cmainitreservedmem(), which can later trigger a VMBUGONPAGE when cmaactivatearea() is called if the reserved memory area was not properly aligned to pageblockorder (Kernel Commit).

Impact

When triggered, this vulnerability can cause a kernel bug that results in a system crash, leading to a denial of service condition. The issue specifically affects PowerPC systems utilizing the Firmware-Assisted Dump functionality (NVD).

Mitigation and workarounds

The vulnerability has been fixed by moving the fadumpcmainit() call to execute after initmeminit() in setuparch(), where other CMA reservations are typically handled. This ensures proper initialization order and memory alignment. The fix has been included in various Linux kernel versions and is available through distribution updates (Debian Update, Ubuntu Update).

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-40344N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-devel
NoYesDec 09, 2025
CVE-2025-40343N/AN/A
  • Linux KernelLinux Kernel
  • bpftool
NoYesDec 09, 2025
CVE-2025-40342N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-trace
NoYesDec 09, 2025
CVE-2025-40341N/AN/A
  • Linux KernelLinux Kernel
  • kernel-headers
NoYesDec 09, 2025
CVE-2025-40340N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-modules-extra
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