[PATCH 4.9 00/94] 4.9.31-stable review

From: Greg Kroah-Hartman
Date: Mon Jun 05 2017 - 13:15:14 EST


This is the start of the stable review cycle for the 4.9.31 release.
There are 94 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 Jun 7 15:30:41 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/v4.x/stable-review/patch-4.9.31-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.31-rc1

Jan Kara <jack@xxxxxxx>
xfs: Fix off-by-in in loop termination in xfs_find_get_desired_pgoff()

Eric Sandeen <sandeen@xxxxxxxxxxx>
xfs: fix unaligned access in xfs_btree_visit_blocks

Darrick J. Wong <darrick.wong@xxxxxxxxxx>
xfs: avoid mount-time deadlock in CoW extent recovery

Christoph Hellwig <hch@xxxxxx>
xfs: xfs_trans_alloc_empty

Zorro Lang <zlang@xxxxxxxxxx>
xfs: bad assertion for delalloc an extent that start at i_size

Darrick J. Wong <darrick.wong@xxxxxxxxxx>
xfs: BMAPX shouldn't barf on inline-format directories

Brian Foster <bfoster@xxxxxxxxxx>
xfs: fix indlen accounting error on partial delalloc conversion

Eryu Guan <eguan@xxxxxxxxxx>
xfs: fix use-after-free in xfs_finish_page_writeback

Darrick J. Wong <darrick.wong@xxxxxxxxxx>
xfs: reserve enough blocks to handle btree splits when remapping

Brian Foster <bfoster@xxxxxxxxxx>
xfs: wait on new inodes during quotaoff dquot release

Brian Foster <bfoster@xxxxxxxxxx>
xfs: update ag iterator to support wait on new inodes

Brian Foster <bfoster@xxxxxxxxxx>
xfs: support ability to wait on new inodes

Brian Foster <bfoster@xxxxxxxxxx>
xfs: fix up quotacheck buffer list error handling

Brian Foster <bfoster@xxxxxxxxxx>
xfs: prevent multi-fsb dir readahead from reading random blocks

Eric Sandeen <sandeen@xxxxxxxxxx>
xfs: handle array index overrun in xfs_dir2_leaf_readbuf()

Christoph Hellwig <hch@xxxxxx>
xfs: fix integer truncation in xfs_bmap_remap_alloc

Brian Foster <bfoster@xxxxxxxxxx>
xfs: drop iolock from reclaim context to appease lockdep

Darrick J. Wong <darrick.wong@xxxxxxxxxx>
xfs: actually report xattr extents via iomap

Darrick J. Wong <darrick.wong@xxxxxxxxxx>
xfs: fix over-copying of getbmap parameters from userspace

Brian Foster <bfoster@xxxxxxxxxx>
xfs: use dedicated log worker wq to avoid deadlock with cil wq

Darrick J. Wong <darrick.wong@xxxxxxxxxx>
xfs: fix kernel memory exposure problems

Darrick J. Wong <darrick.wong@xxxxxxxxxx>
xfs: rework the inline directory verifiers

Darrick J. Wong <darrick.wong@xxxxxxxxxx>
xfs: verify inline directory data forks

Eryu Guan <eguan@xxxxxxxxxx>
xfs: fix off-by-one on max nr_pages in xfs_find_get_desired_pgoff()

Brian Foster <bfoster@xxxxxxxxxx>
xfs: use ->b_state to fix buffer I/O accounting release race

Jan Kara <jack@xxxxxxx>
xfs: Fix missed holes in SEEK_HOLE implementation

Patrik Jakobsson <patrik.r.jakobsson@xxxxxxxxx>
drm/gma500/psb: Actually use VBT mode when it is found

Daniel Thompson <daniel.thompson@xxxxxxxxxx>
mm/slub.c: trace free objects at KERN_INFO

Thomas Gleixner <tglx@xxxxxxxxxxxxx>
slub/memcg: cure the brainless abuse of sysfs attributes

