Merge v4.4.112 into chromeos-4.4 |
||
Issue description
Merge v4.4.112 into chromeos-4.4.
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Linux 4.4.112-rc1
Andy Lutomirski <luto@xxxxxxxxxx>
selftests/x86: Add test_vsyscall
David Woodhouse <dwmw@xxxxxxxxxxxx>
x86/alternatives: Add missing '\n' at end of ALTERNATIVE inline asm
Borislav Petkov <bp@xxxxxxx>
x86/alternatives: Fix optimize_nops() checking
David Woodhouse <dwmw@xxxxxxxxxxxx>
sysfs/cpu: Fix typos in vulnerability documentation
Thomas Gleixner <tglx@xxxxxxxxxxxxx>
x86/cpu: Implement CPU vulnerabilites sysfs functions
Thomas Gleixner <tglx@xxxxxxxxxxxxx>
sysfs/cpu: Add vulnerability folder
Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
x86/Documentation: Add PTI description
Benjamin Poirier <bpoirier@xxxxxxxx>
e1000e: Fix e1000_check_for_copper_link_ich8lan return value.
Icenowy Zheng <icenowy@xxxxxxx>
uas: ignore UAS for Norelsys NS1068(X) chips
Ben Seri <ben@xxxxxxxxx>
Bluetooth: Prevent stack info leak from the EFS element.
Viktor Slavkovic <viktors@xxxxxxxxxx>
staging: android: ashmem: fix a race condition in ASHMEM_SET_SIZE ioctl
Shuah Khan <shuahkh@xxxxxxxxxxxxxxx>
usbip: remove kernel addresses from usb device and urb debug msgs
Pete Zaitcev <zaitcev@xxxxxxxxxx>
USB: fix usbmon BUG trigger
Stefan Agner <stefan@xxxxxxxx>
usb: misc: usb3503: make sure reset is low for at least 100us
Christian Holl <cyborgx1@xxxxxxxxx>
USB: serial: cp210x: add new device ID ELV ALC 8xxx
Diego Elio Pettenò <flameeyes@xxxxxxxxxxxx>
USB: serial: cp210x: add IDs for LifeScan OneTouch Verio IQ
Nicholas Bellinger <nab@xxxxxxxxxxxxxxx>
target: Avoid early CMD_T_PRE_EXECUTE failures during ABORT_TASK
Nicholas Bellinger <nab@xxxxxxxxxxxxxxx>
iscsi-target: Make TASK_REASSIGN use proper se_cmd->cmd_kref
Daniel Borkmann <daniel@xxxxxxxxxxxxx>
bpf, array: fix overflow in max_entries and undefined behavior in index_mask
Alexei Starovoitov <ast@xxxxxxxxxx>
bpf: prevent out-of-bounds speculation
Alexei Starovoitov <ast@xxxxxx>
bpf: adjust insn_aux_data when patching insns
Alexei Starovoitov <ast@xxxxxx>
bpf: refactor fixup_bpf_calls()
Alexei Starovoitov <ast@xxxxxx>
bpf: move fixup_bpf_calls() function
Jakub Kicinski <jakub.kicinski@xxxxxxxxxxxxx>
bpf: don't (ab)use instructions to store state
Daniel Borkmann <daniel@xxxxxxxxxxxxx>
bpf: add bpf_patch_insn_single helper
Lepton Wu <ytht.net@xxxxxxxxx>
kaiser: Set _PAGE_NX only if supported
Dan Carpenter <dan.carpenter@xxxxxxxxxx>
drm/vmwgfx: Potential off by one in vmw_view_add()
Andrew Honig <ahonig@xxxxxxxxxx>
KVM: x86: Add memory barrier on vmcs field lookup
Jia Zhang <qianyue.zj@xxxxxxxxxxxxxxx>
x86/microcode/intel: Extend BDW late-loading with a revision check
Ilya Dryomov <idryomov@xxxxxxxxx>
rbd: set max_segments to USHRT_MAX
Eric Biggers <ebiggers@xxxxxxxxxx>
crypto: algapi - fix NULL dereference in crypto_remove_spawns()
Eric Dumazet <edumazet@xxxxxxxxxx>
ipv6: fix possible mem leaks in ipv6_make_skb()
Jerome Brunet <jbrunet@xxxxxxxxxxxx>
net: stmmac: enable EEE in MII, GMII or RGMII only
Sergei Shtylyov <sergei.shtylyov@xxxxxxxxxxxxxxxxxx>
sh_eth: fix SH7757 GEther initialization
Sergei Shtylyov <sergei.shtylyov@xxxxxxxxxxxxxxxxxx>
sh_eth: fix TSU resource handling
Mohamed Ghannam <simo.ghannam@xxxxxxxxx>
RDS: null pointer dereference in rds_atomic_free_op
Mohamed Ghannam <simo.ghannam@xxxxxxxxx>
RDS: Heap OOB write in rds_message_alloc_sgs()
Andrii Vladyka <tulup@xxxxxxx>
net: core: fix module type in sock_diag_bind
Eli Cooper <elicooper@xxxxxxx>
ip6_tunnel: disable dst caching if tunnel is dual-stack
Cong Wang <xiyou.wangcong@xxxxxxxxx>
8021q: fix a memory leak for VLAN 0 device
Pavel Tatashin <pasha.tatashin@xxxxxxxxxx>
x86/pti/efi: broken conversion from efi to kernel page table
Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Revert "userfaultfd: selftest: vm: allow to build in vm/ directory"
Ben Hutchings <ben.hutchings@xxxxxxxxxxxxxxx>
xhci: Fix ring leak in failure path of xhci_alloc_virt_device()
Ani Sinha <ani@xxxxxxxxxx>
sysrq: Fix warning in sysrq generated crash.
Jiri Slaby <jslaby@xxxxxxx>
hwrng: core - sleep interruptible in read
Jiri Kosina <jkosina@xxxxxxx>
x86/mm/pat, /dev/mem: Remove superfluous error message
Eric Dumazet <edumazet@xxxxxxxxxx>
cx82310_eth: use skb_cow_head() to deal with cloned skbs
Eric Dumazet <edumazet@xxxxxxxxxx>
smsc75xx: use skb_cow_head() to deal with cloned skbs
Eric Dumazet <edumazet@xxxxxxxxxx>
sr9700: use skb_cow_head() to deal with cloned skbs
Eric Dumazet <edumazet@xxxxxxxxxx>
lan78xx: use skb_cow_head() to deal with cloned skbs
hayeswang <hayeswang@xxxxxxxxxxx>
r8152: adjust ALDPS function
hayeswang <hayeswang@xxxxxxxxxxx>
r8152: use test_and_clear_bit
hayeswang <hayeswang@xxxxxxxxxxx>
r8152: fix the wake event
Ulf Hansson <ulf.hansson@xxxxxxxxxx>
usb: musb: ux500: Fix NULL pointer dereference at system PM
Oliver Neukum <oneukum@xxxxxxxx>
usbvision fix overflow of interfaces array
Davidlohr Bueso <dave@xxxxxxxxxxxx>
locking/mutex: Allow next waiter lockless wakeup
Jianyu Zhan <nasa4836@xxxxxxxxx>
futex: Replace barrier() in unqueue_me() with READ_ONCE()
Jeff Layton <jeff.layton@xxxxxxxxxxxxxxx>
locks: don't check for race with close when setting OFD lock
Dan Streetman <ddstreet@xxxxxxxx>
zswap: don't param_set_charp while holding spinlock
Dan Streetman <ddstreet@xxxxxxxx>
mm/zswap: use workqueue to destroy pool
Andrey Ryabinin <aryabinin@xxxxxxxxxxxxx>
mm/page-writeback: fix dirty_ratelimit calculation
Joonsoo Kim <iamjoonsoo.kim@xxxxxxx>
mm/compaction: pass only pageblock aligned range to pageblock_pfn_to_page
Joonsoo Kim <iamjoonsoo.kim@xxxxxxx>
mm/compaction: fix invalid free_pfn and compact_cached_free_pfn
Vikas C Sajjan <vikas.cha.sajjan@xxxxxxx>
x86/acpi: Reduce code duplication in mp_override_legacy_irq()
Takashi Iwai <tiwai@xxxxxxx>
ALSA: aloop: Fix racy hw constraints adjustment
Takashi Iwai <tiwai@xxxxxxx>
ALSA: aloop: Fix inconsistent format due to incomplete rule
Takashi Iwai <tiwai@xxxxxxx>
ALSA: aloop: Release cable upon open error path
Takashi Iwai <tiwai@xxxxxxx>
ALSA: pcm: Allow aborting mutex lock at OSS read/write loops
Takashi Iwai <tiwai@xxxxxxx>
ALSA: pcm: Abort properly at pending signal in OSS read/write loops
Takashi Iwai <tiwai@xxxxxxx>
ALSA: pcm: Add missing error checks in OSS emulation plugin builder
Takashi Iwai <tiwai@xxxxxxx>
ALSA: pcm: Remove incorrect snd_BUG_ON() usages
Jean-Philippe Brucker <jean-philippe.brucker@xxxxxxx>
iommu/arm-smmu-v3: Don't free page table ops twice
Vikas C Sajjan <vikas.cha.sajjan@xxxxxxx>
x86/acpi: Handle SCI interrupts above legacy space gracefully
Andy Lutomirski <luto@xxxxxxxxxx>
x86/vsdo: Fix build on PARAVIRT_CLOCK=y, KVM_GUEST=n
Jim Mattson <jmattson@xxxxxxxxxx>
kvm: vmx: Scrub hardware GPRs at VM-exit
Andrey Ryabinin <aryabinin@xxxxxxxxxxxxx>
net/mac80211/debugfs.c: prevent build failure with CONFIG_UBSAN=y
Maciej W. Rozycki <macro@xxxxxxxx>
MIPS: Disallow outsized PTRACE_SETREGSET NT_PRFPREG regset accesses
Maciej W. Rozycki <macro@xxxxxxxx>
MIPS: Also verify sizeof `elf_fpreg_t' with PTRACE_SETREGSET
Maciej W. Rozycki <macro@xxxxxxxx>
MIPS: Fix an FCSR access API regression with NT_PRFPREG and MSA
Maciej W. Rozycki <macro@xxxxxxxx>
MIPS: Consistently handle buffer counter with PTRACE_SETREGSET
Maciej W. Rozycki <macro@xxxxxxxx>
MIPS: Guard against any partial write attempt with PTRACE_SETREGSET
Maciej W. Rozycki <macro@xxxxxxxx>
MIPS: Factor out NT_PRFPREG regset access helpers
Maciej W. Rozycki <macro@xxxxxxxx>
MIPS: Validate PR_SET_FP_MODE prctl(2) requests against the ABI of the task
Bart Van Assche <bart.vanassche@xxxxxxx>
IB/srpt: Disable RDMA access by the initiator
Wolfgang Grandegger <wg@xxxxxxxxxxxxxx>
can: gs_usb: fix return value of the "set_bittiming" callback
Wanpeng Li <wanpeng.li@xxxxxxxxxxx>
KVM: Fix stack-out-of-bounds read in write_mmio
Suren Baghdasaryan <surenb@xxxxxxxxxx>
dm bufio: fix shrinker scans when (nr_to_scan < retain_target)
-------------
Diffstat:
Documentation/ABI/testing/sysfs-devices-system-cpu | 16 +
Documentation/kernel-parameters.txt | 21 +-
Documentation/x86/pti.txt | 186 ++++++++
Makefile | 4 +-
arch/arm/kvm/mmio.c | 6 +-
arch/mips/kernel/process.c | 12 +
arch/mips/kernel/ptrace.c | 147 ++++--
arch/x86/Kconfig | 1 +
arch/x86/include/asm/alternative.h | 4 +-
arch/x86/include/asm/kaiser.h | 10 +
arch/x86/include/asm/pvclock.h | 2 +-
arch/x86/kernel/acpi/boot.c | 61 ++-
arch/x86/kernel/alternative.c | 7 +-
arch/x86/kernel/cpu/bugs.c | 29 ++
arch/x86/kernel/cpu/microcode/intel.c | 14 +-
arch/x86/kvm/svm.c | 19 +
arch/x86/kvm/vmx.c | 26 +-
arch/x86/kvm/x86.c | 8 +-
arch/x86/mm/kaiser.c | 2 +
arch/x86/mm/pat.c | 5 +-
arch/x86/realmode/init.c | 4 +-
arch/x86/realmode/rm/trampoline_64.S | 3 +-
crypto/algapi.c | 12 +
drivers/base/Kconfig | 3 +
drivers/base/cpu.c | 48 ++
drivers/block/rbd.c | 2 +-
drivers/char/hw_random/core.c | 6 +-
drivers/char/mem.c | 6 +-
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 2 +
drivers/infiniband/ulp/srpt/ib_srpt.c | 3 +-
drivers/iommu/arm-smmu-v3.c | 8 +-
drivers/md/dm-bufio.c | 7 +-
drivers/media/usb/usbvision/usbvision-video.c | 7 +
drivers/net/can/usb/gs_usb.c | 2 +-
drivers/net/ethernet/intel/e1000e/ich8lan.c | 11 +-
drivers/net/ethernet/renesas/sh_eth.c | 29 +-
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 6 +
drivers/net/usb/cx82310_eth.c | 7 +-
drivers/net/usb/lan78xx.c | 9 +-
drivers/net/usb/r8152.c | 132 +++---
drivers/net/usb/smsc75xx.c | 8 +-
drivers/net/usb/sr9700.c | 9 +-
drivers/staging/android/ashmem.c | 2 +
drivers/target/iscsi/iscsi_target.c | 20 +-
drivers/target/target_core_tmr.c | 9 +
drivers/target/target_core_transport.c | 2 +
drivers/tty/sysrq.c | 6 +
drivers/usb/host/xhci-mem.c | 3 +-
drivers/usb/misc/usb3503.c | 2 +
drivers/usb/mon/mon_bin.c | 8 +-
drivers/usb/musb/ux500.c | 7 +-
drivers/usb/serial/cp210x.c | 2 +
drivers/usb/storage/unusual_uas.h | 7 +
drivers/usb/usbip/usbip_common.c | 17 +-
fs/locks.c | 16 +-
include/linux/bpf.h | 2 +
include/linux/cpu.h | 7 +
include/linux/filter.h | 3 +
include/linux/phy.h | 11 +
include/linux/sh_eth.h | 1 -
include/target/target_core_base.h | 1 +
include/trace/events/kvm.h | 7 +-
kernel/bpf/arraymap.c | 37 +-
kernel/bpf/core.c | 71 +++
kernel/bpf/syscall.c | 54 ---
kernel/bpf/verifier.c | 217 ++++++---
kernel/futex.c | 8 +-
kernel/locking/mutex.c | 5 +-
mm/compaction.c | 50 ++-
mm/page-writeback.c | 11 +-
mm/zswap.c | 24 +-
net/8021q/vlan.c | 7 +-
net/bluetooth/l2cap_core.c | 20 +-
net/core/sock_diag.c | 2 +-
net/ipv6/ip6_output.c | 4 +-
net/ipv6/ip6_tunnel.c | 9 +-
net/mac80211/debugfs.c | 7 +-
net/rds/rdma.c | 4 +
sound/core/oss/pcm_oss.c | 41 +-
sound/core/oss/pcm_plugin.c | 14 +-
sound/core/pcm_lib.c | 4 +-
sound/drivers/aloop.c | 98 ++--
tools/testing/selftests/vm/Makefile | 4 -
tools/testing/selftests/x86/test_vsyscall.c | 500 +++++++++++++++++++++
84 files changed, 1758 insertions(+), 470 deletions(-)
,
Jan 20 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/third_party/kernel/+/b560293023c78c2a59483b517cd077c758562c82 commit b560293023c78c2a59483b517cd077c758562c82 Author: Guenter Roeck <groeck@chromium.org> Date: Wed Jan 17 19:23:27 2018 CHROMIUM: Merge 'v4.4.112' into chromeos-4.4 Merge of v4.4.112 into chromeos-4.4 Changes applied on top of 'v4.4.112' prior to merge: 8792c48d39cd Revert "dm bufio: fix shrinker scans when (nr_to_scan < retain_target)" 98afee6856ea Revert "locking/mutex: Allow next waiter lockless wakeup" 390be098213a Revert "r8152: adjust ALDPS function" 261849811c25 Revert "r8152: use test_and_clear_bit" f25f22725b9a Revert "r8152: fix the wake event" Changelog: ---------------------------------------------------------------- Alexei Starovoitov (4): bpf: move fixup_bpf_calls() function bpf: refactor fixup_bpf_calls() bpf: adjust insn_aux_data when patching insns bpf: prevent out-of-bounds speculation Andrew Honig (1): KVM: x86: Add memory barrier on vmcs field lookup Andrey Ryabinin (2): net/mac80211/debugfs.c: prevent build failure with CONFIG_UBSAN=y mm/page-writeback: fix dirty_ratelimit calculation Andrii Vladyka (1): net: core: fix module type in sock_diag_bind Andy Lutomirski (3): x86/vsdo: Fix build on PARAVIRT_CLOCK=y, KVM_GUEST=n x86/cpu: Factor out application of forced CPU caps selftests/x86: Add test_vsyscall Ani Sinha (1): sysrq: Fix warning in sysrq generated crash. Bart Van Assche (1): IB/srpt: Disable RDMA access by the initiator Ben Hutchings (1): xhci: Fix ring leak in failure path of xhci_alloc_virt_device() Ben Seri (1): Bluetooth: Prevent stack info leak from the EFS element. Benjamin Poirier (1): e1000e: Fix e1000_check_for_copper_link_ich8lan return value. Borislav Petkov (2): x86/cpu: Merge bugs.c and bugs_64.c x86/alternatives: Fix optimize_nops() checking Christian Holl (1): USB: serial: cp210x: add new device ID ELV ALC 8xxx Cong Wang (1): 8021q: fix a memory leak for VLAN 0 device Dan Carpenter (1): drm/vmwgfx: Potential off by one in vmw_view_add() Dan Streetman (2): mm/zswap: use workqueue to destroy pool zswap: don't param_set_charp while holding spinlock Daniel Borkmann (2): bpf: add bpf_patch_insn_single helper bpf, array: fix overflow in max_entries and undefined behavior in index_mask Dave Hansen (1): x86/Documentation: Add PTI description David Woodhouse (3): x86/cpufeatures: Add X86_BUG_SPECTRE_V[12] sysfs/cpu: Fix typos in vulnerability documentation x86/alternatives: Add missing '\n' at end of ALTERNATIVE inline asm Davidlohr Bueso (1): locking/mutex: Allow next waiter lockless wakeup Diego Elio Pettenò (1): USB: serial: cp210x: add IDs for LifeScan OneTouch Verio IQ Eli Cooper (1): ip6_tunnel: disable dst caching if tunnel is dual-stack Eric Biggers (1): crypto: algapi - fix NULL dereference in crypto_remove_spawns() Eric Dumazet (5): lan78xx: use skb_cow_head() to deal with cloned skbs sr9700: use skb_cow_head() to deal with cloned skbs smsc75xx: use skb_cow_head() to deal with cloned skbs cx82310_eth: use skb_cow_head() to deal with cloned skbs ipv6: fix possible mem leaks in ipv6_make_skb() Greg Kroah-Hartman (2): Revert "userfaultfd: selftest: vm: allow to build in vm/ directory" Linux 4.4.112 Guenter Roeck (6): Revert "r8152: fix the wake event" Revert "r8152: use test_and_clear_bit" Revert "r8152: adjust ALDPS function" Revert "locking/mutex: Allow next waiter lockless wakeup" Revert "dm bufio: fix shrinker scans when (nr_to_scan < retain_target)" Merge remote-tracking branch 'origin/linux/v4.4.112' into merge/chromeos-4.4-v4.4.112 Icenowy Zheng (1): uas: ignore UAS for Norelsys NS1068(X) chips Ilya Dryomov (1): rbd: set max_segments to USHRT_MAX Jakub Kicinski (1): bpf: don't (ab)use instructions to store state Jean-Philippe Brucker (1): iommu/arm-smmu-v3: Don't free page table ops twice Jeff Layton (1): locks: don't check for race with close when setting OFD lock Jerome Brunet (1): net: stmmac: enable EEE in MII, GMII or RGMII only Jia Zhang (1): x86/microcode/intel: Extend BDW late-loading with a revision check Jianyu Zhan (1): futex: Replace barrier() in unqueue_me() with READ_ONCE() Jim Mattson (1): kvm: vmx: Scrub hardware GPRs at VM-exit Jiri Kosina (1): x86/mm/pat, /dev/mem: Remove superfluous error message Jiri Slaby (1): hwrng: core - sleep interruptible in read Joonsoo Kim (2): mm/compaction: fix invalid free_pfn and compact_cached_free_pfn mm/compaction: pass only pageblock aligned range to pageblock_pfn_to_page Lepton Wu (1): kaiser: Set _PAGE_NX only if supported Maciej W. Rozycki (7): MIPS: Validate PR_SET_FP_MODE prctl(2) requests against the ABI of the task MIPS: Factor out NT_PRFPREG regset access helpers MIPS: Guard against any partial write attempt with PTRACE_SETREGSET MIPS: Consistently handle buffer counter with PTRACE_SETREGSET MIPS: Fix an FCSR access API regression with NT_PRFPREG and MSA MIPS: Also verify sizeof `elf_fpreg_t' with PTRACE_SETREGSET MIPS: Disallow outsized PTRACE_SETREGSET NT_PRFPREG regset accesses Mohamed Ghannam (2): RDS: Heap OOB write in rds_message_alloc_sgs() RDS: null pointer dereference in rds_atomic_free_op Nicholas Bellinger (2): iscsi-target: Make TASK_REASSIGN use proper se_cmd->cmd_kref target: Avoid early CMD_T_PRE_EXECUTE failures during ABORT_TASK Oliver Neukum (1): usbvision fix overflow of interfaces array Pavel Tatashin (1): x86/pti/efi: broken conversion from efi to kernel page table Pete Zaitcev (1): USB: fix usbmon BUG trigger Sergei Shtylyov (2): sh_eth: fix TSU resource handling sh_eth: fix SH7757 GEther initialization Shuah Khan (1): usbip: remove kernel addresses from usb device and urb debug msgs Stefan Agner (1): usb: misc: usb3503: make sure reset is low for at least 100us Suren Baghdasaryan (1): dm bufio: fix shrinker scans when (nr_to_scan < retain_target) Takashi Iwai (7): ALSA: pcm: Remove incorrect snd_BUG_ON() usages ALSA: pcm: Add missing error checks in OSS emulation plugin builder ALSA: pcm: Abort properly at pending signal in OSS read/write loops ALSA: pcm: Allow aborting mutex lock at OSS read/write loops ALSA: aloop: Release cable upon open error path ALSA: aloop: Fix inconsistent format due to incomplete rule ALSA: aloop: Fix racy hw constraints adjustment Thomas Gleixner (5): x86/cpufeatures: Make CPU bugs sticky x86/cpufeatures: Add X86_BUG_CPU_INSECURE x86/pti: Rename BUG_CPU_INSECURE to BUG_CPU_MELTDOWN sysfs/cpu: Add vulnerability folder x86/cpu: Implement CPU vulnerabilites sysfs functions Ulf Hansson (1): usb: musb: ux500: Fix NULL pointer dereference at system PM Vikas C Sajjan (2): x86/acpi: Handle SCI interrupts above legacy space gracefully x86/acpi: Reduce code duplication in mp_override_legacy_irq() Viktor Slavkovic (1): staging: android: ashmem: fix a race condition in ASHMEM_SET_SIZE ioctl Wanpeng Li (1): KVM: Fix stack-out-of-bounds read in write_mmio Wolfgang Grandegger (1): can: gs_usb: fix return value of the "set_bittiming" callback hayeswang (3): r8152: fix the wake event r8152: use test_and_clear_bit r8152: adjust ALDPS function Documentation/ABI/testing/sysfs-devices-system-cpu | 16 + Documentation/kernel-parameters.txt | 21 +- Documentation/x86/pti.txt | 186 ++++++++ Makefile | 2 +- arch/arm/kvm/mmio.c | 6 +- arch/mips/kernel/process.c | 12 + arch/mips/kernel/ptrace.c | 147 ++++-- arch/x86/Kconfig | 1 + arch/x86/include/asm/alternative.h | 4 +- arch/x86/include/asm/cpufeature.h | 5 + arch/x86/include/asm/kaiser.h | 10 + arch/x86/include/asm/processor.h | 4 +- arch/x86/include/asm/pvclock.h | 2 +- arch/x86/kernel/acpi/boot.c | 61 ++- arch/x86/kernel/alternative.c | 7 +- arch/x86/kernel/cpu/Makefile | 4 +- arch/x86/kernel/cpu/bugs.c | 55 ++- arch/x86/kernel/cpu/bugs_64.c | 33 -- arch/x86/kernel/cpu/common.c | 33 +- arch/x86/kernel/cpu/microcode/intel.c | 14 +- arch/x86/kvm/svm.c | 19 + arch/x86/kvm/vmx.c | 26 +- arch/x86/kvm/x86.c | 8 +- arch/x86/mm/kaiser.c | 2 + arch/x86/mm/pat.c | 5 +- arch/x86/realmode/init.c | 4 +- arch/x86/realmode/rm/trampoline_64.S | 3 +- crypto/algapi.c | 12 + drivers/base/Kconfig | 3 + drivers/base/cpu.c | 48 ++ drivers/block/rbd.c | 2 +- drivers/char/hw_random/core.c | 6 +- drivers/char/mem.c | 6 +- drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 2 + drivers/infiniband/ulp/srpt/ib_srpt.c | 3 +- drivers/iommu/arm-smmu-v3.c | 8 +- drivers/media/usb/usbvision/usbvision-video.c | 7 + drivers/net/can/usb/gs_usb.c | 2 +- drivers/net/ethernet/intel/e1000e/ich8lan.c | 11 +- drivers/net/ethernet/renesas/sh_eth.c | 29 +- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 6 + drivers/net/usb/cx82310_eth.c | 7 +- drivers/net/usb/lan78xx.c | 9 +- drivers/net/usb/smsc75xx.c | 8 +- drivers/net/usb/sr9700.c | 9 +- drivers/target/iscsi/iscsi_target.c | 20 +- drivers/target/target_core_tmr.c | 9 + drivers/target/target_core_transport.c | 2 + drivers/tty/sysrq.c | 6 + drivers/usb/host/xhci-mem.c | 3 +- drivers/usb/misc/usb3503.c | 2 + drivers/usb/mon/mon_bin.c | 8 +- drivers/usb/musb/ux500.c | 7 +- drivers/usb/serial/cp210x.c | 2 + drivers/usb/storage/unusual_uas.h | 7 + drivers/usb/usbip/usbip_common.c | 17 +- fs/locks.c | 16 +- include/linux/bpf.h | 2 + include/linux/cpu.h | 7 + include/linux/filter.h | 3 + include/linux/phy.h | 11 + include/linux/sh_eth.h | 1 - include/target/target_core_base.h | 1 + include/trace/events/kvm.h | 7 +- kernel/bpf/arraymap.c | 37 +- kernel/bpf/core.c | 71 +++ kernel/bpf/syscall.c | 54 --- kernel/bpf/verifier.c | 217 ++++++--- kernel/futex.c | 8 +- mm/compaction.c | 50 ++- mm/page-writeback.c | 11 +- mm/zswap.c | 24 +- net/8021q/vlan.c | 7 +- net/core/sock_diag.c | 2 +- net/ipv6/ip6_output.c | 4 +- net/ipv6/ip6_tunnel.c | 9 +- net/mac80211/debugfs.c | 7 +- net/rds/rdma.c | 4 + sound/core/oss/pcm_oss.c | 41 +- sound/core/oss/pcm_plugin.c | 14 +- sound/core/pcm_lib.c | 4 +- sound/drivers/aloop.c | 98 ++-- tools/testing/selftests/vm/Makefile | 4 - tools/testing/selftests/x86/Makefile | 3 +- tools/testing/selftests/x86/test_vsyscall.c | 500 +++++++++++++++++++++ 85 files changed, 1711 insertions(+), 457 deletions(-) create mode 100644 Documentation/x86/pti.txt delete mode 100644 arch/x86/kernel/cpu/bugs_64.c create mode 100644 tools/testing/selftests/x86/test_vsyscall.c BUG= chromium:802351 TEST=Build and test on various affected systems Change-Id: I2ba9055d500ac24e87d375aaa3d1ec6a10ebb38b Signed-off-by: Guenter Roeck <groeck@chromium.org>
,
Jan 20 2018
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Jan 19 2018