KVM: x86: zero base3 of unusable segments
Radim Krčmář authored
Static checker noticed that base3 could be used uninitialized if the
segment was not present (useable).  Random stack values probably would
not pass VMCS entry checks.
Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Fixes: 1aa36616

 ("KVM: x86 emulator: consolidate segment accessors")
Reviewed-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
Reviewed-by: default avatarDavid Hildenbrand <david@redhat.com>
Signed-off-by: default avatarRadim Krčmář <rkrcmar@redhat.com>
f0367ee1
Name Last commit Last update
Documentation mm, docs: update memory.stat description with workingset* entries
arch KVM: x86: zero base3 of unusable segments
block Merge branch 'libnvdimm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm
certs scripts/spelling.txt: add "intialise(d)" pattern and fix typo instances
crypto treewide: use kv[mz]alloc* rather than opencoded variants
drivers Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
firmware firmware/Makefile: force recompilation if makefile changes
fs Merge tag 'upstream-4.12-rc1' of git://git.infradead.org/linux-ubifs
include KVM: arm/arm64: Fix bug when registering redist iodevs
init Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
ipc mm: introduce kv[mz]alloc helpers
kernel gcov: support GCC 7.1
lib Merge tag 'dmaengine-4.12-rc1' of git://git.infradead.org/users/vkoul/slave-dma
mm mm: vmscan: scan until it finds eligible pages
net Merge tag 'nfsd-4.12' of git://linux-nfs.org/~bfields/linux
samples Merge tag 'char-misc-4.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
scripts Merge tag 'kbuild-uapi-v4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
security Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
sound Merge tag 'sound-fix-4.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
tools Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
usr initramfs: provide a way to ignore image provided by bootloader
virt KVM: arm/arm64: Hold slots_lock when unregistering kvm io bus devices
.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 kbuild: Add support to generate LLVM assembly files
.mailmap Merge tag 'for-v4.12-2' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply
COPYING [PATCH] update FSF address in COPYING
CREDITS avr32: remove support for AVR32 architecture
Kbuild kbuild: Consolidate header generation from ASM offset information
Kconfig kbuild: migrate all arch to the kconfig mainmenu upgrade
MAINTAINERS Tigran has moved
Makefile Linux 4.12-rc1
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.