[PATCH 4.9 00/94] 4.9.31-stable review

Greg Kroah-Hartman
2017-06-05T16:22:58Z

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@linuxfoundation.org>
Linux 4.9.31-rc1

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

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

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

Christoph Hellwig <hch@lst.de>
xfs: xfs_trans_alloc_empty

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

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

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

Eryu Guan <eguan@redhat.com>
xfs: fix use-after-free in xfs_finish_page_writeback

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

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

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

Brian Foster <bfoster@redhat.com>
xfs: support ability to wait on new inodes

Brian Foster <bfoster@redhat.com>
xfs: fix up quotacheck buffer list error handling

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

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

Christoph Hellwig <hch@lst.de>
xfs: fix integer truncation in xfs_bmap_remap_alloc

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

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

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

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

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

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

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

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

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

Jan Kara <jack@suse.cz>
xfs: Fix missed holes in SEEK_HOLE implementation

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

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

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

Andrea Arcangeli <aarcange@redhat.com>
ksm: prevent crash after write_protect_page fails

Rob Landley <rob@landley.net>
x86/boot: Use CROSS_COMPILE prefix for readelf

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

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

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

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

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

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

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

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

Lyude <lyude@redhat.com>
drm/radeon: Unbreak HPD handling for r600+

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

Ram Pai <linuxram@us.ibm.com>
scsi: mpt3sas: Force request partial completion alignment

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

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

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

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

Bryant G. Ly <bryantly@linux.vnet.ibm.com>
ibmvscsis: Fix the incorrect req_lim_delta

Bryant G. Ly <bryantly@linux.vnet.ibm.com>
ibmvscsis: Clear left-over abort_cmd pointers

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

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

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

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

Borislav Petkov <bp@suse.de>
x86/MCE: Export memory_error()

Herbert Xu <herbert@gondor.apana.org.au>
crypto: skcipher - Add missing API setkey checks

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

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

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

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

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

Orlando Arias <oarias@knights.ucf.edu>
sparc: Fix -Wstringop-overflow warning

Daniel Borkmann <daniel@iogearbox.net>
bpf: add bpf_clone_redirect to bpf_helper_changes_pkt_data

Eric Dumazet <edumazet@google.com>
ipv4: add reference counting to metrics

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

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

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

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

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

Andrew Lunn <andrew@lunn.ch>
net: phy: marvell: Limit errata to 88m1101

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

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

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

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

Bjørn Mork <bjorn@mork.no>
qmi_wwan: add another Lenovo EM74xx device ID

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

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

Craig Gallek <kraig@google.com>
ipv6: Prevent overrun when parsing v6 header options

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

Soheil Hassas Yeganeh <soheil@google.com>
tcp: eliminate negative reordering in tcp_clean_rtx_queue

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

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

Douglas Caetano dos Santos <douglascs@taghos.com.br>
net/packet: fix missing net_device reference release

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

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

Yuchung Cheng <ycheng@google.com>
tcp: avoid fragmenting peculiar skbs in SACK

Eric Dumazet <edumazet@google.com>
net: fix compile error in skb_orphan_partial()

Eric Dumazet <edumazet@google.com>
netem: fix skb_orphan_partial()

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

Ursula Braun <ubraun@linux.vnet.ibm.com>
s390/qeth: add missing hash table initializations

Julian Wiedmann <jwi@linux.vnet.ibm.com>
s390/qeth: avoid null pointer dereference on OSN

Julian Wiedmann <jwi@linux.vnet.ibm.com>
s390/qeth: unbreak OSM and OSN support

Ursula Braun <ubraun@linux.vnet.ibm.com>
s390/qeth: handle sysfs error during initialization

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

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

Eric Dumazet <edumazet@google.com>
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(-)