Re: Unexpected Heap Randomization Behavior in Kernel Version 5.10.216

2024-08-05 Thread Prithivi Raj.S
Thanks for the hint about the text randomization part. My previous doubts have been resolved. Additionally, I used Debian 11.7 as my base OS for testing, and it seems that the PIE build is enabled by default in the distribution. On Tue, 30 Jul 2024 at 21:47, Kees Cook wrote: > > On Tue, Jul 30, 2

Re: Unexpected Heap Randomization Behavior in Kernel Version 5.10.216

2024-07-30 Thread Kees Cook
On Tue, Jul 30, 2024 at 04:45:29PM +0530, Prithivi Raj.S wrote: > I have been testing Address Space Layout Randomization (ASLR) > functionalities with the kernel.randomize_va_space sysctl parameter. > According to the kernel documentation: > > 0 disables randomization. > 1 randomizes the address o

Unexpected Heap Randomization Behavior in Kernel Version 5.10.216

2024-07-30 Thread Prithivi Raj.S
I have been testing Address Space Layout Randomization (ASLR) functionalities with the kernel.randomize_va_space sysctl parameter. According to the kernel documentation: 0 disables randomization. 1 randomizes the address of mmap base, stack, and VDSO page. 2 randomizes the heap address. However,