Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-93227 Overview
CVE-2026-93227 is a Linux kernel memory management flaw in the deferred_grow_zone() function within mm/mm_init.c. The bug triggers when CONFIG_DEFERRED_STRUCT_PAGE_INIT is enabled and a large Contiguous Memory Allocator (CMA) reservation forces initialization of an entire zone's memory map. If the node's RAM end is not aligned on PAGES_PER_SECTION boundaries, the update to pgdat->first_deferred_pfn can overflow past the node's memory. A later call to deferred_init_memmap() then hits a BUG_ON(), panicking the kernel during boot.
Critical Impact
A kernel panic at boot (kernel BUG at mm/mm_init.c:2131) occurs on affected systems configured with deferred struct page initialization and large CMA reservations on unaligned memory layouts.
Affected Products
- Linux kernel builds with CONFIG_DEFERRED_STRUCT_PAGE_INIT=y
- Linux kernel builds with CONFIG_CMA=y
- Linux kernel 7.2.0-rc6 as referenced in the reported panic trace
Discovery Timeline
- 2026-09-24 - CVE-2026-93227 published to NVD
- 2026-09-24 - Last updated in NVD database
Technical Details for CVE-2026-93227
Vulnerability Analysis
The Linux kernel supports deferred initialization of struct page metadata to reduce boot time on systems with large amounts of RAM. When an early allocation request arrives before all struct page entries are initialized, deferred_grow_zone() incrementally initializes additional memory map ranges to satisfy the request.
With a large CMA reservation in place, the ranges that deferred_init_memmap() discovers may not add up to the requested allocation. In this case, the function initializes the entire zone's memory map and still falls short. The function itself handles this correctly and returns control to the caller.
The defect lies in how pgdat->first_deferred_pfn is updated to track where uninitialized metadata begins. On nodes whose RAM end is not aligned to PAGES_PER_SECTION boundaries, the pointer advances past the end of the node's memory. A subsequent call to deferred_init_memmap() reads this out-of-range page frame number (PFN), fails its sanity check, and triggers BUG_ON(), panicking the kernel.
Root Cause
The root cause is an arithmetic boundary error [Kernel Vulnerability] in the update of pgdat->first_deferred_pfn inside deferred_grow_zone(). The code did not clamp the updated PFN against the actual end of the zone when the full memory map had already been initialized. This produced an out-of-range value that violated the invariant expected by deferred_init_memmap().
Attack Vector
This issue manifests at boot time on affected hardware or virtualization configurations. The reporter reproduced the panic using QEMU with -m 8032M and cma=4768M@0x100000000 on a kernel built with CONFIG_DEFERRED_STRUCT_PAGE_INIT=y and CONFIG_CMA=y. The condition is triggered by boot-time memory layout and configuration rather than by a remote or local attacker action. The practical consequence is a denial-of-service through failure to boot. No verified exploitation code is available; see the kernel references for the fix patches.
// No verified exploit code is available for CVE-2026-93227.
// See the upstream fix commits for the corrected PFN update logic.
Detection Methods for CVE-2026-93227
Indicators of Compromise
- Kernel panic message kernel BUG at mm/mm_init.c:2131 captured in serial console or dmesg output during boot.
- Faulting instruction pointer at deferred_init_memmap+0x1b8 with the pgdatinit0 kthread in the call trace.
- Boot failures that correlate with large CMA reservations configured through the cma= kernel command-line parameter.
Detection Strategies
- Audit kernel build configurations for the combination of CONFIG_DEFERRED_STRUCT_PAGE_INIT=y and CONFIG_CMA=y.
- Review boot logs across the fleet for panics referencing deferred_init_memmap or mm_init.c.
- Correlate boot-time memory layout with PAGES_PER_SECTION alignment on nodes that use large CMA regions.
Monitoring Recommendations
- Centralize kernel boot logs and alert on BUG_ON traces originating from mm/mm_init.c.
- Track kernel versions deployed on CMA-heavy workloads such as GPU, media, and embedded hosts.
- Flag any new deployments pinning kernels earlier than the three stable fix commits referenced below.
How to Mitigate CVE-2026-93227
Immediate Actions Required
- Apply the upstream fix commits that clamp pgdat->first_deferred_pfn within the node's zone range.
- Validate that CMA-enabled hosts boot cleanly after updating to a patched kernel.
- Prioritize patching on hosts with large CMA reservations and non-section-aligned RAM layouts.
Patch Information
The fix ensures that the update of pgdat->first_deferred_pfn does not overflow when the entire zone's memory map has been initialized. The patch is available in the following stable kernel commits: Kernel Git Commit 45489d4, Kernel Git Commit 8433957, and Kernel Git Commit 9709050.
Workarounds
- Rebuild the kernel without CONFIG_DEFERRED_STRUCT_PAGE_INIT if a patched kernel cannot be deployed immediately.
- Reduce or remove the cma= reservation so that deferred_init_memmap() is not forced to initialize an entire zone's memory map.
- Align node memory layouts to PAGES_PER_SECTION boundaries where the platform permits.
# Verify the running kernel configuration for the affected options
zgrep -E 'CONFIG_DEFERRED_STRUCT_PAGE_INIT|CONFIG_CMA' /proc/config.gz
# Inspect current CMA command-line reservation
cat /proc/cmdline | tr ' ' '\n' | grep -i '^cma='
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

