x86/spectre: Report get_user mitigation for spectre_v1
Dan Williams authored
commit edfbae53



Reflect the presence of get_user(), __get_user(), and 'syscall' protections
in sysfs. The expectation is that new and better tooling will allow the
kernel to grow more usages of array_index_nospec(), for now, only claim
mitigation for __user pointer de-references.
Reported-by: default avatarJiri Slaby <jslaby@suse.cz>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Cc: linux-arch@vger.kernel.org
Cc: kernel-hardening@lists.openwall.com
Cc: gregkh@linuxfoundation.org
Cc: torvalds@linux-foundation.org
Cc: alan@linux.intel.com
Link: https://lkml.kernel.org/r/151727420158.33451.11658324346540434635.stgit@dwillia2-desk3.amr.corp.intel.com

Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
bdfaac0f
Name Last commit Last update
Documentation Documentation: Document array_index_nospec
arch x86/spectre: Report get_user mitigation for spectre_v1
block block: drain queue before waiting for q_usage_counter becoming zero
certs License cleanup: add SPDX GPL-2.0 license identifier to files with no license
crypto crypto: af_alg - whitelist mask and type
drivers pinctrl: pxa: pxa2xx: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
firmware kbuild: remove all dummy assignments to obj-
fs orangefs: fix deadlock; do not write i_size in read_iter
include vfs, fdtable: Prevent bounds-check bypass via speculative execution
init Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
ipc Rename superblock flags (MS_xyz -> SB_xyz)
kernel module/retpoline: Warn about missing retpoline in module
lib test_firmware: fix missing unlock on error in config_num_requests_store()
mm mm, page_vma_mapped: Introduce pfn_in_hpage()
net nl80211: Sanitize array index in parse_txq_params
samples Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf
scripts module/retpoline: Warn about missing retpoline in module
security ima/policy: fix parsing of fsuuid
sound ASoC: pcm512x: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
tools objtool: Warn on stripped section symbol
usr initramfs: fix initramfs rebuilds w/ compression after disabling
virt Merge tag 'kvm-arm-fixes-for-v4.15-3-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore Add hch to .get_maintainer.ignore
.gitattributes .gitattributes: set git diff driver for C source code files
.gitignore Merge tag 'kbuild-misc-v4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
.mailmap mailmap: update Mark Yao's email address
COPYING [PATCH] update FSF address in COPYING
CREDITS MAINTAINERS: update TPM driver infrastructure changes
Kbuild Merge tag 'kbuild-v4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license
MAINTAINERS Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Makefile Linux 4.15.1
README README: add a new README file, pointing to the Documentation/
Linux kernel
============

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.