Generic KASAN
modulename: generic.ko
and/orinit.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.
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.
source code:
depends
CONFIG_CC_HAS_KASAN_GENERICCONFIG_CC_HAS_WORKING_NOSANITIZE_ADDRESS
CONFIG_HAVE_ARCH_KASAN or CONFIG_SLUB or CONFIG_SYSFS or CONFIG_SLAB or NOT CONFIG_DEBUG_SLAB
