KMSAN: detector of uninitialized values use
modulename: kmsan.ko
and/orkmsan_shadow.ko
configname: CONFIG_KMSAN
Linux Kernel Configuration
└─>Kernel hacking
└─>Memory Debugging
└─>KASAN: dynamic memory safety error detector
└─>KCSAN: dynamic data race detector
└─>KMSAN: detector of uninitialized values use
In linux kernel since version 4.14.326 (release Date: 2023-09-23)
KernelMemorySanitizer (KMSAN) is a dynamic detector of uses of
uninitialized values in the kernel. It is based on compiler
instrumentation provided by Clang and thus requires Clang to build.
An important note is that KMSAN is not intended for production use,
because it drastically increases kernel memory footprint and slows
the whole system down.
See <a href="https://www.kernel.org/doc/Documentation/dev-tools/kmsan.rst">Documentation/dev-tools/kmsan.rst</a> for more details.
uninitialized values in the kernel. It is based on compiler
instrumentation provided by Clang and thus requires Clang to build.
An important note is that KMSAN is not intended for production use,
because it drastically increases kernel memory footprint and slows
the whole system down.
See <a href="https://www.kernel.org/doc/Documentation/dev-tools/kmsan.rst">Documentation/dev-tools/kmsan.rst</a> for more details.
