]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
UBUNTU: SAUCE: x86/bugs: Honour SPEC_CTRL default
authorStefan Bader <stefan.bader@canonical.com>
Mon, 7 May 2018 14:47:02 +0000 (16:47 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 14 May 2018 10:09:57 +0000 (12:09 +0200)
commit159e800c5ef2b3cd09df71bba42fe9fe1780e45b
treefda25c00610da684fd543786278edd05ae67da37
parent7d85e158712ca8ed70206c893c49b501ff24c4a2
UBUNTU: SAUCE: x86/bugs: Honour SPEC_CTRL default

Upstream implementation reads the content of the SPEC_CTRL
MSR once during boot to record the state of reserved bits.
Any access to this MSR (to enable/disable IBRS) needs to
preserve those reserved bits.

This tries to catch and convert all occurrances of the
Intel based IBRS changes we carry.

CVE-2018-3639 (x86)

Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
arch/x86/include/asm/mwait.h
arch/x86/kernel/process.c
arch/x86/kernel/smpboot.c
arch/x86/lib/delay.c
kernel/sysctl.c