[PATCH 4.14 00/92] 4.14.57-stable review

From: Greg Kroah-Hartman
Date: Fri Jul 20 2018 - 08:36:06 EST


This is the start of the stable review cycle for the 4.14.57 release.
There are 92 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 Sun Jul 22 12:13:50 UTC 2018.
Anything received after that time might be too late.

The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.14.57-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.14.y
and the diffstat can be found below.

thanks,

greg k-h

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

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

Tejun Heo <tj@xxxxxxxxxx>
string: drop __must_check from strscpy() and restore strscpy() usages in cgroup

Marc Zyngier <marc.zyngier@xxxxxxx>
arm64: KVM: Add ARCH_WORKAROUND_2 discovery through ARCH_FEATURES_FUNC_ID

Marc Zyngier <marc.zyngier@xxxxxxx>
arm64: KVM: Handle guest's ARCH_WORKAROUND_2 requests

Marc Zyngier <marc.zyngier@xxxxxxx>
arm64: KVM: Add ARCH_WORKAROUND_2 support for guests

Marc Zyngier <marc.zyngier@xxxxxxx>
arm64: KVM: Add HYP per-cpu accessors

Marc Zyngier <marc.zyngier@xxxxxxx>
arm64: ssbd: Add prctl interface for per-thread mitigation

Marc Zyngier <marc.zyngier@xxxxxxx>
arm64: ssbd: Introduce thread flag to control userspace mitigation

Marc Zyngier <marc.zyngier@xxxxxxx>
arm64: ssbd: Restore mitigation status on CPU resume

Marc Zyngier <marc.zyngier@xxxxxxx>
arm64: ssbd: Skip apply_ssbd if not using dynamic mitigation

Marc Zyngier <marc.zyngier@xxxxxxx>
arm64: ssbd: Add global mitigation state accessor

Marc Zyngier <marc.zyngier@xxxxxxx>
arm64: Add 'ssbd' command-line option

Marc Zyngier <marc.zyngier@xxxxxxx>
arm64: Add ARCH_WORKAROUND_2 probing

Marc Zyngier <marc.zyngier@xxxxxxx>
arm64: Add per-cpu infrastructure to call ARCH_WORKAROUND_2

Marc Zyngier <marc.zyngier@xxxxxxx>
arm64: Call ARCH_WORKAROUND_2 on transitions between EL0 and EL1

Marc Zyngier <marc.zyngier@xxxxxxx>
arm/arm64: smccc: Add SMCCC-specific return codes

Christoffer Dall <christoffer.dall@xxxxxxxxxx>
KVM: arm64: Avoid storing the vcpu pointer on the stack

Marc Zyngier <marc.zyngier@xxxxxxx>
KVM: arm/arm64: Do not use kern_hyp_va() with kvm_vgic_global_state

Marc Zyngier <marc.zyngier@xxxxxxx>
arm64: alternatives: Add dynamic patching feature

James Morse <james.morse@xxxxxxx>
KVM: arm64: Stop save/restoring host tpidr_el1 on VHE

James Morse <james.morse@xxxxxxx>
arm64: alternatives: use tpidr_el2 on VHE hosts

James Morse <james.morse@xxxxxxx>
KVM: arm64: Change hyp_panic()s dependency on tpidr_el2

James Morse <james.morse@xxxxxxx>
KVM: arm/arm64: Convert kvm_host_cpu_state to a static per-cpu allocation

James Morse <james.morse@xxxxxxx>
KVM: arm64: Store vcpu on the stack during __guest_enter()

Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx>
net/nfc: Avoid stalls when nfc_alloc_send_skb() returned NULL.

Santosh Shilimkar <santosh.shilimkar@xxxxxxxxxx>
rds: avoid unenecessary cong_update in loop transport

Jan Kara <jack@xxxxxxx>
bdi: Fix another oops in wb_workfn()

Florian Westphal <fw@xxxxxxxxx>
netfilter: ipv6: nf_defrag: drop skb dst before queueing

Willem de Bruijn <willemb@xxxxxxxxxx>
nsh: set mac len based on inner packet

