Linux 4.9.40

From: Greg KH
Date: Thu Jul 27 2017 - 21:15:02 EST


I'm announcing the release of the 4.9.40 kernel.

All users of the 4.9 kernel series must upgrade.

The updated 4.9.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary

thanks,

greg k-h

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

Makefile | 5 -
arch/mips/include/asm/branch.h | 5 -
arch/mips/kernel/branch.c | 71 ++++++---------
arch/mips/kernel/proc.c | 2
arch/mips/kernel/ptrace.c | 2
arch/mips/kernel/scall32-o32.S | 2
arch/mips/kernel/scall64-64.S | 2
arch/mips/kernel/scall64-n32.S | 2
arch/mips/kernel/scall64-o32.S | 2
arch/mips/kernel/syscall.c | 15 ++-
arch/mips/math-emu/cp1emu.c | 38 ++++++++
arch/powerpc/include/asm/atomic.h | 4
arch/powerpc/include/asm/reg.h | 2
arch/powerpc/lib/sstep.c | 19 +++-
arch/powerpc/mm/mmu_context_book3s64.c | 12 +-
arch/powerpc/platforms/pseries/lpar.c | 11 ++
arch/s390/include/asm/syscall.h | 6 +
arch/x86/include/asm/xen/hypercall.h | 3
arch/x86/kernel/acpi/boot.c | 8 +
arch/x86/kernel/apic/io_apic.c | 2
arch/x86/pci/fixup.c | 32 ++++++
drivers/acpi/ec.c | 21 ----
drivers/acpi/nfit/core.c | 10 +-
drivers/base/power/domain.c | 20 ++--
drivers/char/ipmi/ipmi_msghandler.c | 5 +
drivers/char/ipmi/ipmi_ssif.c | 5 +
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 3
drivers/gpu/drm/drm_dp_mst_topology.c | 41 +++++++-
drivers/gpu/drm/radeon/atombios_encoders.c | 13 ++
drivers/gpu/drm/radeon/ci_dpm.c | 6 +
drivers/gpu/drm/ttm/ttm_bo.c | 4
drivers/infiniband/core/addr.c | 6 +
drivers/infiniband/core/cma.c | 2
drivers/infiniband/hw/mlx5/mr.c | 2
drivers/infiniband/ulp/iser/iscsi_iser.c | 11 ++
drivers/infiniband/ulp/isert/ib_isert.c | 2
drivers/input/serio/i8042.c | 12 +-
drivers/md/dm-mpath.c | 4
drivers/md/raid1.c | 5 -
drivers/md/raid5.c | 9 +
drivers/media/pci/cx88/cx88-cards.c | 9 +
drivers/media/pci/cx88/cx88-video.c | 2
drivers/media/platform/s5p-jpeg/jpeg-core.c | 8 -
drivers/media/rc/imon.c | 2
drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c | 4
drivers/media/usb/dvb-usb-v2/mxl111sf.c | 32 ++++--
drivers/media/usb/dvb-usb-v2/mxl111sf.h | 8 +
drivers/misc/enclosure.c | 14 ++-
drivers/net/ethernet/intel/igb/e1000_82575.c | 1
drivers/net/wireless/ath/ath9k/ar9003_phy.c | 2
drivers/net/wireless/ath/ath9k/rng.c | 4
drivers/net/wireless/ath/ath9k/tx99.c | 13 +-
drivers/net/wireless/ti/wlcore/spi.c | 6 -
drivers/nfc/nfcmrvl/fw_dnld.c | 7 +
drivers/nfc/nfcmrvl/main.c | 35 ++++---
drivers/nfc/nfcmrvl/uart.c | 8 -
drivers/nvdimm/btt.c | 9 +
drivers/nvdimm/core.c | 7 -
drivers/nvme/host/rdma.c | 20 ++--
drivers/of/device.c | 2
drivers/pci/host/pcie-rockchip.c | 13 +-
drivers/pci/pci-driver.c | 1
drivers/scsi/scsi_scan.c | 5 -
drivers/scsi/scsi_sysfs.c | 8 +
drivers/spmi/spmi.c | 12 ++
drivers/staging/comedi/drivers/ni_mio_common.c | 3
drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c | 19 +++-
drivers/staging/rtl8188eu/os_dep/usb_intf.c | 1
drivers/staging/sm750fb/sm750.c | 24 +++++
drivers/target/iscsi/iscsi_target_configfs.c | 2
drivers/target/iscsi/iscsi_target_nego.c | 6 -
drivers/target/iscsi/iscsi_target_parameters.c | 41 ++++++--
drivers/target/iscsi/iscsi_target_parameters.h | 2
drivers/target/iscsi/iscsi_target_tpg.c | 19 ++++
drivers/target/iscsi/iscsi_target_tpg.h | 1
drivers/target/target_core_transport.c | 9 +
drivers/thermal/cpu_cooling.c | 4
drivers/thermal/max77620_thermal.c | 10 +-
drivers/usb/class/cdc-acm.c | 3
drivers/usb/host/pci-quirks.c | 54 +++++++++++
drivers/usb/host/pci-quirks.h | 2
drivers/usb/host/xhci-hub.c | 3
drivers/usb/host/xhci-pci.c | 6 +
drivers/usb/host/xhci-ring.c | 11 +-
drivers/usb/host/xhci.c | 6 +
drivers/usb/host/xhci.h | 1
drivers/usb/renesas_usbhs/common.c | 4
drivers/usb/renesas_usbhs/mod_gadget.c | 31 +++++-
drivers/usb/storage/isd200.c | 5 -
drivers/vfio/vfio.c | 46 +++++++++-
drivers/xen/xen-scsiback.c | 33 +------
fs/btrfs/acl.c | 13 +-
fs/ceph/dir.c | 5 +
fs/ext2/acl.c | 36 ++++---
fs/f2fs/acl.c | 2
fs/f2fs/segment.c | 7 +
fs/hfsplus/posix_acl.c | 30 +++---
fs/nfs/dir.c | 12 +-
fs/nfs/inode.c | 4
fs/overlayfs/super.c | 9 +
fs/reiserfs/xattr_acl.c | 12 +-
fs/ubifs/journal.c | 10 +-
fs/udf/inode.c | 4
fs/xfs/xfs_acl.c | 6 -
fs/xfs/xfs_acl.h | 1
fs/xfs/xfs_iops.c | 4
include/linux/vfio.h | 2
include/scsi/scsi_device.h | 1
include/target/iscsi/iscsi_target_core.h | 9 +
kernel/events/core.c | 21 ----
kernel/time/alarmtimer.c | 3
kernel/trace/ftrace.c | 2
kernel/trace/trace.c | 1
net/bluetooth/smp.c | 35 +++----
net/key/af_key.c | 47 +++++-----
net/netfilter/ipvs/ip_vs_core.c | 19 +++-
net/nfc/core.c | 31 +++---
net/nfc/llcp_sock.c | 9 +
net/nfc/nci/core.c | 3
net/nfc/netlink.c | 4
net/sunrpc/auth_gss/gss_krb5_crypto.c | 3
sound/soc/soc-compress.c | 6 -
tools/perf/ui/browser.c | 2
tools/perf/util/intel-pt-decoder/intel-pt-decoder.c | 78 +++++++++++++----
virt/kvm/vfio.c | 27 ++++-
125 files changed, 1025 insertions(+), 437 deletions(-)

