[PATCH 3.18 000/120] 3.18.124-stable review

From: Greg Kroah-Hartman
Date: Thu Oct 11 2018 - 11:36:54 EST


This is the start of the stable review cycle for the 3.18.124 release.
There are 120 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 Sat Oct 13 15:25:29 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.124-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.124-rc1

Gao Feng <gfree.wind@xxxxxxxxxxx>
ebtables: arpreply: Add the standard target sanity check

Richard Weinberger <richard@xxxxxx>
ubifs: Check for name being NULL while mounting

Prateek Sood <prsood@xxxxxxxxxxxxxx>
cgroup: Fix deadlock in cpu hotplug path

Theodore Ts'o <tytso@xxxxxxx>
ext4: avoid running out of journal credits when appending to an inline file

Theodore Ts'o <tytso@xxxxxxx>
jbd2: don't mark block as modified if the handle is out of credits

Theodore Ts'o <tytso@xxxxxxx>
ext4: add more inode number paranoia checks

Theodore Ts'o <tytso@xxxxxxx>
ext4: never move the system.data xattr out of the inode body

Theodore Ts'o <tytso@xxxxxxx>
ext4: always verify the magic number in xattr blocks

Theodore Ts'o <tytso@xxxxxxx>
ext4: add corruption check in ext4_xattr_set_entry()

Theodore Ts'o <tytso@xxxxxxx>
ext4: fix false negatives *and* false positives in ext4_check_descriptors()

Theodore Ts'o <tytso@xxxxxxx>
ext4: always check block group bounds in ext4_init_block_bitmap()

Theodore Ts'o <tytso@xxxxxxx>
ext4: fix check to prevent initializing reserved inodes

Theodore Ts'o <tytso@xxxxxxx>
ext4: only look at the bg_flags field if it is valid

Johan Hovold <johan@xxxxxxxxxx>
USB: serial: simple: add Motorola Tetra MTP6550 id

Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
PM / core: Clear the direct_complete flag on errors

Felix Fietkau <nbd@xxxxxxxx>
mac80211: fix setting IEEE80211_KEY_FLAG_RX_MGMT for AP mode keys

Daniel Drake <drake@xxxxxxxxxxxx>
PCI: Reprogram bridge prefetch registers on resume

Andy Lutomirski <luto@xxxxxxxxxx>
x86/vdso: Fix vDSO syscall fallback asm constraint regression

Andy Lutomirski <luto@xxxxxxxxxx>
x86/vdso: Fix asm constraints on vDSO syscall fallbacks

Tomi Valkeinen <tomi.valkeinen@xxxxxx>
fbdev/omapfb: fix omapfb_memory_read infoleak

Jann Horn <jannh@xxxxxxxxxx>
proc: restrict kernel stack dumps to root

Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Make file credentials available to the seqfile interfaces

Mike Snitzer <snitzer@xxxxxxxxxx>
dm thin metadata: fix __udivdi3 undefined on 32-bit

Ashish Samant <ashish.samant@xxxxxxxxxx>
ocfs2: fix locking for res->tracking and dlm->tracking_list

Leonard Crestez <leonard.crestez@xxxxxxx>
crypto: mxs-dcp - Fix wait logic on chan threads

Aurelien Aptel <aaptel@xxxxxxxx>
smb2: fix missing files in root share directory listing

Josh Abraham <j.abraham1776@xxxxxxxxx>
xen: fix GCC warning and remove duplicate EVTCHN_ROW/EVTCHN_COL usage

Vitaly Kuznetsov <vkuznets@xxxxxxxxxx>
xen/manage: don't complain about an empty value in control/sysrq node

Dan Carpenter <dan.carpenter@xxxxxxxxxx>
cifs: read overflow in is_valid_oplock_break()

Julian Wiedmann <jwi@xxxxxxxxxxxxx>
s390/qeth: don't dump past end of unknown HW header

Kai-Heng Feng <kai.heng.feng@xxxxxxxxxxxxx>
r8169: Clear RTL_FLAG_TASK_*_PENDING when clearing RTL_FLAG_TASK_ENABLED

Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
hexagon: modify ffs() and fls() to return int

Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
arch/hexagon: fix kernel/dma.c build warning

Joe Thornber <ejt@xxxxxxxxxx>
dm thin metadata: try to avoid ever aborting transactions

Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
fs/cifs: suppress a string overflow warning

Ben Hutchings <ben.hutchings@xxxxxxxxxxxxxxx>
USB: yurex: Check for truncation in yurex_read()

