      http://wiki.apache.org/spamassassin/DnsBlocklists#DnsBlocklists-dnsbl-block
                              for more information.
                             [142.0.200.124 listed in list.dnswl.org]
  1.5 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level
                             mail domains are different
  0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily
                             valid
 -0.1 DKIM_VALID             Message has at least one valid DKIM or DK signature
 -0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from
                             author's domain
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager
SpamTally: Final spam score: 4


The patch titled
     Subject: arm64: kernel: initialize missing kexec_buf->random field
has been added to the -mm mm-hotfixes-unstable branch.  Its filename is
     arm64-kernel-initialize-missing-kexec_buf-random-field.patch

This patch will shortly appear at
     https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/arm64-kernel-initialize-missing-kexec_buf-random-field.patch

This patch will later appear in the mm-hotfixes-unstable branch at
    git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days

------------------------------------------------------
From: Yeoreum Yun <yeoreum.yun@arm.com>
Subject: arm64: kernel: initialize missing kexec_buf->random field
Date: Thu, 27 Nov 2025 18:26:44 +0000

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:

[  +0.364528] ------------[ cut here ]------------
[  +0.000019] UBSAN: invalid-load in ./include/linux/kexec.h:210:12
[  +0.000131] load of value 2 is not a valid value for type 'bool' (aka '_Bool')
[  +0.000003] CPU: 4 UID: 0 PID: 927 Comm: kexec Not tainted 6.18.0-rc7+ #3 PREEMPT(full)
[  +0.000002] Hardware name: QEMU QEMU Virtual Machine, BIOS 0.0.0 02/06/2015
[  +0.000000] Call trace:
[  +0.000001]  show_stack+0x24/0x40 (C)
[  +0.000006]  __dump_stack+0x28/0x48
[  +0.000002]  dump_stack_lvl+0x7c/0xb0
[  +0.000002]  dump_stack+0x18/0x34
[  +0.000001]  ubsan_epilogue+0x10/0x50
[  +0.000002]  __ubsan_handle_load_invalid_value+0xc8/0xd0
[  +0.000003]  locate_mem_hole_callback+0x28c/0x2a0
[  +0.000003]  kexec_locate_mem_hole+0xf4/0x2f0
[  +0.000001]  kexec_add_buffer+0xa8/0x178
[  +0.000002]  image_load+0xf0/0x258
[  +0.000001]  __arm64_sys_kexec_file_load+0x510/0x718
[  +0.000002]  invoke_syscall+0x68/0xe8
[  +0.000001]  el0_svc_common+0xb0/0xf8
[  +0.000002]  do_el0_svc+0x28/0x48
[  +0.000001]  el0_svc+0x40/0xe8
[  +0.000002]  el0t_64_sync_handler+0x84/0x140
[  +0.000002]  el0t_64_sync+0x1bc/0x1c0

To address this, initialise kexec_buf->random field properly.

Link: https://lkml.kernel.org/r/20251127182644.1577592-1-yeoreum.yun@arm.com
Fixes: bf454ec31add ("kexec_file: allow to place kexec_buf randomly")
Signed-off-by: Yeoreum Yun <yeoreum.yun@arm.com>
Cc: Baoquan He <bhe@redhat.com>
Cc: Breno Leitao <leitao@debian.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Coiby Xu <coxu@redhat.com>
Cc: levi.yun <yeoreum.yun@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Jan Pazdziora <jpazdziora@redhat.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 arch/arm64/kernel/kexec_image.c        |    3 +++
 arch/arm64/kernel/machine_kexec_file.c |    6 +++++-
 2 files changed, 8 insertions(+), 1 deletion(-)

