CVE-2026-139692: memblock: reject non-page-aligned reserve_mem regions
In the Linux kernel, the following vulnerability has been resolved:
memblock: reject non-page-aligned reservemem regions
When map->start or map->size is not page aligned, reservedmempreserve() does not preserve the last one or two pages of the region from map->start to map->start + map->size.
After kexec the new kernel reserves only the preserved pages, so those pages are released to the buddy allocator. But reservememfindbyname() still returns the whole region including them, so they can be allocated while the subsystem is still using them.
So reject a reservemem= size or alignment that is not a multiple of PAGESIZE to keep both map->start and map->size page aligned.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
Set the reserve_mem= size and alignment to multiples of PAGE_SIZE so the region remains page-aligned.
Linux kernel reserve_mem size and alignment = multiple of PAGE_SIZE
Event History
Frequently Asked Questions
What configuration is required for this issue to occur?
The system must use a reserve_mem region whose size or alignment is not a multiple of PAGE_SIZE. Page-aligned reserve_mem regions are not described as affected.
When does the memory exposure occur?
The affected pages can be released to the buddy allocator after kexec, when the new kernel reserves only the pages preserved by reserved_mem_preserve(). The region lookup can still return the full original region, allowing the subsystem to use pages that may have been reallocated.
What can be done if the kernel update cannot be applied immediately?
Ensure every reserve_mem= region has both a page-aligned start address and a size that is a multiple of PAGE_SIZE. Avoid non-page-aligned reserve_mem configurations, particularly on systems that perform kexec.