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.
https://git.kernel.org/stable/c/b6f33bd539e604a43be8a73f6da6bc9f8f40d45b
https://git.kernel.org/stable/c/5728d3523f12826a2b180c1c5738f74e33197e14
https://git.kernel.org/stable/c/3e0667a0a342d61bdf36355b8723a1c57095dd37