Starting a KVM guest in a guest (nested VM) crash the kernel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Triaged
|
High
|
Unassigned | ||
Bionic |
Triaged
|
High
|
Unassigned |
Bug Description
linux-image-
compute1 login: [ 4847.733004] general protection fault: 0000 [#1] SMP PTI
[ 4847.736595] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel ebt_arp ebt_among ip6table_raw nf_conntrack_ipv6 nf_defrag_ipv6 xt_CT xt_mac xt_comment xt_physdev xt_set ip_set_hash_net ip_set nfnetlink vhost_net vhost tap xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_
[ 4847.756237] async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear hid_generic usbhid hid crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc aesni_intel aes_x86_64 crypto_simd glue_helper cryptd psmouse virtio_blk virtio_net floppy [last unloaded: kvm_intel]
[ 4847.762893] CPU: 1 PID: 13789 Comm: CPU 0/KVM Not tainted 4.15.0-22-generic #24-Ubuntu
[ 4847.765154] Hardware name: OpenStack Foundation OpenStack Nova, BIOS 1.10.2-
[ 4847.767764] RIP: 0010:native_
[ 4847.769085] RSP: 0018:ffff9daf41
[ 4847.770629] RAX: 00000000000626e0 RBX: 0000000000000046 RCX: ffff8edcbfc80000
[ 4847.772771] RDX: ffff8edcbfc94020 RSI: ffff8edcbfca5040 RDI: 00000000000606e0
[ 4847.774965] RBP: ffff9daf4119bb70 R08: fffffffffffffff8 R09: 000000000000000d
[ 4847.777175] R10: ffffc078c76e2000 R11: 0000000000000cd0 R12: 0000000000025040
[ 4847.779213] R13: 0000000000000000 R14: ffff8edc438409a0 R15: ffff8edc43855278
[ 4847.781230] FS: 00007f9a09a0270
[ 4847.783548] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 4847.785233] CR2: 00007f99fb80cd50 CR3: 0000000152e0a002 CR4: 00000000000626e0
[ 4847.787225] Call Trace:
[ 4847.788062] hardware_
[ 4847.789460] ? vcpu_stat_
[ 4847.791025] kvm_arch_
[ 4847.792664] hardware_
[ 4847.794260] on_each_
[ 4847.795302] hardware_
[ 4847.796896] hardware_
[ 4847.798267] kvm_put_
[ 4847.799470] kvm_vm_
[ 4847.800758] __fput+0xea/0x220
[ 4847.801681] ____fput+0xe/0x10
[ 4847.802602] task_work_
[ 4847.803692] do_exit+0x2ec/0xb40
[ 4847.804676] do_group_
[ 4847.805719] get_signal+
[ 4847.806742] do_signal+
[ 4847.807774] ? do_futex+
[ 4847.808803] ? SyS_futex+
[ 4847.809852] ? restore_
[ 4847.811017] exit_to_
[ 4847.812299] do_syscall_
[ 4847.813401] entry_SYSCALL_
[ 4847.814808] RIP: 0033:0x7f9a142bc10d
[ 4847.815914] RSP: 002b:00007f9a09
[ 4847.818100] RAX: fffffffffffffe00 RBX: 00005583a8961060 RCX: 00007f9a142bc10d
[ 4847.820065] RDX: 0000000000000002 RSI: 0000000000000080 RDI: 00005583a6925e00
[ 4847.822029] RBP: 00005583a8961084 R08: 00005583a6925e00 R09: 0000000000000000
[ 4847.824002] R10: 0000000000000000 R11: 0000000000000246 R12: 00005583a896108c
[ 4847.825949] R13: 0000000000000000 R14: 00005583a6925e00 R15: 000000000000000f
[ 4847.827922] 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 5d
[ 4847.832993] RIP: native_
[ 4847.834658] ---[ end trace d54d1c7bca906f72 ]---
[ 4847.838001] Fixing recursive fault but reboot is needed!
[ 4850.411516] general protection fault: 0000 [#2] SMP PTI
[ 4850.414947] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel ebt_arp ebt_among ip6table_raw nf_conntrack_ipv6 nf_defrag_ipv6 xt_CT xt_mac xt_comment xt_physdev xt_set ip_set_hash_net ip_set nfnetlink vhost_net vhost tap xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_
[ 4850.434880] async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear hid_generic usbhid hid crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc aesni_intel aes_x86_64 crypto_simd glue_helper cryptd psmouse virtio_blk virtio_net floppy [last unloaded: kvm_intel]
[ 4850.441772] CPU: 1 PID: 14003 Comm: sudo Tainted: G D 4.15.0-22-generic #24-Ubuntu
[ 4850.444372] Hardware name: OpenStack Foundation OpenStack Nova, BIOS 1.10.2-
[ 4850.446997] RIP: 0010:native_
[ 4850.448603] RSP: 0000:ffff8edcbf
[ 4850.450192] RAX: 00000000000606e0 RBX: ffff8edcbfca8880 RCX: ffff8edcbfca8880
[ 4850.452274] RDX: 0000000000060660 RSI: 0000000000000001 RDI: 0000000000000046
[ 4850.454310] RBP: ffff8edcbfc83f80 R08: 0000000000000000 R09: 0000000000000000
[ 4850.456461] R10: ffff8edcbfc83f98 R11: 0000000000000000 R12: 0000000000000000
[ 4850.458462] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000000
[ 4850.460539] FS: 00007fe811b59c8
[ 4850.462835] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 4850.464618] CR2: 00007fe810e198a0 CR3: 00000001cd334001 CR4: 00000000000626e0
[ 4850.466610] Call Trace:
[ 4850.467401] <IRQ>
[ 4850.468183] ? __do_softirq+
[ 4850.469357] do_flush_
[ 4850.470510] ? do_flush_
[ 4850.471785] flush_smp_
[ 4850.473336] generic_
[ 4850.475067] smp_call_
[ 4850.476565] call_function_
[ 4850.477865] </IRQ>
[ 4850.478573] RIP: 0033:0x7fe81195f398
[ 4850.479727] RSP: 002b:00007fff96
[ 4850.481969] RAX: 000000000000000b RBX: 00007fe811b5d500 RCX: 0000000000000010
[ 4850.484034] RDX: 0000000000000000 RSI: 00007fe811b5d4d0 RDI: 00007fe81171ac8b
[ 4850.486032] RBP: 00007fe81171ac8b R08: 00007fe8114f1a18 R09: 00007fe811b6b428
[ 4850.488095] R10: 000000000000000b R11: 0000000000000000 R12: 00007fe811b5c130
[ 4850.490070] R13: 00007fe811b5c350 R14: 0000000000000000 R15: 0000000000000000
[ 4850.492110] Code: 48 83 c4 28 41 5a 5d 49 8d 62 f8 c3 9c 58 66 66 90 66 90 48 89 c7 fa 66 66 90 66 66 90 65 48 8b 05 4e 72 7b 55 48 89 c2 80 f2 80 <0f> 22 e2 0f 22 e0 57 9d 66 66 90 66 90 eb b7 e8 54 00 02 00 0f
[ 4850.497339] RIP: native_
[ 4850.499261] ---[ end trace d54d1c7bca906f73 ]---
[ 4850.500701] Kernel panic - not syncing: Fatal exception in interrupt
[ 4850.502615] Kernel Offset: 0x29800000 from 0xffffffff81000000 (relocation range: 0xffffffff80000
[ 4850.505816] ---[ end Kernel panic - not syncing: Fatal exception in interrupt
---
AlsaDevices:
total 0
crw-rw---- 1 root audio 116, 1 May 24 15:00 seq
crw-rw---- 1 root audio 116, 33 May 24 15:00 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: N/A
DistroRelease: Ubuntu 18.04
Ec2AMI: ami-0000011e
Ec2AMIManifest: FIXME
Ec2Availability
Ec2InstanceType: compute1-8
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
Lsusb:
Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: OpenStack Foundation OpenStack Nova
Package: linux (not installed)
PciMultimedia:
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=C.UTF-8
SHELL=/bin/bash
ProcFB:
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware N/A
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
Tags: bionic ec2-images
Uname: Linux 4.15.0-22-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
_MarkForUpload: True
dmi.bios.date: 04/01/2014
dmi.bios.vendor: SeaBIOS
dmi.bios.version: 1.10.2-
dmi.chassis.type: 1
dmi.chassis.vendor: QEMU
dmi.chassis.
dmi.modalias: dmi:bvnSeaBIOS:
dmi.product.family: Virtual Machine
dmi.product.name: OpenStack Nova
dmi.product.
dmi.sys.vendor: OpenStack Foundation
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 1773184
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.