Re: [syzbot] upstream test error: KASAN: invalid-access Read in __entry_tramp_text_end
From: Peter Zijlstra
Date: Wed Sep 29 2021 - 07:43:36 EST
On Wed, Sep 29, 2021 at 11:37:30AM +0100, Mark Rutland wrote:
> > This is because _ASM_EXTABLE only generates data for another section.
> > There doesn't need to be code continuity between these two asm
> > statements.
>
> I think you've missed my point. It doesn't matter that the
> asm_volatile_goto() doesn't contain code, and this is solely about the
> *state* expected at entry/exit from each asm block being different.
Urgh.. indeed :/