You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

ASLR is Disabled on an Oracle Linux 7 Cloud Instance

edited Apr 13, 2022 6:33AM in Cloud Infrastructure - Linux

In standard Oracle Linux 7 OCI instances, ASLR is enabled by default and the corresponding kernel parameter is set to kernel.randomize_va_space = 2

ASLR is a feature of the linux kernel which provides additional security by randomizing the memory addresses of memory segments used by processes, and in standard Oracle Linux 7 cloud instances it is enabled by default, via the following kernel parameter setting:

kernel.randomize_va_space = 2

However, depending on the application running on the linux instance, using ASLR may cause problems if the application expects a shared memory segment to remain accessible at the same memory location.

One such application is Oracle database versions 11 and 12 where it is recommended to keep ASLR off, to prevent errors, such as the following:

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!