[PATCH 3.18 00/68] 3.18.52-stable review

From: Greg Kroah-Hartman
Date: Fri May 05 2017 - 14:56:36 EST


This is the start of the stable review cycle for the 3.18.52 release.
There are 68 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 May 7 18:31:52 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/v3.x/stable-review/patch-3.18.52-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-3.18.y
and the diffstat can be found below.

thanks,

greg k-h

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

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

Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
kbuild: mergeconfig: fix "jobserver unavailable" warning

Arnd Bergmann <arnd@xxxxxxxx>
gfs2: remove IS_ERR_VALUE abuse

Jeff Kirsher <jeffrey.t.kirsher@xxxxxxxxx>
e1000e: fix call to do_div() to use u64 arg

Rusty Russell <rusty@xxxxxxxxxxxxxxx>
cpumask_set_cpu_local_first => cpumask_local_spread, lament

Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx>
modpost: don't emit section mismatch warnings for compiler optimizations

Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx>
modpost: expand pattern matching to support substring matches

Arnd Bergmann <arnd@xxxxxxxx>
scsi: advansys: remove #warning message

Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
message: i2o: fix 64bit build warnings

Benjamin Romer <benjamin.romer@xxxxxxxxxx>
staging: unisys: correctly handle return value from queue_delayed_work()

Ralf Baechle <ralf@xxxxxxxxxxxxxx>
MIPS: elf2ecoff: Fix warning due to dead code.

Ralf Baechle <ralf@xxxxxxxxxxxxxx>
MIPS: elf2ecoff: Ignore PT_MIPS_ABIFLAGS program headers.

Arnd Bergmann <arnd@xxxxxxxx>
MIPS: jz4740: fix build error in irq.h

Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
mm/cma: silence warnings due to max() usage

Arnd Bergmann <arnd@xxxxxxxx>
arm64: build vdso without libgcov

Arnd Bergmann <arnd@xxxxxxxx>
mISDN: avoid arch specific __builtin_return_address call

James Bottomley <JBottomley@xxxxxxxx>
ips: remove pointless #warning

Arnd Bergmann <arnd@xxxxxxxx>
infiniband: mlx5: avoid a compile-time warning

Arnd Bergmann <arnd@xxxxxxxx>
tty/isicom: fix big-endian compile warning

Arnd Bergmann <arnd@xxxxxxxx>
IB/ehca: fix maybe-uninitialized warnings

Arnd Bergmann <arnd@xxxxxxxx>
IB/qib: rename BITS_PER_PAGE to RVT_BITS_PER_PAGE

Arnd Bergmann <arnd@xxxxxxxx>
staging: bcm: add 32-bit host dependency

Arnd Bergmann <arnd@xxxxxxxx>
staging: imx-drm: fix indentation warning

Arnd Bergmann <arnd@xxxxxxxx>
staging: vt6655: fix overly large stack usage

Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx>
arm64: Provide a namespace to NCAPS

Arnd Bergmann <arnd@xxxxxxxx>
ARM: cns3xxx: shut up frame size warning

Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>
mm: avoid setting up anonymous pages into file mapping

Eric Dumazet <edumazet@xxxxxxxxxx>
net: avoid signed overflows for SO_{SND|RCV}BUFFORCE

Guillaume Nault <g.nault@xxxxxxxxxxxx>
l2tp: fix racy SOCK_ZAPPED flag check in l2tp_ip{,6}_bind()

Jan Kara <jack@xxxxxxx>
posix_acl: Clear SGID bit when setting file permissions

Peter Zijlstra <peterz@xxxxxxxxxxxxx>
perf: Tighten (and fix) the grouping condition

Seung-Woo Kim <sw0312.kim@xxxxxxxxxxx>
regulator: core: Fix regualtor_ena_gpio_free not to access pin after freeing

Takashi Iwai <tiwai@xxxxxxx>
ALSA: pcm : Call kill_fasync() in stream lock

Sachin Prabhu <sprabhu@xxxxxxxxxx>
Handle mismatched open calls

Thomas Gleixner <tglx@xxxxxxxxxxxxx>
timerfd: Protect the might cancel mechanism proper

Arnd Bergmann <arnd@xxxxxxxx>
net: tg3: avoid uninitialized variable warning

Arnd Bergmann <arnd@xxxxxxxx>
cred/userns: define current_user_ns() as a function

Arnd Bergmann <arnd@xxxxxxxx>
ALSA: ppc/awacs: shut up maybe-uninitialized warning

Arnd Bergmann <arnd@xxxxxxxx>
PCI: xilinx: Fix harmless format string warning

