[PATCH 4.9 00/66] 4.9.79-stable review

From: Greg Kroah-Hartman
Date: Mon Jan 29 2018 - 15:13:01 EST


This is the start of the stable review cycle for the 4.9.79 release.
There are 66 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 Wed Jan 31 12:38:12 UTC 2018.
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.9.79-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.9.y
and the diffstat can be found below.

thanks,

greg k-h

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

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

Daniel Borkmann <daniel@xxxxxxxxxxxxx>
bpf: reject stores into ctx via st and xadd

Alexei Starovoitov <ast@xxxxxxxxxx>
bpf: fix 32-bit divide by zero

Eric Dumazet <edumazet@xxxxxxxxxx>
bpf: fix divides by zero

Daniel Borkmann <daniel@xxxxxxxxxxxxx>
bpf: avoid false sharing of map refcount with max_entries

Daniel Borkmann <daniel@xxxxxxxxxxxxx>
bpf: arsh is not supported in 32 bit alu thus reject it

Alexei Starovoitov <ast@xxxxxxxxxx>
bpf: introduce BPF_JIT_ALWAYS_ON config

Alexei Starovoitov <ast@xxxxxx>
bpf: fix bpf_tail_call() x64 JIT

Eric Dumazet <edumazet@xxxxxxxxxx>
x86: bpf_jit: small optimization in emit_bpf_tail_call()

Thomas Gleixner <tglx@xxxxxxxxxxxxx>
hrtimer: Reset hrtimer cpu base proper on CPU hotplug

Jia Zhang <zhang.jia@xxxxxxxxxxxxxxxxx>
x86/microcode/intel: Extend BDW late-loading further with LLC size check

Xiao Liang <xiliang@xxxxxxxxxx>
perf/x86/amd/power: Do not load AMD power module on !AMD platforms

Eric Dumazet <edumazet@xxxxxxxxxx>
flow_dissector: properly cap thoff field

Cong Wang <xiyou.wangcong@xxxxxxxxx>
tun: fix a memory leak for tfile->tx_array

Yuval Mintz <yuvalm@xxxxxxxxxxxx>
mlxsw: spectrum_router: Don't log an error on missing neighbor

Willem de Bruijn <willemb@xxxxxxxxxx>
gso: validate gso_type in GSO handlers

Alexey Kodanev <alexey.kodanev@xxxxxxxxxx>
ip6_gre: init dev->mtu and dev->hard_header_len correctly

Ivan Vecera <cera@xxxxxxx>
be2net: restore properly promisc mode after queues reconfiguration

Guillaume Nault <g.nault@xxxxxxxxxxxx>
ppp: unlock all_ppp_mutex before registering device

Jim Westfall <jwestfall@xxxxxxxxxxxxxxxx>
ipv4: Make neigh lookup keys for loopback/point-to-point devices be INADDR_ANY

Jim Westfall <jwestfall@xxxxxxxxxxxxxxxx>
net: Allow neigh contructor functions ability to modify the primary_key

Neil Horman <nhorman@xxxxxxxxxxxxx>
vmxnet3: repair memory leak

Cong Wang <xiyou.wangcong@xxxxxxxxx>
tipc: fix a memory leak in tipc_nl_node_get_link()

Xin Long <lucien.xin@xxxxxxxxx>
sctp: return error if the asoc has been peeled off in sctp_wait_for_sndbuf

Xin Long <lucien.xin@xxxxxxxxx>
sctp: do not allow the v4 socket to bind a v4mapped v6 address

Francois Romieu <romieu@xxxxxxxxxxxxx>
r8169: fix memory corruption on retrieval of hardware statistics.

Guillaume Nault <g.nault@xxxxxxxxxxxx>
pppoe: take ->needed_headroom of lower device into account on xmit

Dan Streetman <ddstreet@xxxxxxxx>
net: tcp: close sock if net namespace is exiting

Eric Dumazet <edumazet@xxxxxxxxxx>
net: qdisc_pkt_len_init() should be more robust

Felix Fietkau <nbd@xxxxxxxx>
net: igmp: fix source address check for IGMPv3 reports

Yuiko Oshino <yuiko.oshino@xxxxxxxxxxxxx>
lan78xx: Fix failure in USB Full Speed

Eric Dumazet <edumazet@xxxxxxxxxx>
ipv6: ip6_make_skb() needs to clear cork.base.dst

Mike Maloney <maloney@xxxxxxxxxx>
ipv6: fix udpv6 sendmsg crash caused by too small MTU

