[PATCH 3.18 00/52] 3.18.106-stable review

From: Greg Kroah-Hartman
Date: Sun Apr 22 2018 - 10:20:59 EST


This is the start of the stable review cycle for the 3.18.106 release.
There are 52 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 Tue Apr 24 13:53:02 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/v3.x/stable-review/patch-3.18.106-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.106-rc1

Amir Goldstein <amir73il@xxxxxxxxx>
fanotify: fix logic of events on child

Ian Kent <raven@xxxxxxxxxx>
autofs: mount point create should honour passed in mode

Al Viro <viro@xxxxxxxxxxxxxxxxxx>
Don't leak MNT_INTERNAL away from internal mounts

Al Viro <viro@xxxxxxxxxxxxxxxxxx>
rpc_pipefs: fix double-dput()

Al Viro <viro@xxxxxxxxxxxxxxxxxx>
hypfs_kill_super(): deal with failed allocations

Al Viro <viro@xxxxxxxxxxxxxxxxxx>
jffs2_kill_sb(): deal with failed allocations

Michael Ellerman <mpe@xxxxxxxxxxxxxx>
powerpc/lib: Fix off-by-one in alternate feature patching

Matt Redfearn <matt.redfearn@xxxxxxxx>
MIPS: memset.S: Fix clobber of v1 in last_fixup

Matt Redfearn <matt.redfearn@xxxxxxxx>
MIPS: memset.S: Fix return of __clear_user from Lpartial_fixup

Matt Redfearn <matt.redfearn@xxxxxxxx>
MIPS: memset.S: EVA & fault support for small_memset

Rodrigo Rivas Costa <rodrigorivascosta@xxxxxxxxx>
HID: hidraw: Fix crash on HIDIOCGFEATURE with a destroyed device

Takashi Iwai <tiwai@xxxxxxx>
ALSA: rawmidi: Fix missing input substream checks in compat ioctls

Paul Parsons <lost.distance@xxxxxxxxx>
drm/radeon: Fix PCIe lane width calculation

Theodore Ts'o <tytso@xxxxxxx>
ext4: don't allow r/w mounts if metadata blocks overlap the superblock

Theodore Ts'o <tytso@xxxxxxx>
ext4: fail ext4_iget for root directory if unallocated

Theodore Ts'o <tytso@xxxxxxx>
ext4: add validity checks for bitmap block numbers

Takashi Iwai <tiwai@xxxxxxx>
ALSA: pcm: Fix endless loop for XRUN recovery in OSS emulation

Takashi Iwai <tiwai@xxxxxxx>
ALSA: pcm: Fix mutex unbalance in OSS emulation ioctls

Takashi Iwai <tiwai@xxxxxxx>
ALSA: pcm: Return -EBUSY for OSS ioctls changing busy streams

Takashi Iwai <tiwai@xxxxxxx>
ALSA: pcm: Avoid potential races between OSS ioctls and read/write

Takashi Iwai <tiwai@xxxxxxx>
ALSA: pcm: Use ERESTARTSYS instead of EINTR in OSS emulation

Nicholas Mc Guire <hofrat@xxxxxxxxx>
ALSA: oss: consolidate kmalloc/memset 0 call to kzalloc

Igor Pylypiv <igor.pylypiv@xxxxxxxxx>
watchdog: f71808e_wdt: Fix WD_EN register read

Mikhail Lappo <mikhail.lappo@xxxxxxxxxxx>
thermal: imx: Fix race condition in imx_thermal_probe()

Richard Genoud <richard.genoud@xxxxxxxxx>
clk: mvebu: armada-38x: add support for missing clocks

Ralph Sennhauser <ralph.sennhauser@xxxxxxxxx>
clk: mvebu: armada-38x: add support for 1866MHz variants

Alex Smith <alex.smith@xxxxxxxxxx>
mmc: jz4740: Fix race condition in IRQ mask update

Theodore Ts'o <tytso@xxxxxxx>
jbd2: if the journal is aborted then don't allow update of the log tail

Theodore Ts'o <tytso@xxxxxxx>
random: use a tighter cap in credit_entropy_bits_safe()

Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>
thunderbolt: Resume control channel after hibernation image is created

James Kelly <jamespeterkelly@xxxxxxxxx>
ASoC: ssm2602: Replace reg_default_raw with reg_default

Nicholas Piggin <npiggin@xxxxxxxxx>
powerpc/powernv: Fix OPAL NVRAM driver OPAL_BUSY loops

Nicholas Piggin <npiggin@xxxxxxxxx>
powerpc/64: Fix smp_wmb barrier definition use use lwsync consistently

Nicholas Piggin <npiggin@xxxxxxxxx>
powerpc/powernv: Handle unknown OPAL errors in opal_nvram_write()

