[PATCH 4.11 000/114] 4.11.2-stable review

From: Greg Kroah-Hartman
Date: Thu May 18 2017 - 08:12:24 EST


This is the start of the stable review cycle for the 4.11.2 release.
There are 114 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:35:20 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.11.2-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.11.y
and the diffstat can be found below.

thanks,

greg k-h

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

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

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

Kees Cook <keescook@xxxxxxxxxxxx>
pstore: Use dynamic spinlock initializer

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()

Christoph Hellwig <hch@xxxxxx>
libata: reject passthrough WRITE SAME requests

Tejun Heo <tj@xxxxxxxxxx>
cgroup: fix spurious warnings on cgroup_is_dead() from cgroup_sk_alloc()

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

Timur Tabi <timur@xxxxxxxxxxxxxx>
tty: pl011: use "qdf2400_e44" as the earlycon name for QDF2400 E44

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: Add missing checks for dma_map_single failure

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

Eric Biggers <ebiggers@xxxxxxxxxx>
fscrypt: avoid collisions when presenting long encrypted filenames

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

Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
initramfs: avoid "label at end of compound statement" error

Stafford Horne <shorne@xxxxxxxxx>
initramfs: Always do fput() and load modules after rootfs populate

Jan Kara <jack@xxxxxxx>
f2fs: Make flush bios explicitely sync

Jaegeuk Kim <jaegeuk@xxxxxxxxxx>
f2fs: check entire encrypted bigname when finding a dentry

Sheng Yong <shengyong1@xxxxxxxxxx>
f2fs: fix multiple f2fs_add_link() having same name for inline dentry

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

Jaegeuk Kim <jaegeuk@xxxxxxxxxx>
Revert "f2fs: put allocate_segment after refresh_sit_entry"

Jaegeuk Kim <jaegeuk@xxxxxxxxxx>
f2fs: fix wrong max cost initialization

Ross Zwisler <ross.zwisler@xxxxxxxxxxxxxxx>
dax: fix PMD data corruption when fault races with write

Jan Kara <jack@xxxxxxx>
ext4: return to starting transaction in ext4_dax_huge_fault()

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>
Do not return number of bytes written for ioctl CIFS_IOC_COPYCHUNK_FILE

Sachin Prabhu <sprabhu@xxxxxxxxxx>
Fix match_prepath()

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

Johannes Weiner <hannes@xxxxxxxxxxx>
mm: vmscan: fix IO/refault regression in cache workingset transition

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

Andrey Ryabinin <aryabinin@xxxxxxxxxxxxx>
fs: fix data invalidation in the cleancache during direct IO

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

Parav Pandit <parav@xxxxxxxxxxxx>
IB/core: Fix kernel crash during fail to initialize device

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

Paolo Bonzini <pbonzini@xxxxxxxxxx>
Revert "KVM: Support vCPU-based gfn->hva cache"

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

Sean Young <sean@xxxxxxxx>
staging: sir: fill in missing fields and fix probe

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/lapic.c | 22 ++--
arch/x86/kvm/x86.c | 53 +++++----
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/ata/libata-scsi.c | 8 ++
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/device.c | 33 ++++--
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/media/lirc/lirc_sir.c | 20 ++--
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/amba-pl011.c | 31 ++++--
drivers/tty/serial/omap-serial.c | 9 +-
drivers/tty/serial/samsung.c | 40 +++++--
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 | 7 +-
fs/cifs/misc.c | 2 +-
fs/cifs/smb2misc.c | 5 +-
fs/cifs/smb2ops.c | 1 +
fs/cifs/smb2pdu.c | 14 ++-
fs/crypto/fname.c | 2 +-
fs/crypto/policy.c | 87 +++++++++++----
fs/dax.c | 59 +++-------
fs/ext4/file.c | 21 +++-
fs/ext4/inode.c | 5 +
fs/ext4/namei.c | 4 +-
fs/f2fs/data.c | 2 +-
fs/f2fs/dir.c | 50 +++++----
fs/f2fs/f2fs.h | 3 +-
fs/f2fs/gc.c | 2 +-
fs/f2fs/hash.c | 7 +-
fs/f2fs/inline.c | 4 +-
fs/f2fs/inode.c | 2 +-
fs/f2fs/namei.c | 20 ++--
fs/f2fs/segment.c | 11 +-
fs/f2fs/super.c | 2 +-
fs/iomap.c | 18 ++-
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/pstore/ram_core.c | 2 +-
fs/xattr.c | 2 +-
include/linux/dax.h | 1 -
include/linux/kvm_host.h | 16 +--
include/linux/memcontrol.h | 64 ++++++++++-
include/linux/mmzone.h | 2 +
init/initramfs.c | 16 ++-
kernel/cgroup/cgroup.c | 22 +++-
kernel/padata.c | 2 +-
mm/filemap.c | 26 ++---
mm/memcontrol.c | 24 ++--
mm/page_alloc.c | 3 +-
mm/truncate.c | 20 +++-
mm/vmscan.c | 94 ++++++++++++----
mm/workingset.c | 7 +-
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 ++++++++
virt/kvm/kvm_main.c | 34 +++---
132 files changed, 1430 insertions(+), 778 deletions(-)