Adrian Hunter (8):
perf intel-pt: Move decoder error setting into one condition
perf intel-pt: Improve sample timestamp
perf intel-pt: Fix missing stack clear
perf intel-pt: Ensure IP is zero when state is INTEL_PT_STATE_NO_IP
perf intel-pt: Fix last_ip usage
perf intel-pt: Ensure never to set 'last_ip' when packet 'count' is zero
perf intel-pt: Use FUP always when scanning for an IP
perf intel-pt: Clear FUP flag on error

Alex Deucher (1):
drm/radeon/ci: disable mclk switching for high refresh rates (v2)

Alex Williamson (2):
vfio: Fix group release deadlock
vfio: New external user group/file match

Amir Goldstein (1):
ovl: fix random return value on mount

Anton Blanchard (2):
powerpc: Fix emulation of mcrf in emulate_step()
powerpc: Fix emulation of mfocrf in emulate_step()

Arnd Bergmann (3):
ir-core: fix gcc-7 warning on bool arithmetic
wlcore: fix 64K page support
staging: lustre: ko2iblnd: check copy_from_iter/copy_to_iter return code

Balbir Singh (1):
powerpc/pseries: Fix passing of pp0 in updatepp() and updateboltedpp()

Bart Van Assche (2):
xen/scsiback: Fix a TMR related use-after-free
mlx5: Avoid that mlx5_ib_sg_to_klms() overflows the klms[] array

