Menu

Star on GitHub · 3.2k

CVE-2024-56677

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: powerpc/fadump: Move fadump_cma_init to setup_arch() after initmem_init() During early init CMA_MIN_ALIGNMENT_BYTES can be PAGE…

Published Dec 28, 2024CWE-908EPSS 0.28%

Overview

CVE-2024-56677 is a high-severity vulnerability. It was published on December 28, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. 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:

powerpc/fadump: Move fadump_cma_init to setup_arch() after initmem_init()

During early init CMA_MIN_ALIGNMENT_BYTES can be PAGE_SIZE,

since pageblock_order is still zero and it gets initialized

later during initmem_init() e.g.

setup_arch() -> initmem_init() -> sparse_init() -> set_pageblock_order()

One such use case where this causes issue is -

early_setup() -> early_init_devtree() -> fadump_reserve_mem() -> fadump_cma_init()

This causes CMA memory alignment check to be bypassed in

cma_init_reserved_mem(). Then later cma_activate_area() can hit

a VM_BUG_ON_PAGE(pfn & ((1 << order) - 1)) if the reserved memory

area was not pageblock_order aligned.

Fix it by moving the fadump_cma_init() after initmem_init(),

where other such cma reservations also gets called.

<stack trace>

==============

page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10010

flags: 0x13ffff800000000(node=1|zone=0|lastcpupid=0x7f

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

CVE-2024-56677 is a high-severity vulnerability. It was published on December 28, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-56677?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. 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-56677?

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

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

View all