[PATCH 2/2] powerpc/kexec: Disable KASAN for VMX helpers used in MMU-off path

Ritesh Harjani (IBM) ritesh.list at gmail.com
Thu Apr 2 11:04:40 AEDT 2026


Ritesh Harjani (IBM) <ritesh.list at gmail.com> writes:

> Sourabh Jain <sourabhjain at linux.ibm.com> writes:
>
>> The kexec sequence invokes enter_vmx_ops() and exit_vmx_ops() with the
>> MMU disabled. In this context, code must not rely on normal virtual
>> address translations or trigger page faults.
>> With KASAN enabled, these functions get instrumented and may access

You said "may access", so just curious that, do you see an issue always
with KASAN + Kexec or is it only with a specific configuration?

-ritesh


More information about the Linuxppc-dev mailing list