HW-KASAN and CONFIG_SLUB_DEBUG_ON=y screams about redzone corruption
Andrey Konovalov
andreyknvl at gmail.com
Tue Jul 4 08:29:50 PDT 2023
On Tue, Jul 4, 2023 at 9:42 AM Alexander Potapenko <glider at google.com> wrote:
>
> > While debugging something else, I ended up running v6.4 on an arm64 (v9)
> > fastmodel with both CONFIG_SLUB_DEBUG_ON=y and CONFIG_KASAN_HW_TAGS=y.
> > This makes the system pretty unusable, as I see a tonne of kmalloc
> > Redzone corruption messages pretty much straight out of startup (example
> > below).
I've reproduced the issue, looking into the root cause.
> Does the problem reproduce with CONFIG_KASAN_SW_TAGS?
Looks like SW_TAGS is not affected.
> Also, any chance you could share the file:line info for the stack trace below?
>
> I myself haven't expected KASAN to work together with SLUB_DEBUG...
This was implemented at some point, so it should work.
Thanks!
More information about the linux-arm-kernel
mailing list