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

CONFIG_RANDOMIZE_MODULE_REGION_FULL: Randomize the module region over a 2 GB range

General informations

The Linux kernel configuration item CONFIG_RANDOMIZE_MODULE_REGION_FULL has multiple definitions:

Randomize the module region over a 2 GB range found in arch/arm64/Kconfig

The configuration item CONFIG_RANDOMIZE_MODULE_REGION_FULL:

Help text

Randomizes the location of the module region inside a 2 GB window covering the core kernel. This way, it is less likely for modules to leak information about the location of core kernel data structures but it does imply that function calls between modules and the core kernel will need to be resolved via veneers in the module PLT.

When this option is not set, the module region will be randomized over a limited range that contains the [_stext, _etext] interval of the core kernel, so branch relocations are almost always in range unless the region is exhausted. In this particular case of region exhaustion, modules might be able to fall back to a larger 2GB area.

Randomize the module region over a 4 GB range found in arch/arm64/Kconfig

The configuration item CONFIG_RANDOMIZE_MODULE_REGION_FULL:

Help text

Randomizes the location of the module region inside a 4 GB window covering the core kernel. This way, it is less likely for modules to leak information about the location of core kernel data structures but it does imply that function calls between modules and the core kernel will need to be resolved via veneers in the module PLT.

When this option is not set, the module region will be randomized over a limited range that contains the [_stext, _etext] interval of the core kernel, so branch relocations are always in range.

Randomize the module region independently from the core kernel found in arch/arm64/Kconfig

The configuration item CONFIG_RANDOMIZE_MODULE_REGION_FULL:

Help text

Randomizes the location of the module region without considering the location of the core kernel. This way, it is impossible for modules to leak information about the location of core kernel data structures but it does imply that function calls between modules and the core kernel will need to be resolved via veneers in the module PLT.

When this option is not set, the module region will be randomized over a limited range that contains the [_stext, _etext] interval of the core kernel, so branch relocations are always in range.

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 - R index

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