memblock: reject non-page-aligned reserve_mem regions
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
memblock: reject non-page-aligned reserve_mem regions
When map->start or map->size is not page aligned, reserved_mem_preserve() 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 reserve_mem_find_by_name() still returns the whole region including them, so they can be allocated while the subsystem is still using them.
So reject a reserve_mem= size or alignment that is not a multiple of PAGE_SIZE to keep both map->start and map->size page aligned.
| Product | Versions |
|---|---|
| Linux Linux | 8375b76517cb52bac0903071feedc218c45d74d2 to before b6f33bd539e604a43be8a73f6da6bc9f8f40d45b Affected8375b76517cb52bac0903071feedc218c45d74d2 to before 3e0667a0a342d61bdf36355b8723a1c57095dd37 Affected8375b76517cb52bac0903071feedc218c45d74d2 to before 5728d3523f12826a2b180c1c5738f74e33197e14 Affected |
| Linux Linux | 6.18 Affectedbefore 6.18 Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.