Re: [BUG] liveupdate: incoming/outgoing session ioctls accepted in wrong phase can panic
From: Pratyush Yadav
Date: Mon May 25 2026 - 11:28:24 EST
On Sun, May 24 2026, Yifei Chu wrote:
> Hello,
>
> Short version: I found that liveupdate session ioctls can be accepted on the wrong kind of session. In my tests, that
> lets userspace drive memfd LUO into KHO restore paths for current-kernel preserved memory, which hits kho_restore_page()
> warnings and panics with panic_on_warn=1.
I already sent a fix for this:
https://lore.kernel.org/kexec/20260519122428.2378446-1-pratyush@xxxxxxxxxx/
I need to do a refresh of this patch with some tests.
--
Regards,
Pratyush Yadav