Generic KASAN

modulename: init.ko

and/or

generic.ko

configname: CONFIG_KASAN_GENERIC

KASAN mode
└─>Generic KASAN
In linux kernel since version 4.14.326 (release Date: 2023-09-23)  
Enables Generic KASAN.

Requires GCC 8.3.0+ or Clang.

Consumes about 1/8th of available memory at kernel start and adds an
overhead of ~50% for dynamic allocations.
The performance slowdown is ~x3.

(Incompatible with CONFIG_DEBUG_SLAB: the kernel does not boot.)

source code: