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 requires Top Byte Ignore support by the CPU and therefore is only supported for arm64. 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.

For better error detection enable STACKTRACE.

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 2020). See also LKDDb sources on GitLab