Kernel Panic and crash while executing "kvm_zap_rmapp"
Issue
- Kernel panics on command
qemu-kvm
- The following backtrace is noted:
crash> bt
PID: 135844 TASK: ffff89a26c148000 CPU: 14 COMMAND: "qemu-kvm"
#0 [ffff89cfa993f8c8] machine_kexec at ffffffff81051e9b
#1 [ffff89cfa993f928] crash_kexec at ffffffff810f27a2
#2 [ffff89cfa993f9f8] oops_end at ffffffff8163f448
#3 [ffff89cfa993fa20] no_context at ffffffff8162f57b
#4 [ffff89cfa993fa70] __bad_area_nosemaphore at ffffffff8162f611
#5 [ffff89cfa993fab8] bad_area_nosemaphore at ffffffff8162f77b
#6 [ffff89cfa993fac8] __do_page_fault at ffffffff816421be
#7 [ffff89cfa993fb28] do_page_fault at ffffffff81642353
#8 [ffff89cfa993fb50] page_fault at ffffffff8163e648
[exception RIP: kvm_zap_rmapp+0x34]
RIP: ffffffffa08f5ad4 RSP: ffff89cfa993fc08 RFLAGS: 00010206
RAX: 0000000000000000 RBX: ffffc9025b72ac88 RCX: 000000000073a591
RDX: 0000000429620000 RSI: 0000000429620000 RDI: ffff8ae69725c000
RBP: ffff89cfa993fc18 R8: 0000000000000001 R9: 0000000000000000
R10: 0000000000000006 R11: 0000000000000293 R12: ffff8ae69725c000
R13: ffffffffa08f5b00 R14: 0000000000000000 R15: ffffc901a1eb5008
ORIG_RAX: ffffffffffffffff CS: 0010 SS: 0018
#9 [ffff89cfa993fc20] kvm_unmap_rmapp at ffffffffa08f5b0e [kvm]
#10 [ffff89cfa993fc30] kvm_handle_hva_range at ffffffffa08f1fa4 [kvm]
#11 [ffff89cfa993fcd0] kvm_unmap_hva_range at ffffffffa08fde07 [kvm]
#12 [ffff89cfa993fce0] kvm_mmu_notifier_invalidate_range_start at ffffffffa08d4b73 [kvm]
#13 [ffff89cfa993fd20] __mmu_notifier_invalidate_range_start at ffffffff811b9a64
#14 [ffff89cfa993fd60] change_protection_range at ffffffff8119fca1
#15 [ffff89cfa993fe68] change_protection at ffffffff8119fd15
#16 [ffff89cfa993fea0] change_prot_numa at ffffffff811b679b
#17 [ffff89cfa993feb0] task_numa_work at ffffffff810bd476
#18 [ffff89cfa993ff00] task_work_run at ffffffff810a2317
#19 [ffff89cfa993ff30] do_notify_resume at ffffffff81014b12
#20 [ffff89cfa993ff50] int_signal at ffffffff81646dfd
RIP: 00007fae2710c75f RSP: 00007ffcd53f2ae0 RFLAGS: 00000293
RAX: 0000000000000000 RBX: 00007fae349d9140 RCX: ffffffffffffffff
RDX: 00007ffcd53f2b00 RSI: 0000000000000006 RDI: 00007fae34996940
RBP: 00007ffcd53f2b54 R8: 0000000000000008 R9: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000001 R14: 000000000000000f R15: 00007fae328bc767
ORIG_RAX: 000000000000010f CS: 0033 SS: 002b
Environment
- Red Hat Enterprise Linux 7
- KVM virtualization host
- kernel-3.10.0-514.16.1.el7.x86_64 or earlier
- kernel-3.10.0-327.53.1.el7.x86_64 or earlier (RHEL7.2 EUS)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.