Jann Horn <jannh@xxxxxxxxxx>
RDMA/ucma: check fd type in ucma_migrate_id()

Daniel Black <daniel@xxxxxxxxxxxxx>
mm: madvise(MADV_DODUMP): allow hugetlbfs pages

Naoya Horiguchi <n-horiguchi@xxxxxxxxxxxxx>
tools/vm/page-types.c: fix "defined but not used" warning

Naoya Horiguchi <n-horiguchi@xxxxxxxxxxxxx>
tools/vm/slabinfo.c: fix sign-compare warning

Emmanuel Grumbach <emmanuel.grumbach@xxxxxxxxx>
mac80211: shorten the IBSS debug messages

Ilan Peer <ilan.peer@xxxxxxxxx>
mac80211: Fix station bandwidth setting after channel switch

Emmanuel Grumbach <emmanuel.grumbach@xxxxxxxxx>
mac80211: fix a race between restart and CSA flows

Jon Kuhn <jkuhn@xxxxxxxxxxxxx>
fs/cifs: don't translate SFM_SLASH (U+F026) to backslash

Jia-Ju Bai <baijiaju1990@xxxxxxxxx>
net: cadence: Fix a sleep-in-atomic-context bug in macb_halt_tx()

Xiao Ni <xni@xxxxxxxxxx>
RAID10 BUG_ON in raise_barrier when force is true and conf->barrier is 0

Arunk Khandavalli <akhandav@xxxxxxxxxxxxxx>
cfg80211: nl80211_update_ft_ies() to validate NL80211_ATTR_IE

Michael Hennerich <michael.hennerich@xxxxxxxxxx>
gpio: adp5588: Fix sleep-in-atomic-context bug

Danek Duvall <duvall@xxxxxxxxxxxxxx>
mac80211: correct use of IEEE80211_VHT_CAP_RXSTBC_X

Paul Mackerras <paulus@xxxxxxxxxx>
KVM: PPC: Book3S HV: Don't truncate HPTE index in xlate function

Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>
media: v4l: event: Prevent freeing event subscriptions while accessed

Marc Zyngier <marc.zyngier@xxxxxxx>
arm64: KVM: Sanitize PSTATE.M when being set from userspace

Dan Carpenter <dan.carpenter@xxxxxxxxxx>
hwmon: (adt7475) Make adt7475_read_word() return errors

Bo Chen <chenbo@xxxxxxx>
e1000: ensure to free old tx/rx rings in set_ringparam()

Bo Chen <chenbo@xxxxxxx>
e1000: check on netif_running() before calling e1000_up()

Anson Huang <Anson.Huang@xxxxxxx>
thermal: of-thermal: disable passive polling when thermal zone is disabled

Theodore Ts'o <tytso@xxxxxxx>
ext4: verify the depth of extent tree in ext4_find_extent()

Dave Martin <Dave.Martin@xxxxxxx>
arm64: KVM: Tighten guest core register access from userspace

Greg Hackmann <ghackmann@xxxxxxxxxxx>
staging: android: ion: fix ION_IOC_{MAP,SHARE} use-after-free

Vincent Pelletier <plr.vincent@xxxxxxxxx>
scsi: target: iscsi: Use bin2hex instead of a re-implementation

Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
USB: remove LPM management from usb_driver_claim_interface()

Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
Revert "usb: cdc-wdm: Fix a sleep-in-atomic-context bug in service_outstanding_interrupt()"

Oliver Neukum <oneukum@xxxxxxxx>
USB: usbdevfs: restore warning for nonsensical flags

Oliver Neukum <oneukum@xxxxxxxx>
USB: usbdevfs: sanitize flags more

ming_qian <ming_qian@xxxxxxxxxxxxxx>
media: uvcvideo: Support realtek's UVC 1.5 device

Alexey Dobriyan <adobriyan@xxxxxxxxx>
slub: make ->cpu_partial unsigned int

Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
USB: handle NULL config in usb_find_alt_setting()

Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
USB: fix error handling in usb_driver_claim_interface()

Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
spi: rspi: Fix interrupted DMA transfers

Hiromitsu Yamasaki <hiromitsu.yamasaki.ym@xxxxxxxxxxx>
spi: sh-msiof: Fix handling of write value for SISTR register

Marcel Ziswiler <marcel.ziswiler@xxxxxxxxxxx>
spi: tegra20-slink: explicitly enable/disable clock

Christophe Leroy <christophe.leroy@xxxxxx>
serial: cpm_uart: return immediately from console poll

