diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 30df5865ecbe..732b9f6ab1ee 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -352,6 +352,7 @@ config DEBUG_KMEMLEAK
 	select DEBUG_FS if SYSFS
 	select STACKTRACE if STACKTRACE_SUPPORT
 	select KALLSYMS
+	select CRC32
 	help
 	  Say Y here if you want to enable the memory leak
 	  detector. The memory allocation/freeing is traced in a way