Announcement

Collapse
No announcement yet.

Linux 4.4 & 4.9 Kernels Get Back-Ported SWAPGS Protection

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

  • Linux 4.4 & 4.9 Kernels Get Back-Ported SWAPGS Protection

    Phoronix: Linux 4.4 & 4.9 Kernels Get Back-Ported SWAPGS Protection

    Greg Kroah-Hartman issued the Linux 4.4.189 and Linux 4.9.189 LTS kernels on Sunday morning that address the new Spectre V1 "SWAPGS" variant mitigations...

    http://www.phoronix.com/scan.php?pag...-SWAPGS-Kernel

  • #2
    Blah that patch to exclude AMD seems does not work here

    x86/speculation/swapgs: Exclude ATOMs from speculation through SWAPGS
    Create a separate bug flag for the through SWAPGS speculation and mark all out-of-order ATOMs and AMD/HYGON CPUs as not affected.

    Code:
     cat /sys/devices/system/cpu/vulnerabilities/spectre_v1
    Mitigation: usercopy/swapgs barriers and __user pointer sanitization
    This is on AMD with 4.19 kernel, so where that flag is? This looks like to me as shit is enabled Seems this does not correctly exclude AMD or whatever
    Last edited by dungeon; 08-11-2019, 11:19 AM.

    Comment


    • #3
      Good thing we got all new cases covered, with mitigations=off. =)

      Comment


      • #4
        Originally posted by dungeon View Post
        Blah that patch to exclude AMD seems does not work here




        Code:
        cat /sys/devices/system/cpu/vulnerabilities/spectre_v1
        Mitigation: usercopy/swapgs barriers and __user pointer sanitization
        This is on AMD with 4.19 kernel, so where that flag is? This looks like to me as shit is enabled Seems this does not correctly exclude AMD or whatever
        How this? Because AMD is not affected with SWAPGS

        Comment

        Working...
        X