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

From: Ritesh Harjani (IBM) <[email-masked]>
Date: Thu, 02 Apr 2026 05:34:40 +0530

Ritesh Harjani (IBM) <[email-masked]> writes:

> Sourabh Jain <[email-masked]> 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