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

CONFIG_KASAN_VMALLOC: Check accesses to vmalloc allocations

General informations

The Linux kernel configuration item CONFIG_KASAN_VMALLOC has multiple definitions:

Check accesses to vmalloc allocations found in lib/Kconfig.kasan

The configuration item CONFIG_KASAN_VMALLOC:

Help text

Makes KASAN check the validity of accesses to vmalloc allocations.

With software KASAN modes, all types vmalloc allocations are checked. Enabling this option leads to higher memory usage.

With Hardware Tag-Based KASAN, only non-executable VM_ALLOC mappings are checked. There is no additional memory usage.

Back mappings in vmalloc space with real shadow memory found in lib/Kconfig.kasan

The configuration item CONFIG_KASAN_VMALLOC:

Help text

By default, the shadow region for vmalloc space is the read-only zero page. This means that KASAN cannot detect errors involving vmalloc space.

Enabling this option will hook in to vmap/vmalloc and back those mappings with real shadow memory allocated on demand. This allows for KASAN to detect more sorts of errors (and to support vmapped stacks), but at the cost of higher memory usage.

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