Crash on armv7-a using KASAN
Linus Walleij
linus.walleij at linaro.org
Tue Oct 15 14:24:31 PDT 2024
On Tue, Oct 15, 2024 at 10:55 PM Linus Walleij <linus.walleij at linaro.org> wrote:
> On Tue, Oct 15, 2024 at 7:28 PM Ard Biesheuvel <ardb at kernel.org> wrote:
>
> > > From a superficial look, it sounds like it should be possible to extend
> > > that to also handle the KASAN shadow of the vmalloc area (which
> > > __check_vmalloc_seq() currently doesn't copy), but I'm not sure of
> > > exactly when we initialise the shadow for a vmalloc allocation relative
> > > to updating vmalloc_seq.
> >
> > Indeed. It appears both vmalloc_seq() and arch_sync_kernel_mappings()
> > need to take the vmalloc shadow into account specifically.
>
> I'm trying to look into that.
I fixed that too and now the KASAN is stabilized. I'll send out the
patches so we get something to test.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list