Andy Whitcroft <apw@xxxxxxxxxxxxx>
floppy: Do not copy a kernel pointer to user memory in FDGETPRM ioctl

J. Bruce Fields <bfields@xxxxxxxxxx>
nfsd: fix corrupted reply to badly ordered compound

Jessica Yu <jeyu@xxxxxxxxxx>
module: exclude SHN_UNDEF symbols from kallsyms api

Liam Girdwood <liam.r.girdwood@xxxxxxxxxxxxxxx>
ASoC: dapm: Fix potential DAI widget pointer deref when linking DAIs

Zhouyang Jia <jiazhouyang09@xxxxxxxxx>
scsi: bnx2i: add error handling for ioremap_nocache

Zhouyang Jia <jiazhouyang09@xxxxxxxxx>
HID: hid-ntrig: add error handling for sysfs_create_group

Ethan Tuttle <ethan@xxxxxxxxxxxxxxx>
ARM: mvebu: declare asm symbols as character arrays in pmsu.c

Tony Lindgren <tony@xxxxxxxxxxx>
wlcore: Add missing PM call for wlcore_cmd_wait_for_event_or_timeout()

Dan Carpenter <dan.carpenter@xxxxxxxxxx>
rndis_wlan: potential buffer overflow in rndis_wlan_auth_indication()

Kai-Heng Feng <kai.heng.feng@xxxxxxxxxxxxx>
ALSA: hda: Add AZX_DCAPS_PM_RUNTIME for AMD Raven Ridge

Zhouyang Jia <jiazhouyang09@xxxxxxxxx>
media: tm6000: add error handling for dvb_register_adapter

Zhouyang Jia <jiazhouyang09@xxxxxxxxx>
drivers/tty: add error handling for pcmcia_loop_config

Alistair Strachan <astrachan@xxxxxxxxxx>
staging: android: ashmem: Fix mmap size validation

Akinobu Mita <akinobu.mita@xxxxxxxxx>
media: soc_camera: ov772x: correct setting of banding filter

Akinobu Mita <akinobu.mita@xxxxxxxxx>
media: s3c-camif: ignore -ENOIOCTLCMD from v4l2_subdev_call for s_power

Nicholas Mc Guire <hofrat@xxxxxxxxx>
ALSA: snd-aoa: add of_node_put() in error path

Vasily Gorbik <gor@xxxxxxxxxxxxx>
s390/extmem: fix gcc 8 stringop-overflow warning

Thomas Gleixner <tglx@xxxxxxxxxxxxx>
alarmtimer: Prevent overflow for relative nanosleep

Julia Lawall <Julia.Lawall@xxxxxxx>
usb: wusbcore: security: cast sizeof to int for comparison

Breno Leitao <leitao@xxxxxxxxxx>
scsi: ibmvscsi: Improve strings handling

Bart Van Assche <bart.vanassche@xxxxxxx>
scsi: target/iscsi: Make iscsit_ta_authentication() respect the output buffer size

Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
x86/tsc: Add missing header to tsc_msr.c

Hari Bathini <hbathini@xxxxxxxxxxxxx>
powerpc/kdump: Handle crashkernel memory reservation failure

Sylwester Nawrocki <s.nawrocki@xxxxxxxxxxx>
media: exynos4-is: Prevent NULL pointer dereference in __isp_video_try_fmt()

Johan Hovold <johan@xxxxxxxxxx>
USB: serial: kobil_sct: fix modem-status error handling

Anton Vasilyev <vasilyev@xxxxxxxxx>
uwb: hwa-rc: fix memory leak at probe

Dan Williams <dan.j.williams@xxxxxxxxx>
x86/numa_emulation: Fix emulated-to-physical node mapping

Matt Ranostay <matt.ranostay@xxxxxxxxxxxx>
tsl2550: fix lux1_input error in low light

Stafford Horne <shorne@xxxxxxxxx>
crypto: skcipher - Fix -Wstringop-truncation warnings

Roderick Colenbrander <roderick.colenbrander@xxxxxxxx>
HID: sony: Support DS4 dongle

Roderick Colenbrander <roderick.colenbrander@xxxxxxxx>
HID: sony: Update device ids

Catalin Marinas <catalin.marinas@xxxxxxx>
arm64: Add trace_hardirqs_off annotation in ret_to_user

Li Dongyang <dongyangli@xxxxxxx>
ext4: don't mark mmp buffer head dirty

Theodore Ts'o <tytso@xxxxxxx>
ext4: fix online resize's handling of a too-small final block group

Theodore Ts'o <tytso@xxxxxxx>
ext4: recalucate superblock checksum after updating free blocks/inodes