Ben Hutchings <ben.hutchings@xxxxxxxxxxxxxxx>
ipv6: Fix getsockopt() for sockets with default IPV6_AUTOFLOWLABEL

Alexey Kodanev <alexey.kodanev@xxxxxxxxxx>
dccp: don't restart ccid2_hc_tx_rto_expire() if sk in closed state

Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>
eventpoll.h: add missing epoll event masks

Ben Hutchings <ben.hutchings@xxxxxxxxxxxxxxx>
vsyscall: Fix permissions for emulate mode with KAISER/PTI

Thomas Meyer <thomas@xxxxxxxx>
um: link vmlinux with -no-pie

Martin Brandenburg <martin@xxxxxxxxxxxx>
orangefs: fix deadlock; do not write i_size in read_iter

Aaron Ma <aaron.ma@xxxxxxxxxxxxx>
Input: trackpoint - force 3 buttons if 0 button is reported

Johannes Weiner <hannes@xxxxxxxxxxx>
mm: fix 100% CPU kswapd busyloop on unreclaimable nodes

Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Revert "module: Add retpoline tag to VERMAGIC"

Johannes Thumshirn <jthumshirn@xxxxxxx>
scsi: libiscsi: fix shifting of DID_REQUEUE host byte

Jiri Slaby <jslaby@xxxxxxx>
fs/fcntl: f_setown, avoid undefined behaviour

Jeff Mahoney <jeffm@xxxxxxxx>
reiserfs: don't preallocate blocks for extended attributes

Jeff Mahoney <jeffm@xxxxxxxx>
reiserfs: fix race in prealloc discard

Kevin Cernekee <cernekee@xxxxxxxxxxxx>
netfilter: xt_osf: Add missing permission checks

Kevin Cernekee <cernekee@xxxxxxxxxxxx>
netfilter: nfnetlink_cthelper: Add missing permission checks

Seunghun Han <kkamagui@xxxxxxxxx>
ACPICA: Namespace: fix operand cache leak

Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
ACPI / scan: Prefer devices without _HID/_CID for _ADR matching

Jiri Slaby <jslaby@xxxxxxx>
ipc: msg, make msgrcv work with LONG_MIN

Vlastimil Babka <vbabka@xxxxxxx>
mm, page_alloc: fix potential false positive in __zone_watermark_ok

Doug Berger <opendmb@xxxxxxxxx>
cma: fix calculation of aligned offset

Michal Hocko <mhocko@xxxxxxxx>
hwpoison, memcg: forcibly uncharge LRU pages

Michal Hocko <mhocko@xxxxxxxx>
mm/mmap.c: do not blow on PROT_NONE MAP_FIXED holes in the stack

Sudeep Holla <sudeep.holla@xxxxxxx>
drivers: base: cacheinfo: fix boot error message when acpi is enabled

Sudeep Holla <sudeep.holla@xxxxxxx>
drivers: base: cacheinfo: fix x86 with CONFIG_OF enabled

Janakarajan Natarajan <Janakarajan.Natarajan@xxxxxxx>
Prevent timer value 0 for MWAITX

Punit Agrawal <punit.agrawal@xxxxxxx>
KVM: arm/arm64: Check pagesize when allocating a hugepage at Stage 2

Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx>
can: af_can: canfd_rcv(): replace WARN_ONCE by pr_warn_once

Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx>
can: af_can: can_rcv(): replace WARN_ONCE by pr_warn_once

Jonathan Dieter <jdieter@xxxxxxxxx>
usbip: Fix potential format overflow in userspace tools

Jonathan Dieter <jdieter@xxxxxxxxx>
usbip: Fix implicit fallthrough warning

Shuah Khan <shuah@xxxxxxxxxx>
usbip: prevent vhci_hcd driver from leaking a socket pointer address

Martin Brandenburg <martin@xxxxxxxxxxxx>
orangefs: initialize op on loop restart in orangefs_devreq_read

Martin Brandenburg <martin@xxxxxxxxxxxx>
orangefs: use list_for_each_entry_safe in purge_waiting_ops

Andy Lutomirski <luto@xxxxxxxxxx>
x86/asm/32: Make sync_core() handle missing CPUID on all 32-bit kernels


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

Diffstat:

Makefile | 4 +-
arch/arm/kvm/mmu.c | 2 +-
arch/um/Makefile | 2 +-
arch/x86/entry/vsyscall/vsyscall_64.c | 7 ++--
arch/x86/events/amd/power.c | 2 +-
arch/x86/include/asm/processor.h | 2 +-
arch/x86/include/asm/vsyscall.h | 1 +
arch/x86/kernel/cpu/intel_cacheinfo.c | 2 +
arch/x86/kernel/cpu/microcode/intel.c | 20 ++++++++-
arch/x86/lib/delay.c | 7 ++++
arch/x86/mm/kaiser.c | 2 +-
arch/x86/net/bpf_jit_comp.c | 13 +++---
drivers/acpi/acpica/nsutils.c | 23 +++++------
drivers/acpi/glue.c | 12 +++---
drivers/base/cacheinfo.c | 15 +++++--
drivers/input/mouse/trackpoint.c | 3 ++
drivers/net/ethernet/emulex/benet/be_main.c | 9 +++++
.../net/ethernet/mellanox/mlxsw/spectrum_router.c | 5 +--
drivers/net/ethernet/realtek/r8169.c | 9 +----
drivers/net/ppp/ppp_generic.c | 5 ++-
drivers/net/ppp/pppoe.c | 11 ++---
drivers/net/tun.c | 15 ++++++-
drivers/net/usb/lan78xx.c | 1 +
drivers/net/vmxnet3/vmxnet3_drv.c | 2 +-
drivers/scsi/libiscsi.c | 2 +-
drivers/usb/usbip/usbip_common.h | 1 +
drivers/usb/usbip/vhci_sysfs.c | 25 +++++++-----
fs/fcntl.c | 4 ++
fs/orangefs/devorangefs-req.c | 3 +-
fs/orangefs/file.c | 7 +---
fs/orangefs/orangefs-kernel.h | 11 -----
fs/orangefs/waitqueue.c | 4 +-
fs/reiserfs/bitmap.c | 14 +++++--
include/linux/bpf.h | 16 ++++++--
include/linux/cacheinfo.h | 1 +
include/linux/mmzone.h | 2 +
include/linux/vermagic.h | 8 +---
include/net/arp.h | 3 ++
include/net/ipv6.h | 1 +
include/net/net_namespace.h | 10 +++++
include/uapi/linux/eventpoll.h | 13 ++++++
init/Kconfig | 7 ++++
ipc/msg.c | 5 ++-
kernel/bpf/core.c | 24 +++++++++--
kernel/bpf/verifier.c | 42 +++++++++++++++++++
kernel/time/hrtimer.c | 3 ++
lib/test_bpf.c | 11 +++--
mm/cma.c | 15 +++----
mm/internal.h | 6 +++
mm/memcontrol.c | 2 +-
mm/memory-failure.c | 7 ++++
mm/mmap.c | 6 ++-
mm/page_alloc.c | 15 +++----
mm/vmscan.c | 47 +++++++++++++++-------
mm/vmstat.c | 2 +-
net/can/af_can.c | 22 +++++-----
net/core/dev.c | 19 +++++++--
net/core/filter.c | 10 +++--
net/core/flow_dissector.c | 3 +-
net/core/neighbour.c | 4 +-
net/core/sysctl_net_core.c | 6 +++
net/dccp/ccids/ccid2.c | 3 ++
net/ipv4/arp.c | 7 +++-
net/ipv4/igmp.c | 2 +-
net/ipv4/tcp.c | 3 ++
net/ipv4/tcp_offload.c | 3 ++
net/ipv4/tcp_timer.c | 15 +++++++
net/ipv4/udp_offload.c | 3 ++
net/ipv6/ip6_gre.c | 14 +++----
net/ipv6/ip6_output.c | 9 +++--
net/ipv6/ipv6_sockglue.c | 2 +-
net/ipv6/tcpv6_offload.c | 3 ++
net/ipv6/udp_offload.c | 3 ++
net/netfilter/nfnetlink_cthelper.c | 10 +++++
net/netfilter/xt_osf.c | 7 ++++
net/sctp/offload.c | 3 ++
net/sctp/socket.c | 30 ++++++--------
net/socket.c | 9 +++++
net/tipc/node.c | 26 ++++++------
tools/usb/usbip/libsrc/usbip_common.c | 9 ++++-
tools/usb/usbip/libsrc/usbip_host_common.c | 28 ++++++++++---
tools/usb/usbip/libsrc/vhci_driver.c | 8 ++--
tools/usb/usbip/src/usbip.c | 2 +
83 files changed, 523 insertions(+), 231 deletions(-)