kernel panic in nested VM with latest 4.15 kernel (4.15.0-24-generic)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Triaged
|
High
|
Unassigned | ||
Bionic |
Triaged
|
High
|
Unassigned |
Bug Description
When starting a nested VM in a Bionic VM, the "host" VM kernel panics following a simple drop to QEMU monitor by hitting <Ctrl>A-c. For some reason kdump is unable to capture the kernel panic so I only have a screen capture of the panic.
It also happens on the latest mainline kernel(4.18-rc4). It is fairly trivial to reproduce. In a Bionic VM, install qemu & ovmf and run the following :
qemu-system-x86_64 -enable-kvm \
Use <Ctrl>A-c to drop to QEMU monitor and <quit>.
^[]0;/opt/
[ 267.785834] Modules linked in: nf_conntrack_
[ 267.804312] xor raid6_pq libcrc32c raid1 raid0 multipath linear floppy aesni_intel pata_acpi aes_x86_64 crypto_simd cryptd glue_helper psmouse i2c_piix4 virtio_net virtio_blk
[ 267.807946] CPU: 6 PID: 0 Comm: swapper/6 Not tainted 4.15.0-24-generic #26-Ubuntu
[ 267.809710] Hardware name: Scaleway Standard PC (i440FX + PIIX, 1996), BIOS 0.0.0 02/06/2015
[ 267.811666] RIP: 0010:native_
[ 267.812727] RSP: 0018:ffff8c01ff
[ 267.813960] RAX: 00000000003626e0 RBX: 0000000000000046 RCX: ffff8c01ffd80000
[ 267.815582] RDX: ffff8c01ffd94020 RSI: ffff8c01ffda5040 RDI: 00000000003606e0
[ 267.817095] RBP: ffff8c01ffd83f48 R08: 000000478079a547 R09: 0000000000000000
[ 267.818625] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000025040
[ 267.820130] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000000
[ 267.821638] FS: 000000000000000
[ 267.823352] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 267.824592] CR2: 0000000000000000 CR3: 000000058c00a006 CR4: 00000000003626e0
[ 267.826108] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 267.827567] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 267.828973] Call Trace:
[ 267.829470] <IRQ>
[ 267.829893] hardware_
[ 267.830897] kvm_arch_
[ 267.831928] hardware_
[ 267.832912] flush_smp_
[ 267.833911] generic_
[ 267.835121] smp_call_
[ 267.836069] call_function_
[ 267.836950] </IRQ>
[ 267.837396] RIP: 0010:native_
[ 267.838272] RSP: 0018:ffffa2e143
[ 267.839698] RAX: ffffffffacd97150 RBX: 0000000000000006 RCX: 0000000000000000
[ 267.840978] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ 267.842258] RBP: ffffa2e1431afe80 R08: 0000000000000002 R09: 0000000000000000
[ 267.843554] R10: 00000000000000b3 R11: 00000000000000a6 R12: 0000000000000006
[ 267.844826] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[ 267.846107] ? __cpuidle_
[ 267.846875] default_
[ 267.847533] arch_cpu_
[ 267.848186] default_
[ 267.848917] do_idle+0x172/0x1f0
[ 267.849516] cpu_startup_
[ 267.850255] start_secondary
[ 267.850971] secondary_
[ 267.851700] Code: 0f 1f 80 00 00 00 00 55 48 89 e5 0f 20 d8 5d c3 0f 1f 80 00 00 00 00 55 48 89 e5 0f 22 df 5d c3 0f 1f 80 00 00 00 00 55 48 89 e5 <0f> 22 e7 5d c3 0f 1f 80 00 00 00 00 55 48 89 e5 44 0f 20 c0>
[ 267.854894] RIP: native_
[ 268.848104] invalid opcode: 0000 [#2] SMP PTI
[ 268.848524] Modules linked in: nf_conntrack_
[ 268.854013] xor raid6_pq libcrc32c raid1 raid0 multipath linear floppy aesni_intel pata_acpi aes_x86_64 crypto_simd cryptd glue_helper psmouse i2c_piix4 virtio_net virtio_blk
[ 268.855212] CPU: 6 PID: 0 Comm: swapper/6 Not tainted 4.15.0-24-generic #26-Ubuntu
[ 268.855790] Hardware name: Scaleway Standard PC (i440FX + PIIX, 1996), BIOS 0.0.0 02/06/2015
[ 268.856438] RIP: 0010:native_
[ 268.856893] RSP: 0018:ffff8c01ff
[ 268.857295] RAX: 00000000003626e0 RBX: ffff8c01ffd83d28 RCX: 00000000fffa3223
[ 268.857837] RDX: 000000000f8bfbff RSI: ffff8c01ffd83cc8 RDI: ffff8c01ffd83cc4
[ 268.858426] RBP: ffff8c01ffd83cf0 R08: ffff8c01ffd83ccc R09: ffff8c01ffd83cd0
[ 268.859029] R10: ffffffffada5d660 R11: ffff8c01ffd83c7c R12: 000000000000000b
[ 268.859573] R13: ffff8c01ffd83e98 R14: 0000000000000000 R15: 0000000000000000
[ 268.860117] FS: 000000000000000
[ 268.860735] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 268.861177] CR2: 0000000000000000 CR3: 000000058c00a006 CR4: 00000000003626e0
[ 268.861724] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 268.862268] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 268.862820] Call Trace:
[ 268.863016] <IRQ>
[ 268.863181] kvm_crash_
[ 268.863520] machine_
[ 268.863885] __crash_
[ 268.864167] ? native_
[ 268.864473] crash_kexec+
[ 268.864739] oops_end+0xa8/0xd0
[ 268.864985] die+0x42/0x50
[ 268.865203] do_general_
[ 268.865542] general_
[ 268.865855] RIP: 0010:native_
[ 268.866204] RSP: 0018:ffff8c01ff
[ 268.866610] RAX: 00000000003626e0 RBX: 0000000000000046 RCX: ffff8c01ffd80000
[ 268.867152] RDX: ffff8c01ffd94020 RSI: ffff8c01ffda5040 RDI: 00000000003606e0
[ 268.867711] RBP: ffff8c01ffd83f48 R08: 000000478079a547 R09: 0000000000000000
[ 268.868294] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000025040
[ 268.868885] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000000
[ 268.869433] hardware_
[ 268.869825] kvm_arch_
[ 268.870231] hardware_
[ 268.870620] flush_smp_
[ 268.871003] generic_
[ 268.871470] smp_call_
[ 268.871839] call_function_
[ 268.872181] </IRQ>
[ 268.872351] RIP: 0010:native_
[ 268.872699] RSP: 0018:ffffa2e143
[ 268.873271] RAX: ffffffffacd97150 RBX: 0000000000000006 RCX: 0000000000000000
[ 268.873870] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ 268.874414] RBP: ffffa2e1431afe80 R08: 0000000000000002 R09: 0000000000000000
[ 268.874965] R10: 00000000000000b3 R11: 00000000000000a6 R12: 0000000000000006
[ 268.875506] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[ 268.876048] ? __cpuidle_
[ 268.876373] default_
[ 268.876654] arch_cpu_
[ 268.876934] default_
[ 268.877242] do_idle+0x172/0x1f0
[ 268.877496] cpu_startup_
[ 268.877804] start_secondary
[ 268.878133] secondary_
[ 268.878504] Code: 66 90 48 89 c6 48 c1 e8 20 4c 89 e7 81 e6 ff ef ff ff 48 89 c2 e8 6b 78 00 00 66 90 e9 65 ff ff ff e8 ff fc ff ff e9 01 ff ff ff <0f> 01 c4 9c 58 0f 1f 44 00 00 49 89 c4 fa 66 0f 1f 44 00 00>
[ 268.879993] RIP: native_
[ 268.880555] ---[ end trace 636e271a8cdb116f ]---
[ 268.880912] Kernel panic - not syncing: Fatal exception in interrupt
[ 269.951244] Shutting down cpus with NMI
[ 269.962128] Kernel Offset: 0x2b400000 from 0xffffffff81000000 (relocation range: 0xffffffff80000
[ 269.963488] ---[ end Kernel panic - not syncing: Fatal exception in interrupt
Changed in linux (Ubuntu Bionic): | |
status: | Confirmed → Triaged |
tags: | added: cscc |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1780817
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.