Tomas Bortoli <tomasbortoli@xxxxxxxxx>
autofs: fix slab out of bounds read in getname_kernel()

Dave Watson <davejwatson@xxxxxx>
tls: Stricter error checking in zerocopy sendmsg path

Eric Biggers <ebiggers@xxxxxxxxxx>
KEYS: DNS: fix parsing multiple options

Eric Biggers <ebiggers@xxxxxxxxxx>
reiserfs: fix buffer overflow with long warning messages

Florian Westphal <fw@xxxxxxxxx>
netfilter: ebtables: reject non-bridge targets

Dexuan Cui <decui@xxxxxxxxxxxxx>
PCI: hv: Disable/enable IRQs rather than BH in hv_compose_msi_msg()

Alan Jenkins <alan.christopher.jenkins@xxxxxxxxx>
block: do not use interruptible wait anywhere

Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
mtd: rawnand: denali_dt: set clk_x_rate to 200 MHz unconditionally

Stephan Mueller <smueller@xxxxxxxxxx>
crypto: af_alg - Initialize sg_num_bytes in error code path

Peter Zijlstra <peterz@xxxxxxxxxxxxx>
clocksource: Initialize cs->wd_list

Sean Young <sean@xxxxxxxx>
media: rc: oops in ir_timer_keyup after device unplug

Mathias Nyman <mathias.nyman@xxxxxxxxxxxxxxx>
xhci: Fix USB3 NULL pointer dereference at logical disconnect.

Stefan Wahren <stefan.wahren@xxxxxxxx>
net: lan78xx: Fix race in tx pending skb size calculation

Ping-Ke Shih <pkshih@xxxxxxxxxxx>
rtlwifi: rtl8821ae: fix firmware is not ready to run

Ping-Ke Shih <pkshih@xxxxxxxxxxx>
rtlwifi: Fix kernel Oops "Fw download fail!!"

Gustavo A. R. Silva <gustavo@xxxxxxxxxxxxxx>
net: cxgb3_main: fix potential Spectre v1

Claudio Imbrenda <imbrenda@xxxxxxxxxxxxxxxxxx>
VSOCK: fix loopback on big-endian systems

Jason Wang <jasowang@xxxxxxxxxx>
vhost_net: validate sock before trying to put its fd

Ilpo JÃrvinen <ilpo.jarvinen@xxxxxxxxxxx>
tcp: prevent bogus FRTO undos with non-SACK flows

Yuchung Cheng <ycheng@xxxxxxxxxx>
tcp: fix Fast Open key endianness

Doron Roberts-Kedes <doronrk@xxxxxx>
strparser: Remove early eaten to fix full tcp receive buffer stall

Bhadram Varka <vbhadram@xxxxxxxxxx>
stmmac: fix DMA channel hang in half-duplex mode

Jiri Slaby <jslaby@xxxxxxx>
r8152: napi hangup fix after disconnect

Aleksander Morgado <aleksander@xxxxxxxxxxxxx>
qmi_wwan: add support for the Dell Wireless 5821e module

Sudarsana Reddy Kalluru <sudarsana.kalluru@xxxxxxxxxx>
qed: Limit msix vectors in kdump kernel to the minimum required count.

Sudarsana Reddy Kalluru <sudarsana.kalluru@xxxxxxxxxx>
qed: Fix use of incorrect size in memcpy call.

Sudarsana Reddy Kalluru <sudarsana.kalluru@xxxxxxxxxx>
qed: Fix setting of incorrect eswitch mode.

Sudarsana Reddy Kalluru <sudarsana.kalluru@xxxxxxxxxx>
qede: Adverstise software timestamp caps when PHC is not available.

David Ahern <dsahern@xxxxxxxxx>
net/tcp: Fix socket lookups with SO_BINDTODEVICE

Eric Dumazet <edumazet@xxxxxxxxxx>
net: sungem: fix rx checksum support

Konstantin Khlebnikov <khlebnikov@xxxxxxxxxxxxxx>
net_sched: blackhole: tell upper qdisc about dropped packets

Eric Dumazet <edumazet@xxxxxxxxxx>
net/packet: fix use-after-free

