Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - K index

CONFIG_KASAN_SW_TAGS: Software tag-based mode

General informations

The Linux kernel configuration item CONFIG_KASAN_SW_TAGS:

Help text

Enables software tag-based KASAN mode.

This mode require software memory tagging support in the form of HWASan-like compiler instrumentation.

Currently this mode is only implemented for arm64 CPUs and relies on Top Byte Ignore. This mode requires Clang.

This mode consumes about 1/16th of available memory at kernel start and introduces an overhead of ~20% for the rest of the allocations. This mode may potentially introduce problems relating to pointer casting and comparison, as it embeds tags into the top byte of each pointer.

Currently KASAN_SW_TAGS doesn't work with DEBUG_SLAB (the resulting kernel does not boot).



Raw data from LKDDb:


This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).

The data is retrived from:

Automatic links from Google (and ads)

Custom Search

Popular queries:

Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - K index

Automatically generated (in year 2022). See also LKDDb sources on GitLab