[PATCH 4.12 000/106] 4.12.6-stable review

From: Greg Kroah-Hartman
Date: Wed Aug 09 2017 - 12:53:39 EST


This is the start of the stable review cycle for the 4.12.6 release.
There are 106 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 Fri Aug 11 16:44:21 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.12.6-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.12.y
and the diffstat can be found below.

thanks,

greg k-h

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

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

Sinclair Yeh <syeh@xxxxxxxxxx>
drm/vmwgfx: Fix cursor hotspot issue with Wayland on Fedora

David S. Miller <davem@xxxxxxxxxxxxx>
sparc64: Fix exception handling in UltraSPARC-III memcpy.

Nitin Gupta <nitin.m.gupta@xxxxxxxxxx>
sparc64: Register hugepages during arch init

Rob Gardner <rob.gardner@xxxxxxxxxx>
sparc64: Prevent perf from running during super critical sections

Jane Chu <jane.chu@xxxxxxxxxx>
sparc64: Measure receiver forward progress to avoid send mondo timeout

Michael S. Tsirkin <mst@xxxxxxxxxx>
virtio_net: fix truesize for mergeable buffers

Ido Schimmel <idosch@xxxxxxxxxxxx>
ipv4: fib: Fix NULL pointer deref during fib_sync_down_dev()

Florian Fainelli <f.fainelli@xxxxxxxxx>
net: phy: Correctly process PHY_HALTED in phy_stop_machine()

Paolo Abeni <pabeni@xxxxxxxxxx>
udp6: fix socket leak on early demux

Paul Blakey <paulb@xxxxxxxxxxxx>
net/mlx5: Fix mlx5_add_flow_rules call with correct num of dests

Eugenia Emantayev <eugenia@xxxxxxxxxxxx>
net/mlx5e: Schedule overflow check work to mlx5e workqueue

Eugenia Emantayev <eugenia@xxxxxxxxxxxx>
net/mlx5e: Fix wrong delay calculation for overflow check scheduling

Eugenia Emantayev <eugenia@xxxxxxxxxxxx>
net/mlx5e: Add missing support for PTP_CLK_REQ_PPS request

Eugenia Emantayev <eugenia@xxxxxxxxxxxx>
net/mlx5e: Change 1PPS out scheme

Eugenia Emantayev <eugenia@xxxxxxxxxxxx>
net/mlx5e: Fix broken disable 1PPS flow

Eugenia Emantayev <eugenia@xxxxxxxxxxxx>
net/mlx5e: Add field select to MTPPS register

Eugenia Emantayev <eugenia@xxxxxxxxxxxx>
net/mlx5: Fix mlx5_ifc_mtpps_reg_bits structure size

Ilan Tayari <ilant@xxxxxxxxxxxx>
net/mlx5e: Fix outer_header_zero() check size

Alex Vesker <valex@xxxxxxxxxxxx>
net/mlx5e: IPoIB, Modify add/remove underlay QPN flows

Xin Long <lucien.xin@xxxxxxxxx>
sctp: fix the check for _sctp_walk_params and _sctp_walk_errors

Alexander Potapenko <glider@xxxxxxxxxx>
sctp: don't dereference ptr before leaving _sctp_walk_{params, errors}()

Moshe Shemesh <moshe@xxxxxxxxxxxx>
net/mlx5: Fix command bad flow on command entry allocation failure

Moshe Shemesh <moshe@xxxxxxxxxxxx>
net/mlx5: Fix command completion after timeout access invalid structure

Aviv Heller <avivh@xxxxxxxxxxxx>
net/mlx5: Consider tx_enabled in all modes on remap

Xin Long <lucien.xin@xxxxxxxxx>
dccp: fix a memleak for dccp_feat_init err process

Xin Long <lucien.xin@xxxxxxxxx>
dccp: fix a memleak that dccp_ipv4 doesn't put reqsk properly

Xin Long <lucien.xin@xxxxxxxxx>
dccp: fix a memleak that dccp_ipv6 doesn't put reqsk properly

WANG Cong <xiyou.wangcong@xxxxxxxxx>
bonding: commit link status change after propose

Marc Gonzalez <marc_gonzalez@xxxxxxxxxxxxxxxx>
net: ethernet: nb8800: Handle all 4 RGMII modes identically

