selftests/x86/fsgsbase: Test PTRACE_PEEKUSER for GSBASE with invalid LDT GS
Andy Lutomirski authored
commit 1b9abd17 upstream.

This tests commit:

  8ab49526

 ("x86/fsgsbase/64: Fix NULL deref in 86_fsgsbase_read_task")

Unpatched kernels will OOPS.
Signed-off-by: default avatarAndy Lutomirski <luto@kernel.org>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/c618ae86d1f757e01b1a8e79869f553cb88acf9a.1598461151.git.luto@kernel.org

Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
3674b044
Name Last commit Last update
..
accounting tools/accounting/getdelays.c: fix netlink attribute length
arch x86/syscalls: Revert "x86/syscalls: Make __X32_SYSCALL_BIT be unsigned long"
bpf tools, bpftool: Fix wrong return value in do_dump()
build tools build feature: Quote CC and CXX for their arguments
cgroup iocost_monitor: drop string wrap around numbers when outputting json
debugging tools: add a kernel-chktaint to tools/debugging
firewire treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156
firmware Merge tag 'driver-core-5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
gpio tools: gpio-hammer: Avoid potential overflow in main
hv Merge tag 'hyperv-next-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux
iio tools: iio: add .gitignore
include bpf: Fix comment for helper bpf_current_task_under_cgroup()
io_uring tools/io_uring: fix compile breakage
kvm/kvm_stat tools/kvm_stat: Fix kvm_exit filter name
laptop treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 505
leds leds: core: Add support for composing LED class device names
lib libbpf: Remove arch-specific include path in Makefile
memory-model tools/memory-model: Fix data race detection for unordered store and load
nfsd License cleanup: add SPDX GPL-2.0 license identifier to files with no license
objtool objtool: Support Clang non-section symbols in ORC generation
pci tools: PCI: Fix fd leakage
pcmcia treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 247
perf perf stat: Skip duration_time in setup_system_wide
power tools/power/x86/intel_pstate_tracer: changes for python 3 compatibility
scripts tools: Let O= makes handle a relative path with -C option
spi treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 178
testing selftests/x86/fsgsbase: Test PTRACE_PEEKUSER for GSBASE with invalid LDT GS
thermal/tmon treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 89
time treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282
usb usbip: Fix unsafe unaligned pointer usage
virtio tools/virtio: xen stub
vm tools/vm: fix cross-compile build
wmi treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
Makefile tools: Keep list of tools in alphabetical order