Re: [PATCH v2] arm64: kernel: initialize missing kexec_buf->random field
From: Will Deacon
Date: Mon Jan 05 2026 - 18:02:09 EST
On Mon, 01 Dec 2025 10:51:18 +0000, Yeoreum Yun wrote:
> Commit bf454ec31add ("kexec_file: allow to place kexec_buf randomly")
> introduced the kexec_buf->random field to enable random placement of
> kexec_buf.
>
> However, this field was never properly initialized for kexec images
> that do not need to be placed randomly, leading to the following UBSAN
> warning:
>
> [...]
Applied to arm64 (for-next/misc), thanks!
[1/1] arm64: kernel: initialize missing kexec_buf->random field
https://git.kernel.org/arm64/c/15dd20dda979
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev