Hi guys. I am catched new bug. It occured when I start virtual machine. Can anyone look? [ 476.307476] ======================================================== [ 476.307479] WARNING: possible irq lock inversion dependency detected [ 476.307482] 4.18.0-0.rc8.git1.1.fc29.x86_64 #1 Tainted: G C [ 476.307485] -------------------------------------------------------- [ 476.307488] CPU 0/KVM/10284 just changed the state of lock: [ 476.307491] 000000000d538a88 (&st->lock){+...}, at: speculative_store_bypass_update+0x10b/0x170 [ 476.307502] but this lock was taken by another, HARDIRQ-safe lock in the past: [ 476.307504] (&(&sighand->siglock)->rlock){-.-.} [ 476.307507] and interrupts could create inverse lock ordering between them. [ 476.307513] other info that might help us debug this: [ 476.307516] Possible interrupt unsafe locking scenario: [ 476.307519] CPU0 CPU1 [ 476.307521] ---- ---- [ 476.307523] lock(&st->lock); [ 476.307527] local_irq_disable(); [ 476.307529] lock(&(&sighand->siglock)->rlock); [ 476.307533] lock(&st->lock); [ 476.307537] [ 476.307539] lock(&(&sighand->siglock)->rlock); [ 476.307543] *** DEADLOCK *** [ 476.307547] 1 lock held by CPU 0/KVM/10284: [ 476.307549] #0: 000000009792d366 (&vcpu->mutex){+.+.}, at: kvm_vcpu_ioctl+0x78/0x6c0 [kvm] [ 476.307583] the shortest dependencies between 2nd lock and 1st lock: [ 476.307589] -> (&(&sighand->siglock)->rlock){-.-.} ops: 2505028 { [ 476.307596] IN-HARDIRQ-W at: [ 476.307602] _raw_spin_lock_irqsave+0x48/0x81 [ 476.307608] __lock_task_sighand+0x9a/0x1a0 [ 476.307612] do_send_sig_info+0x35/0x90 [ 476.307616] kill_pid_info+0x93/0x150 [ 476.307621] it_real_fn+0x3e/0x140 [ 476.307625] __hrtimer_run_queues+0x11e/0x520 [ 476.307629] hrtimer_interrupt+0x100/0x220 [ 476.307633] smp_apic_timer_interrupt+0x79/0x2c0 [ 476.307637] apic_timer_interrupt+0xf/0x20 [ 476.307640] IN-SOFTIRQ-W at: [ 476.307644] _raw_spin_lock_irqsave+0x48/0x81 [ 476.307648] __lock_task_sighand+0x9a/0x1a0 [ 476.307652] do_send_sig_info+0x35/0x90 [ 476.307655] kill_pid_info+0x93/0x150 [ 476.307659] it_real_fn+0x3e/0x140 [ 476.307663] __hrtimer_run_queues+0x11e/0x520 [ 476.307667] hrtimer_interrupt+0x100/0x220 [ 476.307671] smp_apic_timer_interrupt+0x79/0x2c0 [ 476.307675] apic_timer_interrupt+0xf/0x20 [ 476.307678] _raw_spin_unlock_irqrestore+0x50/0x60 [ 476.307683] scsi_end_request+0x112/0x1f0 [ 476.307686] scsi_io_completion+0x3e3/0x710 [ 476.307690] blk_done_softirq+0xaa/0xe0 [ 476.307694] __do_softirq+0xd9/0x4f7 [ 476.307699] irq_exit+0x10e/0x120 [ 476.307703] call_function_single_interrupt+0xf/0x20 [ 476.307707] cpuidle_enter_state+0xbc/0x350 [ 476.307711] do_idle+0x231/0x270 [ 476.307715] cpu_startup_entry+0x6f/0x80 [ 476.307720] start_secondary+0x1b3/0x200 [ 476.307724] secondary_startup_64+0xa5/0xb0 [ 476.307726] INITIAL USE at: [ 476.307730] _raw_spin_lock_irqsave+0x48/0x81 [ 476.307734] flush_signals+0x1d/0x60 [ 476.307738] kthreadd+0x35/0x390 [ 476.307742] ret_from_fork+0x27/0x50 [ 476.307744] } [ 476.307748] ... key at: [] __key.67772+0x0/0x8 [ 476.307751] ... acquired at: [ 476.307754] speculative_store_bypass_update+0x81/0x170 [ 476.307758] ssb_prctl_set+0x96/0xb0 [ 476.307762] do_seccomp+0x6d0/0x720 [ 476.307765] do_syscall_64+0x60/0x1f0 [ 476.307769] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 476.307773] -> (&st->lock){+...} ops: 3228332 { [ 476.307780] HARDIRQ-ON-W at: [ 476.307784] _raw_spin_lock+0x30/0x70 [ 476.307788] speculative_store_bypass_update+0x10b/0x170 [ 476.307795] svm_vcpu_run+0x187/0x6e0 [kvm_amd] [ 476.307797] INITIAL USE at: [ 476.307801] _raw_spin_lock+0x30/0x70 [ 476.307805] speculative_store_bypass_update+0x81/0x170 [ 476.307808] ssb_prctl_set+0x96/0xb0 [ 476.307811] do_seccomp+0x6d0/0x720 [ 476.307815] do_syscall_64+0x60/0x1f0 [ 476.307818] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 476.307820] } [ 476.307824] ... key at: [] __key.54335+0x0/0x8 [ 476.307826] ... acquired at: [ 476.307830] __lock_acquire+0x578/0x16c0 [ 476.307833] lock_acquire+0x9e/0x1b0 [ 476.307836] _raw_spin_lock+0x30/0x70 [ 476.307839] speculative_store_bypass_update+0x10b/0x170 [ 476.307846] svm_vcpu_run+0x187/0x6e0 [kvm_amd] [ 476.307850] stack backtrace: [ 476.307856] CPU: 0 PID: 10284 Comm: CPU 0/KVM Tainted: G C 4.18.0-0.rc8.git1.1.fc29.x86_64 #1 [ 476.307859] Hardware name: System manufacturer System Product Name/ROG STRIX X470-I GAMING, BIOS 0901 07/23/2018 [ 476.307861] Call Trace: [ 476.307868] dump_stack+0x85/0xc0 [ 476.307873] check_usage_backwards.cold.59+0x1d/0x26 [ 476.307880] mark_lock+0x2c8/0x620 [ 476.307884] ? print_shortest_lock_dependencies+0x40/0x40 [ 476.307889] __lock_acquire+0x578/0x16c0 [ 476.307892] ? __lock_acquire+0x29a/0x16c0 [ 476.307897] ? __lock_acquire+0x29a/0x16c0 [ 476.307902] ? native_sched_clock+0x3e/0xa0 [ 476.307906] lock_acquire+0x9e/0x1b0 [ 476.307910] ? speculative_store_bypass_update+0x10b/0x170 [ 476.307915] _raw_spin_lock+0x30/0x70 [ 476.307919] ? speculative_store_bypass_update+0x10b/0x170 [ 476.307923] speculative_store_bypass_update+0x10b/0x170 [ 476.307931] svm_vcpu_run+0x187/0x6e0 [kvm_amd] [ 476.307972] ? kvm_arch_vcpu_ioctl_run+0x492/0x1ed0 [kvm] [ 476.308008] ? kvm_vcpu_ioctl+0x2c0/0x6c0 [kvm] [ 476.308039] ? kvm_vcpu_ioctl+0x2c0/0x6c0 [kvm] [ 476.308044] ? __seccomp_filter+0x44/0x4a0 [ 476.308049] ? native_sched_clock+0x3e/0xa0 [ 476.308056] ? do_vfs_ioctl+0xa5/0x6e0 [ 476.308063] ? ksys_ioctl+0x60/0x90 [ 476.308067] ? __x64_sys_ioctl+0x16/0x20 [ 476.308072] ? do_syscall_64+0x60/0x1f0 [ 476.308077] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe -- Best Regards, Mike Gavrilov.