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

CONFIG_KASAN_HW_TAGS: Hardware Tag-Based KASAN

General informations

The Linux kernel configuration item CONFIG_KASAN_HW_TAGS has multiple definitions:

Hardware Tag-Based KASAN found in lib/Kconfig.kasan

The configuration item CONFIG_KASAN_HW_TAGS:

Help text

Enables Hardware Tag-Based KASAN.

Requires GCC 10+ or Clang 12+.

Supported only on arm64 CPUs starting from ARMv8.5 and relies on Memory Tagging Extension and Top Byte Ignore.

Consumes about 1/32nd of available memory.

May potentially introduce problems related to pointer casting and comparison, as it embeds a tag into the top byte of each pointer.

Hardware tag-based mode found in lib/Kconfig.kasan

The configuration item CONFIG_KASAN_HW_TAGS:

Help text

Enables hardware tag-based KASAN mode.

This mode requires hardware memory tagging support, and can be used by any architecture that provides it.

Currently this mode is only implemented for arm64 CPUs starting from ARMv8.5 and relies on Memory Tagging Extension and Top Byte Ignore.

Hardware

LKDDb

Raw data from LKDDb:

Sources

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