Stefano Brivio <sbrivio@xxxxxxxxxx>
ipv6: Don't increase IPSTATS_MIB_FRAGFAILS twice in ip6_fragment()

WANG Cong <xiyou.wangcong@xxxxxxxxx>
packet: fix use-after-free in prb_retire_rx_blk_timer_expired()

Liping Zhang <zlpnobody@xxxxxxxxx>
openvswitch: fix potential out of bound access in parse_ct

Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
mcs7780: Fix initialization when CONFIG_VMAP_STACK is enabled

Kosuke Tatsukawa <tatsu@xxxxxxxxxxxxx>
net: bonding: Fix transmit load balancing in balance-alb mode

WANG Cong <xiyou.wangcong@xxxxxxxxx>
rtnetlink: allocate more memory for dev_set_mac_address()

Mahesh Bandewar <maheshb@xxxxxxxxxx>
ipv4: initialize fib_trie prior to register_netdev_notifier call.

Florian Fainelli <f.fainelli@xxxxxxxxx>
net: dsa: b53: Add missing ARL entries for BCM53125

Sabrina Dubroca <sd@xxxxxxxxxxxxxxx>
ipv6: avoid overflow of offset in ip6_find_1stfragopt

David Ahern <dsahern@xxxxxxxxx>
Revert "rtnetlink: Do not generate notifications for CHANGEADDR event"

Martin HundebÃll <mnhu@xxxxxxxxx>
net: dsa: mv88e6xxx: Enable CMODE config support for 6390X

David S. Miller <davem@xxxxxxxxxxxxx>
net: Zero terminate ifr_name in dev_ifname().

Levin, Alexander <alexander.levin@xxxxxxxxxxx>
wireless: wext: terminate ifr name coming from userspace

Alexander Potapenko <glider@xxxxxxxxxx>
ipv4: ipv6: initialize treq->txhash in cookie_v[46]_check()

Neal Cardwell <ncardwell@xxxxxxxxxx>
tcp_bbr: init pacing rate on first RTT sample

Neal Cardwell <ncardwell@xxxxxxxxxx>
tcp_bbr: remove sk_pacing_rate=0 transient during init

Neal Cardwell <ncardwell@xxxxxxxxxx>
tcp_bbr: introduce bbr_init_pacing_rate_from_rtt() helper

Neal Cardwell <ncardwell@xxxxxxxxxx>
tcp_bbr: introduce bbr_bw_to_pacing_rate() helper

Neal Cardwell <ncardwell@xxxxxxxxxx>
tcp_bbr: cut pacing rate only if filled pipe

Xin Long <lucien.xin@xxxxxxxxx>
sctp: fix an array overflow when all ext chunks are set

Steven Toth <stoth@xxxxxxxxxxxxxx>
saa7164: fix double fetch PCIe access condition

Christoph Hellwig <hch@xxxxxx>
block: disable runtime-pm for blk-mq

Christoph Hellwig <hch@xxxxxx>
blk-mq: Create hctx for each present CPU

Christoph Hellwig <hch@xxxxxx>
blk-mq: Include all present CPUs in the default queue mapping

Omar Sandoval <osandov@xxxxxx>
Btrfs: fix early ENOSPC due to delalloc

Jan Kara <jack@xxxxxxx>
ext4: Don't clear SGID when inheriting ACLs

Ernesto A. FernÃndez <ernesto.mnd.fernandez@xxxxxxxxx>
ext4: preserve i_mode if __ext4_set_acl() fails

Xiubo Li <lixiubo@xxxxxxxxxxxxxxxxxxxx>
tcmu: Fix possbile memory leak / OOPs when recalculating cmd base size

Xiubo Li <lixiubo@xxxxxxxxxxxxxxxxxxxx>
tcmu: Fix flushing cmd entry dcache page

Anton Blanchard <anton@xxxxxxxxx>
ir-spi: Fix issues with lirc API

Prabhakar Lad <prabhakar.csengg@xxxxxxxxx>
media: platform: davinci: return -EINVAL for VPFE_CMD_S_CCDC_RAW_PARAMS ioctl