Benjamin Herrenschmidt (1):
powerpc/mm/radix: Properly clear process table entry

Bjorn Andersson (1):
spmi: Include OF based modalias in device uevent

Bjorn Helgaas (1):
PCI: Work around poweroff & suspend-to-RAM issue on Macbook Pro 11

Chen Hong (1):
Input: i8042 - fix crash at boot time

Chen Yu (1):
PCI/PM: Restore the status of PCI devices across hibernation

Chunyu Hu (1):
tracing: Fix kmemleak in instance_rmdir

Colin Ian King (1):
usb: storage: return on error to avoid a null pointer dereference

Corey Minyard (1):
ipmi:ssif: Add missing unlock in error branch

Dan Carpenter (1):
ftrace: Fix uninitialized variable in match_records()

Devin Heitmueller (2):
mxl111sf: Fix driver to use heap allocate buffers for USB messages
cx88: Fix regression in initial video standard setting

Ewan D. Milne (1):
scsi: Add STARGET_CREATED_REMOVE state to scsi_target_state

Greg Hackmann (1):
alarmtimer: don't rate limit one-shot timers

Greg Kroah-Hartman (1):
Linux 4.9.40

Herbert Xu (1):
af_key: Fix sadb_x_ipsecrequest parsing

Ian Abbott (1):
staging: comedi: ni_mio_common: fix AO timer off-by-one regression

Imre Deak (3):
drm/mst: Fix error handling during MST sideband message reception
drm/mst: Avoid dereferencing a NULL mstb in drm_dp_mst_handle_up_req()
drm/mst: Avoid processing partially received up/down message transactions

Ingo Molnar (1):
Revert "perf/core: Drop kernel samples even though :u is specified"

Ismail, Mustafa (1):
RDMA/core: Initialize port_num in qp_attr

Jaegeuk Kim (1):
f2fs: Don't clear SGID when inheriting ACLs

James Hogan (4):
MIPS: Fix mips_atomic_set() retry condition
MIPS: Fix mips_atomic_set() with EVA
MIPS: Negate error syscall return in trace
MIPS: Save static registers before sysmips

Jan Kara (6):
btrfs: Don't clear SGID when inheriting ACLs
ext2: Don't clear SGID when inheriting ACLs
xfs: Don't clear SGID when inheriting ACLs
udf: Fix deadlock between writeback and udf_setsize()
hfsplus: Don't clear SGID when inheriting ACLs
reiserfs: Don't clear SGID when inheriting ACLs

Jason A. Donenfeld (2):
Bluetooth: use constant time memory comparison for secret values
sunrpc: use constant time memory comparison for mac

Jiahau Chang (1):
xhci: Bad Ethernet performance plugged in ASM1042A host

Jiang Yi (1):
target: Fix COMPARE_AND_WRITE caw_sem leak during se_cmd quiesce

Jin Qian (1):
f2fs: sanity check size of nat and sit cache

Jin Yao (1):
perf annotate: Fix broken arrow at row 0 connecting jmp instruction to its target

Jiri Olsa (1):
s390/syscalls: Fix out of bounds arguments access

Johan Hovold (7):
thermal: max77620: fix device-node reference imbalance
NFC: fix broken device allocation
NFC: nfcmrvl_uart: add missing tty-device sanity check
NFC: nfcmrvl: do not use device-managed resources
NFC: nfcmrvl: use nfc-device for firmware download
NFC: nfcmrvl: fix firmware-management initialisation
USB: cdc-acm: add device-id for quirky printer

John Brooks (1):
drm/ttm: Fix use-after-free in ttm_bo_clean_mm

Julian Anastasov (1):
ipvs: SNAT packet replies only for NATed connections

Konstantin Khlebnikov (1):
ovl: drop CAP_SYS_RESOURCE from saved mounter's credentials

Krzysztof Kozlowski (3):
PM / Domains: Fix unsafe iteration over modified list of device links
PM / Domains: Fix unsafe iteration over modified list of domain providers
PM / Domains: Fix unsafe iteration over modified list of domains

Linus Torvalds (1):
disable new gcc-7.1.1 warnings for now

Lv Zheng (2):
ACPI / EC: Drop EC noirq hooks to fix a regression
Revert "ACPI / EC: Enable event freeze mode..." to fix a regression

