[PATCH 4.10 00/93] 4.10.17-stable review

From: Greg Kroah-Hartman
Date: Thu May 18 2017 - 07:44:37 EST


This is the start of the stable review cycle for the 4.10.17 release.
There are 93 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.

Responses should be made by Sat May 20 10:47:19 UTC 2017.
Anything received after that time might be too late.

The whole patch series can be found in one patch at:
kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.10.17-rc1.gz
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.10.y
and the diffstat can be found below.

thanks,

greg k-h

-------------
Pseudo-Shortlog of commits:

Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Linux 4.10.17-rc1

Kees Cook <keescook@xxxxxxxxxxxx>
pstore: Shut down worker when unregistering

Ankit Kumar <ankit@xxxxxxxxxxxxxxxxxx>
pstore: Fix flags to enable dumps on powerpc

Dan Williams <dan.j.williams@xxxxxxxxx>
libnvdimm, pfn: fix 'npfns' vs section alignment

Dan Williams <dan.j.williams@xxxxxxxxx>
libnvdimm: fix nvdimm_bus_lock() vs device_lock() ordering

Toshi Kani <toshi.kani@xxxxxxx>
libnvdimm, pmem: fix a NULL pointer BUG in nd_pmem_notify

Dan Williams <dan.j.williams@xxxxxxxxx>
libnvdimm, region: fix flush hint detection crash

Joeseph Chang <joechang@xxxxxxxxxxxxxx>
ipmi: Fix kernel panic at ipmi_ssif_thread()

Johan Hovold <johan@xxxxxxxxxx>
Bluetooth: hci_intel: add missing tty-device sanity check

Johan Hovold <johan@xxxxxxxxxx>
Bluetooth: hci_bcm: add missing tty-device sanity check

Szymon Janc <szymon.janc@xxxxxxxxxxx>
Bluetooth: Fix user channel for 32bit userspace on 64bit kernel

Wang YanQing <udknight@xxxxxxxxx>
tty: pty: Fix ldisc flush after userspace become aware of the data already

Johan Hovold <johan@xxxxxxxxxx>
serial: omap: suspend device on probe errors

Johan Hovold <johan@xxxxxxxxxx>
serial: omap: fix runtime-pm handling on unbind

Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>
serial: samsung: Use right device for DMA-mapping calls

Eric Biggers <ebiggers@xxxxxxxxxx>
fscrypt: fix context consistency check when key(s) unavailable

Jaegeuk Kim <jaegeuk@xxxxxxxxxx>
f2fs: fix fs corruption due to zero inode page

Jan Kara <jack@xxxxxxx>
mm: fix data corruption due to stale mmap reads

Ross Zwisler <ross.zwisler@xxxxxxxxxxxxxxx>
dax: prevent invalidation of mapped DAX entries

Dan Williams <dan.j.williams@xxxxxxxxx>
device-dax: fix sysfs attribute deadlock

Dan Williams <dan.j.williams@xxxxxxxxx>
device-dax: fix cdev leak

NeilBrown <neilb@xxxxxxxx>
md/raid1: avoid reusing a resync bio after error handling.

Jason A. Donenfeld <Jason@xxxxxxxxx>
padata: free correct variable

Amir Goldstein <amir73il@xxxxxxxxx>
ovl: do not set overlay.opaque on non-dir create

BjÃrn Jacke <bj@xxxxxxxxx>
CIFS: add misssing SFM mapping for doublequote

David Disseldorp <ddiss@xxxxxxx>
cifs: fix CIFS_IOC_GET_MNT_INFO oops

Rabin Vincent <rabinv@xxxxxxxx>
CIFS: fix oplock break deadlocks

David Disseldorp <ddiss@xxxxxxx>
cifs: fix CIFS_ENUMERATE_SNAPSHOTS oops

David Disseldorp <ddiss@xxxxxxx>
cifs: fix leak in FSCTL_ENUM_SNAPS response handling

BjÃrn Jacke <bj@xxxxxxxxx>
CIFS: fix mapping of SFM_SPACE and SFM_PERIOD

Steve French <smfrench@xxxxxxxxx>
SMB3: Work around mount failure when using SMB3 dialect to Macs

Steve French <smfrench@xxxxxxxxx>
Set unicode flag on cifs echo request to avoid Mac error

Sachin Prabhu <sprabhu@xxxxxxxxxx>
Fix match_prepath()

Vlastimil Babka <vbabka@xxxxxxx>
mm: prevent potential recursive reclaim due to clearing PF_MEMALLOC

Andrey Ryabinin <aryabinin@xxxxxxxxxxxxx>
fs/block_dev: always invalidate cleancache in invalidate_bdev()