Arnd Bergmann <arnd@xxxxxxxx>
mlx5: avoid build warnings on 32-bit

Arnd Bergmann <arnd@xxxxxxxx>
mtd: avoid stack overflow in MTD CFI code

Sagi Grimberg <sagig@xxxxxxxxxxxx>
IB/iser: Fix sparse warnings

Lars Ellenberg <lars.ellenberg@xxxxxxxxxx>
drbd: avoid redefinition of BITS_PER_PAGE

Khem Raj <raj.khem@xxxxxxxxx>
powerpc/ptrace: Fix out of bounds array access warning

Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
ftrace/x86: Fix triple fault with graph tracing and suspend-to-ram

J. Bruce Fields <bfields@xxxxxxxxxx>
nfsd: check for oversized NFSv2/v3 arguments

Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
Input: i8042 - add Clevo P650RS to the i8042 reset list

Al Viro <viro@xxxxxxxxxxxxxxxxxx>
p9_client_readdir() fix

James Hogan <james.hogan@xxxxxxxxxx>
MIPS: KGDB: Use kernel context for sleeping threads

Takashi Iwai <tiwai@xxxxxxx>
ALSA: seq: Don't break snd_use_lock_sync() loop by timeout

Nikolay Aleksandrov <nikolay@xxxxxxxxxxxxxxxxxxx>
ip6mr: fix notification device destruction

Tushar Dave <tushar.n.dave@xxxxxxxxxx>
netpoll: Check for skb->queue_mapping

Xin Long <lucien.xin@xxxxxxxxx>
sctp: listen on the sock only when it's state is listening or closed

Florian Larysch <fl@xxxxxxx>
net: ipv4: fix multipath RTM_GETROUTE behavior when iif is given

Andrey Konovalov <andreyknvl@xxxxxxxxxx>
net/packet: fix overflow in check for tp_reserve

Andrey Konovalov <andreyknvl@xxxxxxxxxx>
net/packet: fix overflow in check for tp_frame_nr

Guillaume Nault <g.nault@xxxxxxxxxxxx>
l2tp: purge socket queues in the .destruct() callback

Nathan Sullivan <nathan.sullivan@xxxxxx>
net: phy: handle state correctly in phy_stop_machine

Eric Dumazet <edumazet@xxxxxxxxxx>
net: neigh: guard against NULL solicit() method

Tom Hromatka <tom.hromatka@xxxxxxxxxx>
sparc64: Fix kernel panic due to erroneous #ifdef surrounding pmd_write()

bob picco <bob.picco@xxxxxxxxxx>
sparc64: kern_addr_valid regression

Stefano Stabellini <sstabellini@xxxxxxxxxx>
xen/x86: don't lose event interrupts

Felipe F. Tonello <eu@xxxxxxxxxxxxxxxxx>
usb: gadget: f_midi: Fixed a bug when buflen was smaller than wMaxPacketSize

santosh.shilimkar@xxxxxxxxxx <santosh.shilimkar@xxxxxxxxxx>
RDS: Fix the atomicity for congestion map update

Corey Minyard <cminyard@xxxxxxxxxx>
MIPS: Fix crash registers on non-crashing CPUs

Wei Fang <fangwei1@xxxxxxxxxx>
md:raid1: fix a dead loop when read from a WriteMostly disk

Theodore Ts'o <tytso@xxxxxxx>
ext4: check if in-inode xattr is corrupted in ext4_expand_extra_isize_ea()

Dan Carpenter <dan.carpenter@xxxxxxxxxx>
xc2028: unlock on error in xc2028_set_config()

Chao Yu <chao2.yu@xxxxxxxxxxx>
f2fs: do more integrity verification for superblock


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

Diffstat:

Makefile | 4 +-
arch/arm/mach-cns3xxx/Makefile | 1 +
arch/arm64/include/asm/cpufeature.h | 10 +--
arch/arm64/kernel/setup.c | 2 +-
arch/arm64/kernel/vdso/Makefile | 3 +
arch/mips/boot/elf2ecoff.c | 10 +--
arch/mips/jz4740/irq.h | 2 +
arch/mips/kernel/crash.c | 16 +++-
arch/mips/kernel/kgdb.c | 48 +++++++----
arch/powerpc/kernel/ptrace.c | 4 +-
arch/sparc/include/asm/pgtable_64.h | 15 ++--
arch/sparc/mm/init_64.c | 2 +-
arch/x86/kernel/ftrace.c | 12 +++
arch/x86/xen/time.c | 6 +-
drivers/block/drbd/drbd_bitmap.c | 6 ++
drivers/infiniband/hw/ehca/ehca_mrmw.c | 3 +-
drivers/infiniband/hw/mlx5/mem.c | 2 +-
drivers/infiniband/hw/qib/qib_qp.c | 18 ++---
drivers/infiniband/ulp/iser/iser_memory.c | 1 -
drivers/infiniband/ulp/iser/iser_verbs.c | 15 ++--
drivers/input/serio/i8042-x86ia64io.h | 7 ++
drivers/isdn/hardware/mISDN/mISDNipac.c | 12 ++-
drivers/isdn/hardware/mISDN/w6692.c | 6 +-
drivers/md/raid1.c | 2 +-
drivers/media/tuners/tuner-xc2028.c | 7 +-
drivers/message/i2o/i2o_config.c | 4 +-
drivers/mtd/chips/Kconfig | 1 +
drivers/net/ethernet/broadcom/tg3.c | 2 +-
drivers/net/ethernet/intel/e1000e/ich8lan.c | 13 +--
drivers/net/ethernet/mellanox/mlx4/en_netdev.c | 10 +--
drivers/net/ethernet/mellanox/mlx4/en_tx.c | 6 +-
drivers/net/ethernet/mellanox/mlx5/core/debugfs.c | 6 +-
drivers/net/phy/phy.c | 2 +-
drivers/pci/host/pcie-xilinx.c | 4 +-
drivers/regulator/core.c | 2 +
drivers/scsi/advansys.c | 3 +-
drivers/scsi/ips.c | 9 ++-
drivers/staging/bcm/Kconfig | 1 +
drivers/staging/imx-drm/imx-hdmi.c | 2 +-
drivers/staging/unisys/visorutil/periodic_work.c | 8 +-
drivers/staging/vt6655/device_main.c | 10 ++-
drivers/tty/isicom.c | 2 +-
drivers/usb/gadget/function/f_midi.c | 4 +-
fs/9p/acl.c | 40 ++++-----
fs/btrfs/acl.c | 6 +-
fs/ceph/acl.c | 6 +-
fs/cifs/cifsglob.h | 11 +++
fs/cifs/cifssmb.c | 4 +
fs/cifs/connect.c | 13 ++-
fs/cifs/smb2misc.c | 44 ++++++++++
fs/cifs/smb2ops.c | 4 +
fs/cifs/smb2proto.h | 7 ++
fs/cifs/smb2transport.c | 58 ++++++++++++--
fs/cifs/transport.c | 2 +
fs/ext2/acl.c | 12 +--
fs/ext4/acl.c | 12 +--
fs/ext4/xattr.c | 32 +++++++-
fs/f2fs/acl.c | 6 +-
fs/f2fs/super.c | 98 +++++++++++++++++++++++
fs/gfs2/acl.c | 12 +--
fs/gfs2/dir.c | 15 ++--
fs/hfsplus/posix_acl.c | 4 +-
fs/jffs2/acl.c | 9 +--
fs/jfs/acl.c | 6 +-
fs/nfsd/nfssvc.c | 36 +++++++++
fs/ocfs2/acl.c | 20 ++---
fs/posix_acl.c | 31 +++++++
fs/reiserfs/xattr_acl.c | 8 +-
fs/timerfd.c | 17 +++-
fs/xfs/xfs_acl.c | 13 +--
include/linux/capability.h | 2 -
include/linux/cpumask.h | 6 +-
include/linux/cred.h | 5 +-
include/linux/mtd/map.h | 19 ++---
include/linux/perf_event.h | 6 --
include/linux/posix_acl.h | 1 +
kernel/events/core.c | 15 +++-
lib/cpumask.c | 74 ++++++-----------
mm/cma.c | 7 +-
mm/memory.c | 13 ++-
net/9p/client.c | 4 +
net/core/neighbour.c | 3 +-
net/core/netpoll.c | 10 ++-
net/core/sock.c | 4 +-
net/ipv4/route.c | 2 +-
net/ipv6/ip6mr.c | 13 ++-
net/l2tp/l2tp_ip.c | 5 +-
net/l2tp/l2tp_ip6.c | 5 +-
net/l2tp/l2tp_ppp.c | 7 +-
net/packet/af_packet.c | 4 +
net/rds/cong.c | 4 +-
net/sctp/socket.c | 3 +
scripts/kconfig/Makefile | 2 +-
scripts/mod/modpost.c | 34 +++++++-
sound/core/pcm_lib.c | 2 +-
sound/core/seq/seq_lock.c | 9 +--
sound/ppc/awacs.c | 1 +
97 files changed, 742 insertions(+), 347 deletions(-)