Sean Young <sean@xxxxxxxx>
media: lirc: LIRC_GET_REC_RESOLUTION should return microseconds

Hans Verkuil <hverkuil@xxxxxxxxx>
media: pulse8-cec: persistent_config should be off by default

Marc Gonzalez <marc_gonzalez@xxxxxxxxxxxxxxxx>
ARM: dts: tango4: Request RGMII RX and TX clock delays

Gregory CLEMENT <gregory.clement@xxxxxxxxxxxxxxxxxx>
ARM: dts: armada-38x: Fix irq type for pca955

Gregory CLEMENT <gregory.clement@xxxxxxxxxxxxxxxxxx>
ARM: mvebu: use __pa_symbol in the mv98dx3236 platform SMP code

Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx>
clk: sunxi-ng: sun5i: Add clk_set_rate_parent to the CPU clock

Harvey Hunt <harvey.hunt@xxxxxxxxxx>
MIPS: ralink: Fix build error due to missing header

Jerry Lee <jerrylee@xxxxxxxx>
ext4: fix overflow caused by missing cast in ext4_resize_fs()

Jan Kara <jack@xxxxxxx>
ext4: fix SEEK_HOLE/SEEK_DATA for blocksize < pagesize

Bartosz Golaszewski <brgl@xxxxxxxx>
gpiolib: skip unwanted events, don't convert them to opposite edge

Gregory CLEMENT <gregory.clement@xxxxxxxxxxxxxxxxxx>
ARM64: dts: marvell: armada-37xx: Fix the number of GPIO on south bridge

Suravee Suthikulpanit <suravee.suthikulpanit@xxxxxxx>
iommu/amd: Enable ga_log_intr when enabling guest_mode

Nicholas Piggin <npiggin@xxxxxxxxx>
powerpc/64: Fix __check_irq_replay missing decrementer interrupt

Gustavo Romero <gromero@xxxxxxxxxxxxxxxxxx>
powerpc/tm: Fix saving of TM SPRs in core dump

Matija Glavinic Pecotic <matija.glavinic-pecotic.ext@xxxxxxxxx>
timers: Fix overflow in get_next_timer_interrupt

Wanpeng Li <wanpeng.li@xxxxxxxxxxx>
KVM: async_pf: make rcu irq exit if not triggered from idle task

Suzuki K Poulose <Suzuki.Poulose@xxxxxxx>
KVM: arm/arm64: Handle hva aging while destroying the vm

Banajit Goswami <bgoswami@xxxxxxxxxxxxxx>
ASoC: do not close shared backend dailink

Johan Hovold <johan@xxxxxxxxxx>
ASoC: ux500: Restore platform DAI assignments

Johan Hovold <johan@xxxxxxxxxx>
ASoC: fix pcm-creation regression

Jean Delvare <jdelvare@xxxxxxx>
drm/amdgpu: Fix undue fallthroughs in golden registers initialization

Alex Deucher <alexander.deucher@xxxxxxx>
drm/amdgpu: fix header on gfx9 clear state

Sergei A. Trusov <sergei.a.trusov@xxxxx>
ALSA: hda - Fix speaker output from VAIO VPCL14M1R

Jan Kara <jack@xxxxxxx>
ocfs2: don't clear SGID when inheriting ACLs

Dima Zavin <dmitriyz@xxxxxxxxx>
cpuset: fix a deadlock due to incomplete patching of cpusets_enabled()

Mike Rapoport <rppt@xxxxxxxxxxxxxxxxxx>
userfaultfd: non-cooperative: flush event_wqh at release time

Mike Rapoport <rppt@xxxxxxxxxxxxxxxxxx>
userfaultfd_zeropage: return -ENOSPC in case mm has gone

Mike Rapoport <rppt@xxxxxxxxxxxxxxxxxx>
userfaultfd: non-cooperative: notify about unmap of destination during mremap

Daniel Jordan <daniel.m.jordan@xxxxxxxxxx>
mm/hugetlb.c: __get_user_pages ignores certain follow_hugetlb_page errors

Mel Gorman <mgorman@xxxxxxx>
mm, mprotect: flush TLB if potentially racing with a parallel reclaim leaving stale TLB entries