Luis Henriques <lhenriques@xxxxxxxx>
ceph: fix memory leak in __ceph_setxattr()

Michal Hocko <mhocko@xxxxxxxx>
fs/xattr.c: zero out memory copied to userspace in getxattr

Martin Brandenburg <martin@xxxxxxxxxxxx>
orangefs: do not check possibly stale size on truncate

Martin Brandenburg <martin@xxxxxxxxxxxx>
orangefs: do not set getattr_time on orangefs_lookup

Martin Brandenburg <martin@xxxxxxxxxxxx>
orangefs: clean up oversize xattr validation

Martin Brandenburg <martin@xxxxxxxxxxxx>
orangefs: fix bounds check for listxattr

Eric Biggers <ebiggers@xxxxxxxxxx>
ext4: evict inline data when writing to memory map

Jan Kara <jack@xxxxxxx>
jbd2: fix dbench4 performance regression for 'nobarrier' mounts

Christian Borntraeger <borntraeger@xxxxxxxxxx>
perf annotate s390: Implement jump types for perf annotate

Christian Borntraeger <borntraeger@xxxxxxxxxx>
perf annotate s390: Fix perf annotate error -95 (4.10 regression)

Adrian Hunter <adrian.hunter@xxxxxxxxx>
perf auxtrace: Fix no_size logic in addr_filter__resolve_kernel_syms()

Mike Marciniszyn <mike.marciniszyn@xxxxxxxxx>
IB/hfi1: Prevent kernel QP post send hard lockups

Jack Morgenstein <jackm@xxxxxxxxxxxxxxxxxx>
IB/mlx4: Reduce SRIOV multicast cleanup warning message to debug level

Jack Morgenstein <jackm@xxxxxxxxxxxxxxxxxx>
IB/mlx4: Fix ib device initialization error flow

Shamir Rabinovitch <shamir.rabinovitch@xxxxxxxxxx>
IB/IPoIB: ibX: failed to create mcg debug file

Michael J. Ruhl <michael.j.ruhl@xxxxxxxxx>
IB/core: For multicast functions, verify that LIDs are multicast LIDs

Jack Morgenstein <jackm@xxxxxxxxxxxxxxxxxx>
IB/core: Fix sysfs registration error flow

Ding Tianhong <dingtianhong@xxxxxxxxxx>
iov_iter: don't revert iov buffer if csum error

Alex Williamson <alex.williamson@xxxxxxxxxx>
vfio/type1: Remove locked page accounting workqueue

Dennis Yang <dennisyang@xxxxxxxx>
dm thin: fix a memory leak when passing discard bio down

Bart Van Assche <bart.vanassche@xxxxxxxxxxx>
dm rq: check blk_mq_register_dev() return value in dm_mq_init_request_queue()

Somasundaram Krishnasamy <somasundaram.krishnasamy@xxxxxxxxxx>
dm era: save spacemap metadata root after the pre-commit

Ondrej Kozina <okozina@xxxxxxxxxx>
dm crypt: rewrite (wipe) key in crypto layer using random data

Gary R Hook <gary.hook@xxxxxxx>
crypto: ccp - Change ISR handler method for a v5 CCP

Gary R Hook <gary.hook@xxxxxxx>
crypto: ccp - Change ISR handler method for a v3 CCP

Gary R Hook <ghook@xxxxxxx>
crypto: ccp - Disable interrupts early on unload

Gary R Hook <gary.hook@xxxxxxx>
crypto: ccp - Use only the relevant interrupt bits

Stephan Mueller <smueller@xxxxxxxxxx>
crypto: algif_aead - Require setkey before accept(2)

Krzysztof Kozlowski <krzk@xxxxxxxxxx>
crypto: s5p-sss - Close possible race for completed requests

Mike Snitzer <snitzer@xxxxxxxxxx>
block: fix blk_integrity_register to use template's interval_exp if not 0

Marc Zyngier <marc.zyngier@xxxxxxx>
arm64: KVM: Fix decoding of Rt/Rt2 when trapping AArch32 CP accesses

Andrew Jones <drjones@xxxxxxxxxx>
KVM: arm/arm64: fix races in kvm_psci_vcpu_on

David Hildenbrand <david@xxxxxxxxxx>
KVM: x86: fix user triggerable warning in kvm_apic_accept_events()

Vince Weaver <vincent.weaver@xxxxxxxxx>
perf/x86: Fix Broadwell-EP DRAM RAPL events

Richard Weinberger <richard@xxxxxx>
um: Fix PTRACE_POKEUSER on x86_64

