On Mon, Sep 8, 2025 at 3:04 PM Maciej Wieczor-Retman <maciej.wieczor-retman@xxxxxxxxx> wrote: > > >> + if (kasan_multi_shot_enabled()) > >> + return true; > > > >It's odd this this is required on x86 but not on arm64, see my comment > >on the patch that adds kasan_inline_handler(). > > > > I think this is needed if we want to keep the kasan_inline_recover below. > Because without this patch, kasan_report() will report a mismatch, an then die() > will be called. So the multishot gets ignored. But die() should be called only when recovery is disabled. And recovery should always be enabled. But maybe this is the problem with when kasan_inline_handler(), see my comment on the the patch #13.