Re: [PATCH] crash: keep crashkernel CMA pages reserved if activation fails

From: Mike Rapoport

Date: Sat Nov 07 2026 - 06:07:05 EST


From: Mike Rapoport (Microsoft) <rppt@xxxxxxxxxx>

On Wed, 04 Nov 2026 06:56:00 -0800, Usama Arif wrote:
> reserve_crashkernel_cma() adds each crashkernel CMA area to
> crashk_cma_ranges[] as soon as it is declared. If the area later fails
> activation, e.g. because movablecore= put the ZONE_MOVABLE boundary
> inside it, cma_activate_area() releases the pages to the buddy allocator
> as ordinary memory. The range is still handed to the crash kernel and
> excluded from the vmcore, so kernel data that lands there is overwritten
> by the crash kernel and missing from the dump.
>
> [...]

Applied to kexec-next branch of liveupdate/linux.git tree, thanks!

[1/1] crash: keep crashkernel CMA pages reserved if activation fails
commit: e2b6a999e1df5bda2100262397260664655cd47c

tree: https://git.kernel.org/pub/scm/linux/kernel/git/liveupdate/linux
branch: kexec-next

--
Sincerely yours,
Mike.