--- zzzz-none-000/linux-5.4.213/arch/arm/boot/compressed/decompress.c 2022-09-15 10:04:56.000000000 +0000 +++ alder-5690pro-762/linux-5.4.213/arch/arm/boot/compressed/decompress.c 2024-08-14 09:01:26.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