https://bugzilla.kernel.org/show_bug.cgi?id=135471 Bug ID: 135471 Summary: Oops IP: [<ffffffffa0047081>] rmap_get_first+0x21/0x60 [kvm] Product: Virtualization Version: unspecified Kernel Version: 4.6.3 Hardware: i386 OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: kvm Assignee: virtualization_kvm@xxxxxxxxxxxxxxxxxxxx Reporter: himbeere@xxxxxxxxxxxx Regression: No Hello Devs. Every now and then my machine crashes hard with the following message: Jul 18 01:46:30 ovh kernel: BUG: unable to handle kernel NULL pointer dereference at 0000000000000010 Jul 18 01:46:30 ovh kernel: IP: [<ffffffffa0047081>] rmap_get_first+0x21/0x60 [kvm] Jul 18 01:46:30 ovh kernel: PGD 0 Jul 18 01:46:30 ovh kernel: Oops: 0000 [#1] SMP Jul 18 01:46:30 ovh kernel: Modules linked in: vhost_net vhost xt_physdev xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat tun xt_multiport coretemp kvm_intel kvm irqbypass i2c_i801 Jul 18 01:46:30 ovh kernel: CPU: 3 PID: 692 Comm: kswapd0 Not tainted 4.6.3 #1 Jul 18 01:46:30 ovh kernel: Hardware name: Supermicro X8STi/X8STi, BIOS 2.0 09/17/10 Jul 18 01:46:30 ovh kernel: task: ffff88040ceb0000 ti: ffff88040c8c4000 task.ti: ffff88040c8c4000 Jul 18 01:46:30 ovh kernel: RIP: 0010:[<ffffffffa0047081>] [<ffffffffa0047081>] rmap_get_first+0x21/0x60 [kvm] Jul 18 01:46:30 ovh kernel: RSP: 0018:ffff88040c8c7920 EFLAGS: 00010286 Jul 18 01:46:31 ovh kernel: RAX: 0000000000000010 RBX: 0000000000000000 RCX: 0000000000108e83 Jul 18 01:46:31 ovh kernel: RDX: ffffc90003872008 RSI: ffff88040c8c7930 RDI: ffffc9000394b418 Jul 18 01:46:31 ovh kernel: RBP: ffff88040c8c7920 R08: 0000000000000001 R09: 0000000000000000 Jul 18 01:46:31 ovh kernel: R10: 0000000000000003 R11: 0000000000000002 R12: ffffc9000394b418 Jul 18 01:46:31 ovh kernel: R13: ffff88040bb78000 R14: 0000000000000000 R15: ffffc90003872008 Jul 18 01:46:31 ovh kernel: FS: 0000000000000000(0000) GS:ffff88041fc60000(0000) knlGS:0000000000000000 Jul 18 01:46:31 ovh kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jul 18 01:46:31 ovh kernel: CR2: 0000000000000010 CR3: 0000000001c07000 CR4: 00000000000026e0 Jul 18 01:46:31 ovh kernel: Stack: Jul 18 01:46:31 ovh kernel: ffff88040c8c7958 ffffffffa004ae73 ffff88040bb5b9c0 00007fe400000000 Jul 18 01:46:31 ovh kernel: 0000000000000000 ffff88040bb78000 ffffffffa004ae90 ffff88040c8c7968 Jul 18 01:46:31 ovh kernel: ffffffffa004ae99 ffff88040c8c7a08 ffffffffa0046b93 ffff88040bb78048 Jul 18 01:46:31 ovh kernel: Call Trace: Jul 18 01:46:31 ovh kernel: [<ffffffffa004ae73>] kvm_zap_rmapp+0x33/0x50 [kvm] Jul 18 01:46:31 ovh kernel: [<ffffffffa004ae90>] ? kvm_zap_rmapp+0x50/0x50 [kvm] Jul 18 01:46:31 ovh kernel: [<ffffffffa004ae99>] kvm_unmap_rmapp+0x9/0x10 [kvm] Jul 18 01:46:31 ovh kernel: [<ffffffffa0046b93>] kvm_handle_hva_range+0x113/0x170 [kvm] Jul 18 01:46:31 ovh kernel: [<ffffffffa00516d4>] kvm_age_hva+0x34/0x40 [kvm] Jul 18 01:46:31 ovh kernel: [<ffffffffa002cbc8>] kvm_mmu_notifier_clear_flush_young+0x48/0x80 [kvm] Jul 18 01:46:31 ovh kernel: [<ffffffff8115f866>] __mmu_notifier_clear_flush_young+0x56/0x80 Jul 18 01:46:31 ovh kernel: [<ffffffff8114ab54>] page_referenced_one+0xe4/0xf0 Jul 18 01:46:31 ovh kernel: [<ffffffff8114a301>] rmap_walk_anon+0xc1/0x1d0 Jul 18 01:46:31 ovh kernel: [<ffffffff8114bde7>] rmap_walk+0x27/0x30 Jul 18 01:46:31 ovh kernel: [<ffffffff8114becd>] page_referenced+0xdd/0x1a0 Jul 18 01:46:31 ovh kernel: [<ffffffff8114aa70>] ? __page_check_address+0x180/0x180 Jul 18 01:46:31 ovh kernel: [<ffffffff8114b570>] ? page_get_anon_vma+0x120/0x120 Jul 18 01:46:31 ovh kernel: [<ffffffff8112a669>] shrink_active_list+0x1c9/0x390 Jul 18 01:46:31 ovh kernel: [<ffffffff8112ae0b>] shrink_zone_memcg+0x5db/0x7d0 Jul 18 01:46:31 ovh kernel: [<ffffffff8112b0c6>] shrink_zone+0xc6/0x1f0 Jul 18 01:46:31 ovh kernel: [<ffffffff8112bf5a>] kswapd+0x43a/0x840 Jul 18 01:46:31 ovh kernel: [<ffffffff8112bb20>] ? mem_cgroup_shrink_node_zone+0x150/0x150 Jul 18 01:46:31 ovh kernel: [<ffffffff81072fb4>] kthread+0xc4/0xe0 Jul 18 01:46:31 ovh kernel: [<ffffffff81740292>] ret_from_fork+0x22/0x40 Jul 18 01:46:31 ovh kernel: [<ffffffff81072ef0>] ? kthread_park+0x50/0x50 Jul 18 01:46:31 ovh kernel: Code: 00 00 eb c4 66 0f 1f 44 00 00 48 8b 07 55 48 89 e5 48 85 c0 74 42 a8 01 74 2a 48 83 e0 fe c7 46 08 00 00 00 00 48 89 06 48 8b 00 <48> 8b 10 f6 c2 01 74 23 48 8b 0d b0 dc 03 00 48 21 ca 48 39 d1 Jul 18 01:46:31 ovh kernel: RIP [<ffffffffa0047081>] rmap_get_first+0x21/0x60 [kvm] Jul 18 01:46:31 ovh kernel: RSP <ffff88040c8c7920> Jul 18 01:46:31 ovh kernel: CR2: 0000000000000010 Jul 18 01:46:31 ovh kernel: ---[ end trace f30608d1658423c5 ]--- Jul 18 01:46:31 ovh kernel: ------------[ cut here ]------------ Jul 18 01:46:31 ovh kernel: WARNING: CPU: 3 PID: 692 at kernel/exit.c:661 do_exit+0x4e/0xbf0 Jul 18 01:46:31 ovh kernel: Modules linked in: vhost_net vhost xt_physdev xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat tun xt_multiport coretemp kvm_intel kvm irqbypass i2c_i801 Jul 18 01:46:31 ovh kernel: CPU: 3 PID: 692 Comm: kswapd0 Tainted: G D 4.6.3 #1 Jul 18 01:46:31 ovh kernel: Hardware name: Supermicro X8STi/X8STi, BIOS 2.0 09/17/10 Jul 18 01:46:31 ovh kernel: 0000000000000000 ffff88040c8c7630 ffffffff813191c8 0000000000000000 Jul 18 01:46:31 ovh kernel: 0000000000000000 ffff88040c8c7670 ffffffff81056cfc 0000029500000009 Jul 18 01:46:31 ovh kernel: ffff88040ceb0000 0000000000000009 0000000000000046 ffff88040ceb0000 Jul 18 01:46:31 ovh kernel: Call Trace: Jul 18 01:46:31 ovh kernel: [<ffffffff813191c8>] dump_stack+0x4d/0x65 Jul 18 01:46:31 ovh kernel: [<ffffffff81056cfc>] __warn+0xcc/0xf0 Jul 18 01:46:31 ovh kernel: [<ffffffff81056dd8>] warn_slowpath_null+0x18/0x20 Jul 18 01:46:31 ovh kernel: [<ffffffff81059fce>] do_exit+0x4e/0xbf0 Jul 18 01:46:31 ovh kernel: [<ffffffff8101e6e4>] oops_end+0x84/0xc0 Jul 18 01:46:31 ovh kernel: [<ffffffff81049b49>] no_context+0x109/0x350 Jul 18 01:46:31 ovh kernel: [<ffffffff81049e01>] __bad_area_nosemaphore+0x71/0x1f0 Jul 18 01:46:31 ovh kernel: [<ffffffff81049f8f>] bad_area_nosemaphore+0xf/0x20 Jul 18 01:46:31 ovh kernel: [<ffffffff8104a2a4>] __do_page_fault+0x84/0x490 Jul 18 01:46:31 ovh kernel: [<ffffffffa00462ee>] ? mmu_spte_clear_track_bits+0xee/0x100 [kvm] Jul 18 01:46:31 ovh kernel: [<ffffffff8104a6d3>] do_page_fault+0x23/0x80 Jul 18 01:46:31 ovh kernel: [<ffffffff81741ce2>] page_fault+0x22/0x30 Jul 18 01:46:31 ovh kernel: [<ffffffffa0047081>] ? rmap_get_first+0x21/0x60 [kvm] Jul 18 01:46:31 ovh kernel: [<ffffffffa004ae73>] kvm_zap_rmapp+0x33/0x50 [kvm] Jul 18 01:46:31 ovh kernel: [<ffffffffa004ae90>] ? kvm_zap_rmapp+0x50/0x50 [kvm] Jul 18 01:46:31 ovh kernel: [<ffffffffa004ae99>] kvm_unmap_rmapp+0x9/0x10 [kvm] Jul 18 01:46:31 ovh kernel: [<ffffffffa0046b93>] kvm_handle_hva_range+0x113/0x170 [kvm] Jul 18 01:46:31 ovh kernel: [<ffffffffa00516d4>] kvm_age_hva+0x34/0x40 [kvm] Jul 18 01:46:31 ovh kernel: [<ffffffffa002cbc8>] kvm_mmu_notifier_clear_flush_young+0x48/0x80 [kvm] Jul 18 01:46:31 ovh kernel: [<ffffffff8115f866>] __mmu_notifier_clear_flush_young+0x56/0x80 Jul 18 01:46:31 ovh kernel: [<ffffffff8114ab54>] page_referenced_one+0xe4/0xf0 Jul 18 01:46:31 ovh kernel: [<ffffffff8114a301>] rmap_walk_anon+0xc1/0x1d0 Jul 18 01:46:31 ovh kernel: [<ffffffff8114bde7>] rmap_walk+0x27/0x30 Jul 18 01:46:31 ovh kernel: [<ffffffff8114becd>] page_referenced+0xdd/0x1a0 Jul 18 01:46:31 ovh kernel: [<ffffffff8114aa70>] ? __page_check_address+0x180/0x180 Jul 18 01:46:31 ovh kernel: [<ffffffff8114b570>] ? page_get_anon_vma+0x120/0x120 Jul 18 01:46:31 ovh kernel: [<ffffffff8112a669>] shrink_active_list+0x1c9/0x390 Jul 18 01:46:31 ovh kernel: [<ffffffff8112ae0b>] shrink_zone_memcg+0x5db/0x7d0 Jul 18 01:46:31 ovh kernel: [<ffffffff8112b0c6>] shrink_zone+0xc6/0x1f0 Jul 18 01:46:31 ovh kernel: [<ffffffff8112bf5a>] kswapd+0x43a/0x840 Jul 18 01:46:31 ovh kernel: [<ffffffff8112bb20>] ? mem_cgroup_shrink_node_zone+0x150/0x150 Jul 18 01:46:31 ovh kernel: [<ffffffff81072fb4>] kthread+0xc4/0xe0 Jul 18 01:46:31 ovh kernel: [<ffffffff81740292>] ret_from_fork+0x22/0x40 Jul 18 01:46:31 ovh kernel: [<ffffffff81072ef0>] ? kthread_park+0x50/0x50 Jul 18 01:46:31 ovh kernel: ---[ end trace f30608d1658423c6 ]--- Is there a way to tell what the reason of that could be? thanks and cheers t. -- You are receiving this mail because: You are watching the assignee of the bug. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html