--- zzzz-none-000/linux-5.4.213/arch/arm/boot/compressed/decompress.c 2022-09-15 10:04:56.000000000 +0000 +++ miami-7690-761/linux-5.4.213/arch/arm/boot/compressed/decompress.c 2024-05-29 11:19:50.000000000 +0000 @@ -47,11 +47,14 @@ #endif #ifdef CONFIG_KERNEL_XZ +#ifndef CONFIG_KASAN /* Prevent KASAN override of string helpers in decompressor */ #undef memmove #define memmove memmove #undef memcpy #define memcpy memcpy +#endif + #include "../../../../lib/decompress_unxz.c" #endif