Andrea Arcangeli <aarcange@xxxxxxxxxx>
ksm: prevent crash after write_protect_page fails

Rob Landley <rob@xxxxxxxxxxx>
x86/boot: Use CROSS_COMPILE prefix for readelf

Imre Deak <imre.deak@xxxxxxxxx>
PCI/PM: Add needs_resume flag to avoid suspend complete optimization

Mike Marciniszyn <mike.marciniszyn@xxxxxxxxx>
RDMA/qib,hfi1: Fix MR reference count leak on write with immediate

Michal Hocko <mhocko@xxxxxxxx>
mm: consider memblock reservations for deferred memory initialization sizing

Yisheng Xie <xieyisheng1@xxxxxxxxxx>
mlock: fix mlock count can not decrease in race condition

Punit Agrawal <punit.agrawal@xxxxxxx>
mm/migrate: fix refcount handling when !hugepage_migration_supported()

Alexander Tsoy <alexander@xxxxxxx>
ALSA: hda - apply STAC_9200_DELL_M22 quirk for Dell Latitude D430

Nicolas Iooss <nicolas.iooss_linux@xxxxxxx>
pcmcia: remove left-over %Z format

Michel DÃnzer <michel.daenzer@xxxxxxx>
drm/radeon: Fix vram_size/visible values in DRM_RADEON_GEM_INFO ioctl

Lyude <lyude@xxxxxxxxxx>
drm/radeon: Unbreak HPD handling for r600+

Alex Deucher <alexander.deucher@xxxxxxx>
drm/radeon/ci: disable mclk switching for high refresh rates (v2)

Ram Pai <linuxram@xxxxxxxxxx>
scsi: mpt3sas: Force request partial completion alignment

Ming Lei <ming.lei@xxxxxxxxxx>
nvme: avoid to use blk_mq_abort_requeue_list()

Ming Lei <ming.lei@xxxxxxxxxx>
nvme: use blk_mq_start_hw_queues() in nvme_kill_queues()

Marta Rybczynska <mrybczyn@xxxxxxxxx>
nvme-rdma: support devices with queue size < 32

Jason Gerecke <killertofu@xxxxxxxxx>
HID: wacom: Have wacom_tpc_irq guard against possible NULL dereference

Bryant G. Ly <bryantly@xxxxxxxxxxxxxxxxxx>
ibmvscsis: Fix the incorrect req_lim_delta

Bryant G. Ly <bryantly@xxxxxxxxxxxxxxxxxx>
ibmvscsis: Clear left-over abort_cmd pointers

Jiang Yi <jiangyilism@xxxxxxxxx>
iscsi-target: Always wait for kthread_should_stop() before kthread exit

Srinath Mannam <srinath.mannam@xxxxxxxxxxxx>
mmc: sdhci-iproc: suppress spurious interrupt with Multiblock read

Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>
Revert "ACPI / button: Change default behavior to lid_init_state=open"

Vishal Verma <vishal.l.verma@xxxxxxxxx>
acpi, nfit: Fix the memory error check in nfit_handle_mce()

Borislav Petkov <bp@xxxxxxx>
x86/MCE: Export memory_error()

Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
crypto: skcipher - Add missing API setkey checks

Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxxxx>
i2c: i2c-tiny-usb: fix buffer not being DMA capable

Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx>
drivers/tty: 8250: only call fintek_8250_probe when doing port I/O

Jeremy Kerr <jk@xxxxxxxxxx>
powerpc/spufs: Fix hash faults for kernel regions

Richard Narron <comet.berkeley@xxxxxxxxx>
fs/ufs: Set UFS default maximum bytes per file

Liam R. Howlett <Liam.Howlett@xxxxxxxxxx>
sparc/ftrace: Fix ftrace graph time measurement

Orlando Arias <oarias@xxxxxxxxxxxxxxx>
sparc: Fix -Wstringop-overflow warning

