lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Sun, 14 Jan 2018 16:09:04 -0800
From:   Andi Kleen <ak@...ux.intel.com>
To:     pjt@...gle.com, linux-kernel@...r.kernel.org,
        tim.c.chen@...ux.intel.com, riel@...hat.com, jikos@...nel.org,
        jpoimboe@...hat.com, luto@...capital.net,
        torvalds@...ux-foundation.org, tglx@...utronix.de,
        dwmw@...zon.co.uk, hpa@...or.com, peterz@...radead.org,
        dave.hansen@...el.com, mingo@...nel.org, keescook@...gle.com,
        gregkh@...ux-foundation.org, arjan@...ux.intel.com
Cc:     linux-tip-commits@...r.kernel.org
Subject: Re: [tip:x86/pti] x86/retpoline: Fill RSB on context switch for
 affected CPUs

On Sun, Jan 14, 2018 at 04:05:54PM -0800, Andi Kleen wrote:
> > +	if ((!boot_cpu_has(X86_FEATURE_PTI) &&
> > +	     !boot_cpu_has(X86_FEATURE_SMEP)) || is_skylake_era()) {
> > +		setup_force_cpu_cap(X86_FEATURE_RSB_CTXSW);
> > +		pr_info("Filling RSB on context switch\n");
> > +	}
> 
> Missing an option to turn this off.

My earlier patch did this properly by folding it 
into the big option parser.

https://marc.info/?l=linux-kernel&m=151578282016915&w=2

-Andi


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