[PATCH 4.17 000/101] 4.17.9-stable review

From: Greg Kroah-Hartman
Date: Fri Jul 20 2018 - 08:47:44 EST


This is the start of the stable review cycle for the 4.17.9 release.
There are 101 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:52 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.17.9-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.17.y
and the diffstat can be found below.

thanks,

greg k-h

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

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

Daniel Borkmann <daniel@xxxxxxxxxxxxx>
bpf: undo prog rejection on read-only lock failure

Daniel Borkmann <daniel@xxxxxxxxxxxxx>
bpf, arm32: fix to use bpf_jit_binary_lock_ro api

Eric Dumazet <edumazet@xxxxxxxxxx>
bpf: enforce correct alignment for instructions

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

Cong Wang <xiyou.wangcong@xxxxxxxxx>
ipvs: initialize tbl->entries in ip_vs_lblc_init_svc()

Cong Wang <xiyou.wangcong@xxxxxxxxx>
ipvs: initialize tbl->entries after allocation

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

Daniel Borkmann <daniel@xxxxxxxxxxxxx>
bpf: don't leave partial mangled prog in jit_subprogs error path

John Fastabend <john.fastabend@xxxxxxxxx>
bpf: sockmap, consume_skb in close path

John Fastabend <john.fastabend@xxxxxxxxx>
bpf: sockmap, fix crash when ipv6 sock is added

Jens Axboe <axboe@xxxxxxxxx>
block: don't use blocking queue entered for recursive bio submits

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

Daniel Borkmann <daniel@xxxxxxxxxxxxx>
bpf: reject any prog that failed read-only lock

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

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

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

Janakarajan Natarajan <Janakarajan.Natarajan@xxxxxxx>
x86/kvm/Kconfig: Ensure CRYPTO_DEV_CCP_DD state at minimum matches KVM_AMD

Jesper Dangaard Brouer <brouer@xxxxxxxxxx>
virtio_net: split XDP_TX kick and XDP_REDIRECT map flushing

Bert Kenward <bkenward@xxxxxxxxxxxxxx>
sfc: correctly initialise filter rwsem for farch

Julian Wiedmann <jwi@xxxxxxxxxxxxx>
s390/qeth: fix race when setting MAC address

Vasily Gorbik <gor@xxxxxxxxxxxxx>
s390/qeth: avoid using is_multicast_ether_addr_64bits on (u8 *)[6]

Julian Wiedmann <jwi@xxxxxxxxxxxxx>
Revert "s390/qeth: use Read device to query hypervisor for MAC"

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

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

Govindarajulu Varadarajan <gvaradar@xxxxxxxxx>
enic: do not overwrite error code

Ross Lagerwall <ross.lagerwall@xxxxxxxxxx>
xen-netfront: Update features after registering netdev

Ross Lagerwall <ross.lagerwall@xxxxxxxxxx>
xen-netfront: Fix mismatched rtnl_unlock

John Hurley <john.hurley@xxxxxxxxxxxxx>
nfp: reject binding to shared blocks

Cong Wang <xiyou.wangcong@xxxxxxxxx>
net: use dev_change_tx_queue_len() for SIOCSIFTXQLEN

Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>
net: macb: initialize bp->queues[0].bp for at91rm9200

Pieter Jansen van Vuuren <pieter.jansenvanvuuren@xxxxxxxxxxxxx>
nfp: flower: fix mpls ether type detection

Wei Yongjun <weiyongjun1@xxxxxxxxxx>
hinic: reset irq affinity before freeing irq

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

Julian Wiedmann <jwi@xxxxxxxxxxxxx>
s390/qeth: don't clobber buffer on async TX completion

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

Davide Caratti <dcaratti@xxxxxxxxxx>
net/sched: act_ife: preserve the action control in case of error

Davide Caratti <dcaratti@xxxxxxxxxx>
net/sched: act_ife: fix recursive lock and idr leak

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

Sean Wang <sean.wang@xxxxxxxxxxxx>
pinctrl: mt7622: fix a kernel panic when gpio-hog is being applied

Sean Wang <sean.wang@xxxxxxxxxxxx>
pinctrl: mt7622: stop using the deprecated pinctrl_add_gpio_range

Sean Wang <sean.wang@xxxxxxxxxxxx>
pinctrl: mt7622: fix error path on failing at groups building

