CVE-2024-56677
powerpc/fadump: Move fadump_cma_init to setup_arch() after initmem_init()
Mitigation
- Upgrade Linux to 05b94cae1c47f94588c3e7096963c1007c4d9c1d or later.
Who should check
- Anyone running Linux >= 11ac3e87ce09c27f4587a8c4fe0829d814021a82, < aabef6301dcf410dfd2b8759cd413b2a003c7e3f; >= 11ac3e87ce09c27f4587a8c4fe0829d814021a82, < c5c1d1ef70834013fc3bd12b6a0f4664c6d75a74; >= 11ac3e87ce09c27f4587a8c4fe0829d814021a82, < f551637fe9bf863386309e03f9d148d97f535ad1; >= 11ac3e87ce09c27f4587a8c4fe0829d814021a82, < 7351c5a6507b4401aeecadb5959131410a339520; >= 11ac3e87ce09c27f4587a8c4fe0829d814021a82, < 05b94cae1c47f94588c3e7096963c1007c4d9c1d
- Anyone running Linux 5.19
Vulnerability facts
- Affected
- Linux >= 11ac3e87ce09c27f4587a8c4fe0829d814021a82, < aabef6301dcf410dfd2b8759cd413b2a003c7e3f; >= 11ac3e87ce09c27f4587a8c4fe0829d814021a82, < c5c1d1ef70834013fc3bd12b6a0f4664c6d75a74; >= 11ac3e87ce09c27f4587a8c4fe0829d814021a82, < f551637fe9bf863386309e03f9d148d97f535ad1; >= 11ac3e87ce09c27f4587a8c4fe0829d814021a82, < 7351c5a6507b4401aeecadb5959131410a339520; >= 11ac3e87ce09c27f4587a8c4fe0829d814021a82, < 05b94cae1c47f94588c3e7096963c1007c4d9c1d; Linux 5.19
- Fixed in
- Linux 7351c5a6507b4401aeecadb5959131410a339520, Linux 05b94cae1c47f94588c3e7096963c1007c4d9c1d
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.32% chance of exploitation in 30 days (percentile 18, 2026-11-26)
- CWE
- CWE-908
- Modified
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=0x7ffff) CMA raw: 013ffff800000000 5deadbeef0000100 5deadbeef0000122 0000000000000000 raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: VM_BUG_ON_PAGE(pfn & ((1 << order) - 1)) ------------[ cut here ]------------ kernel BUG at mm/page_alloc.c:778! Call Trace: __free_one_page+0x57c/0x7b0 (unreliable) free_pcppages_bulk+0x1a8/0x2c8 free_unref_page_commit+0x3d4/0x4e4 free_unref_page+0x458/0x6d0 init_cma_reserved_pageblock+0x114/0x198 cma_init_reserved_areas+0x270/0x3e0 do_one_initcall+0x80/0x2f8 kernel_init_freeable+0x33c/0x530 kernel_init+0x34/0x26c ret_from_kernel_user_thread+0x14/0x1c
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 11ac3e87ce09c27f4587a8c4fe0829d814021a82, < aabef6301dcf410dfd2b8759cd413b2a003c7e3f; >= 11ac3e87ce09c27f4587a8c4fe0829d814021a82, < c5c1d1ef70834013fc3bd12b6a0f4664c6d75a74; >= 11ac3e87ce09c27f4587a8c4fe0829d814021a82, < f551637fe9bf863386309e03f9d148d97f535ad1; >= 11ac3e87ce09c27f4587a8c4fe0829d814021a82, < 7351c5a6507b4401aeecadb5959131410a339520; >= 11ac3e87ce09c27f4587a8c4fe0829d814021a82, < 05b94cae1c47f94588c3e7096963c1007c4d9c1d | — | cvelist |
| Linux | 5.19 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-56677. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-56677.md Affected: Linux >= 11ac3e87ce09c27f4587a8c4fe0829d814021a82, < aabef6301dcf410dfd2b8759cd413b2a003c7e3f; >= 11ac3e87ce09c27f4587a8c4fe0829d814021a82, < c5c1d1ef70834013fc3bd12b6a0f4664c6d75a74; >= 11ac3e87ce09c27f4587a8c4fe0829d814021a82, < f551637fe9bf863386309e03f9d148d97f535ad1; >= 11ac3e87ce09c27f4587a8c… Fixed in: Linux 7351c5a6507b4401aeecadb5959131410a339520, Linux 05b94cae1c47f94588c3e7096963c1007c4d9c1d Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/aabef6301dcf410dfd2b8759cd413b2a003c7e3f
- https://git.kernel.org/stable/c/c5c1d1ef70834013fc3bd12b6a0f4664c6d75a74
- https://git.kernel.org/stable/c/f551637fe9bf863386309e03f9d148d97f535ad1
- https://git.kernel.org/stable/c/7351c5a6507b4401aeecadb5959131410a339520
- https://git.kernel.org/stable/c/05b94cae1c47f94588c3e7096963c1007c4d9c1d
FAQ
Is CVE-2024-56677 being exploited?
There is no confirmed exploitation: CVE-2024-56677 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-56677?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-56677?
Linux >= 11ac3e87ce09c27f4587a8c4fe0829d814021a82, < aabef6301dcf410dfd2b8759cd413b2a003c7e3f; >= 11ac3e87ce09c27f4587a8c4fe0829d814021a82, < c5c1d1ef70834013fc3bd12b6a0f4664c6d75a74; >= 11ac3e87ce09c27f4587a8c4fe0829d814021a82, < f551637fe9bf863386309e03f9d148d97f535ad1; >= 11ac3e87ce09c27f4587a8c4fe0829d814021a82, < 7351c5a6507b4401aeecadb5959131410a339520; >= 11ac3e87ce09c27f4587a8c4fe0829d814021a82, < 05b94cae1c47f94588c3e7096963c1007c4d9c1d; Linux 5.19.
Is there a fix for CVE-2024-56677?
Yes. Fixed in Linux 7351c5a6507b4401aeecadb5959131410a339520, Linux 05b94cae1c47f94588c3e7096963c1007c4d9c1d. Upgrade Linux to 05b94cae1c47f94588c3e7096963c1007c4d9c1d or later.
How do I check if I'm affected by CVE-2024-56677?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.