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:   Mon, 12 Sep 2016 15:25:19 -0300
From:   Henrique de Moraes Holschuh <hmh@....eng.br>
To:     Andi Kleen <andi@...stfloor.org>
Cc:     Kyle Huey <khuey@...ehuey.com>, linux-kernel@...r.kernel.org,
        x86@...nel.org
Subject: Re: [PATCH] prctl,x86 Add PR_[GET|SET]_CPUID for controlling the
 CPUID instruction.

On Mon, 12 Sep 2016, Andi Kleen wrote:
> The cpuid char driver does this, other code may too.

Such as anything that calls sync_core().

That includes processor hotplug paths, and who knows what else...

> You probably would need to protect these CPUIDs with an exception
> handler that temporarily disables this bit and retries.

Better time that MSR access first.  Hopefully, it is fast enough for
that.

-- 
  Henrique Holschuh

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