Niklas SÃderlund <niklas.soderlund+renesas@xxxxxxxxxxxx>
pinctrl: sh-pfc: r8a77970: remove SH_PFC_PIN_CFG_DRIVE_STRENGTH flag

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 | 5 +
arch/arm/net/bpf_jit_32.c | 2 +-
arch/arm64/Kconfig | 9 ++
arch/arm64/include/asm/cpucaps.h | 3 +-
arch/arm64/include/asm/cpufeature.h | 22 +++
arch/arm64/include/asm/kvm_asm.h | 30 +++-
arch/arm64/include/asm/kvm_host.h | 26 +++
arch/arm64/include/asm/kvm_mmu.h | 24 +++
arch/arm64/include/asm/thread_info.h | 1 +
arch/arm64/kernel/Makefile | 1 +
arch/arm64/kernel/asm-offsets.c | 1 +
arch/arm64/kernel/cpu_errata.c | 180 +++++++++++++++++++++
arch/arm64/kernel/entry.S | 30 ++++
arch/arm64/kernel/hibernate.c | 11 ++
arch/arm64/kernel/ssbd.c | 110 +++++++++++++
arch/arm64/kernel/suspend.c | 8 +
arch/arm64/kvm/hyp/hyp-entry.S | 38 ++++-
arch/arm64/kvm/hyp/switch.c | 42 +++++
arch/arm64/kvm/reset.c | 4 +
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 +++
arch/x86/kvm/Kconfig | 2 +-
block/blk-core.c | 4 +-
block/blk-merge.c | 10 ++
crypto/af_alg.c | 4 +-
drivers/atm/zatm.c | 2 +
drivers/infiniband/hw/mlx5/main.c | 2 +-
drivers/net/ethernet/atheros/alx/main.c | 8 +-
drivers/net/ethernet/cadence/macb_main.c | 2 +
drivers/net/ethernet/cadence/macb_ptp.c | 5 +-
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c | 2 +
drivers/net/ethernet/cisco/enic/enic_main.c | 9 +-
drivers/net/ethernet/huawei/hinic/hinic_rx.c | 1 +
drivers/net/ethernet/intel/i40e/i40e_txrx.c | 24 +--
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 +-
.../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/netronome/nfp/bpf/main.c | 3 +
drivers/net/ethernet/netronome/nfp/flower/match.c | 14 ++
.../net/ethernet/netronome/nfp/flower/offload.c | 11 ++
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/sfc/farch.c | 1 +
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/virtio_net.c | 30 ++--
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/net/xen-netfront.c | 11 +-
drivers/pci/host/pci-hyperv.c | 8 +-
drivers/pinctrl/mediatek/pinctrl-mt7622.c | 25 ++-
drivers/pinctrl/sh-pfc/pfc-r8a77970.c | 12 +-
drivers/s390/net/qeth_core.h | 11 ++
drivers/s390/net/qeth_core_main.c | 24 ++-
drivers/s390/net/qeth_l2_main.c | 19 ++-
drivers/vhost/net.c | 3 +-
fs/autofs4/dev-ioctl.c | 22 +--
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/blk_types.h | 2 +
include/linux/compiler-gcc.h | 29 +++-
include/linux/filter.h | 42 ++---
include/linux/mlx5/eswitch.h | 2 +
include/linux/mlx5/mlx5_ifc.h | 2 +-
include/linux/netdevice.h | 20 +++
include/net/pkt_cls.h | 5 +
kernel/bpf/core.c | 25 ++-
kernel/bpf/sockmap.c | 63 ++++++--
kernel/bpf/syscall.c | 4 +-
kernel/bpf/verifier.c | 11 +-
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/core/dev_ioctl.c | 11 +-
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/netfilter/ipvs/ip_vs_lblc.c | 1 +
net/netfilter/ipvs/ip_vs_lblcr.c | 1 +
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/act_ife.c | 12 +-
net/sched/sch_blackhole.c | 2 +-
net/strparser/strparser.c | 17 +-
net/tls/tls_sw.c | 2 +-
net/vmw_vsock/virtio_transport.c | 2 +-
virt/kvm/arm/arm.c | 4 +
virt/kvm/arm/psci.c | 18 ++-
140 files changed, 1448 insertions(+), 450 deletions(-)