Antoine Tenart <antoine.tenart@xxxxxxxxxxx>
net: mvneta: fix the Rx desc DMA address in the Rx path

Shay Agroskin <shayag@xxxxxxxxxxxx>
net/mlx5: Fix wrong size allocation for QoS ETC TC regitster

Eli Cohen <eli@xxxxxxxxxxxx>
net/mlx5: Fix required capability for manipulating MPFS

Alex Vesker <valex@xxxxxxxxxxxx>
net/mlx5: Fix incorrect raw command length parsing

Alex Vesker <valex@xxxxxxxxxxxx>
net/mlx5: Fix command interface race in polling mode

Or Gerlitz <ogerlitz@xxxxxxxxxxxx>
net/mlx5: E-Switch, Avoid setup attempt if not being e-switch manager

Or Gerlitz <ogerlitz@xxxxxxxxxxxx>
net/mlx5e: Don't attempt to dereference the ppriv struct if not being eswitch manager

Or Gerlitz <ogerlitz@xxxxxxxxxxxx>
net/mlx5e: Avoid dealing with vport representors if not being e-switch manager

Harini Katakam <harini.katakam@xxxxxxxxxx>
net: macb: Fix ptp time adjustment for large negative delta

Sabrina Dubroca <sd@xxxxxxxxxxxxxxx>
net: fix use-after-free in GRO with ESP

Eric Dumazet <edumazet@xxxxxxxxxx>
net: dccp: switch rx_tstamp_last_feedback to monotonic clock

Eric Dumazet <edumazet@xxxxxxxxxx>
net: dccp: avoid crash in ccid3_hc_rx_send_feedback()

Jesper Dangaard Brouer <brouer@xxxxxxxxxx>
ixgbe: split XDP_TX tail and XDP_REDIRECT map flushing

Xin Long <lucien.xin@xxxxxxxxx>
ipvlan: fix IFLA_MTU ignored on NEWLINK

Eric Biggers <ebiggers@xxxxxxxxxx>
ipv6: sr: fix passing wrong flags to crypto_alloc_shash()

Stephen Hemminger <sthemmin@xxxxxxxxxxxxx>
hv_netvsc: split sub-channel setup into async and sync

Gustavo A. R. Silva <gustavo@xxxxxxxxxxxxxx>
atm: zatm: Fix potential Spectre v1

David Woodhouse <dwmw2@xxxxxxxxxxxxx>
atm: Preserve value of skb->truesize when accounting to vcc

Sabrina Dubroca <sd@xxxxxxxxxxxxxxx>
alx: take rtnl before calling __alx_open from resume

Christian Lamparter <chunkeey@xxxxxxxxxxxxxx>
crypto: crypto4xx - fix crypto4xx_build_pdr, crypto4xx_build_sdr leak

Christian Lamparter <chunkeey@xxxxxxxxxxxxxx>
crypto: crypto4xx - remove bad list_del

Jaehoon Chung <jh80.chung@xxxxxxxxxxx>
PCI: exynos: Fix a potential init_clk_resources NULL pointer dereference

Jonas Gorski <jonas.gorski@xxxxxxxxx>
bcm63xx_enet: do not write to random DMA channel on BCM6345

Jonas Gorski <jonas.gorski@xxxxxxxxx>
bcm63xx_enet: correct clock usage

alex chen <alex.chen@xxxxxxxxxx>
ocfs2: ip_alloc_sem should be taken in ocfs2_get_block()

alex chen <alex.chen@xxxxxxxxxx>
ocfs2: subsystem.su_mutex is required while accessing the item->ci_parent

Chuck Lever <chuck.lever@xxxxxxxxxx>
xprtrdma: Fix corner cases when handling device removal

Prashanth Prakash <pprakash@xxxxxxxxxxxxxx>
cpufreq / CPPC: Set platform specific transition_delay_us

Filipe Manana <fdmanana@xxxxxxxx>
Btrfs: fix duplicate extents after fsync of file with prealloc extents

Nick Desaulniers <ndesaulniers@xxxxxxxxxx>
x86/paravirt: Make native_save_fl() extern inline