Aaron Ma <aaron.ma@xxxxxxxxxxxxx>
HID: i2c-hid: fix size check and type usage

Thinh Nguyen <Thinh.Nguyen@xxxxxxxxxxxx>
usb: dwc3: pci: Properly cleanup resource

Zhengjun Xing <zhengjun.xing@xxxxxxxxxxxxxxx>
USB:fix USB3 devices behind USB3 hubs not resuming at hibernate thaw

Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>
ACPI / hotplug / PCI: Check presence of slot itself in get_slot_status()

Jason Andryuk <jandryuk@xxxxxxxxx>
xen-netfront: Fix hang on device removal

Nicolas Ferre <nicolas.ferre@xxxxxxxxxxxxx>
ARM: dts: at91: at91sam9g25: fix mux-mask pinctrl property

Heinrich Schuchardt <xypron.glpk@xxxxxx>
usb: musb: gadget: misplaced out of bounds check

Takashi Iwai <tiwai@xxxxxxx>
resource: fix integer overflow at reallocation

Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
fs/reiserfs/journal.c: add missing resierfs_warning() arg

Richard Weinberger <richard@xxxxxx>
ubi: Reject MLC NAND

Romain Izard <romain.izard.pro@xxxxxxxxx>
ubi: Fix error for write access

Richard Weinberger <richard@xxxxxx>
ubifs: Check ubifs_wbuf_sync() return code

Tejaswi Tanikella <tejaswit@xxxxxxxxxxxxxx>
slip: Check if rstate is initialized before uncompressing

Vasily Gorbik <gor@xxxxxxxxxxxxx>
s390/ipl: ensure loadparm valid flag is set

Julian Wiedmann <jwi@xxxxxxxxxxxxxxxxxx>
s390/qdio: don't merge ERROR output buffers

Julian Wiedmann <jwi@xxxxxxxxxxxxxxxxxx>
s390/qdio: don't retry EQBS after CCQ 96

Helge Deller <deller@xxxxxx>
parisc: Fix out of array access in match_pci_device()

Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxxxxx>
media: v4l2-compat-ioctl32: don't oops on overlay


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

Diffstat:

Makefile | 4 +-
arch/arm/boot/dts/at91sam9g25.dtsi | 2 +-
arch/mips/lib/memset.S | 11 +-
arch/parisc/kernel/drivers.c | 4 +
arch/powerpc/include/asm/barrier.h | 3 +-
arch/powerpc/include/asm/synch.h | 4 -
arch/powerpc/lib/feature-fixups.c | 2 +-
arch/powerpc/platforms/powernv/opal-nvram.c | 11 +-
arch/s390/hypfs/inode.c | 2 +-
arch/s390/kernel/ipl.c | 1 +
drivers/char/random.c | 2 +-
drivers/clk/mvebu/armada-38x.c | 15 +-
drivers/gpu/drm/radeon/si_dpm.c | 4 +-
drivers/hid/hidraw.c | 5 +
drivers/hid/i2c-hid/i2c-hid.c | 13 +-
drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 4 +-
drivers/mmc/host/jz4740_mmc.c | 2 +-
drivers/mtd/ubi/block.c | 2 +-
drivers/mtd/ubi/build.c | 11 ++
drivers/net/slip/slhc.c | 5 +
drivers/net/xen-netfront.c | 7 +-
drivers/pci/hotplug/acpiphp_glue.c | 23 +++-
drivers/s390/cio/qdio_main.c | 42 +++---
drivers/thermal/imx_thermal.c | 6 +-
drivers/thunderbolt/nhi.c | 1 +
drivers/usb/core/generic.c | 9 +-
drivers/usb/dwc3/dwc3-pci.c | 2 +-
drivers/usb/musb/musb_gadget_ep0.c | 14 +-
drivers/watchdog/f71808e_wdt.c | 2 +-
fs/autofs4/root.c | 2 +-
fs/ext4/balloc.c | 16 ++-
fs/ext4/ialloc.c | 8 +-
fs/ext4/inode.c | 6 +
fs/ext4/super.c | 6 +
fs/jbd2/journal.c | 5 +-
fs/jffs2/super.c | 2 +-
fs/namespace.c | 3 +-
fs/notify/fanotify/fanotify.c | 34 ++---
fs/reiserfs/journal.c | 2 +-
fs/ubifs/super.c | 14 +-
include/net/slhc_vj.h | 1 +
include/sound/pcm_oss.h | 1 +
kernel/resource.c | 3 +-
net/sunrpc/rpc_pipe.c | 1 +
sound/core/oss/pcm_oss.c | 189 ++++++++++++++++++++------
sound/core/rawmidi_compat.c | 18 ++-
sound/soc/codecs/ssm2602.c | 19 ++-
47 files changed, 388 insertions(+), 155 deletions(-)