David Woods <dwoods@xxxxxxxxxxxx>
mmc: dw_mmc: Use device_property_read instead of of_property_read

David Woods <dwoods@xxxxxxxxxxxx>
mmc: core: Use device_property_read instead of of_property_read

Ludovic Desroches <ludovic.desroches@xxxxxxxxxxxxx>
mmc: sdhci-of-at91: force card detect value for non removable devices

Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx>
NFSv4: Fix EXCHANGE_ID corrupt verifier issue

Arend Van Spriel <arend.vanspriel@xxxxxxxxxxxx>
brcmfmac: fix memleak due to calling brcmf_sdiod_sgtable_alloc() twice

Emmanuel Grumbach <emmanuel.grumbach@xxxxxxxxx>
iwlwifi: dvm: prevent an out of bounds access

Tejun Heo <tj@xxxxxxxxxx>
workqueue: restore WQ_UNBOUND/max_active==1 to be ordered

Dan Carpenter <dan.carpenter@xxxxxxxxxx>
libata: array underflow in ata_find_dev()

Tejun Heo <tj@xxxxxxxxxx>
cgroup: fix error return value from cgroup_subtree_control()

Tejun Heo <tj@xxxxxxxxxx>
cgroup: create dfl_root files on subsys registration

Tejun Heo <tj@xxxxxxxxxx>
cgroup: don't call migration methods if there are no tasks to migrate

Hans de Goede <hdegoede@xxxxxxxxxx>
ACPI / LPSS: Only call pwm_add_table() for the first PWM controller

Johannes Thumshirn <jthumshirn@xxxxxxx>
scsi: sg: fix SG_DXFER_FROM_DEV transfers

Arnd Bergmann <arnd@xxxxxxxx>
scsi: lpfc: fix linking against modular NVMe support

John David Anglin <dave.anglin@xxxxxxxx>
parisc: Handle vma's whose context is not current in flush_cache_range

Helge Deller <deller@xxxxxx>
parisc: Increase thread and stack size to 32kb


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

Diffstat:

Makefile | 4 +-
arch/arm/boot/dts/armada-388-gp.dts | 4 +-
arch/arm/boot/dts/tango4-vantage-1172.dts | 2 +-
arch/arm/mach-mvebu/platsmp.c | 2 +-
arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 2 +-
arch/mips/include/asm/mach-ralink/ralink_regs.h | 2 +
arch/parisc/include/asm/thread_info.h | 2 +-
arch/parisc/kernel/cache.c | 5 +-
arch/parisc/kernel/irq.c | 2 +-
arch/powerpc/kernel/irq.c | 15 +-
arch/powerpc/kernel/ptrace.c | 13 +-
arch/sparc/include/asm/mmu_context_64.h | 14 +-
arch/sparc/include/asm/trap_block.h | 1 +
arch/sparc/kernel/smp_64.c | 185 ++++++++++-------
arch/sparc/kernel/sun4v_ivec.S | 15 ++
arch/sparc/kernel/traps_64.c | 1 +
arch/sparc/kernel/tsb.S | 12 ++
arch/sparc/lib/U3memcpy.S | 4 +-
arch/sparc/mm/init_64.c | 25 ++-
arch/sparc/power/hibernate.c | 3 +-
arch/x86/kernel/kvm.c | 6 +-
block/blk-core.c | 4 +
block/blk-mq-cpumap.c | 5 +-
block/blk-mq.c | 120 +----------
block/blk-mq.h | 5 -
drivers/acpi/acpi_lpss.c | 14 ++
drivers/ata/libata-scsi.c | 6 +-
drivers/clk/sunxi-ng/ccu-sun5i.c | 2 +-
drivers/gpio/gpiolib.c | 9 +-
drivers/gpu/drm/amd/amdgpu/clearstate_gfx9.h | 41 ++--
drivers/gpu/drm/amd/amdgpu/si.c | 2 +
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 9 +
drivers/iommu/amd_iommu.c | 1 +
drivers/media/pci/saa7164/saa7164-bus.c | 13 +-
drivers/media/platform/davinci/vpfe_capture.c | 22 +-
drivers/media/rc/ir-lirc-codec.c | 2 +-
drivers/media/rc/ir-spi.c | 9 +-
drivers/media/usb/pulse8-cec/pulse8-cec.c | 2 +-
drivers/mmc/core/host.c | 72 ++++---
drivers/mmc/host/dw_mmc.c | 24 +--
drivers/mmc/host/sdhci-of-at91.c | 35 +++-
drivers/net/bonding/bond_main.c | 4 +-
drivers/net/dsa/b53/b53_common.c | 1 +
drivers/net/dsa/mv88e6xxx/chip.c | 1 +
drivers/net/ethernet/aurora/nb8800.c | 9 +-
drivers/net/ethernet/mellanox/mlx5/core/cmd.c | 25 ++-
drivers/net/ethernet/mellanox/mlx5/core/en.h | 10 +-
drivers/net/ethernet/mellanox/mlx5/core/en_clock.c | 222 +++++++++++++++------
.../ethernet/mellanox/mlx5/core/en_fs_ethtool.c | 4 +-
drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 1 -
drivers/net/ethernet/mellanox/mlx5/core/eq.c | 2 +-
drivers/net/ethernet/mellanox/mlx5/core/ipoib.c | 16 +-
drivers/net/ethernet/mellanox/mlx5/core/lag.c | 25 +--
.../net/ethernet/mellanox/mlx5/core/mlx5_core.h | 5 +
drivers/net/irda/mcs7780.c | 16 +-
drivers/net/phy/phy.c | 3 +
drivers/net/virtio_net.c | 5 +-
.../wireless/broadcom/brcm80211/brcmfmac/sdio.c | 5 -
drivers/net/wireless/intel/iwlwifi/dvm/tx.c | 2 +-
drivers/scsi/Kconfig | 2 +
drivers/scsi/sg.c | 5 +-
drivers/target/target_core_user.c | 16 +-
fs/btrfs/extent-tree.c | 4 -
fs/ext4/acl.c | 25 ++-
fs/ext4/file.c | 3 +
fs/ext4/resize.c | 3 +-
fs/nfs/nfs4proc.c | 11 +-
fs/nfs/nfs4xdr.c | 2 +-
fs/ocfs2/acl.c | 24 +--
fs/userfaultfd.c | 5 +
include/linux/cpuhotplug.h | 1 -
include/linux/cpuset.h | 19 +-
include/linux/mlx5/mlx5_ifc.h | 10 +-
include/linux/mm_types.h | 4 +
include/linux/nfs_xdr.h | 2 +-
include/net/sctp/sctp.h | 4 +
include/net/udp.h | 1 +
include/sound/soc.h | 6 -
kernel/cgroup/cgroup-internal.h | 3 +
kernel/cgroup/cgroup.c | 66 +++---
kernel/cgroup/cpuset.c | 1 +
kernel/time/timer.c | 2 +-
kernel/workqueue.c | 10 +
mm/hugetlb.c | 9 +-
mm/internal.h | 5 +-
mm/madvise.c | 1 +
mm/memory.c | 1 +
mm/mprotect.c | 1 +
mm/mremap.c | 8 +-
mm/rmap.c | 36 ++++
net/core/dev_ioctl.c | 3 +
net/core/rtnetlink.c | 4 +-
net/dccp/feat.c | 7 +-
net/dccp/ipv4.c | 1 +
net/dccp/ipv6.c | 1 +
net/ipv4/fib_frontend.c | 9 +-
net/ipv4/fib_semantics.c | 2 +-
net/ipv4/syncookies.c | 1 +
net/ipv4/tcp_bbr.c | 49 ++++-
net/ipv4/udp.c | 3 +-
net/ipv6/ip6_output.c | 4 -
net/ipv6/output_core.c | 8 +-
net/ipv6/syncookies.c | 1 +
net/ipv6/udp.c | 27 ++-
net/openvswitch/conntrack.c | 7 +-
net/packet/af_packet.c | 2 +-
net/sctp/sm_make_chunk.c | 4 +-
sound/pci/hda/patch_realtek.c | 1 +
sound/soc/soc-core.c | 25 ---
sound/soc/soc-pcm.c | 36 ++--
sound/soc/ux500/mop500.c | 4 +
virt/kvm/arm/mmu.c | 4 +
112 files changed, 942 insertions(+), 623 deletions(-)