Theodore Ts'o <tytso@xxxxxxx>
ext4: avoid divide by zero fault when deleting corrupted inline directories

Junxiao Bi <junxiao.bi@xxxxxxxxxx>
ocfs2: fix ocfs2 read block panic

Vincent Pelletier <plr.vincent@xxxxxxxxx>
scsi: target: iscsi: Use hex2bin instead of a re-implementation

Eric Dumazet <edumazet@xxxxxxxxxx>
ipv6: fix possible use-after-free in ip6_xmit()

Vasily Khoruzhick <vasilykh@xxxxxxxxxx>
neighbour: confirm neigh entries when ARP packet is received

Colin Ian King <colin.king@xxxxxxxxxxxxx>
net: hp100: fix always-true check for link up state

Willy Tarreau <w@xxxxxx>
net/appletalk: fix minor pointer leak to userspace in SIOCFINDIPDDPRT

Toke HÃiland-JÃrgensen <toke@xxxxxxx>
gso_segment: Reset skb->mac_len after modifying network header

Joel Fernandes (Google) <joel@xxxxxxxxxxxxxxxxx>
mm: shmem.c: Correctly annotate new inodes for lockdep

Vaibhav Nagarnaik <vnagarnaik@xxxxxxxxxx>
ring-buffer: Allow for rescheduling when removing pages

Willy Tarreau <w@xxxxxx>
ALSA: emu10k1: fix possible info leak to userspace on SNDRV_EMU10K1_IOCTL_INFO

Takashi Sakamoto <o-takashi@xxxxxxxxxxxxx>
ALSA: bebob: use address returned by kmalloc() instead of kernel stack for streaming DMA mapping

SÃbastien Szymanski <sebastien.szymanski@xxxxxxxxxxxx>
ASoC: cs4265: fix MMTLR Data switch control


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

Diffstat:

Makefile | 4 +-
arch/arm/mach-mvebu/pmsu.c | 6 +-
arch/arm64/include/asm/kvm_emulate.h | 5 ++
arch/arm64/kernel/entry.S | 3 +
arch/arm64/kvm/guest.c | 55 +++++++++++++++-
arch/hexagon/include/asm/bitops.h | 4 +-
arch/hexagon/kernel/dma.c | 2 +-
arch/powerpc/kernel/machine_kexec.c | 7 ++-
arch/powerpc/kvm/book3s_64_mmu_hv.c | 2 +-
arch/s390/mm/extmem.c | 4 +-
arch/x86/kernel/tsc_msr.c | 1 +
arch/x86/mm/numa_emulation.c | 2 +-
arch/x86/vdso/vclock_gettime.c | 26 ++++----
crypto/ablkcipher.c | 2 +
crypto/blkcipher.c | 1 +
drivers/base/power/main.c | 5 +-
drivers/block/floppy.c | 3 +
drivers/crypto/mxs-dcp.c | 53 +++++++++-------
drivers/gpio/gpio-adp5588.c | 24 +++++--
drivers/hid/hid-core.c | 3 +
drivers/hid/hid-ids.h | 2 +
drivers/hid/hid-ntrig.c | 2 +
drivers/hid/hid-sony.c | 6 ++
drivers/hwmon/adt7475.c | 14 +++--
drivers/infiniband/core/ucma.c | 6 ++
drivers/md/dm-thin-metadata.c | 34 +++++++++-
drivers/md/dm-thin.c | 73 +++++++++++++++++++---
drivers/md/raid10.c | 5 +-
drivers/media/i2c/soc_camera/ov772x.c | 2 +-
drivers/media/platform/exynos4-is/fimc-isp-video.c | 11 +++-
drivers/media/platform/s3c-camif/camif-capture.c | 2 +
drivers/media/usb/tm6000/tm6000-dvb.c | 5 ++
drivers/media/usb/uvc/uvc_video.c | 24 +++++--
drivers/media/v4l2-core/v4l2-event.c | 37 +++++------
drivers/media/v4l2-core/v4l2-fh.c | 2 +
drivers/misc/tsl2550.c | 2 +-
drivers/net/appletalk/ipddp.c | 8 ++-
drivers/net/ethernet/cadence/macb.c | 2 +-
drivers/net/ethernet/hp/hp100.c | 2 +-
drivers/net/ethernet/intel/e1000/e1000_ethtool.c | 7 ++-
drivers/net/ethernet/realtek/r8169.c | 9 ++-
drivers/net/wireless/rndis_wlan.c | 2 +
drivers/net/wireless/ti/wlcore/cmd.c | 6 ++
drivers/pci/pci.c | 27 +++++---
drivers/s390/net/qeth_l2_main.c | 2 +-
drivers/s390/net/qeth_l3_main.c | 2 +-
drivers/scsi/bnx2i/bnx2i_hwi.c | 2 +
drivers/scsi/ibmvscsi/ibmvscsi.c | 4 +-
drivers/spi/spi-rspi.c | 10 +--
drivers/spi/spi-sh-msiof.c | 3 +-
drivers/spi/spi-tegra20-slink.c | 31 ++++++---
drivers/staging/android/ashmem.c | 6 ++
drivers/staging/android/ion/ion.c | 60 +++++++++++-------
drivers/target/iscsi/iscsi_target_auth.c | 45 +++++--------
drivers/target/iscsi/iscsi_target_tpg.c | 3 +-
drivers/thermal/of-thermal.c | 7 ++-
drivers/tty/serial/8250/serial_cs.c | 6 +-
drivers/tty/serial/cpm_uart/cpm_uart_core.c | 10 ++-
drivers/usb/class/cdc-wdm.c | 2 +-
drivers/usb/core/devio.c | 24 ++++++-
drivers/usb/core/driver.c | 28 ++++-----
drivers/usb/core/usb.c | 2 +
drivers/usb/misc/yurex.c | 3 +
drivers/usb/serial/kobil_sct.c | 12 +++-
drivers/usb/serial/usb-serial-simple.c | 3 +-
drivers/usb/wusbcore/security.c | 2 +-
drivers/uwb/hwa-rc.c | 1 +
drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c | 5 +-
drivers/xen/events/events_base.c | 2 +-
drivers/xen/manage.c | 6 +-
fs/cifs/cifs_unicode.c | 3 -
fs/cifs/cifssmb.c | 11 +++-
fs/cifs/misc.c | 8 +++
fs/cifs/smb2ops.c | 2 +-
fs/ext4/balloc.c | 21 ++++---
fs/ext4/dir.c | 20 +++---
fs/ext4/ext4.h | 8 ---
fs/ext4/ext4_extents.h | 1 +
fs/ext4/extents.c | 6 ++
fs/ext4/ialloc.c | 19 +++++-
fs/ext4/inline.c | 42 ++-----------
fs/ext4/inode.c | 3 +-
fs/ext4/mballoc.c | 6 +-
fs/ext4/mmp.c | 1 -
fs/ext4/resize.c | 20 ++++++
fs/ext4/super.c | 14 ++++-
fs/ext4/xattr.c | 49 +++++++--------
fs/jbd2/transaction.c | 2 +-
fs/nfsd/nfs4proc.c | 1 +
fs/ocfs2/buffer_head_io.c | 1 +
fs/ocfs2/dlm/dlmmaster.c | 4 +-
fs/proc/base.c | 14 +++++
fs/seq_file.c | 7 ++-
fs/ubifs/super.c | 3 +
include/linux/netfilter_bridge/ebtables.h | 5 ++
include/linux/seq_file.h | 13 ++--
include/linux/slub_def.h | 3 +-
include/media/v4l2-fh.h | 1 +
kernel/cgroup.c | 6 +-
kernel/module.c | 6 +-
kernel/time/alarmtimer.c | 3 +-
kernel/trace/ring_buffer.c | 2 +
mm/madvise.c | 2 +-
mm/shmem.c | 2 +
mm/slub.c | 6 +-
net/bridge/netfilter/ebt_arpreply.c | 3 +
net/core/neighbour.c | 13 ++--
net/ipv4/af_inet.c | 1 +
net/ipv6/ip6_offload.c | 1 +
net/ipv6/ip6_output.c | 3 +-
net/mac80211/cfg.c | 2 +-
net/mac80211/ibss.c | 22 +++----
net/mac80211/main.c | 26 ++++++--
net/mac80211/mlme.c | 53 ++++++++++++++++
net/wireless/nl80211.c | 1 +
sound/aoa/core/gpio-feature.c | 4 +-
sound/firewire/bebob/bebob_maudio.c | 24 ++++---
sound/pci/emu10k1/emufx.c | 2 +-
sound/pci/hda/hda_intel.c | 3 +-
sound/soc/codecs/cs4265.c | 4 +-
sound/soc/soc-dapm.c | 7 +++
tools/vm/page-types.c | 6 --
tools/vm/slabinfo.c | 4 +-
123 files changed, 882 insertions(+), 395 deletions(-)