Daniel Borkmann <daniel@xxxxxxxxxxxxx>
bpf: add bpf_clone_redirect to bpf_helper_changes_pkt_data

Eric Dumazet <edumazet@xxxxxxxxxx>
ipv4: add reference counting to metrics

Davide Caratti <dcaratti@xxxxxxxxxx>
sctp: fix ICMP processing if skb is non-linear

Wei Wang <weiwan@xxxxxxxxxx>
tcp: avoid fastopen API to be used on AF_UNSPEC

Vlad Yasevich <vyasevich@xxxxxxxxx>
virtio-net: enable TSO/checksum offloads for Q-in-Q vlans

Vlad Yasevich <vyasevich@xxxxxxxxx>
be2net: Fix offload features for Q-in-Q packets

Vlad Yasevich <vyasevich@xxxxxxxxx>
vlan: Fix tcp checksum offloads in Q-in-Q vlans

Andrew Lunn <andrew@xxxxxxx>
net: phy: marvell: Limit errata to 88m1101

Mohamad Haj Yahia <mohamad@xxxxxxxxxxxx>
net/mlx5: Avoid using pending command interface slots

Jarod Wilson <jarod@xxxxxxxxxx>
bonding: fix accounting of active ports in 3ad

Eric Dumazet <edumazet@xxxxxxxxxx>
ipv6: fix out of bound writes in __ip6_append_data()

Xin Long <lucien.xin@xxxxxxxxx>
bridge: start hello_timer when enabling KERNEL_STP in br_stp_start

BjÃrn Mork <bjorn@xxxxxxx>
qmi_wwan: add another Lenovo EM74xx device ID

Tobias Jungel <tobias.jungel@xxxxxxxx>
bridge: netlink: check vlan_default_pvid range

David S. Miller <davem@xxxxxxxxxxxxx>
ipv6: Check ip6_find_1stfragopt() return value properly.

Craig Gallek <kraig@xxxxxxxxxx>
ipv6: Prevent overrun when parsing v6 header options

David Ahern <dsahern@xxxxxxxxx>
net: Improve handling of failures on link and route dumps

Soheil Hassas Yeganeh <soheil@xxxxxxxxxx>
tcp: eliminate negative reordering in tcp_clean_rtx_queue

Gal Pressman <galp@xxxxxxxxxxxx>
net/mlx5e: Fix ethtool pause support and advertise reporting

Gal Pressman <galp@xxxxxxxxxxxx>
net/mlx5e: Use the correct pause values for ethtool advertising

Douglas Caetano dos Santos <douglascs@xxxxxxxxxxxxx>
net/packet: fix missing net_device reference release

Eric Dumazet <edumazet@xxxxxxxxxx>
sctp: do not inherit ipv6_{mc|ac|fl}_list from parent

Xin Long <lucien.xin@xxxxxxxxx>
sctp: fix src address selection if using secondary addresses for ipv6

Yuchung Cheng <ycheng@xxxxxxxxxx>
tcp: avoid fragmenting peculiar skbs in SACK

Eric Dumazet <edumazet@xxxxxxxxxx>
net: fix compile error in skb_orphan_partial()

Eric Dumazet <edumazet@xxxxxxxxxx>
netem: fix skb_orphan_partial()

Daniel Borkmann <daniel@xxxxxxxxxxxxx>
bpf, arm64: fix faulty emission of map access in tail calls

Ursula Braun <ubraun@xxxxxxxxxxxxxxxxxx>
s390/qeth: add missing hash table initializations

Julian Wiedmann <jwi@xxxxxxxxxxxxxxxxxx>
s390/qeth: avoid null pointer dereference on OSN

Julian Wiedmann <jwi@xxxxxxxxxxxxxxxxxx>
s390/qeth: unbreak OSM and OSN support

