This goes on top of Walter's patch titled "kasan: fix KASAN unit tests for tag-based KASAN" (already in mm tree). Bugzilla link: https://bugzilla.kernel.org/show_bug.cgi?id=203497 Thanks to Walter Wu for debugging and testing. Andrey Konovalov (4): kasan: don't tag stacks allocated with pagealloc kasan, arm64: don't instrument functions that enable kasan kasan: allow enabling stack tagging for tag-based mode kasan: adjust kasan_stack_oob for tag-based mode arch/arm64/kernel/setup.c | 2 +- init/main.c | 2 +- kernel/fork.c | 3 ++- lib/test_kasan.c | 2 +- scripts/Makefile.kasan | 3 ++- 5 files changed, 7 insertions(+), 5 deletions(-) -- 2.28.0.163.g6104cc2f0b6-goog