Maciej W. Rozycki (9):
MIPS: Fix MIPS I ISA /proc/cpuinfo reporting
MIPS: Actually decode JALX in `__compute_return_epc_for_insn'
MIPS: Fix unaligned PC interpretation in `compute_return_epc'
MIPS: math-emu: Prevent wrong ISA mode instruction emulation
MIPS: Send SIGILL for BPOSGE32 in `__compute_return_epc_for_insn'
MIPS: Rename `sigill_r6' to `sigill_r2r6' in `__compute_return_epc_for_insn'
MIPS: Send SIGILL for linked branches in `__compute_return_epc_for_insn'
MIPS: Send SIGILL for R6 branches in `__compute_return_epc_for_insn'
MIPS: Fix a typo: s/preset/present/ in r2-to-r6 emulation error message

Marek Marczykowski-Górecki (1):
x86/xen: allow userspace access during hypercalls

Mario Kleiner (1):
drm/radeon: Fix eDP for single-display iMac10,1 (v2)

Marta Rybczynska (1):
nvme-rdma: remove race conditions from IB signalling

Mateusz Jurczyk (3):
nfc: Ensure presence of required attributes in the activate_target handler
nfc: Fix the sockaddr length sanitization in llcp_sock_connect
NFC: Add sockaddr length checks before accessing sa_family in bind handlers

Mathias Nyman (2):
xhci: fix 20000ms port resume timeout
xhci: Fix NULL pointer dereference when cleaning up streams for removed host

Matwey V Kornilov (1):
igb: Explicitly select page 0 at initialization

Maurizio Lombardi (1):
scsi: ses: do not add a device to an enclosure if enclosure_add_links() fails.

Mauro Carvalho Chehab (1):
s5p-jpeg: don't return a random width/height

Miaoqing Pan (3):
ath9k: fix tx99 use after free
ath9k: fix tx99 bus error
ath9k: fix an invalid pointer dereference in ath9k_rng_stop()

Michael Ellerman (1):
powerpc/64: Fix atomic64_inc_not_zero() to return an int

Michael Gugino (1):
staging: rtl8188eu: add TL-WN722N v2 support

Mike Snitzer (1):
dm mpath: cleanup -Wbool-operation warning in choose_pgpath()

Mikulas Patocka (1):
md: don't use flush_signals in userspace processes

Moni Shoua (1):
IB/core: Namespace is mandatory input for address resolution

NeilBrown (1):
NFS: only invalidate dentrys that are clearly invalid.

Nicholas Bellinger (2):
iscsi-target: Add login_keys_workaround attribute for non RFC initiators
iser-target: Avoid isert_conn->cm_id dereference in isert_login_recv_done

Oliver O'Halloran (1):
powerpc/asm: Mark cr0 as clobbered in mftb()

Prarit Bhargava (1):
acpi/nfit: Fix memory corruption/Unregister mce decoder on failure

Richard Weinberger (1):
ubifs: Don't leak kernel memory to the MTD

Satish Babu Patakokila (1):
ASoC: compress: Derive substream from stream based on direction

Seunghun Han (2):
x86/acpi: Prevent out of bound access caused by broken ACPI tables
x86/ioapic: Pass the correct data to unmask_ioapic_irq()

Shawn Lin (1):
PCI: rockchip: Use normal register bank for config accessors

Stephen Boyd (1):
of: device: Export of_device_{get_modalias, uvent_modalias} to modules

Sudeep Holla (1):
PM / Domains: defer dev_pm_domain_set() until genpd->attach_dev succeeds if present

Teddy Wang (1):
staging: sm750fb: avoid conflicting vesafb

Tom St Denis (1):
drm/amd/amdgpu: Return error if initiating read out of range on vram

Tony Camuso (1):
ipmi: use rcu lock around call to intf->handlers->sender()

Toshi Kani (1):
libnvdimm: fix badblock range handling of ARS range

Viresh Kumar (1):
thermal: cpu_cooling: Avoid accessing potentially freed structures

Vishal Verma (1):
libnvdimm, btt: fix btt_rw_page not returning errors

Vladimir Neyelov (1):
IB/iser: Fix connection teardown race condition

Xiao Ni (1):
Raid5 should update rdev->sectors after reshape

Yan, Zheng (1):
ceph: fix race in concurrent readdir

Yoshihiro Shimoda (2):
usb: renesas_usbhs: fix usbhsc_resume() for !USBHSF_RUNTIME_PWCTRL
usb: renesas_usbhs: gadget: disable all eps when the driver stops

Attachment: signature.asc
Description: PGP signature