Ursula Braun <ubraun@xxxxxxxxxxxxxxxxxx>
s390/qeth: handle sysfs error during initialization

WANG Cong <xiyou.wangcong@xxxxxxxxx>
ipv6/dccp: do not inherit ipv6_mc_list from parent

Gao Feng <gfree.wind@xxxxxxxxxxx>
driver: vrf: Fix one possible use-after-free issue

Eric Dumazet <edumazet@xxxxxxxxxx>
dccp/tcp: do not inherit mc_list from parent


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

Diffstat:

Makefile | 4 +-
arch/arm64/net/bpf_jit_comp.c | 5 +-
arch/powerpc/platforms/cell/spu_base.c | 4 +-
arch/sparc/include/asm/pgtable_32.h | 4 +-
arch/sparc/include/asm/setup.h | 2 +-
arch/sparc/kernel/ftrace.c | 13 ++-
arch/sparc/mm/init_32.c | 2 +-
arch/x86/boot/compressed/Makefile | 2 +-
arch/x86/include/asm/mce.h | 1 +
arch/x86/kernel/cpu/mcheck/mce.c | 11 +--
crypto/skcipher.c | 40 +++++++-
drivers/acpi/button.c | 2 +-
drivers/acpi/nfit/mce.c | 2 +-
drivers/char/pcmcia/cm4040_cs.c | 6 +-
drivers/gpu/drm/gma500/psb_intel_lvds.c | 18 ++--
drivers/gpu/drm/radeon/ci_dpm.c | 6 ++
drivers/gpu/drm/radeon/cik.c | 4 +-
drivers/gpu/drm/radeon/evergreen.c | 4 +-
drivers/gpu/drm/radeon/r600.c | 2 +-
drivers/gpu/drm/radeon/radeon_drv.c | 3 +-
drivers/gpu/drm/radeon/radeon_gem.c | 4 +-
drivers/gpu/drm/radeon/si.c | 4 +-
drivers/hid/wacom_wac.c | 45 ++++-----
drivers/i2c/busses/i2c-tiny-usb.c | 25 ++++-
drivers/infiniband/hw/hfi1/rc.c | 5 +-
drivers/infiniband/hw/qib/qib_rc.c | 4 +-
drivers/mmc/host/sdhci-iproc.c | 3 +-
drivers/net/bonding/bond_3ad.c | 2 +-
drivers/net/ethernet/emulex/benet/be_main.c | 4 +-
drivers/net/ethernet/mellanox/mlx5/core/cmd.c | 41 +++++++-
.../net/ethernet/mellanox/mlx5/core/en_ethtool.c | 9 +-
drivers/net/ethernet/mellanox/mlx5/core/eq.c | 2 +-
drivers/net/ethernet/mellanox/mlx5/core/health.c | 2 +-
drivers/net/phy/marvell.c | 66 +++++++------
drivers/net/usb/qmi_wwan.c | 2 +
drivers/net/virtio_net.c | 1 +
drivers/net/vrf.c | 3 +-
drivers/nvme/host/core.c | 13 ++-
drivers/nvme/host/rdma.c | 18 +++-
drivers/pci/pci.c | 3 +-
drivers/s390/net/qeth_core.h | 4 +
drivers/s390/net/qeth_core_main.c | 21 ++--
drivers/s390/net/qeth_core_sys.c | 24 +++--
drivers/s390/net/qeth_l2.h | 2 +
drivers/s390/net/qeth_l2_main.c | 26 +++--
drivers/s390/net/qeth_l2_sys.c | 8 ++
drivers/s390/net/qeth_l3_main.c | 8 +-
drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c | 27 +++++-
drivers/scsi/mpt3sas/mpt3sas_scsih.c | 15 +++
drivers/target/iscsi/iscsi_target.c | 30 ++++--
drivers/target/iscsi/iscsi_target_erl0.c | 6 +-
drivers/target/iscsi/iscsi_target_erl0.h | 2 +-
drivers/target/iscsi/iscsi_target_login.c | 4 +
drivers/tty/serial/8250/8250_port.c | 2 +-
fs/ufs/super.c | 5 +-
fs/xfs/libxfs/xfs_bmap.c | 9 +-
fs/xfs/libxfs/xfs_btree.c | 2 +-
fs/xfs/libxfs/xfs_dir2_priv.h | 1 +
fs/xfs/libxfs/xfs_dir2_sf.c | 106 +++++++++++++++++++++
fs/xfs/libxfs/xfs_inode_fork.c | 13 ++-
fs/xfs/libxfs/xfs_refcount.c | 43 ++++++---
fs/xfs/libxfs/xfs_trans_space.h | 23 +++--
fs/xfs/xfs_aops.c | 4 +-
fs/xfs/xfs_bmap_item.c | 5 +-
fs/xfs/xfs_bmap_util.c | 18 ++--
fs/xfs/xfs_buf.c | 62 +++++++++---
fs/xfs/xfs_buf.h | 6 +-
fs/xfs/xfs_dir2_readdir.c | 26 +++--
fs/xfs/xfs_file.c | 33 +++----
fs/xfs/xfs_icache.c | 58 +++++++++--
fs/xfs/xfs_icache.h | 8 ++
fs/xfs/xfs_inode.c | 16 +++-
fs/xfs/xfs_inode.h | 4 +-
fs/xfs/xfs_ioctl.c | 5 +-
fs/xfs/xfs_iomap.c | 4 +-
fs/xfs/xfs_itable.c | 2 +-
fs/xfs/xfs_log.c | 2 +-
fs/xfs/xfs_mount.h | 1 +
fs/xfs/xfs_qm.c | 7 +-
fs/xfs/xfs_qm_syscalls.c | 3 +-
fs/xfs/xfs_reflink.c | 18 +++-
fs/xfs/xfs_super.c | 8 ++
fs/xfs/xfs_trans.c | 22 +++++
fs/xfs/xfs_trans.h | 2 +
include/linux/if_vlan.h | 18 ++--
include/linux/memblock.h | 8 ++
include/linux/mlx5/driver.h | 7 +-
include/linux/mmzone.h | 1 +
include/linux/pci.h | 5 +
include/net/dst.h | 8 +-
include/net/ip_fib.h | 10 +-
mm/ksm.c | 3 +-
mm/memblock.c | 23 +++++
mm/memory-failure.c | 8 +-
mm/mlock.c | 5 +-
mm/page_alloc.c | 33 ++++---
mm/slub.c | 29 +++---
net/bridge/br_netlink.c | 7 ++
net/bridge/br_stp_if.c | 1 +
net/bridge/br_stp_timer.c | 2 +-
net/core/dst.c | 23 +++--
net/core/filter.c | 1 +
net/core/rtnetlink.c | 36 ++++---
net/core/sock.c | 23 ++---
net/dccp/ipv6.c | 6 ++
net/ipv4/fib_frontend.c | 15 ++-
net/ipv4/fib_semantics.c | 17 ++--
net/ipv4/fib_trie.c | 26 ++---
net/ipv4/inet_connection_sock.c | 2 +
net/ipv4/route.c | 10 +-
net/ipv4/tcp.c | 7 +-
net/ipv4/tcp_input.c | 11 ++-
net/ipv6/ip6_offload.c | 7 +-
net/ipv6/ip6_output.c | 20 ++--
net/ipv6/output_core.c | 14 +--
net/ipv6/tcp_ipv6.c | 2 +
net/ipv6/udp_offload.c | 6 +-
net/packet/af_packet.c | 14 +--
net/sctp/input.c | 16 ++--
net/sctp/ipv6.c | 49 ++++++----
sound/pci/hda/patch_sigmatel.c | 2 +
121 files changed, 1115 insertions(+), 446 deletions(-)