H. Peter Anvin <hpa@xxxxxxxxxxxxxxx>
x86/asm: Add _ASM_ARG* constants for argument registers to <asm/asm.h>

Nick Desaulniers <ndesaulniers@xxxxxxxxxx>
compiler-gcc.h: Add __attribute__((gnu_inline)) to all inline declarations


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

Diffstat:

Documentation/admin-guide/kernel-parameters.txt | 17 ++
Makefile | 4 +-
arch/arm/include/asm/kvm_host.h | 12 ++
arch/arm/include/asm/kvm_mmu.h | 12 ++
arch/arm64/Kconfig | 9 ++
arch/arm64/include/asm/alternative.h | 43 ++++-
arch/arm64/include/asm/assembler.h | 8 +
arch/arm64/include/asm/cpucaps.h | 3 +-
arch/arm64/include/asm/cpufeature.h | 22 +++
arch/arm64/include/asm/kvm_asm.h | 41 +++++
arch/arm64/include/asm/kvm_host.h | 43 +++++
arch/arm64/include/asm/kvm_mmu.h | 44 +++++
arch/arm64/include/asm/percpu.h | 11 +-
arch/arm64/include/asm/thread_info.h | 1 +
arch/arm64/kernel/Makefile | 1 +
arch/arm64/kernel/alternative.c | 52 ++++--
arch/arm64/kernel/asm-offsets.c | 2 +
arch/arm64/kernel/cpu_errata.c | 180 +++++++++++++++++++++
arch/arm64/kernel/cpufeature.c | 17 ++
arch/arm64/kernel/entry.S | 30 ++++
arch/arm64/kernel/hibernate.c | 11 ++
arch/arm64/kernel/ssbd.c | 108 +++++++++++++
arch/arm64/kernel/suspend.c | 8 +
arch/arm64/kvm/hyp-init.S | 4 +
arch/arm64/kvm/hyp/entry.S | 12 +-
arch/arm64/kvm/hyp/hyp-entry.S | 62 +++++--
arch/arm64/kvm/hyp/switch.c | 64 ++++++--
arch/arm64/kvm/hyp/sysreg-sr.c | 21 ++-
arch/arm64/kvm/reset.c | 4 +
arch/arm64/mm/proc.S | 8 +
arch/x86/include/asm/asm.h | 59 +++++++
arch/x86/include/asm/irqflags.h | 2 +-
arch/x86/kernel/Makefile | 1 +
arch/x86/kernel/irqflags.S | 26 +++
block/blk-core.c | 9 +-
crypto/af_alg.c | 4 +-
drivers/atm/zatm.c | 2 +
drivers/cpufreq/cppc_cpufreq.c | 46 +++++-
drivers/crypto/amcc/crypto4xx_core.c | 23 ++-
drivers/media/rc/rc-main.c | 4 +-
drivers/mtd/nand/denali_dt.c | 6 +-
drivers/net/ethernet/atheros/alx/main.c | 8 +-
drivers/net/ethernet/broadcom/bcm63xx_enet.c | 34 ++--
drivers/net/ethernet/cadence/macb_ptp.c | 5 +-
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c | 2 +
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 24 +--
drivers/net/ethernet/marvell/mvneta.c | 2 +-
drivers/net/ethernet/mellanox/mlx5/core/cmd.c | 8 +-
drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 12 +-
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c | 8 +-
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c | 2 +-
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h | 2 +
.../ethernet/mellanox/mlx5/core/eswitch_offloads.c | 4 +-
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c | 3 +-
drivers/net/ethernet/mellanox/mlx5/core/fw.c | 5 +-
drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c | 9 +-
drivers/net/ethernet/mellanox/mlx5/core/port.c | 4 +-
drivers/net/ethernet/mellanox/mlx5/core/sriov.c | 7 +-
drivers/net/ethernet/qlogic/qed/qed_dcbx.c | 8 +-
drivers/net/ethernet/qlogic/qed/qed_dev.c | 2 +-
drivers/net/ethernet/qlogic/qed/qed_main.c | 8 +
drivers/net/ethernet/qlogic/qed/qed_sriov.c | 19 ++-
drivers/net/ethernet/qlogic/qede/qede_ptp.c | 10 +-
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 10 ++
drivers/net/ethernet/sun/sungem.c | 22 +--
drivers/net/geneve.c | 2 +-
drivers/net/hyperv/hyperv_net.h | 2 +-
drivers/net/hyperv/netvsc.c | 37 ++++-
drivers/net/hyperv/netvsc_drv.c | 17 +-
drivers/net/hyperv/rndis_filter.c | 61 ++-----
drivers/net/ipvlan/ipvlan_main.c | 3 +-
drivers/net/usb/lan78xx.c | 5 +-
drivers/net/usb/qmi_wwan.c | 1 +
drivers/net/usb/r8152.c | 3 +-
drivers/net/vxlan.c | 4 +-
drivers/net/wireless/realtek/rtlwifi/base.c | 17 +-
drivers/net/wireless/realtek/rtlwifi/base.h | 2 +-
drivers/net/wireless/realtek/rtlwifi/core.c | 3 +-
drivers/net/wireless/realtek/rtlwifi/pci.c | 2 +-
drivers/net/wireless/realtek/rtlwifi/ps.c | 4 +-
drivers/net/wireless/realtek/rtlwifi/usb.c | 2 +-
drivers/pci/dwc/pci-exynos.c | 3 +-
drivers/pci/host/pci-hyperv.c | 8 +-
drivers/usb/host/xhci-hub.c | 2 +-
drivers/vhost/net.c | 3 +-
fs/autofs4/dev-ioctl.c | 22 +--
fs/btrfs/tree-log.c | 137 +++++++++++++---
fs/ocfs2/aops.c | 26 ++-
fs/ocfs2/cluster/nodemanager.c | 63 +++++++-
fs/reiserfs/prints.c | 141 +++++++++-------
include/linux/arm-smccc.h | 10 ++
include/linux/atmdev.h | 15 ++
include/linux/backing-dev-defs.h | 2 +-
include/linux/compiler-gcc.h | 29 +++-
include/linux/mlx5/mlx5_ifc.h | 2 +-
include/linux/netdevice.h | 20 +++
include/linux/string.h | 2 +-
kernel/time/clocksource.c | 2 +
mm/backing-dev.c | 20 +--
net/8021q/vlan.c | 2 +-
net/atm/br2684.c | 3 +-
net/atm/clip.c | 3 +-
net/atm/common.c | 3 +-
net/atm/lec.c | 3 +-
net/atm/mpc.c | 3 +-
net/atm/pppoatm.c | 3 +-
net/atm/raw.c | 4 +-
net/bridge/netfilter/ebtables.c | 13 ++
net/dccp/ccids/ccid3.c | 16 +-
net/dns_resolver/dns_key.c | 28 ++--
net/ipv4/fou.c | 4 +-
net/ipv4/gre_offload.c | 2 +-
net/ipv4/inet_hashtables.c | 4 +-
net/ipv4/sysctl_net_ipv4.c | 18 ++-
net/ipv4/tcp_input.c | 9 ++
net/ipv4/udp_offload.c | 2 +-
net/ipv6/inet6_hashtables.c | 4 +-
net/ipv6/netfilter/nf_conntrack_reasm.c | 2 +
net/ipv6/seg6_hmac.c | 2 +-
net/nfc/llcp_commands.c | 9 +-
net/nsh/nsh.c | 2 +-
net/packet/af_packet.c | 16 +-
net/rds/loop.c | 1 +
net/rds/rds.h | 5 +
net/rds/recv.c | 5 +
net/sched/sch_blackhole.c | 2 +-
net/strparser/strparser.c | 17 +-
net/sunrpc/xprtrdma/verbs.c | 13 +-
net/tls/tls_sw.c | 2 +-
net/vmw_vsock/virtio_transport.c | 2 +-
virt/kvm/arm/arm.c | 22 +--
virt/kvm/arm/hyp/vgic-v2-sr.c | 2 +-
virt/kvm/arm/psci.c | 18 ++-
133 files changed, 1698 insertions(+), 472 deletions(-)