Bug 218621 - WARNING: CPU: 5 PID: 11173 at arch/x86/kvm/x86.c:12251 kvm_vcpu_reset+0x3b0/0x610 [kvm]
Summary: WARNING: CPU: 5 PID: 11173 at arch/x86/kvm/x86.c:12251 kvm_vcpu_reset+0x3b0/0...
Status: NEW
Alias: None
Product: Virtualization
Classification: Unclassified
Component: kvm (show other bugs)
Hardware: AMD Linux
: P3 normal
Assignee: virtualization_kvm
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-21 04:09 UTC by Alexey Boldyrev
Modified: 2024-04-02 15:44 UTC (History)
2 users (show)

See Also:
Kernel Version: 6.8.1
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Alexey Boldyrev 2024-03-21 04:09:17 UTC
[15868.125746] Modules linked in: act_mirred act_vlan cls_matchall sch_ingress dummy vhost_net vhost vhost_iotlb tap bridge stp llc tun fuse qrtr bnep bluetooth ecdh_generic rfkill ecc uinput nfsd auth_rpcgss nfs_acl nfs lockd grace netfs sunrpc lp dm_crypt dm_mod uvcvideo videobuf2_vmalloc uvc videobuf2_memops videobuf2_v4l2 snd_usb_audio snd_usbmidi_lib videodev snd_rawmidi videobuf2_common snd_seq_device ppdev mc joydev edac_mce_amd kvm_amd ccp rng_core snd_hda_codec_realtek snd_hda_codec_generic kvm snd_hda_codec_hdmi irqbypass snd_hda_intel snd_intel_dspcfg snd_intel_sdw_acpi pcspkr serio_raw wmi_bmof snd_hda_codec acpi_cpufreq fam15h_power k10temp sp5100_tco watchdog snd_hda_core snd_hwdep snd_pcm snd_timer evdev parport_pc parport asus_atk0110 snd nvidiafb vgastate soundcore fb_ddc squashfs loop overlay ext4 crc16 mbcache jbd2 efivarfs raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c crc32c_generic raid0 raid1 md_mod sg hid_generic usbhid hid nouveau sd_mod t10_pi
[15868.125819]  gpu_sched crc64_rocksoft_generic drm_gpuvm crc64_rocksoft drm_exec crc_t10dif sr_mod mxm_wmi crct10dif_generic drm_ttm_helper cdrom crct10dif_pclmul crc64 crct10dif_common ttm crc32_pclmul crc32c_intel video ghash_clmulni_intel i2c_algo_bit r8169 ahci sha512_ssse3 ohci_pci ata_generic drm_display_helper ohci_hcd xhci_pci sha256_ssse3 ehci_pci realtek xhci_pci_renesas libahci pata_atiixp drm_kms_helper xhci_hcd ehci_hcd libata sha1_ssse3 psmouse mdio_devres drm e1000e usbcore scsi_mod libphy i2c_piix4 cec ptp scsi_common rc_core usb_common pps_core wmi button aesni_intel crypto_simd cryptd
[15868.125862] CPU: 5 PID: 11173 Comm: qemu-system-x86 Not tainted 6.8.1 #3
[15868.125865] Hardware name: System manufacturer System Product Name/M5A78L-M PLUS/USB3, BIOS 0502    11/18/2016
[15868.125867] RIP: 0010:kvm_vcpu_reset+0x3b0/0x610 [kvm]
[15868.125954] Code: 00 00 00 48 8b 44 24 10 65 48 2b 04 25 28 00 00 00 0f 85 68 02 00 00 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f e9 b0 ae 28 dc <0f> 0b e9 d9 fc ff ff 4c 89 e6 48 89 df 81 e6 00 00 00 60 48 83 ce
[15868.125957] RSP: 0018:ffffbad403967cb0 EFLAGS: 00010202
[15868.125959] RAX: 0000000000000002 RBX: ffff90540eab19a0 RCX: 0000000000000000
[15868.125961] RDX: 0000000000000001 RSI: 0000000000000008 RDI: 00000000ffffffff
[15868.125962] RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
[15868.125964] R10: ffff905452a0ad10 R11: 0000000000000000 R12: 0000000000000010
[15868.125965] R13: 0000000000000001 R14: 0000000000000000 R15: ffff90540eab19d8
[15868.125967] FS:  00007f8085a006c0(0000) GS:ffff90591fd40000(0000) knlGS:0000000000000000
[15868.125969] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[15868.125970] CR2: 0000000000000000 CR3: 000000010d70c000 CR4: 00000000000406f0
[15868.125972] Call Trace:
[15868.125975]  <TASK>
[15868.125976]  ? kvm_vcpu_reset+0x3b0/0x610 [kvm]
[15868.126063]  ? __warn+0x7d/0x130
[15868.126069]  ? kvm_vcpu_reset+0x3b0/0x610 [kvm]
[15868.126166]  ? report_bug+0x18d/0x1c0
[15868.126173]  ? handle_bug+0x41/0x70
[15868.126177]  ? exc_invalid_op+0x13/0x60
[15868.126181]  ? asm_exc_invalid_op+0x16/0x20
[15868.126187]  ? kvm_vcpu_reset+0x3b0/0x610 [kvm]
[15868.126286]  shutdown_interception+0x32/0x50 [kvm_amd]
[15868.126301]  kvm_arch_vcpu_ioctl_run+0x6d3/0x1680 [kvm]
[15868.126392]  kvm_vcpu_ioctl+0x247/0x6f0 [kvm]
[15868.126467]  __x64_sys_ioctl+0x93/0xd0
[15868.126472]  do_syscall_64+0x89/0x1b0
[15868.126475]  ? fpregs_assert_state_consistent+0x22/0x50
[15868.126479]  ? syscall_exit_to_user_mode+0x81/0x210
[15868.126482]  ? do_syscall_64+0x95/0x1b0
[15868.126484]  ? fpregs_assert_state_consistent+0x22/0x50
[15868.126486]  ? syscall_exit_to_user_mode+0x81/0x210
[15868.126488]  ? do_syscall_64+0x95/0x1b0
[15868.126490]  ? fpregs_assert_state_consistent+0x22/0x50
[15868.126493]  entry_SYSCALL_64_after_hwframe+0x6e/0x76
[15868.126496] RIP: 0033:0x7f8088c5fb3b
[15868.126499] Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00
[15868.126501] RSP: 002b:00007f80859ff530 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[15868.126504] RAX: ffffffffffffffda RBX: 000000000000ae80 RCX: 00007f8088c5fb3b
[15868.126506] RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000017
[15868.126507] RBP: 00005595d9dd7450 R08: 0000000000000000 R09: 0000000000000000
[15868.126509] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
[15868.126510] R13: 0000000000000001 R14: 0000000000000001 R15: 0000000000000000
[15868.126513]  </TASK>
[15868.126514] ---[ end trace 0000000000000000 ]---
Comment 1 Sean Christopherson 2024-04-02 15:44:27 UTC
Please provide info on how to reproduce the WARN.  I suspect this is from syzkaller triggering shutdown in SMM, but it would be nice to confirm that.

Note You need to log in before you can comment on or make changes to this bug.