Ben Hutchings <ben.hutchings@xxxxxxxxxxxxxxx>
x86, pmem: Fix cache flushing for iovec write < 8 bytes

Andy Lutomirski <luto@xxxxxxxxxx>
selftests/x86/ldt_gdt_32: Work around a glibc sigaction() bug

Ashish Kalra <ashish@xxxxxxxxxxxxxx>
x86/boot: Fix BSS corruption/overwrite bug in early x86 kernel startup

Maksim Salau <maksim.salau@xxxxxxxxx>
usb: misc: legousbtower: Fix buffers on stack

Guenter Roeck <linux@xxxxxxxxxxxx>
usb: hub: Do not attempt to autosuspend disconnected devices

Guenter Roeck <linux@xxxxxxxxxxxx>
usb: hub: Fix error loop seen after hub communication errors

Alexey Brodkin <Alexey.Brodkin@xxxxxxxxxxxx>
usb: Make sure usb/phy/of gets built-in

Romain Izard <romain.izard.pro@xxxxxxxxx>
usb: gadget: legacy gadgets are optional

Gustavo A. R. Silva <garsilva@xxxxxxxxxxxxxx>
usb: misc: add missing continue in switch

Ian Abbott <abbotti@xxxxxxxxx>
staging: comedi: jr3_pci: cope with jiffies wraparound

Ian Abbott <abbotti@xxxxxxxxx>
staging: comedi: jr3_pci: fix possible null pointer dereference

Aditya Shankar <aditya.shankar@xxxxxxxxxxxxx>
staging: wilc1000: Fix problem with wrong vif index

Johan Hovold <johan@xxxxxxxxxx>
staging: gdm724x: gdm_mux: fix use-after-free on module unload

Malcolm Priestley <tvboxspy@xxxxxxxxx>
staging: vt6656: use off stack for out buffer USB transfers.

Malcolm Priestley <tvboxspy@xxxxxxxxx>
staging: vt6656: use off stack for in buffer USB transfers.

BjÃrn Mork <bjorn@xxxxxxx>
USB: Revert "cdc-wdm: fix "out-of-sync" due to missing notifications"

Ajay Kaher <ajay.kaher@xxxxxxxxxxx>
USB: Proper handling of Race Condition when two USB class drivers try to call init_usb_class simultaneously

Marek Vasut <marex@xxxxxxx>
USB: serial: ftdi_sio: add device ID for Microsemi/Arrow SF2PLUS Dev Kit

Peter Chen <peter.chen@xxxxxxx>
usb: host: xhci: print correct command ring address

Roger Quadros <rogerq@xxxxxx>
usb: xhci: bInterval quirk for TI TUSB73x0

Nicholas Bellinger <nab@xxxxxxxxxxxxxxx>
iscsi-target: Set session_fall_back_to_erl0 when forcing reinstatement

Bart Van Assche <bart.vanassche@xxxxxxxxxxx>
target/fileio: Fix zero-length READ and WRITE handling

Nicholas Bellinger <nab@xxxxxxxxxxxxxxx>
target: Fix compare_and_write_callback handling for non GOOD status

Juergen Gross <jgross@xxxxxxxx>
xen: adjust early dom0 p2m handling to xen hypervisor behavior


-------------

Diffstat:

