Re: linux-6.19-rc4/kernel/kexec_core.c:425: Possible loss of data ?
From: David Binderman
Date: Thu Jan 08 2026 - 06:30:52 EST
Hello there,
>We may not need to worry about it. In all places where
>kimage_alloc_control_pages is called, the order is 0 or
>get_order(KEXEC_CONTROL_PAGE_SIZE) on mips which is 2.
Thanks for the update.
>That is fine if people is worried, a patch is welcome.
Since my kernel patch success rate is 0.0 % (approx) I will avoid doing this.
Might be worth an assert that the value is in range [0..30].
Regards
David Binderman