[Bug 27052] Module KVM : unable to handle kernel NULL pointer dereference at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=27052





--- Comment #28 from prochazka <prochazka.nicolas@xxxxxxxxx>  2011-02-11 15:43:22 ---
Marcelo, 
debug info
Regards, 
Nicolas

general protection fault: 0000 [#1] SMP 
last sysfs file: /sys/devices/system/cpu/cpu7/cache/index2/shared_cpu_map
CPU 0 
Modules linked in: kvm_intel kvm [last unloaded: kvm]

Pid: 8532, comm: run Not tainted 2.6.37 #3 0P010H/PowerEdge M600
RIP: 0010:[<ffffffff8113a3e8>]  [<ffffffff8113a3e8>] dup_fd+0x168/0x300
RSP: 0018:ffff8807e3df3d90  EFLAGS: 00010206
RAX: 00000000000007f8 RBX: ffff88022be64580 RCX: bfffffffffffffff
RDX: 00008807fe5ed0c0 RSI: 00000000000000ff RDI: 0000000000000800
RBP: ffff8807e3df3df0 R08: ffff88022c413a80 R09: 0000000000000003
R10: 0000000000000001 R11: 4000000000000000 R12: ffff8807fea2f000
R13: ffff88022c413e80 R14: ffff8807e7a9d000 R15: 0000000000000100
FS:  00007ffaa073f700(0000) GS:ffff8800bfc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 00000000006d6878 CR3: 00000007e79eb000 CR4: 00000000000426e0
DR0: 0000000000000001 DR1: 0000000000000002 DR2: 0000000000000001
DR3: 000000000000000a DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process run (pid: 8532, threadinfo ffff8807e3df2000, task ffff8807fe78a000)
Stack:
 ffff880200000000 0000000100000282 0000000000000020 ffff8807e7e3e440
 ffff8807fe93ac08 ffff8807fe93ac80 00007ffaa073f9d0 ffff88022d35e000
 0000000000000000 0000000001200011 00007ffaa073f9d0 0000000000000000
Call Trace:
 [<ffffffff8104fdba>] copy_process+0x9fa/0x11e0
 [<ffffffff81031e78>] ? do_page_fault+0x1b8/0x480
 [<ffffffff81050621>] do_fork+0x81/0x3f0
 [<ffffffff810634cd>] ? do_sigaction+0x13d/0x1e0
 [<ffffffff819b11c5>] ? _raw_spin_lock_irq+0x15/0x20
 [<ffffffff81062eb1>] ? sigprocmask+0x91/0x110
 [<ffffffff8100c498>] sys_clone+0x28/0x30
 [<ffffffff810032e3>] stub_clone+0x13/0x20
 [<ffffffff81003042>] ? system_call_fastpath+0x16/0x1b
Code: 4c 89 c2 e8 5b 83 23 00 45 85 ff 74 77 41 8d 47 ff 31 f6 48 8d 3c c5 08
00 00 00 41 ba 01 00 00 00 31 c0 eb 1a 66 0f 1f 44 00 00 <f0> 48 ff 42 30 49 89
14 04 ff c6 48 83 c0 08 48 39 f8 74 3c 49 
RIP  [<ffffffff8113a3e8>] dup_fd+0x168/0x300
 RSP <ffff8807e3df3d90>
---[ end trace 89621523c6ce6788 ]---
general protection fault: 0000 [#2] SMP 
last sysfs file: /sys/devices/system/cpu/cpu7/cache/index2/shared_cpu_map
CPU 0 
Modules linked in: kvm_intel kvm [last unloaded: kvm]

Pid: 8532, comm: run Tainted: G      D     2.6.37 #3 0P010H/PowerEdge M600
RIP: 0010:[<ffffffff8111f5f9>]  [<ffffffff8111f5f9>] filp_close+0x19/0x90
RSP: 0018:ffff8807e3df3b18  EFLAGS: 00010286
RAX: ffff8807e7a9d7f8 RBX: 0000000000000003 RCX: ffff8807e7e3ec80
RDX: 0000000000000000 RSI: ffff8807fe93ac00 RDI: 00008807fe5ed0c0
RBP: ffff8807e3df3b38 R08: 0000000000000000 R09: 0000000000000000
R10: ffff8807e7c4b790 R11: 0000000000000000 R12: 0000000000000001
R13: ffff8807e7e3e440 R14: ffff8807fe93ac00 R15: 00000000000000ff
FS:  0000000000000000(0000) GS:ffff8800bfc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 00000000006d6878 CR3: 0000000001d87000 CR4: 00000000000426e0
DR0: 0000000000000001 DR1: 0000000000000002 DR2: 0000000000000001
DR3: 000000000000000a DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process run (pid: 8532, threadinfo ffff8807e3df2000, task ffff8807fe78a000)
Stack:
 0000000000000077 0000000000000003 0000000000000001 ffff8807e7e3e440
 ffff8807e3df3b88 ffffffff810539e0 ffff8807fe78a000 0000000000000000
 0000000000000000 ffff8807fe93ac00 ffff8807fe78a4b4 ffff8807fe78a000
Call Trace:
 [<ffffffff810539e0>] put_files_struct+0xd0/0xf0
 [<ffffffff81053a54>] exit_files+0x54/0x70
 [<ffffffff8105540e>] do_exit+0x14e/0x800
 [<ffffffff8100740f>] oops_end+0xaf/0xf0
 [<ffffffff8100765b>] die+0x5b/0x90
 [<ffffffff81004e72>] do_general_protection+0x162/0x170
 [<ffffffff819b18b5>] general_protection+0x25/0x30
 [<ffffffff8113a3e8>] ? dup_fd+0x168/0x300
 [<ffffffff8104fdba>] copy_process+0x9fa/0x11e0
 [<ffffffff81031e78>] ? do_page_fault+0x1b8/0x480
 [<ffffffff81050621>] do_fork+0x81/0x3f0
 [<ffffffff810634cd>] ? do_sigaction+0x13d/0x1e0
 [<ffffffff819b11c5>] ? _raw_spin_lock_irq+0x15/0x20
 [<ffffffff81062eb1>] ? sigprocmask+0x91/0x110
 [<ffffffff8100c498>] sys_clone+0x28/0x30
 [<ffffffff810032e3>] stub_clone+0x13/0x20
 [<ffffffff81003042>] ? system_call_fastpath+0x16/0x1b
Code: 5d e8 4c 8b 65 f0 4c 8b 6d f8 c9 c3 66 0f 1f 44 00 00 55 48 89 e5 48 83
ec 20 48 89 5d e8 4c 89 65 f0 4c 89 6d f8 0f 1f 44 00 00 <48> 8b 47 30 48 89 fb
49 89 f4 48 85 c0 74 4d 48 8b 47 20 48 85 
RIP  [<ffffffff8111f5f9>] filp_close+0x19/0x90
 RSP <ffff8807e3df3b18>
---[ end trace 89621523c6ce6789 ]---
Fixing recursive fault but reboot is needed!
gfn=dead01ff idx=511 lvl=1 d=0 spte=0 old_spte=fffffffff001
sp->gfns[511] = dead01ff
sp->gfns[511] = dead01ff
sp->gfns[511] = dead01ff
sp->gfns[510] = dead01fe
sp->gfns[509] = dead01fd
sp->gfns[508] = dead01fc
sp->gfns[507] = dead01fb
------------[ cut here ]------------
kernel BUG at arch/x86/kvm/mmu.c:727!
invalid opcode: 0000 [#3] SMP 
last sysfs file:
/sys/devices/pci0000:00/0000:00:02.0/0000:01:00.0/0000:02:01.0/0000:05:00.0/0000:06:00.0/irq
CPU 4 
Modules linked in: kvm_intel kvm [last unloaded: kvm]

Pid: 8790, comm: qemu Tainted: G      D     2.6.37 #3 0P010H/PowerEdge M600
RIP: 0010:[<ffffffffa008a810>]  [<ffffffffa008a810>] drop_spte+0x2d0/0x2e0
[kvm]
RSP: 0018:ffff88029c8cb9e8  EFLAGS: 00010246
RAX: 000000000000001f RBX: ffff88022d29fff8 RCX: 000000000003ffff
RDX: ffffffff81d970c8 RSI: 0000000000000086 RDI: 0000000000000246
RBP: ffff88029c8cba28 R08: 000000000001764e R09: 0000000000000000
R10: 0000000000000000 R11: 000000000000000d R12: 00000000dead01ff
R13: ffff880273745320 R14: ffff880293324000 R15: 0000fffffffff001
FS:  00007fe7fcb59710(0000) GS:ffff8800bfd00000(0000) knlGS:0000000000000000
CS:  0010 DS: 002b ES: 002b CR0: 000000008005003b
CR2: 000000007ca29600 CR3: 000000026a538000 CR4: 00000000000426e0
DR0: 00000000000000a0 DR1: 0000000000000000 DR2: 0000000000000003
DR3: 00000000000000b0 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process qemu (pid: 8790, threadinfo ffff88029c8ca000, task ffff8807e2b66000)
Stack:
 0000fffffffff001 ffff8801d6914148 ffff88029c8cba28 0000000000000ff8
 ffff880273745320 00000000027237fc ffff88026e95b490 ffff88029c8cba84
 ffff88029c8cbab8 ffffffffa008f2f5 0000000400000001 00000000000032ae
Call Trace:
 [<ffffffffa008f2f5>] paging32_sync_page+0xe5/0x1c0 [kvm]
 [<ffffffffa008afca>] __kvm_sync_page+0x5a/0xb0 [kvm]
 [<ffffffffa008d909>] mmu_sync_children+0x249/0x350 [kvm]
 [<ffffffffa008e58d>] ? kvm_mmu_get_page+0x4dd/0x730 [kvm]
 [<ffffffffa008dad8>] mmu_sync_roots+0xc8/0x160 [kvm]
 [<ffffffffa008e860>] kvm_mmu_load+0x80/0x420 [kvm]
 [<ffffffffa00857e5>] kvm_arch_vcpu_ioctl_run+0xc95/0xe20 [kvm]
 [<ffffffffa0073811>] kvm_vcpu_ioctl+0x561/0x860 [kvm]
 [<ffffffff81063e74>] ? __dequeue_signal+0xf4/0x190
 [<ffffffff810642c1>] ? dequeue_signal+0x41/0x170
 [<ffffffff81131087>] do_vfs_ioctl+0xa7/0x560
 [<ffffffff810840fe>] ? sys_futex+0xce/0x170
 [<ffffffff8113158f>] sys_ioctl+0x4f/0x80
 [<ffffffff81003042>] system_call_fastpath+0x16/0x1b
Code: 05 48 89 da 41 83 e0 01 49 2b 55 30 48 c7 c7 78 75 0a a0 48 c1 fa 03 4c
89 3c 24 4c 8b 0b e8 bb 3d 92 e1 48 89 df e8 d0 fb ff ff <0f> 0b eb fe 66 66 66
2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 
RIP  [<ffffffffa008a810>] drop_spte+0x2d0/0x2e0 [kvm]
 RSP <ffff88029c8cb9e8>
---[ end trace 89621523c6ce678a ]---
general protection fault: 0000 [#4] SMP 
last sysfs file: /sys/devices/system/cpu/cpu7/cache/index2/shared_cpu_map
CPU 7 
Modules linked in: kvm_intel kvm [last unloaded: kvm]

Pid: 1, comm: init Tainted: G      D     2.6.37 #3 0P010H/PowerEdge M600
RIP: 0010:[<ffffffff8113a3e8>]  [<ffffffff8113a3e8>] dup_fd+0x168/0x300
RSP: 0018:ffff88080014fd90  EFLAGS: 00010206
RAX: 00000000000007f8 RBX: ffff8807e7e35340 RCX: bfffffffffffffff
RDX: 00008807e7da63c0 RSI: 00000000000000ff RDI: 0000000000000800
RBP: ffff88080014fdf0 R08: ffff8802d67dc980 R09: 0000000000000003
R10: 0000000000000001 R11: 4000000000000000 R12: ffff8807e7aa6000
R13: ffff8802d67dc540 R14: ffff8807fe6d8800 R15: 0000000000000100
FS:  00007f5239c31700(0000) GS:ffff8800bfdc0000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 00000000006d7bc8 CR3: 00000007fe6a3000 CR4: 00000000000426e0
DR0: 0000000000000001 DR1: 0000000000000002 DR2: 0000000000000001
DR3: 000000000000000a DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process init (pid: 1, threadinfo ffff88080014e000, task ffff88083f82a000)
Stack:
 ffff880200000007 0000000100000282 0000000000000020 ffff8807fe419600
 ffff880800150008 ffff880800150080 00007f5239c319d0 ffff8802fa5eb000
 0000000000000000 0000000001200011 00007f5239c319d0 0000000000000000
Call Trace:
 [<ffffffff8104fdba>] copy_process+0x9fa/0x11e0
 [<ffffffff81031e78>] ? do_page_fault+0x1b8/0x480
 [<ffffffff81050621>] do_fork+0x81/0x3f0
 [<ffffffff819b11c5>] ? _raw_spin_lock_irq+0x15/0x20
 [<ffffffff810634cd>] ? do_sigaction+0x13d/0x1e0
 [<ffffffff819b11c5>] ? _raw_spin_lock_irq+0x15/0x20
 [<ffffffff81062eb1>] ? sigprocmask+0x91/0x110
 [<ffffffff8100c498>] sys_clone+0x28/0x30
 [<ffffffff810032e3>] stub_clone+0x13/0x20
 [<ffffffff81003042>] ? system_call_fastpath+0x16/0x1b
Code: 4c 89 c2 e8 5b 83 23 00 45 85 ff 74 77 41 8d 47 ff 31 f6 48 8d 3c c5 08
00 00 00 41 ba 01 00 00 00 31 c0 eb 1a 66 0f 1f 44 00 00 <f0> 48 ff 42 30 49 89
14 04 ff c6 48 83 c0 08 48 39 f8 74 3c 49 
RIP  [<ffffffff8113a3e8>] dup_fd+0x168/0x300
 RSP <ffff88080014fd90>
---[ end trace 89621523c6ce678b ]---
general protection fault: 0000 [#5] SMP 
last sysfs file: /sys/devices/system/cpu/cpu7/cache/index2/shared_cpu_map
CPU 7 
Modules linked in: kvm_intel kvm [last unloaded: kvm]

Pid: 1, comm: init Tainted: G      D     2.6.37 #3 0P010H/PowerEdge M600
RIP: 0010:[<ffffffff8111f5f9>]  [<ffffffff8111f5f9>] filp_close+0x19/0x90
RSP: 0018:ffff88080014fb18  EFLAGS: 00010286
RAX: ffff8807fe6d8ff8 RBX: 0000000000000003 RCX: ffff8807fe419700
RDX: 0000000000000000 RSI: ffff880800150000 RDI: 00008807e7da63c0
RBP: ffff88080014fb38 R08: 0000000000000004 R09: 0000000000000000
R10: ffff8800bfeaef28 R11: 0000000000000000 R12: 0000000000000001
R13: ffff8807fe419600 R14: ffff880800150000 R15: 00000000000000ff
FS:  0000000000000000(0000) GS:ffff8800bfdc0000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 00000000006d7bc8 CR3: 0000000001d87000 CR4: 00000000000426e0
DR0: 0000000000000001 DR1: 0000000000000002 DR2: 0000000000000001
DR3: 000000000000000a DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process init (pid: 1, threadinfo ffff88080014e000, task ffff88083f82a000)
Stack:
 0000000000000078 0000000000000003 0000000000000001 ffff8807fe419600
 ffff88080014fb88 ffffffff810539e0 ffff88083f82a000 0000000000000000
 0000000000000000 ffff880800150000 ffff88083f82a4b4 ffff88083f82a000
Call Trace:
 [<ffffffff810539e0>] put_files_struct+0xd0/0xf0
 [<ffffffff81053a54>] exit_files+0x54/0x70
 [<ffffffff8105540e>] do_exit+0x14e/0x800
 [<ffffffff8100740f>] oops_end+0xaf/0xf0
 [<ffffffff8100765b>] die+0x5b/0x90
 [<ffffffff81004e72>] do_general_protection+0x162/0x170
 [<ffffffff819b18b5>] general_protection+0x25/0x30
 [<ffffffff8113a3e8>] ? dup_fd+0x168/0x300
 [<ffffffff8104fdba>] copy_process+0x9fa/0x11e0
 [<ffffffff81031e78>] ? do_page_fault+0x1b8/0x480
 [<ffffffff81050621>] do_fork+0x81/0x3f0
 [<ffffffff819b11c5>] ? _raw_spin_lock_irq+0x15/0x20
 [<ffffffff810634cd>] ? do_sigaction+0x13d/0x1e0
 [<ffffffff819b11c5>] ? _raw_spin_lock_irq+0x15/0x20
 [<ffffffff81062eb1>] ? sigprocmask+0x91/0x110
 [<ffffffff8100c498>] sys_clone+0x28/0x30
 [<ffffffff810032e3>] stub_clone+0x13/0x20
 [<ffffffff81003042>] ? system_call_fastpath+0x16/0x1b
Code: 5d e8 4c 8b 65 f0 4c 8b 6d f8 c9 c3 66 0f 1f 44 00 00 55 48 89 e5 48 83
ec 20 48 89 5d e8 4c 89 65 f0 4c 89 6d f8 0f 1f 44 00 00 <48> 8b 47 30 48 89 fb
49 89 f4 48 85 c0 74 4d 48 8b 47 20 48 85 
RIP  [<ffffffff8111f5f9>] filp_close+0x19/0x90
 RSP <ffff88080014fb18>
---[ end trace 89621523c6ce678c ]---
Fixing recursive fault but reboot is needed!

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- 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


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux