I'm announcing the release of the 3.18.31 kernel. All users of the 3.18 kernel series must upgrade. The updated 3.18.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.18.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 ---------------------------------------------------------------- Linux 3.18.31 ---------------------------------------------------------------- Aaro Koskinen (1): mtd: onenand: fix deadlock in onenand_block_markbad Aaron Plattner (2): ALSA: hda - Add new GPU codec ID 0x10de007d to snd-hda ALSA: hda - Add new GPU codec ID 0x10de0082 to snd-hda Adrian Hunter (1): mmc: sdhci: Fix override of timeout clk wrt max_busy_timeout Akinobu Mita (1): iio: pressure: mpl115: fix temperature offset sign Alex Deucher (2): drm/radeon: disable runtime pm on PX laptops without dGPU power control drm/radeon: rework fbdev handling on chips with no connectors Anand Jain (1): Btrfs: add missing brelse when superblock checksum fails Andi Kleen (2): perf tools: Dont stop PMU parsing on alias parse error x86: Add new MSRs and MSR bits used for Intel Skylake PMU support Andreas Schwab (1): powerpc: Fix dedotify for binutils >= 2.26 Andrew Honig (1): KVM: x86: Reload pit counters for all channels when restoring state Andrey Grodzovsky (1): drm/dp/mst: Reverse order of MST enable and clearing VC payload table. Andy Lutomirski (2): x86/iopl/64: Properly context-switch IOPL on Xen PV x86/iopl: Fix iopl capability check on Xen PV Ard Biesheuvel (2): arm64: vmemmap: use virtual projection of linear region arm64: account for sparsemem section alignment when choosing vmemmap offset Arnd Bergmann (1): ARM: 8457/1: psci-smp is built only for SMP Asai Thambi SP (7): mtip32xx: Print exact time when an internal command is interrupted mtip32xx: Avoid issuing standby immediate cmd during FTL rebuild mtip32xx: fix rmmod issue mtip32xx: fix crash on surprise removal of the drive mtip32xx: Handle safe removal during IO mtip32xx: fix incorrectly setting MTIP_DDF_SEC_LOCK_BIT mtip32xx: Handle FTL rebuild failure state during device initialization Aurelien Jacquiot (1): rapidio/rionet: fix deadlock on SMP Bart Van Assche (1): IB/srpt: Simplify srpt_handle_tsk_mgmt() Benjamin Tissoires (4): HID: core: do not scan reports if the group is already set HID: fix hid_ignore_special_drivers module parameter HID: multitouch: fix input mode switching on some Elan panels Input: synaptics - handle spurious release of trackstick buttons, again Bjorn Helgaas (2): PCI: Disable IO/MEM decoding for devices with non-compliant BARs x86/PCI: Mark Broadwell-EP Home Agent & PCU as having non-compliant BARs Chris Friesen (1): sched/cputime: Fix steal_account_process_tick() to always return jiffies Dan Carpenter (2): EDAC, amd64_edac: Shift wrapping issue in f1x_get_norm_dct_addr() efi: efivar_create_sysfs_entry() should return negative error codes Daniel Vetter (1): drm/gma500: Use correct unref in the gem bo create function Dave Airlie (1): radeon/fb: add wrapper functions around fb connector add/remove Dave Jones (1): x86/apic: Fix suspicious RCU usage in smp_trace_call_function_interrupt() David Henningsson (1): ALSA: hda - Fixup inverted internal mic for Lenovo E50-80 David Howells (1): KEYS: Fix handling of stored error in a negatively instantiated user key David Sterba (1): btrfs: statfs: report zero available if metadata are exhausted Dmitri Epshtein (1): net: mvneta: enable change MAC address when interface is up Dmitry Torokhov (1): HID: i2c-hid: fix OOB write in i2c_hid_set_or_send_report() Dmitry Tunin (4): Bluetooth: btusb: Add new AR3012 ID 13d3:3395 Bluetooth: Add new AR3012 ID 0489:e095 Bluetooth: btusb: Add a new AR3012 ID 04ca:3014 Bluetooth: btusb: Add a new AR3012 ID 13d3:3472 Douglas Gilbert (1): sg: fix dxferp in from_to case Eric Wheeler (3): bcache: fix race of writeback thread starting before complete initialization bcache: cleaned up error handling around register_cache() bcache: fix cache_set_flush() NULL pointer dereference on OOM Eryu Guan (1): ext4: iterate over buffer heads correctly in move_extent_per_page() Fabio Estevam (1): bus: imx-weim: Take the 'status' property value into account Felipe Balbi (1): irqchip: omap-intc: Improve IRQ handler Filipe Manana (3): Btrfs: send, don't BUG_ON() when an empty symlink is found Btrfs: fix number of transaction units required to create symlink Btrfs: fix transaction handle leak on failure to create hard link H Hartley Sweeten (1): staging: comedi: ni_mio_common: fix the ni_write[blw]() functions Hans Verkuil (1): [media] adv7511: TX_EDID_PRESENT is still 1 after a disconnect Hans de Goede (5): [media] pwc: Add USB id for Philips Spc880nc webcam [media] saa7134: Fix bytesperline not being set correctly for planar formats [media] bttv: Width must be a multiple of 16 when capturing planar formats ARM: dts: sunxi: Adjust touchscreen compatible for sun5i and later USB: uas: Reduce can_queue to MAX_CMNDS Hariprasad S (1): iw_cxgb3: Fix incorrectly returning error on success Herbert Xu (6): net: Clone skb before setting peeked flag net: Fix skb_set_peeked use-after-free bug crypto: algif_skcipher - Require setkey before accept(2) crypto: algif_skcipher - Add nokey compatibility path crypto: algif_skcipher - Remove custom release parent function crypto: algif_skcipher - Fix race condition in skcipher_check_key Hersen Wu (1): drm/dp/mst: move GUID storage from mgr, port to only mst branch Himanshu Madhani (1): target: Fix target_release_cmd_kref shutdown comp leak Hui Wang (1): ALSA: hda - fix the mic mute button and led problem for a Lenovo AIO Hyungwon Hwang (1): ALSA: hda - Fix regression of monitor_present flag in eld proc file J. Bruce Fields (2): nfsd4: fix bad bounds checking nfsd: fix deadlock secinfo+readdir compound Jann Horn (3): ptrace: use fsuid, fsgid, effective creds for fs access checks security: let security modules use PTRACE_MODE_* with bitmasks fs/coredump: prevent fsuid=0 dumps into user-controlled directories Jason Andryuk (1): lib/ucs2_string: Correct ucs2 -> utf8 conversion Jes Sorensen (1): md/raid5: Compare apples to apples (or sectors to sectors) Jiang Liu (1): x86, irq: Keep balance of IOAPIC pin reference count Johan Rastén (1): ALSA: usb-audio: Set correct type for some UAC2 mixer controls. John Dahlstrom (1): ideapad-laptop: Add ideapad Y700 (15) to the no_hw_rfkill DMI list Josef Bacik (1): Btrfs: igrab inode in writepage Joseph Qi (2): ocfs2/dlm: fix race between convert and recovery ocfs2/dlm: fix BUG in dlm_move_lockres_to_recovery_list Josh Boyer (2): Input: powermate - fix oops with malicious USB descriptors USB: iowarrior: fix oops with malicious USB descriptors Julia Lawall (1): scripts/coccinelle: modernize & Kamal Mostafa (1): tools/hv: Use include/uapi with __EXPORTED_HEADERS__ Kirill A. Shutemov (1): mm: use 'unsigned int' for page order Lars-Peter Clausen (1): iio: adis_buffer: Fix out-of-bounds memory access Laura Abbott (2): [media] si2157: Bounds check firmware [media] si2157: return -EINVAL if firmware blob is too big Linus Torvalds (1): Revert "drm/radeon: call hpd_irq_event on resume" Lior Amsalem (1): ARM: dts: armada-375: use armada-370-sata for SATA Magnus Damm (1): mmc: mmc_spi: Add Card Detect comments and fix CD GPIO case Mario Kleiner (1): drm/radeon: Don't drop DP 2.7 Ghz link setup on some cards. Matej Muzila (1): tools: hv: Makefile: Add hv_fcopy_daemon to Makefile Mateusz Guzik (1): xfs: fix two memory leaks in xfs_attr_list.c error paths Matt Fleming (1): efi: Add pstore variables to the deletion whitelist Maurizio Lombardi (1): be2iscsi: set the boot_kset pointer to NULL in case of failure Max Filippov (3): xtensa: ISS: don't hang if stdin EOF is reached xtensa: fix preemption in {clear,copy}_user_highpage xtensa: clear all DBREAKC registers on start Mel Gorman (1): mm: page_alloc: pass PFN to __free_pages_bootmem Michael Niewoehner (1): clk: rockchip: add pclk_cpu to the list of rk3188 critical clocks Michael S. Tsirkin (1): watchdog: rc32434_wdt: fix ioctl error handling Miklos Szeredi (1): ovl: fix permission checking for setattr Ming Lei (1): md: multipath: don't hardcopy bio in .make_request path Nikolay Borisov (1): quota: Fix possible GPF due to uninitialised pointers OGAWA Hirofumi (1): jbd2: fix FS corruption possibility in jbd2_journal_destroy() on umount path Oliver Neukum (5): usb: retry reset if a device times out usb: hub: fix a typo in hub_port_init() leading to wrong logic Input: ims-pcu - sanity check against missing interfaces USB: usb_driver_claim_interface: add sanity checking USB: cdc-acm: more sanity checking Paolo Bonzini (2): KVM: VMX: avoid guest hang on invalid invept instruction KVM: fix spin_lock_init order on x86 Peter Hurley (2): tty: Fix GPF in flush_to_ldisc(), part 2 net: irda: Fix use-after-free in irtty_open() Peter Jones (5): lib/ucs2_string: Add ucs2 -> utf8 helper functions efi: Use ucs2_as_utf8 in efivarfs instead of open coding a bad version efi: Do variable name validation tests in utf8 efi: Make our variable validation list include the guid efi: Make efivarfs entries immutable by default Peter Zijlstra (1): bitops: Do not default to __clear_bit() for __clear_bit_unlock() Qu Wenruo (1): btrfs: async-thread: Fix a use-after-free error for trace Rabin Vincent (1): splice: handle zero nr_pages in splice_to_pipe() Radim Krčmář (1): KVM: i8254: change PIT discard tick policy Raghava Aditya Renukunta (1): aacraid: Fix memory leak in aac_fib_map_free Raghavendra K T (1): sched: Fix crash in sched_init_numa() Rich Felker (1): MAINTAINERS: return arch/sh to maintained state, with new maintainers Romain Perier (1): clk: rockchip: Add pclk_peri to critical clocks on RK3066/RK3188 Roman Gushchin (1): fuse: break infinite loop in fuse_fill_write_pages() Russell King (2): mmc: sdhci: fix data timeout (part 1) mmc: sdhci: fix data timeout (part 2) Rusty Russell (2): module: wrapper for symbol name. modules: fix longstanding /proc/kallsyms vs module insertion race. Sasha Levin (2): ALSA: hda - Add new GPU codec ID 0x10de0083 to snd-hda Linux 3.18.31 Sebastian Andrzej Siewior (1): btrfs: initialize the seq counter in struct btrfs_device Sebastian Ott (2): s390/pci: extract software counters from fmb s390/pci: enforce fmb page boundary rule Sekhar Nori (1): irqchip/omap-intc: Add support for spurious irq handling Simon Guinot (1): kernel/resource.c: fix muxed resource handling in __request_region() Spencer E. Olson (1): staging: comedi: ni_tiocmd: change mistaken use of start_src for start_arg Stephane Eranian (1): perf/x86/intel: Add definition for PT PMI bit Steven Rostedt (Red Hat) (2): tracing: Fix crash from reading trace_pipe with sendfile tracing: Fix trace_printk() to print when not using bprintk() Takashi Iwai (3): ALSA: hda - Implement loopback control switch for Realtek and other codecs ALSA: hda - Fix unconditional GPIO toggle via automute ALSA: usb-audio: Fix NULL dereference in create_fixed_stream_quirk() Tiffany Lin (1): [media] media: v4l2-compat-ioctl32: fix missing length copy in put_v4l2_buffer32 Tom Lendacky (4): crypto: ccp - Add hash state import and export support crypto: ccp - Limit the amount of information exported crypto: ccp - Don't assume export/import areas are aligned crypto: ccp - memset request context to zero during import Tony Luck (1): EDAC/sb_edac: Fix computation of channel address Vasily Kulikov (1): include/linux/poison.h: fix LIST_POISON{1,2} offset Victor Clément (1): ALSA: usb-audio: add Microsoft HD-5001 to quirks Vinayak Menon (1): of: alloc anywhere from memblock if range not specified Vittorio Gambaletta (VittGam) (1): ALSA: intel8x0: Add clock quirk entry for AD1981B on IBM ThinkPad X41. Vladis Dronov (1): Input: ati_remote2 - fix crashes on detecting device with invalid descriptor Vlastimil Babka (1): mm/page_alloc: prevent merging between isolated and other pageblocks Yijing Wang (1): PCI: Add dev->has_secondary_link to track downstream PCIe links Yong Li (1): iio: dac: mcp4725: set iio name property in sysfs Zhang Rui (1): Thermal: Ignore invalid trip points dann frazier (1): arm64: errata: Add -mpc-relative-literal-loads to build flags Documentation/filesystems/efivarfs.txt | 7 + MAINTAINERS | 4 +- Makefile | 2 +- arch/arm/boot/dts/armada-375.dtsi | 2 +- arch/arm/boot/dts/sun5i-a10s.dtsi | 2 +- arch/arm/boot/dts/sun5i-a13.dtsi | 2 +- arch/arm/boot/dts/sun7i-a20.dtsi | 2 +- arch/arm/include/asm/psci.h | 2 +- arch/arm64/Makefile | 2 + arch/arm64/include/asm/pgtable.h | 6 +- arch/arm64/mm/init.c | 4 +- arch/powerpc/kernel/module_64.c | 2 +- arch/s390/include/asm/pci.h | 10 +- arch/s390/pci/pci.c | 10 +- arch/s390/pci/pci_debug.c | 21 +- arch/s390/pci/pci_dma.c | 8 +- arch/um/drivers/mconsole_kern.c | 2 +- arch/x86/include/asm/apic.h | 2 +- arch/x86/include/asm/perf_event.h | 8 + arch/x86/include/asm/xen/hypervisor.h | 2 + arch/x86/include/uapi/asm/msr-index.h | 6 + arch/x86/kernel/ioport.c | 12 +- arch/x86/kernel/process_64.c | 12 ++ arch/x86/kvm/i8254.c | 12 +- arch/x86/kvm/vmx.c | 1 + arch/x86/kvm/x86.c | 12 +- arch/x86/pci/fixup.c | 7 + arch/x86/pci/intel_mid_pci.c | 10 +- arch/x86/pci/irq.c | 7 +- arch/x86/xen/enlighten.c | 2 +- arch/xtensa/kernel/head.S | 2 +- arch/xtensa/mm/cache.c | 8 +- arch/xtensa/platforms/iss/console.c | 10 +- crypto/algif_skcipher.c | 156 ++++++++++++++- drivers/acpi/pci_irq.c | 11 +- drivers/block/mtip32xx/mtip32xx.c | 224 ++++++++++------------ drivers/block/mtip32xx/mtip32xx.h | 1 + drivers/bluetooth/ath3k.c | 8 + drivers/bluetooth/btusb.c | 4 + drivers/bus/imx-weim.c | 2 +- drivers/clk/rockchip/clk-rk3188.c | 2 + drivers/crypto/ccp/ccp-crypto-aes-cmac.c | 36 ++++ drivers/crypto/ccp/ccp-crypto-sha.c | 40 ++++ drivers/crypto/ccp/ccp-crypto.h | 22 +++ drivers/edac/amd64_edac.c | 2 +- drivers/edac/sb_edac.c | 26 +-- drivers/firmware/efi/efivars.c | 45 ++--- drivers/firmware/efi/vars.c | 144 ++++++++++---- drivers/gpu/drm/drm_dp_mst_topology.c | 76 ++++---- drivers/gpu/drm/gma500/gem.c | 2 +- drivers/gpu/drm/radeon/atombios_encoders.c | 6 +- drivers/gpu/drm/radeon/radeon_atpx_handler.c | 8 +- drivers/gpu/drm/radeon/radeon_device.c | 9 +- drivers/gpu/drm/radeon/radeon_fb.c | 25 ++- drivers/gpu/drm/radeon/radeon_mode.h | 4 + drivers/hid/hid-core.c | 6 +- drivers/hid/hid-multitouch.c | 15 +- drivers/hid/i2c-hid/i2c-hid.c | 16 +- drivers/iio/dac/mcp4725.c | 1 + drivers/iio/imu/adis_buffer.c | 2 +- drivers/iio/pressure/mpl115.c | 2 +- drivers/infiniband/hw/cxgb3/iwch_cm.c | 4 +- drivers/infiniband/ulp/srpt/ib_srpt.c | 59 +----- drivers/input/misc/ati_remote2.c | 36 +++- drivers/input/misc/ims-pcu.c | 4 + drivers/input/misc/powermate.c | 3 + drivers/input/mouse/synaptics.c | 5 +- drivers/irqchip/irq-omap-intc.c | 52 ++--- drivers/md/bcache/super.c | 46 +++-- drivers/md/multipath.c | 4 +- drivers/md/raid5.c | 4 +- drivers/media/i2c/adv7511.c | 21 +- drivers/media/pci/bt8xx/bttv-driver.c | 26 ++- drivers/media/pci/saa7134/saa7134-video.c | 18 +- drivers/media/tuners/si2157.c | 5 + drivers/media/usb/pwc/pwc-if.c | 6 + drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 21 +- drivers/mmc/host/mmc_spi.c | 6 + drivers/mmc/host/sdhci.c | 23 ++- drivers/mtd/onenand/onenand_base.c | 3 +- drivers/net/ethernet/marvell/mvneta.c | 2 +- drivers/net/irda/irtty-sir.c | 10 - drivers/net/rionet.c | 4 +- drivers/of/of_reserved_mem.c | 4 +- drivers/pci/probe.c | 32 ++++ drivers/platform/x86/ideapad-laptop.c | 14 ++ drivers/scsi/aacraid/commsup.c | 9 +- drivers/scsi/be2iscsi/be_main.c | 1 + drivers/scsi/sg.c | 3 +- drivers/staging/comedi/drivers/ni_mio_common.c | 12 +- drivers/staging/comedi/drivers/ni_tiocmd.c | 2 +- drivers/target/target_core_transport.c | 2 - drivers/thermal/thermal_core.c | 13 +- drivers/usb/class/cdc-acm.c | 3 + drivers/usb/core/driver.c | 6 +- drivers/usb/core/hub.c | 16 +- drivers/usb/misc/iowarrior.c | 6 + drivers/usb/storage/uas.c | 2 +- drivers/watchdog/rc32434_wdt.c | 2 +- fs/btrfs/async-thread.c | 2 +- fs/btrfs/disk-io.c | 1 + fs/btrfs/inode.c | 27 ++- fs/btrfs/send.c | 16 +- fs/btrfs/super.c | 24 +++ fs/btrfs/volumes.c | 1 + fs/coredump.c | 30 ++- fs/efivarfs/file.c | 71 +++++++ fs/efivarfs/inode.c | 30 +-- fs/efivarfs/internal.h | 3 +- fs/efivarfs/super.c | 16 +- fs/ext4/move_extent.c | 1 + fs/fhandle.c | 2 +- fs/fuse/file.c | 2 +- fs/jbd2/journal.c | 17 +- fs/nfsd/nfs4proc.c | 1 + fs/nfsd/nfs4xdr.c | 13 +- fs/ocfs2/dlm/dlmconvert.c | 24 ++- fs/ocfs2/dlm/dlmrecovery.c | 1 - fs/open.c | 6 +- fs/overlayfs/inode.c | 8 +- fs/proc/array.c | 2 +- fs/proc/base.c | 20 +- fs/proc/namespaces.c | 4 +- fs/quota/dquot.c | 3 +- fs/splice.c | 3 + fs/xfs/xfs_attr_list.c | 19 +- include/asm-generic/bitops/lock.h | 14 +- include/drm/drm_dp_mst_helper.h | 25 +-- include/linux/efi.h | 5 +- include/linux/fs.h | 2 +- include/linux/kernel.h | 6 +- include/linux/mm.h | 5 +- include/linux/module.h | 17 +- include/linux/pageblock-flags.h | 2 +- include/linux/pci.h | 3 + include/linux/poison.h | 4 +- include/linux/ptrace.h | 24 ++- include/linux/thermal.h | 2 + include/linux/tty.h | 2 +- include/linux/ucs2_string.h | 4 + kernel/events/core.c | 2 +- kernel/futex.c | 2 +- kernel/futex_compat.c | 2 +- kernel/kcmp.c | 4 +- kernel/module.c | 117 ++++++----- kernel/ptrace.c | 39 +++- kernel/resource.c | 5 +- kernel/sched/core.c | 2 +- kernel/sched/cputime.c | 14 +- kernel/sysctl_binary.c | 2 +- kernel/trace/trace.c | 5 +- kernel/trace/trace_printk.c | 3 + lib/ucs2_string.c | 62 ++++++ mm/bootmem.c | 13 +- mm/hugetlb.c | 19 +- mm/internal.h | 7 +- mm/memblock.c | 2 +- mm/nobootmem.c | 4 +- mm/page_alloc.c | 74 ++++--- mm/process_vm_access.c | 2 +- net/core/datagram.c | 42 +++- scripts/coccinelle/iterators/use_after_iter.cocci | 2 +- security/commoncap.c | 7 +- security/keys/encrypted-keys/encrypted.c | 2 + security/keys/trusted.c | 5 +- security/keys/user_defined.c | 5 +- security/smack/smack_lsm.c | 8 +- security/yama/yama_lsm.c | 4 +- sound/pci/hda/hda_generic.c | 87 +++++++-- sound/pci/hda/patch_cirrus.c | 8 +- sound/pci/hda/patch_hdmi.c | 6 + sound/pci/hda/patch_realtek.c | 9 + sound/pci/intel8x0.c | 1 + sound/usb/mixer.c | 6 +- sound/usb/quirks.c | 7 + tools/hv/Makefile | 6 +- tools/perf/util/pmu.c | 15 +- tools/testing/selftests/efivarfs/efivarfs.sh | 19 +- tools/testing/selftests/efivarfs/open-unlink.c | 72 ++++++- virt/kvm/kvm_main.c | 21 +- 180 files changed, 1950 insertions(+), 809 deletions(-)
Attachment:
signature.asc
Description: OpenPGP digital signature