• Linus Torvalds's avatar
    Merge tag 'x86_shstk_for_6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · df57721f
    Linus Torvalds authored
    Pull x86 shadow stack support from Dave Hansen:
     "This is the long awaited x86 shadow stack support, part of Intel's
      Control-flow Enforcement Technology (CET).
    
      CET consists of two related security features: shadow stacks and
      indirect branch tracking. This series implements just the shadow stack
      part of this feature, and just for userspace.
    
      The main use case for shadow stack is providing protection against
      return oriented programming attacks. It works by maintaining a
      secondary (shadow) stack using a special memory type that has
      protections against modification. When executing a CALL instruction,
      the processor pushes the return address to both the normal stack and
      to the special permission shadow stack. Upon RET, the processor pops
      the shadow stack copy and compares it to the normal stack copy.
    
      For more information, refer to the links below for the earlier
      versions of this patch set"
    
    Lin...
    df57721f
Kconfig 45 KB