Hi Paolo, Timo,

The same KHO default also breaks 7.0 on resolute and noble, in a different
way, and I'd like to ask whether this change can go to those series as well.

On small EC2 instances (t3a.nano / t3.nano, 512 MB) the KHO scratch
reservation takes ~316 MB at boot. When it succeeds, the instance is left
with ~75 MB and the OOM killer takes down every service within ~2 minutes;
whether it succeeds varies per boot (KASLR / initrd layout). Logs are in
LP: #2161986 (filed in July against linux-aws-7.0; its title blames the
initrdless boot, which turned out to be wrong, see my second comment there).

Your commit message already covers it: turning the default off stops the
scratch reservation on every boot.

Where it is still enabled (debian.master annotations, which aws inherits):
- resolute linux-aws 7.0.0-1016.17 (updates) and 7.0.0-1017.18 (proposed)
- noble linux-aws-7.0 7.0.0-1014.14~24.04.1 and 7.0.0-1017.18~24.04.1
- still 'y' on resolute master-next and noble aws-7.0-next

Why it matters:
- The current Ubuntu AMIs (26.04 minimal and server, 24.04 minimal, all from
  late October) ship these kernels, so a fresh nano instance can hit this on
  its very first boot, before anyone can add kho=off.
- linux-aws-6.17 is end-of-life, so nano fleets can't stay there either: they
  can't take the 7.0 security updates (e.g. the CVE-2026-98432 fix in
  7.0.0-1017) without this change.

Could you add resolute (linux, linux-aws) and noble (linux-aws-7.0, and
linux-hwe-7.0 if it inherits the same setting) tasks for 1db43662a8b2
"UBUNTU: [Config] Disable KEXEC_HANDOVER_ENABLE_DEFAULT"?

SRU justification, in case it helps:

[Impact]
CONFIG_KEXEC_HANDOVER_ENABLE_DEFAULT=y reserves the KHO scratch area on every
boot. On 512 MB instances (EC2 t3a.nano / t3.nano) that is ~316 MB; when the
reservation succeeds, ~75 MB remains and the system OOM-kills itself within
minutes. This affects the stock 24.04 and 26.04 AWS images on nano instances.

[Fix]
Cherry-pick 1db43662a8b2 from stonking: KEXEC_HANDOVER_ENABLE_DEFAULT=n.
KHO stays built in; kho=on enables it.

[Test Plan]
Boot a t3a.nano with the fixed kernel and reboot it ~10 times. Every boot
should show ~350 MB available on the "Memory:" line, CmaTotal 0 kB in
/proc/meminfo, and a working system. With the current kernel, some boots
show ~75 MB available followed by an OOM storm. Control: our t3a.nano on
7.0.0-1014-aws with kho=off on the command line has run cleanly since 3 Oct.

[Where problems could occur]
Anyone relying on Live Update / kexec handover by default would need to add
kho=on. As in 26.10, nothing in a default install needs KHO.

Thanks!

** CVE added: https://cve.org/CVERecord?id=CVE-2026-98432

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2169198

Title:
  26.10 mini-iso: screen hangs after selecting target

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2169198/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to