This is the start of the stable review cycle for the 4.9.185 release. There are 102 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 10 Jul 2019 03:03:52 PM UTC. 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.9.185-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.185-rc1 Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx> arm64: kaslr: keep modules inside module region when KASAN is enabled Robin Gong <yibin.gong@xxxxxxx> dmaengine: imx-sdma: remove BD_INTR for channel0 Dmitry Korotin <dkorotin@xxxxxxxxxxxx> MIPS: Add missing EHB in mtc0 -> mfc0 sequence. Mike Marciniszyn <mike.marciniszyn@xxxxxxxxx> IB/hfi1: Close PSM sdma_progress sleep window Wanpeng Li <wanpengli@xxxxxxxxxxx> KVM: LAPIC: Fix pending interrupt in IRR blocked by software disable LAPIC Kees Cook <keescook@xxxxxxxxxxxx> arm64, vdso: Define vdso_{start,end} as array Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> tty: rocket: fix incorrect forward declaration of 'rp_init()' Nikolay Borisov <nborisov@xxxxxxxx> btrfs: Ensure replaced device doesn't have pending chunk allocation Robert Beckett <bob.beckett@xxxxxxxxxxxxx> drm/imx: only send event on crtc disable if kept disabled Robert Beckett <bob.beckett@xxxxxxxxxxxxx> drm/imx: notify drm core before sending event during crtc disable Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> lib/mpi: Fix karactx leak in mpi_powm Colin Ian King <colin.king@xxxxxxxxxxxxx> ALSA: usb-audio: fix sign unintended sign extension on left shifts Takashi Iwai <tiwai@xxxxxxx> ALSA: line6: Fix write on zero-sized buffer Takashi Sakamoto <o-takashi@xxxxxxxxxxxxx> ALSA: firewire-lib/fireworks: fix miss detection of received MIDI messages Colin Ian King <colin.king@xxxxxxxxxxxxx> ALSA: seq: fix incorrect order of dest_client/dest_ports arguments Eric Biggers <ebiggers@xxxxxxxxxx> crypto: user - prevent operating on larval algorithms Jann Horn <jannh@xxxxxxxxxx> ptrace: Fix ->ptracer_cred handling for PTRACE_TRACEME Paul Burton <paul.burton@xxxxxxxx> MIPS: Workaround GCC __builtin_unreachable reordering bug Lucas De Marchi <lucas.demarchi@xxxxxxxxx> drm/i915/dmc: protect against reading random memory Paolo Bonzini <pbonzini@xxxxxxxxxx> KVM: x86: degrade WARN to pr_warn_ratelimited Arnd Bergmann <arnd@xxxxxxxx> clk: sunxi: fix uninitialized access Vineet Gupta <vgupta@xxxxxxxxxxxx> ARC: handle gcc generated __builtin_trap for older compiler Arnd Bergmann <arnd@xxxxxxxx> bug.h: work around GCC PR82365 in BUG() Vineet Gupta <vgupta@xxxxxxxxxxxx> ARC: fix allnoconfig build warning Arnd Bergmann <arnd@xxxxxxxx> mfd: omap-usb-tll: Fix register offsets Paul Burton <paul.burton@xxxxxxxx> MIPS: netlogic: xlr: Remove erroneous check in nlm_fmn_send() Manuel Lauss <manuel.lauss@xxxxxxxxx> MIPS: math-emu: do not use bools for arithmetic swkhack <swkhack@xxxxxxxxx> mm/mlock.c: change count_mm_mlocked_page_nr return type Manuel Traut <manut@xxxxxxxxxxxxx> scripts/decode_stacktrace.sh: prefix addr2line with $CROSS_COMPILE Don Brace <don.brace@xxxxxxxxxxxxx> scsi: hpsa: correct ioaccel2 chaining Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx> usb: gadget: udc: lpc32xx: allocate descriptor with GFP_ATOMIC Young Xiao <92siuyang@xxxxxxxxx> usb: gadget: fusb300_udc: Fix memory leak of fusb300->ep[i] Yu-Hsuan Hsu <yuhsuan@xxxxxxxxxxxx> ASoC: max98090: remove 24-bit format support if RJ is 0 Hsin-Yi Wang <hsinyi@xxxxxxxxxxxx> drm/mediatek: fix unbind functions YueHaibing <yuehaibing@xxxxxxxxxx> spi: bitbang: Fix NULL pointer dereference in spi_unregister_master Libin Yang <libin.yang@xxxxxxxxx> ASoC: soc-pcm: BE dai needs prepare when pause release after resume Matt Flax <flatmax@xxxxxxxxxxx> ASoC : cs4265 : readable register too low Matias Karhumaa <matias.karhumaa@xxxxxxxxx> Bluetooth: Fix faulty expression for minimum encryption key size check Xin Long <lucien.xin@xxxxxxxxx> tipc: pass tunnel dev as NULL to udp_tunnel(6)_xmit_skb Martin KaFai Lau <kafai@xxxxxx> bpf: udp: ipv6: Avoid running reuseport's bpf_prog from __udp6_lib_err Martin KaFai Lau <kafai@xxxxxx> bpf: udp: Avoid calling reuseport's bpf_prog from udp_gro Josh Elsasser <jelsasser@xxxxxxxxxxx> net: check before dereferencing netdev_ops during busy poll Stephen Suryaputra <ssuryaextr@xxxxxxxxx> ipv4: Use return value of inet_iif() for __raw_v4_lookup in the while loop YueHaibing <yuehaibing@xxxxxxxxxx> bonding: Always enable vlan tx offload YueHaibing <yuehaibing@xxxxxxxxxx> team: Always enable vlan tx offload Fei Li <lifei.shirley@xxxxxxxxxxxxx> tun: wake up waitqueues after IFF_UP is set Xin Long <lucien.xin@xxxxxxxxx> tipc: check msg->req data len in tipc_nl_compat_bearer_disable Xin Long <lucien.xin@xxxxxxxxx> tipc: change to use register_pernet_device Xin Long <lucien.xin@xxxxxxxxx> sctp: change to hold sk after auth shkey is created successfully Roland Hii <roland.king.guan.hii@xxxxxxxxx> net: stmmac: fixed new system time seconds value calculation Neil Horman <nhorman@xxxxxxxxxxxxx> af_packet: Block execution of tasks waiting for transmit to complete in AF_PACKET Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> cpu/speculation: Warn on unsupported mitigations= parameter Trond Myklebust <trondmy@xxxxxxxxx> NFS/flexfiles: Use the correct TCP timeout for flexfiles I/O Alejandro Jimenez <alejandro.j.jimenez@xxxxxxxxxx> x86/speculation: Allow guests to use SSBD even if host does not Jan Kara <jack@xxxxxxx> scsi: vmw_pscsi: Fix use-after-free in pvscsi_queue_lck() Colin Ian King <colin.king@xxxxxxxxxxxxx> mm/page_idle.c: fix oops because end_pfn is larger than max_pfn Jann Horn <jannh@xxxxxxxxxx> fs/binfmt_flat.c: make load_flat_shared_library() work John Ogness <john.ogness@xxxxxxxxxxxxx> fs/proc/array.c: allow reporting eip/esp for all coredumping threads Adeodato Simó <dato@xxxxxxxxxxxxxx> net/9p: include trans_common.h to fix missing prototype warning. Dominique Martinet <dominique.martinet@xxxxxx> 9p: p9dirent_read: check network-provided name length Dominique Martinet <dominique.martinet@xxxxxx> 9p/rdma: remove useless check in cm_event_handler Dominique Martinet <dominique.martinet@xxxxxx> 9p: acl: fix uninitialized iattr access Dominique Martinet <dominique.martinet@xxxxxx> 9p/rdma: do not disconnect on down_interruptible EAGAIN Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> perf header: Fix unchecked usage of strncpy() Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> perf help: Remove needless use of strncpy() Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> perf ui helpline: Use strlcpy() as a shorter form of strncpy() + explicit set nul Mike Marciniszyn <mike.marciniszyn@xxxxxxxxx> IB/hfi1: Avoid hardlockup with flushlist_lock Jouni Malinen <j@xxxxx> mac80211: Do not use stack memory with scatterlist for GMAC Johannes Berg <johannes.berg@xxxxxxxxx> mac80211: drop robust management frames from unknown TA Eric Biggers <ebiggers@xxxxxxxxxx> cfg80211: fix memory leak of wiphy device name Marcel Holtmann <marcel@xxxxxxxxxxxx> Bluetooth: Fix regression with minimum encryption key size alignment Marcel Holtmann <marcel@xxxxxxxxxxxx> Bluetooth: Align minimum encryption key size for LE and BR/EDR connections Fabio Estevam <festevam@xxxxxxxxx> ARM: imx: cpuidle-imx6sx: Restrict the SW2ISO increase to i.MX6SX Naveen N. Rao <naveen.n.rao@xxxxxxxxxxxxxxxxxx> powerpc/bpf: use unsigned division instruction for 64-bit operations Willem de Bruijn <willemb@xxxxxxxxxx> can: purge socket error queue on sock destruct Joakim Zhang <qiangqing.zhang@xxxxxxx> can: flexcan: fix timeout when set small bitrate Naohiro Aota <naohiro.aota@xxxxxxx> btrfs: start readahead also in seed devices Jaesoo Lee <jalee@xxxxxxxxxxxxxxx> nvme: Fix u32 overflow in the number of namespace list calculation Robert Hancock <hancock@xxxxxxxxxxxxx> hwmon: (pmbus/core) Treat parameters as paged if on multiple pages Alexandra Winter <wintera@xxxxxxxxxxxxx> s390/qeth: fix VLAN attribute in bridge_hostnotify udev event Avri Altman <avri.altman@xxxxxxx> scsi: ufs: Check that space was properly alloced in copy_query_response George G. Davis <george_davis@xxxxxxxxxx> scripts/checkstack.pl: Fix arm64 wrong or unknown architecture Robin Murphy <robin.murphy@xxxxxxx> drm/arm/hdlcd: Allow a bit of clock tolerance Sean Wang <sean.wang@xxxxxxxxxxxx> net: ethernet: mediatek: Use NET_IP_ALIGN to judge if HW RX_2BYTE_OFFSET is enabled Sean Wang <sean.wang@xxxxxxxxxxxx> net: ethernet: mediatek: Use hw_feature to judge if HWLRO is supported Young Xiao <92siuyang@xxxxxxxxx> sparc: perf: fix updated event period in response to PERF_EVENT_IOC_PERIOD Yonglong Liu <liuyonglong@xxxxxxxxxx> net: hns: Fix loopback test failed at copper ports Nikita Yushchenko <nikita.yoush@xxxxxxxxxxxxxxxxxx> net: dsa: mv88e6xxx: avoid error message on remove from VLAN 0 YueHaibing <yuehaibing@xxxxxxxxxx> MIPS: uprobes: remove set but not used variable 'epc' Mike Marciniszyn <mike.marciniszyn@xxxxxxxxx> IB/{qib, hfi1, rdmavt}: Correct ibv_devinfo max_mr value Mike Marciniszyn <mike.marciniszyn@xxxxxxxxx> IB/hfi1: Insure freeze_work work_struct is canceled on shutdown Mike Marciniszyn <mike.marciniszyn@xxxxxxxxx> IB/rdmavt: Fix alloc_qpn() WARN_ON() Helge Deller <deller@xxxxxx> parisc: Fix compiler warnings in float emulation code YueHaibing <yuehaibing@xxxxxxxxxx> parport: Fix mem leak in parport_register_dev_model Vineet Gupta <vgupta@xxxxxxxxxxxx> ARC: fix build warnings with !CONFIG_KPROBES Jann Horn <jannh@xxxxxxxxxx> apparmor: enforce nullbyte at end of tag string Andrey Smirnov <andrew.smirnov@xxxxxxxxx> Input: uinput - add compat ioctl number translation for UI_*_FF_UPLOAD Mike Marciniszyn <mike.marciniszyn@xxxxxxxxx> IB/hfi1: Silence txreq allocation warnings Peter Chen <peter.chen@xxxxxxx> usb: chipidea: udc: workaround for endpoint conflict issue Stanley Chu <stanley.chu@xxxxxxxxxxxx> scsi: ufs: Avoid runtime suspend possibly being blocked forever Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> gcc-9: silence 'address-of-packed-member' warning Miguel Ojeda <miguel.ojeda.sandonis@xxxxxxxxx> tracing: Silence GCC 9 array bounds warning ------------- Diffstat: Makefile | 6 ++-- arch/arc/Kconfig | 2 +- arch/arc/include/asm/bug.h | 3 +- arch/arc/include/asm/cmpxchg.h | 14 ++++++--- arch/arc/kernel/traps.c | 8 +++++ arch/arc/mm/tlb.c | 13 ++++---- arch/arm/mach-imx/cpuidle-imx6sx.c | 3 +- arch/arm64/kernel/module.c | 8 +++-- arch/arm64/kernel/vdso.c | 10 +++---- arch/ia64/include/asm/bug.h | 6 +++- arch/m68k/include/asm/bug.h | 3 ++ arch/mips/Kconfig | 1 + arch/mips/include/asm/compiler.h | 35 ++++++++++++++++++++++ arch/mips/include/asm/netlogic/xlr/fmn.h | 2 -- arch/mips/kernel/uprobes.c | 3 -- arch/mips/math-emu/cp1emu.c | 4 +-- arch/mips/mm/tlbex.c | 29 ++++++++++++------ arch/parisc/math-emu/cnv_float.h | 8 ++--- arch/powerpc/include/asm/ppc-opcode.h | 1 + arch/powerpc/net/bpf_jit.h | 2 +- arch/powerpc/net/bpf_jit_comp64.c | 8 ++--- arch/sparc/include/asm/bug.h | 6 +++- arch/sparc/kernel/perf_event.c | 4 +++ arch/x86/kernel/cpu/bugs.c | 11 ++++++- arch/x86/kvm/lapic.c | 2 +- arch/x86/kvm/x86.c | 6 ++-- crypto/crypto_user.c | 3 ++ drivers/clk/sunxi/clk-sun8i-bus-gates.c | 4 +++ drivers/dma/imx-sdma.c | 4 +-- drivers/gpu/drm/arm/hdlcd_crtc.c | 3 +- drivers/gpu/drm/i915/intel_csr.c | 18 +++++++++++ drivers/gpu/drm/imx/ipuv3-crtc.c | 6 ++-- drivers/gpu/drm/mediatek/mtk_dsi.c | 2 ++ drivers/hwmon/pmbus/pmbus_core.c | 34 ++++++++++++++++++--- drivers/infiniband/hw/hfi1/chip.c | 1 + drivers/infiniband/hw/hfi1/sdma.c | 9 ++---- drivers/infiniband/hw/hfi1/user_sdma.c | 13 +++----- drivers/infiniband/hw/hfi1/verbs.c | 2 -- drivers/infiniband/hw/hfi1/verbs_txreq.c | 2 +- drivers/infiniband/hw/hfi1/verbs_txreq.h | 3 +- drivers/infiniband/hw/qib/qib_verbs.c | 2 -- drivers/infiniband/sw/rdmavt/mr.c | 2 ++ drivers/infiniband/sw/rdmavt/qp.c | 3 +- drivers/input/misc/uinput.c | 22 ++++++++++++-- drivers/mfd/omap-usb-tll.c | 4 +-- drivers/net/bonding/bond_main.c | 2 +- drivers/net/can/flexcan.c | 2 +- drivers/net/dsa/mv88e6xxx/chip.c | 2 +- drivers/net/ethernet/hisilicon/hns/hns_ethtool.c | 4 +++ drivers/net/ethernet/mediatek/mtk_eth_soc.c | 15 +++++----- .../net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c | 2 +- drivers/net/team/team.c | 2 +- drivers/net/tun.c | 19 ++++++------ drivers/nvme/host/core.c | 3 +- drivers/parport/share.c | 2 ++ drivers/s390/net/qeth_l2_main.c | 2 +- drivers/scsi/hpsa.c | 7 ++++- drivers/scsi/hpsa_cmd.h | 1 + drivers/scsi/ufs/ufshcd-pltfrm.c | 11 +++---- drivers/scsi/ufs/ufshcd.c | 3 +- drivers/scsi/vmw_pvscsi.c | 6 ++-- drivers/spi/spi-bitbang.c | 2 +- drivers/tty/rocket.c | 2 +- drivers/usb/chipidea/udc.c | 20 +++++++++++++ drivers/usb/gadget/udc/fusb300_udc.c | 5 ++++ drivers/usb/gadget/udc/lpc32xx_udc.c | 3 +- fs/9p/acl.c | 2 +- fs/binfmt_flat.c | 23 +++++--------- fs/btrfs/dev-replace.c | 29 +++++++++++------- fs/btrfs/reada.c | 5 ++++ fs/btrfs/volumes.c | 2 ++ fs/btrfs/volumes.h | 5 ++++ fs/nfs/flexfilelayout/flexfilelayoutdev.c | 2 +- fs/proc/array.c | 2 +- include/asm-generic/bug.h | 1 + include/linux/compiler-gcc.h | 15 +++++++++- include/linux/compiler.h | 5 ++++ include/net/bluetooth/hci_core.h | 3 ++ kernel/cpu.c | 3 ++ kernel/ptrace.c | 4 +-- kernel/trace/trace.c | 6 +--- kernel/trace/trace.h | 18 +++++++++++ kernel/trace/trace_kdb.c | 6 +--- lib/mpi/mpi-pow.c | 6 ++-- mm/mlock.c | 4 +-- mm/page_idle.c | 4 +-- net/9p/protocol.c | 12 ++++++-- net/9p/trans_common.c | 1 + net/9p/trans_rdma.c | 7 ++--- net/bluetooth/hci_conn.c | 10 ++++++- net/bluetooth/l2cap_core.c | 33 ++++++++++++++++---- net/can/af_can.c | 1 + net/core/dev.c | 5 +++- net/ipv4/raw.c | 2 +- net/ipv4/udp.c | 6 +++- net/ipv6/udp.c | 4 +-- net/mac80211/rx.c | 2 ++ net/mac80211/wpa.c | 7 ++++- net/packet/af_packet.c | 20 +++++++++++-- net/packet/internal.h | 1 + net/sctp/endpointola.c | 8 ++--- net/tipc/core.c | 12 ++++---- net/tipc/netlink_compat.c | 18 +++++++++-- net/tipc/udp_media.c | 8 ++--- net/wireless/core.c | 2 +- scripts/checkstack.pl | 2 +- scripts/decode_stacktrace.sh | 2 +- security/apparmor/policy_unpack.c | 2 +- sound/core/seq/oss/seq_oss_ioctl.c | 2 +- sound/core/seq/oss/seq_oss_rw.c | 2 +- sound/firewire/amdtp-am824.c | 2 +- sound/soc/codecs/cs4265.c | 2 +- sound/soc/codecs/max98090.c | 16 ++++++++++ sound/soc/soc-pcm.c | 3 +- sound/usb/line6/pcm.c | 5 ++++ sound/usb/mixer_quirks.c | 4 +-- tools/perf/builtin-help.c | 2 +- tools/perf/ui/tui/helpline.c | 2 +- tools/perf/util/header.c | 2 +- 119 files changed, 568 insertions(+), 234 deletions(-)