Makefile | 4 +-
arch/arm/kvm/psci.c | 8 +-
arch/arm64/include/asm/kvm_emulate.h | 6 +
arch/arm64/kvm/sys_regs.c | 8 +-
arch/powerpc/kernel/nvram_64.c | 1 +
arch/x86/boot/boot.h | 2 +-
arch/x86/events/intel/rapl.c | 2 +-
arch/x86/include/asm/pmem.h | 2 +-
arch/x86/kvm/x86.c | 12 ++
arch/x86/um/ptrace_64.c | 2 +-
arch/x86/xen/mmu.c | 7 +-
block/blk-integrity.c | 3 +-
crypto/algif_aead.c | 157 +++++++++++++++++++++++++--
drivers/Makefile | 1 +
drivers/bluetooth/hci_bcm.c | 5 +-
drivers/bluetooth/hci_intel.c | 13 ++-
drivers/char/ipmi/ipmi_ssif.c | 4 +-
drivers/crypto/ccp/ccp-dev-v3.c | 120 +++++++++++---------
drivers/crypto/ccp/ccp-dev-v5.c | 114 +++++++++++--------
drivers/crypto/ccp/ccp-dev.h | 8 +-
drivers/crypto/ccp/ccp-pci.c | 2 +
drivers/crypto/s5p-sss.c | 5 +-
drivers/dax/dax.c | 55 ++++------
drivers/infiniband/core/sysfs.c | 2 +-
drivers/infiniband/core/verbs.c | 8 +-
drivers/infiniband/hw/hfi1/ruc.c | 26 +++--
drivers/infiniband/hw/hfi1/verbs.c | 4 +-
drivers/infiniband/hw/hfi1/verbs.h | 6 +-
drivers/infiniband/hw/mlx4/main.c | 1 +
drivers/infiniband/hw/mlx4/mcg.c | 3 +-
drivers/infiniband/ulp/ipoib/ipoib_fs.c | 3 +
drivers/infiniband/ulp/ipoib/ipoib_main.c | 44 +++++++-
drivers/infiniband/ulp/ipoib/ipoib_vlan.c | 3 -
drivers/md/dm-crypt.c | 8 +-
drivers/md/dm-era-target.c | 8 +-
drivers/md/dm-rq.c | 6 +-
drivers/md/dm-thin.c | 1 +
drivers/md/raid1.c | 2 +
drivers/nvdimm/btt_devs.c | 2 +-
drivers/nvdimm/claim.c | 23 ++--
drivers/nvdimm/dax_devs.c | 2 +-
drivers/nvdimm/pfn_devs.c | 8 +-
drivers/nvdimm/pmem.c | 37 +++++--
drivers/nvdimm/region_devs.c | 11 +-
drivers/staging/comedi/drivers/jr3_pci.c | 13 ++-
drivers/staging/gdm724x/gdm_mux.c | 3 +-
drivers/staging/vt6656/usbpipe.c | 31 +++++-
drivers/staging/wilc1000/linux_wlan.c | 3 +-
drivers/target/iscsi/iscsi_target.c | 1 +
drivers/target/iscsi/iscsi_target_configfs.c | 1 +
drivers/target/iscsi/iscsi_target_login.c | 1 +
drivers/target/target_core_file.c | 3 +-
drivers/target/target_core_sbc.c | 5 +-
drivers/tty/pty.c | 7 +-
drivers/tty/serial/omap-serial.c | 9 +-
drivers/tty/serial/samsung.c | 9 +-
drivers/usb/class/cdc-wdm.c | 103 +-----------------
drivers/usb/core/driver.c | 21 ++++
drivers/usb/core/file.c | 9 +-
drivers/usb/core/hub.c | 11 +-
drivers/usb/gadget/Kconfig | 1 +
drivers/usb/host/xhci-mem.c | 13 ++-
drivers/usb/host/xhci-pci.c | 3 +
drivers/usb/host/xhci.h | 1 +
drivers/usb/misc/legousbtower.c | 37 +++++--
drivers/usb/misc/usbtest.c | 1 +
drivers/usb/serial/ftdi_sio.c | 1 +
drivers/usb/serial/ftdi_sio_ids.h | 6 +
drivers/vfio/vfio_iommu_type1.c | 110 +++++++++----------
fs/block_dev.c | 11 +-
fs/ceph/xattr.c | 3 +
fs/cifs/cifs_unicode.c | 6 +
fs/cifs/cifs_unicode.h | 5 +-
fs/cifs/cifsfs.c | 15 ++-
fs/cifs/cifsglob.h | 1 +
fs/cifs/cifssmb.c | 3 +
fs/cifs/connect.c | 14 +--
fs/cifs/ioctl.c | 4 +
fs/cifs/misc.c | 2 +-
fs/cifs/smb2misc.c | 5 +-
fs/cifs/smb2ops.c | 1 +
fs/cifs/smb2pdu.c | 14 ++-
fs/crypto/policy.c | 87 +++++++++++----
fs/dax.c | 31 +-----
fs/ext4/inode.c | 5 +
fs/f2fs/inode.c | 2 +-
fs/f2fs/namei.c | 20 ++--
fs/jbd2/journal.c | 2 +-
fs/orangefs/inode.c | 3 +-
fs/orangefs/namei.c | 2 -
fs/orangefs/xattr.c | 26 ++---
fs/overlayfs/dir.c | 2 +-
fs/pstore/platform.c | 10 +-
fs/xattr.c | 2 +-
include/linux/dax.h | 1 -
kernel/padata.c | 2 +-
mm/page_alloc.c | 3 +-
mm/truncate.c | 20 +++-
net/bluetooth/hci_sock.c | 3 +-
net/core/datagram.c | 13 ++-
tools/perf/arch/s390/annotate/instructions.c | 30 +++++
tools/perf/util/annotate.c | 8 ++
tools/perf/util/auxtrace.c | 4 +-
tools/testing/selftests/x86/ldt_gdt.c | 46 ++++++++
104 files changed, 1009 insertions(+), 549 deletions(-)