Announcement

Collapse
No announcement yet.

Linux 4.12 To Enable KASLR By Default

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Linux 4.12 To Enable KASLR By Default

    Phoronix: Linux 4.12 To Enable KASLR By Default

    The Linux 4.12 kernel is to enable KASLR support by default for x86-based systems to furter improve the security...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    Typos:

    Originally posted by phoronix View Post
    The Linux 4.12 kernel is to enable KASLR support by default for x86-based systems to furter improve the security.

    For x86/x86_64 sysems, Linux 4.12 will turn on by default the

    Comment


    • #3
      Originally posted by tildearrow View Post
      Typos:


      Fixed thanks typing aboard a plane with basically no space or lighting, so just a pain in the ass typing articles this way.
      Michael Larabel
      https://www.michaellarabel.com/

      Comment


      • #4
        But KASLR is incompatible with hibernation. Or is this restriction got removed in 4.12?

        UPDATE: https://git.kernel.org/pub/scm/linux...b4c8d77edc2193
        Last edited by puleglot; 01 May 2017, 05:43 PM.

        Comment


        • #5
          So, what's the performance impact?

          Not only should this require random-number generation during memory allocation, but it probably reduces cache hit-rate and likely increases heap fragmentation.

          I'm not saying it's not worth the benefits, but there are likely measurable trade-offs.

          Comment


          • #6
            Originally posted by puleglot View Post
            But KASLR is incompatible with hibernation. Or is this restriction got removed in 4.12?

            UPDATE: https://git.kernel.org/pub/scm/linux...b4c8d77edc2193
            All this patch does is to remove four lines of text describing why hibernation will be disabled if KASLR is enabled. No other changes have been made.

            Comment


            • #7
              So without those 4 lines, computer will not know that hibernation+KASLR is bad, therefore this combination will work.
              But seriously, have you read commit description? And the other commit it references?

              Comment


              • #8
                Originally posted by coder View Post
                it probably reduces cache hit-rate and likely increases heap fragmentation
                who told you that?

                Comment


                • #9
                  Originally posted by pal666 View Post
                  who told you that?
                  It's speculation, based on an understanding of how reasonable memory allocators work. If you have relevant information to share, please educate us.

                  In the end, real-world benchmarks are what really count.

                  Comment


                  • #10
                    Am I the only person who reads this as Kassler in their head and gets hungry as a result?

                    Comment

                    Working...
                    X