[PATCH v2] arm64: kernel: initialize missing kexec_buf->random field

Will Deacon will at kernel.org
Mon Jan 5 14:58:29 PST 2026


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



More information about the linux-arm-kernel mailing list