Skip to content
  1. Apr 16, 2019
  2. Apr 15, 2019
    • Sean Christopherson's avatar
      KVM: x86/mmu: Fix an inverted list_empty() check when zapping sptes · cfd32acf
      Sean Christopherson authored
      A recently introduced helper for handling zap vs. remote flush
      incorrectly bails early, effectively leaking defunct shadow pages.
      Manifests as a slab BUG when exiting KVM due to the shadow pages
      being alive when their associated cache is destroyed.
      
      ==========================================================================
      BUG kvm_mmu_page_header: Objects remaining in kvm_mmu_page_header on ...
      --------------------------------------------------------------------------
      Disabling lock debugging due to kernel taint
      INFO: Slab 0x00000000fc436387 objects=26 used=23 fp=0x00000000d023caee ...
      CPU: 6 PID: 4315 Comm: rmmod Tainted: G    B             5.1.0-rc2+ #19
      Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 0.0.0 02/06/2015
      Call Trace:
       dump_stack+0x46/0x5b
       slab_err+0xad/0xd0
       ? on_each_cpu_mask+0x3c/0x50
       ? ksm_migrate_page+0x60/0x60
       ? on_each_cpu_cond_mask+0x7c/0xa0
       ? __kmalloc+0x1ca/0x1e0
       __kmem_cache_shutdown+0x13a/0x310
       shutdown_cache+0xf/0x130
       kmem_cache_destroy+0x1d5/0x200
       kvm_mmu_module_exit+0xa/0x30 [kvm]
       kvm_arch_exit+0x45/0x60 [kvm]
       kvm_exit+0x6f/0x80 [kvm]
       vmx_exit+0x1a/0x50 [kvm_intel]
       __x64_sys_delete_module+0x153/0x1f0
       ? exit_to_usermode_loop+0x88/0xc0
       do_syscall_64+0x4f/0x100
       entry_SYSCALL_64_after_hwframe+0x44/0xa9
      
      Fixes: a2113634
      
       ("KVM: x86/mmu: Split remote_flush+zap case out of kvm_mmu_flush_or_zap()")
      Signed-off-by: default avatarSean Christopherson <sean.j.christopherson@intel.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      cfd32acf
  3. Apr 10, 2019
    • Brian Norris's avatar
      Bluetooth: btusb: request wake pin with NOAUTOEN · 771acc7e
      Brian Norris authored
      Badly-designed systems might have (for example) active-high wake pins
      that default to high (e.g., because of external pull ups) until they
      have an active firmware which starts driving it low.  This can cause an
      interrupt storm in the time between request_irq() and disable_irq().
      
      We don't support shared interrupts here, so let's just pre-configure the
      interrupt to avoid auto-enabling it.
      
      Fixes: fd913ef7 ("Bluetooth: btusb: Add out-of-band wakeup support")
      Fixes: 5364a0b4
      
       ("arm64: dts: rockchip: move QCA6174A wakeup pin into its USB node")
      Signed-off-by: default avatarBrian Norris <briannorris@chromium.org>
      Reviewed-by: default avatarMatthias Kaehlcke <mka@chromium.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      771acc7e
    • Linus Torvalds's avatar
      Merge tag 'mips_fixes_5.1_2' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux · 0ee7fb36
      Linus Torvalds authored
      Pull MIPS fixes from Paul Burton:
       "A few minor MIPS fixes:
      
         - Provide struct pt_regs * from get_irq_regs() to kgdb_nmicallback()
           when handling an IPI triggered by kgdb_roundup_cpus(), matching the
           behavior of other architectures & resolving kgdb issues for SMP
           systems.
      
         - Defer a pointer dereference until after a NULL check in the
           irq_shutdown callback for SGI IP27 HUB interrupts.
      
         - A defconfig update for the MSCC Ocelot to enable some necessary
           drivers"
      
      * tag 'mips_fixes_5.1_2' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux:
        MIPS: generic: Add switchdev, pinctrl and fit to ocelot_defconfig
        MIPS: SGI-IP27: Fix use of unchecked pointer in shutdown_bridge_irq
        MIPS: KGDB: fix kgdb support for SMP platforms.
      0ee7fb36
    • Linus Torvalds's avatar
      Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 972acfb4
      Linus Torvalds authored
      Pull misc fixes from Al Viro:
       "A few regression fixes from this cycle"
      
      * 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        aio: use kmem_cache_free() instead of kfree()
        iov_iter: Fix build error without CONFIG_CRYPTO
        aio: Fix an error code in __io_submit_one()
      972acfb4
  4. Apr 09, 2019
  5. Apr 08, 2019