ASLR makes it more difficult for an attacker to predict the location of attack code they have introduced into a process's address space during an attempt at exploitation. Additionally, ASLR makes it more difficult for an attacker to know the location of existing code to repurpose it using return-oriented programming techniques.
Check
Verify RHEL 10 is implementing ASLR.
Check the status of the "kernel.randomize_va_space" kernel parameter with the following command: