OPNsense Forum

Archive => 16.1 Legacy Series => Topic started by: chemlud on June 08, 2016, 09:47:58 AM

Title: [SOLVED] 16.1.16 kernel HBSD ASLR message in log
Post by: chemlud on June 08, 2016, 09:47:58 AM
Hi again!

After updating to 16.1.16 I yesterday had a strange message in the log

kernel: HBSD ASLR pax_aslr_init_vmspace ccheck your /boot/loader.conf
pid: 26557 ppid: 61786 p_pax: 0x40<ASLR>

Safe to ignore? :-)
Title: Re: 16.1.16 kernel HBSD ASLR message in log
Post by: lattera on June 08, 2016, 03:43:12 PM
Are you running on a 32bit or 64bit box? If you're on 32bit, you may see this occasionally. It's safe to ignore. It simply means that ASLR couldn't properly randomize the stack. There's simply not enough bits in 32bit architectures to shuffle things around.
Title: Re: 16.1.16 kernel HBSD ASLR message in log
Post by: chemlud on June 08, 2016, 04:12:29 PM
Yepp, 32, bit! Thanks a lot! :-D
Title: Re: [SOLVED] 16.1.16 kernel HBSD ASLR message in log
Post by: franco on June 08, 2016, 05:49:08 PM
Short anecdote: We've had one message for each process spawned back when we started integrating ASLR. Shawn said that we're probably the first serious consumers of this ASLR implementation in 32 bits and helped to make this spam a lot less by adjusting the entropy values. :)

https://github.com/opnsense/src/commit/ec93b44059378b2942ae0b631eb5cb1c0753f159