--- a/arch/arm64/kernel/kexec_image.c~arm64-kernel-initialize-missing-kexec_buf-random-field
+++ a/arch/arm64/kernel/kexec_image.c
@@ -76,6 +76,9 @@ static void *image_load(struct kimage *i
 	kbuf.buf_min = 0;
 	kbuf.buf_max = ULONG_MAX;
 	kbuf.top_down = false;
+#ifdef CONFIG_CRASH_DUMP
+	kbuf.random = false;
+#endif
 
 	kbuf.buffer = kernel;
 	kbuf.bufsz = kernel_len;
--- a/arch/arm64/kernel/machine_kexec_file.c~arm64-kernel-initialize-missing-kexec_buf-random-field
+++ a/arch/arm64/kernel/machine_kexec_file.c
@@ -94,7 +94,11 @@ int load_other_segments(struct kimage *i
 			char *initrd, unsigned long initrd_len,
 			char *cmdline)
 {
-	struct kexec_buf kbuf = {};
+	struct kexec_buf kbuf = {
+#ifdef CONFIG_CRASH_DUMP
+		.random = false,
+#endif
+	};
 	void *dtb = NULL;
 	unsigned long initrd_load_addr = 0, dtb_len,
 		      orig_segments = image->nr_segments;
_

Patches currently in -mm which might be from yeoreum.yun@arm.com are

arm64-kernel-initialize-missing-kexec_buf-random-field.patch



From - Thu Nov 27 19:44:34 2025
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
Return-Path: <linux-s390+bounces-15231-hi=josie.lol@vger.kernel.org>
Delivered-To: hi@josie.lol
Received: from witcher.mxrouting.net
	by witcher.mxrouting.net with LMTP
	id GOj1HR6qKGnBmTUAYBR5ng
	(envelope-from <linux-s390+bounces-15231-hi=josie.lol@vger.kernel.org>)
	for <hi@josie.lol>; Thu, 27 Nov 2025 19:44:30 +0000
Return-path: <linux-s390+bounces-15231-hi=josie.lol@vger.kernel.org>
Envelope-to: hi@josie.lol
Delivery-date: Thu, 27 Nov 2025 19:44:30 +0000
Received: from dfw.mirrors.kernel.org ([142.0.200.124])
	by witcher.mxrouting.net with esmtps  (TLS1.3) tls TLS_AES_256_GCM_SHA384
	(Exim 4.98)
	(envelope-from <linux-s390+bounces-15231-hi=josie.lol@vger.kernel.org>)
	id 1vOhun-0000000Faxw-21vg
	for hi@josie.lol;
	Thu, 27 Nov 2025 19:44:30 +0000
Received: from smtp.subspace.kernel.org (relay.kernel.org [52.25.139.140])
	(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by dfw.mirrors.kernel.org (Postfix) with ESMTPS id 37E574E87CF
	for <hi@josie.lol>; Thu, 27 Nov 2025 19:43:54 +0000 (UTC)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 5031B3064A2;
	Thu, 27 Nov 2025 19:43:29 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="bLoT/Fgl"
X-Original-To: linux-s390@vger.kernel.org
Received: from casper.infradead.org (casper.infradead.org [90.155.50.34])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2533130149D;
	Thu, 27 Nov 2025 19:43:25 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.50.34
ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1764272609; cv=none; b=NYF+a5atBRdF7iYNsPIRZhbzAEHRWCOIQalnyXPJkcA2+btF0rV18Ec6pVEn2gxaiXOVz2cmlabQhi+WNkNaq/ydOh+K/NfHnpGl9j37ow3t7KErbGdbiz7UD3b4KqoOB7LVBdpJdI1PsLA8Za0KZlm1XU2dqNimmnCi3RXHwwM=
ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1764272609; c=relaxed/simple;
	bh=OK+CU8cNMmUIZJxdbIpvYN8hYF/RDiQRU5s420ZGKQ0=;
	h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:
	 Content-Type:Content-Disposition:In-Reply-To; b=sjNwOb2Tu7mPd4w4Yv4RTHX9ieVYK7Aqh1BDNA6bH7qzEwD5eCPsjl2006yl+y4Yrn5spKjAa1xs5NW7s9srfDZr2lJtmMhEXmspdZtAXntA0O5RIz0NH6NlQgELh0QJZro4sC6+qaQuk1w9nv/X+YvVl1t41+NXT6OyVkpXX/I=
ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) hsplay":"/compact ","pastedContents":{},"timestamp":1764274738062,"project":"/home/josie/development/karpenter-ibm","sessionId":"a405c59d-5e7d-4703-b438-c4fcd136cf27"}
{"display":"/compact ","pastedContents":{},"timestamp":1764274738062,"project":"/home/josie/development/karpenter-ibm","sessionId":"a405c59d-5e7d-4703-b438-c4fcd136cf27"}
{"display":"/compact ","pastedContents":{},"timestamp":1764274738062,"project":"/home/josie/development/karpenter-ibm","sessionId":"a405c59d-5e7d-4703-b438-c4fcd136cf27"}
{"display":"continue","pastedContents":{},"timestamp":1764275281809,"project":"/home/josie/development/karpenter-ibm","sessionId":"a405c59d-5e7d-4703-b438-c4fcd136cf27"}
{"display":"ppc is not s390x bro","pastedContents":{},"timestamp":1764276479861,"project":"/home/josie/development/karpenter-ibm","sessionId":"a405c59d-5e7d-4703-b438-c4fcd136cf27"}
{"display":"./config.sh --url https://github.com/kubernetes-sigs/karpenter-provider-ibm-cloud --token AFIGSXZSHVPSCQXFQXOXB2DJFDGNC","pastedContents":{},"timestamp":1764277963004,"project":"/home/josie/development/karpenter-ibm","sessionId":"a405c59d-5e7d-4703-b438-c4fcd136cf27"}
{"display":"can you edit the workflows to also build the s390x container image and push it to quay","pastedContents":{},"timestamp":1764278189381,"project":"/home/josie/development/karpenter-ibm","sessionId":"a405c59d-5e7d-4703-b438-c4fcd136cf27"}
{"display":"bring out the critical reviewer for the ci change","pastedContents":{},"timestamp":1764278773033,"project":"/home/josie/development/karpenter-ibm","sessionId":"a405c59d-5e7d-4703-b438-c4fcd136cf27"}
{"display":"Run set -euo pipefail\nDEPRECATED: The legacy builder is deprecated and will be removed in a future release.\n            Install the buildx component to build images with BuildKit:\n            https://docs.docker.com/go/buildx/\n\nSending build context to Docker daemon  95.48MB\n\nStep 1/3 : FROM gcr.io/distroless/static:nonroot\nnonroot: Pulling from distroless/static\nb044a3cbe00f: Pulling fs layer\nbfb59b82a9b6: Pulling fs layer\n017886f7e176: Pulling fs layer\n62de241dac5f: Pulling fs layer\n2780920e5dbf: Pulling fs layer\n7c12895b777b: Pulling fs layer\n3214acf345c0: Pulling fs layer\n5664b15f108b: Pulling fs layer\n045fc1c20da8: Pulling fs layer\n4aa0ea1413d3: Pulling fs layer\nda7816fa955e: Pulling fs layer\nddf74a63f7d8: Pulling fs layer\n62de241dac5f: Waiting\n2780920e5dbf: Waiting\n7c12895b777b: Waiting\n3214acf345c0: Waiting\n5664b15f108b: Waiting\nda7816fa955e: Waiting\nddf74a63f7d8: Waiting\n045fc1c20da8: Waiting\n4aa0ea1413d3: Waiting\nbfb59b82a9b6: Verifying Checksum\nbfb59b82a9b6: Download complete\n017886f7e176: Verifying Checksum\n017886f7e176: Download complete\n62de241dac5f: Verifying Checksum\n62de241dac5f: Download complete\n2780920e5dbf: Download complete\n3214acf345c0: Verifying Checksum\n3214acf345c0: Download complete\n7c12895b777b: Verifying Checksum\n7c12895b777b: Download complete\n5664b15f108b: Verifying Checksum\n5664b15f108b: Download complete\n045fc1c20da8: Verifying Checksum\n045fc1c20da8: Download complete\n4aa0ea1413d3: Verifying Checksum\n4aa0ea1413d3: Download complete\nda7816fa955e: Verifying Checksum\nda7816fa955e: Download complete\nddf74a63f7d8: Verifying Checksum\nddf74a63f7d8: Download complete\nb044a3cbe00f: Verifying Checksum\nb044a3cbe00f: Download complete\nb044a3cbe00f: Pull complete\nbfb59b82a9b6: Pull complete\n017886f7e176: Pull complete\n62de241dac5f: Pull complete\n2780920e5dbf: Pull complete\n7c12895b777b: Pull complete\n3214acf345c0: Pull complete\n5664b15f108b: Pull complete\n045fc1c20da8: Pull complete\n4aa0ea1413d3: Pull complete\nda7816fa955e: Pull complete\nddf74a63f7d8: Pull complete\nDigest: sha256:e8a4044e0b4ae4257efa45fc026c0bc30ad320d43bd4c1a7d5271bd241e386d0\nStatus: Downloaded newer image for gcr.io/distroless/static:nonroot\n ---> c2e2953e3878\nStep 2/3 : COPY controller /controller\n ---> 0e7e2dede5b0\nStep 3/3 : ENTRYPOINT [\"/controller\"]\n ---> Running in 06eb44a8ba06\n ---> Removed intermediate container 06eb44a8ba06\n ---> f55bedf800fc\nSuccessfully built f55bedf