[ 10.395478][ C0] clocksource: Watchdog remote CPU 3 read timed out [ 10.395632][ C0] [ 10.395633][ C0] ======================================================== [ 10.395634][ C0] WARNING: possible irq lock inversion dependency detected [ 10.395637][ C0] 7.2.0-virtme #1 Tainted: G W [ 10.395638][ C0] -------------------------------------------------------- [ 10.395639][ C0] swapper/0/0 just changed the state of lock: [ 10.395640][ C0] ffffffff99289de0 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.395651][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 10.395653][ C0] (fs_reclaim){+.+.}-{0:0} [ 10.395654][ C0] [ 10.395654][ C0] [ 10.395654][ C0] and interrupts could create inverse lock ordering between them. [ 10.395654][ C0] [ 10.395655][ C0] [ 10.395655][ C0] other info that might help us debug this: [ 10.395655][ C0] Possible interrupt unsafe locking scenario: [ 10.395655][ C0] [ 10.395656][ C0] CPU0 CPU1 [ 10.395657][ C0] ---- ---- [ 10.395657][ C0] lock(fs_reclaim); [ 10.395658][ C0] local_irq_disable(); [ 10.395658][ C0] lock(console_owner); [ 10.395659][ C0] lock(fs_reclaim); [ 10.395660][ C0] [ 10.395660][ C0] lock(console_owner); [ 10.395661][ C0] [ 10.395661][ C0] *** DEADLOCK *** [ 10.395661][ C0] [ 10.395662][ C0] locks held by swapper/0/0: 4, last CPU#0: [ 10.395663][ C0] #0: ffa0000000007c90 ((&watchdog_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 10.395668][ C0] #1: ffffffff993cf0b8 (watchdog_lock){+.-.}-{3:3}, at: clocksource_watchdog+0x15/0x30 [ 10.395672][ C0] #2: ffffffff9936a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.395675][ C0] #3: ffffffff9936a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.395677][ C0] [ 10.395677][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 10.395682][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 10.395684][ C0] HARDIRQ-ON-W at: [ 10.395686][ C0] __lock_acquire+0x388/0xc20 [ 10.395689][ C0] lock_acquire.part.0+0xd4/0x280 [ 10.395691][ C0] fs_reclaim_acquire+0xd5/0x120 [ 10.395694][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 10.395696][ C0] kthread_create_worker_on_node+0xea/0x210 [ 10.395699][ C0] workqueue_init+0x2a/0x680 [ 10.395703][ C0] kernel_init_freeable+0x2fe/0x630 [ 10.395706][ C0] kernel_init+0x21/0x150 [ 10.395709][ C0] ret_from_fork+0x4a4/0x720 [ 10.395712][ C0] ret_from_fork_asm+0x11/0x20 [ 10.395715][ C0] SOFTIRQ-ON-W at: [ 10.395716][ C0] __lock_acquire+0x388/0xc20 [ 10.395718][ C0] lock_acquire.part.0+0xd4/0x280 [ 10.395719][ C0] fs_reclaim_acquire+0xd5/0x120 [ 10.395720][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 10.395721][ C0] kthread_create_worker_on_node+0xea/0x210 [ 10.395723][ C0] workqueue_init+0x2a/0x680 [ 10.395724][ C0] kernel_init_freeable+0x2fe/0x630 [ 10.395726][ C0] kernel_init+0x21/0x150 [ 10.395727][ C0] ret_from_fork+0x4a4/0x720 [ 10.395728][ C0] ret_from_fork_asm+0x11/0x20 [ 10.395729][ C0] INITIAL USE at: [ 10.395730][ C0] __lock_acquire+0x388/0xc20 [ 10.395732][ C0] lock_acquire.part.0+0xd4/0x280 [ 10.395733][ C0] fs_reclaim_acquire+0xd5/0x120 [ 10.395734][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 10.395736][ C0] kthread_create_worker_on_node+0xea/0x210 [ 10.395737][ C0] workqueue_init+0x2a/0x680 [ 10.395739][ C0] kernel_init_freeable+0x2fe/0x630 [ 10.395740][ C0] kernel_init+0x21/0x150 [ 10.395741][ C0] ret_from_fork+0x4a4/0x720 [ 10.395742][ C0] ret_from_fork_asm+0x11/0x20 [ 10.395744][ C0] } [ 10.395744][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 10.395749][ C0] ... acquired at: [ 10.395750][ C0] __lock_acquire+0x518/0xc20 [ 10.395751][ C0] lock_acquire.part.0+0xd4/0x280 [ 10.395753][ C0] fs_reclaim_acquire+0xd5/0x120 [ 10.395754][ C0] __kmalloc_noprof+0xd3/0x760 [ 10.395755][ C0] alloc_buf.isra.0+0x4b/0x260 [ 10.395758][ C0] put_chars+0x1e1/0x2f0 [ 10.395760][ C0] hvc_console_print+0x292/0x780 [ 10.395762][ C0] console_emit_next_record+0x22f/0x4c0 [ 10.395763][ C0] console_flush_one_record+0x46f/0x710 [ 10.395764][ C0] console_unlock+0xee/0x1f0 [ 10.395765][ C0] vprintk_emit+0x37c/0x3e0 [ 10.395766][ C0] _printk+0xc7/0x100 [ 10.395769][ C0] sock_register+0x12d/0x290 [ 10.395772][ C0] inet6_init+0x1a6/0x3c0 [ 10.395774][ C0] do_one_initcall+0x124/0x4f0 [ 10.395776][ C0] kernel_init_freeable+0x596/0x630 [ 10.395777][ C0] kernel_init+0x21/0x150 [ 10.395778][ C0] ret_from_fork+0x4a4/0x720 [ 10.395779][ C0] ret_from_fork_asm+0x11/0x20 [ 10.395781][ C0] [ 10.395781][ C0] -> (console_owner){..-.}-{0:0} { [ 10.395783][ C0] IN-SOFTIRQ-W at: [ 10.395784][ C0] __lock_acquire+0x388/0xc20 [ 10.395785][ C0] lock_acquire.part.0+0xd4/0x280 [ 10.395787][ C0] console_lock_spinning_enable+0x5c/0x60 [ 10.395788][ C0] console_emit_next_record+0x1d1/0x4c0 [ 10.395789][ C0] console_flush_one_record+0x46f/0x710 [ 10.395790][ C0] console_unlock+0xee/0x1f0 [ 10.395791][ C0] vprintk_emit+0x37c/0x3e0 [ 10.395792][ C0] _printk+0xc7/0x100 [ 10.395793][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 10.395795][ C0] call_timer_fn+0x160/0x4d0 [ 10.395796][ C0] __run_timers+0x68f/0xaa0 [ 10.395797][ C0] run_timer_softirq+0xf0/0x160 [ 10.395798][ C0] handle_softirqs+0x1d3/0x900 [ 10.395801][ C0] __irq_exit_rcu+0x145/0x1c0 [ 10.395802][ C0] irq_exit_rcu+0xe/0x30 [ 10.395803][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 10.395806][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 10.395808][ C0] pv_native_safe_halt+0xf/0x10 [ 10.395809][ C0] default_idle+0x9/0x10 [ 10.395810][ C0] default_idle_call+0x6e/0xb0 [ 10.395811][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 10.395814][ C0] do_idle+0xd8/0x190 [ 10.395815][ C0] cpu_startup_entry+0x53/0x70 [ 10.395817][ C0] rest_init+0x279/0x280 [ 10.395818][ C0] start_kernel+0x3af/0x3b0 [ 10.395819][ C0] x86_64_start_reservations+0x24/0x30 [ 10.395821][ C0] x86_64_start_kernel+0x12b/0x130 [ 10.395822][ C0] common_startup_64+0x13e/0x148 [ 10.395824][ C0] INITIAL USE at: [ 10.395825][ C0] } [ 10.395825][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 10.395829][ C0] ... acquired at: [ 10.395829][ C0] mark_lock+0x1d7/0xa00 [ 10.395831][ C0] mark_usage+0x42/0x170 [ 10.395832][ C0] __lock_acquire+0x388/0xc20 [ 10.395833][ C0] lock_acquire.part.0+0xd4/0x280 [ 10.395835][ C0] console_lock_spinning_enable+0x5c/0x60 [ 10.395836][ C0] console_emit_next_record+0x1d1/0x4c0 [ 10.395837][ C0] console_flush_one_record+0x46f/0x710 [ 10.395838][ C0] console_unlock+0xee/0x1f0 [ 10.395839][ C0] vprintk_emit+0x37c/0x3e0 [ 10.395840][ C0] _printk+0xc7/0x100 [ 10.395841][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 10.395842][ C0] call_timer_fn+0x160/0x4d0 [ 10.395843][ C0] __run_timers+0x68f/0xaa0 [ 10.395844][ C0] run_timer_softirq+0xf0/0x160 [ 10.395845][ C0] handle_softirqs+0x1d3/0x900 [ 10.395846][ C0] __irq_exit_rcu+0x145/0x1c0 [ 10.395847][ C0] irq_exit_rcu+0xe/0x30 [ 10.395849][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 10.395850][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 10.395851][ C0] pv_native_safe_halt+0xf/0x10 [ 10.395853][ C0] default_idle+0x9/0x10 [ 10.395854][ C0] default_idle_call+0x6e/0xb0 [ 10.395855][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 10.395856][ C0] do_idle+0xd8/0x190 [ 10.395857][ C0] cpu_startup_entry+0x53/0x70 [ 10.395859][ C0] rest_init+0x279/0x280 [ 10.395860][ C0] start_kernel+0x3af/0x3b0 [ 10.395861][ C0] x86_64_start_reservations+0x24/0x30 [ 10.395862][ C0] x86_64_start_kernel+0x12b/0x130 [ 10.395863][ C0] common_startup_64+0x13e/0x148 [ 10.395864][ C0] [ 10.395864][ C0] [ 10.395864][ C0] stack backtrace: [ 10.395867][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.395870][ C0] Tainted: [W]=WARN [ 10.395871][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.395873][ C0] Call Trace: [ 10.395874][ C0] [ 10.395875][ C0] dump_stack_lvl+0x6f/0xa0 [ 10.395878][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 10.395880][ C0] mark_lock_irq+0x989/0x9c0 [ 10.395882][ C0] ? add_lock_to_list+0x2c/0x1a0 [ 10.395885][ C0] mark_lock+0x1d7/0xa00 [ 10.395887][ C0] mark_usage+0x42/0x170 [ 10.395889][ C0] __lock_acquire+0x388/0xc20 [ 10.395891][ C0] lock_acquire.part.0+0xd4/0x280 [ 10.395893][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 10.395894][ C0] ? rcu_is_watching+0x16/0xd0 [ 10.395897][ C0] ? lock_acquire+0x13c/0x160 [ 10.395899][ C0] console_lock_spinning_enable+0x5c/0x60 [ 10.395900][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 10.395901][ C0] console_emit_next_record+0x1d1/0x4c0 [ 10.395902][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 10.395903][ C0] ? console_flush_one_record+0x106/0x710 [ 10.395905][ C0] ? rcu_is_watching+0x16/0xd0 [ 10.395906][ C0] ? lock_acquire+0x13c/0x160 [ 10.395908][ C0] console_flush_one_record+0x46f/0x710 [ 10.395910][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 10.395911][ C0] ? __lock_acquire+0x518/0xc20 [ 10.395913][ C0] console_unlock+0xee/0x1f0 [ 10.395914][ C0] ? console_flush_one_record+0x710/0x710 [ 10.395915][ C0] ? rcu_is_watching+0x16/0xd0 [ 10.395917][ C0] ? lock_acquire+0x60/0x160 [ 10.395919][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.395921][ C0] ? vprintk_emit+0x320/0x3e0 [ 10.395922][ C0] vprintk_emit+0x37c/0x3e0 [ 10.395924][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 10.395925][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 10.395927][ C0] _printk+0xc7/0x100 [ 10.395929][ C0] ? snapshot_read.cold+0x21/0x21 [ 10.395931][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 10.395932][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 10.395935][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 10.395936][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 10.395938][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 10.395940][ C0] call_timer_fn+0x160/0x4d0 [ 10.395941][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 10.395942][ C0] ? debug_object_active_state+0x430/0x430 [ 10.395946][ C0] ? find_held_lock+0x2b/0x80 [ 10.395948][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 10.395949][ C0] ? rcu_is_watching+0x16/0xd0 [ 10.395951][ C0] __run_timers+0x68f/0xaa0 [ 10.395952][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 10.395955][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 10.395956][ C0] ? __lock_acquire+0x518/0xc20 [ 10.395959][ C0] ? __rwlock_init+0x150/0x150 [ 10.395961][ C0] run_timer_softirq+0xf0/0x160 [ 10.395962][ C0] ? __run_timers+0xaa0/0xaa0 [ 10.395964][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.395966][ C0] ? rcu_is_watching+0x16/0xd0 [ 10.395967][ C0] handle_softirqs+0x1d3/0x900 [ 10.395969][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 10.395971][ C0] ? _local_bh_enable+0xc0/0xc0 [ 10.395973][ C0] __irq_exit_rcu+0x145/0x1c0 [ 10.395975][ C0] irq_exit_rcu+0xe/0x30 [ 10.395976][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 10.395978][ C0] [ 10.395979][ C0] [ 10.395979][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 10.395981][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 10.395983][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 10.395985][ C0] Code: 48 8b 3d d4 41 10 02 e8 1f 00 00 00 48 2b 05 98 72 b2 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 53 45 29 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 10.395987][ C0] RSP: 0018:ffffffff99007cf8 EFLAGS: 00000296 [ 10.395989][ C0] RAX: 000000000005fb93 RBX: ffffffff9901c600 RCX: ffffffff95ef4ce7 [ 10.395990][ C0] RDX: ffffffff9901c600 RSI: ffffffff98e88c54 RDI: ffffffff98893160 [ 10.395991][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 10.395992][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff3200fa2 [ 10.395993][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 10.395994][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 10.395996][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 10.395998][ C0] default_idle+0x9/0x10 [ 10.395999][ C0] default_idle_call+0x6e/0xb0 [ 10.396001][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 10.396002][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 10.396004][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 10.396007][ C0] ? rcu_is_watching+0x16/0xd0 [ 10.396008][ C0] do_idle+0xd8/0x190 [ 10.396010][ C0] cpu_startup_entry+0x53/0x70 [ 10.396012][ C0] rest_init+0x279/0x280 [ 10.396013][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 10.396015][ C0] ? rest_init+0x280/0x280 [ 10.396017][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 10.396019][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 10.396021][ C0] ? acpi_enable+0x1e4/0x330 [ 10.396023][ C0] start_kernel+0x3af/0x3b0 [ 10.396025][ C0] x86_64_start_reservations+0x24/0x30 [ 10.396026][ C0] x86_64_start_kernel+0x12b/0x130 [ 10.396028][ C0] common_startup_64+0x13e/0x148 [ 10.396031][ C0] [ 10.396034][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.396036][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 0, name: swapper/0 [ 10.396037][ C0] preempt_count: 103, expected: 0 [ 10.396038][ C0] RCU nest depth: 0, expected: 0 [ 10.396038][ C0] INFO: lockdep is turned off. [ 10.396039][ C0] irq event stamp: 392099 [ 10.396040][ C0] hardirqs last enabled at (392098): [] __down_trylock_console_sem+0x86/0xa0 [ 10.396042][ C0] hardirqs last disabled at (392099): [] console_emit_next_record+0x3d4/0x4c0 [ 10.396044][ C0] softirqs last enabled at (392060): [] handle_softirqs+0x67c/0x900 [ 10.396045][ C0] softirqs last disabled at (392085): [] __irq_exit_rcu+0x145/0x1c0 [ 10.396047][ C0] Preemption disabled at: [ 10.396047][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 10.396050][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.396052][ C0] Tainted: [W]=WARN [ 10.396053][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.396053][ C0] Call Trace: [ 10.396054][ C0] [ 10.396054][ C0] dump_stack_lvl+0x6f/0xa0 [ 10.396056][ C0] ? schedule_preempt_disabled+0x22/0x30 [ 10.396057][ C0] __might_resched.cold+0x1fe/0x2c1 [ 10.396060][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.396062][ C0] ? rcu_is_watching+0x16/0xd0 [ 10.396063][ C0] __kmalloc_noprof+0x443/0x760 [ 10.396065][ C0] ? __rwlock_init+0x150/0x150 [ 10.396066][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 10.396068][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 10.396070][ C0] alloc_buf.isra.0+0x4b/0x260 [ 10.396072][ C0] put_chars+0x1e1/0x2f0 [ 10.396074][ C0] ? __send_to_port+0x420/0x420 [ 10.396076][ C0] ? mark_lock+0x1d7/0xa00 [ 10.396078][ C0] hvc_console_print+0x292/0x780 [ 10.396080][ C0] ? hvc_write+0x3a0/0x3a0 [ 10.396082][ C0] ? rcu_is_watching+0x16/0xd0 [ 10.396083][ C0] ? rcu_is_watching+0x16/0xd0 [ 10.396085][ C0] console_emit_next_record+0x22f/0x4c0 [ 10.396086][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 10.396087][ C0] ? console_flush_one_record+0x106/0x710 [ 10.396089][ C0] ? rcu_is_watching+0x16/0xd0 [ 10.396090][ C0] ? lock_acquire+0x13c/0x160 [ 10.396092][ C0] console_flush_one_record+0x46f/0x710 [ 10.396093][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 10.396094][ C0] ? __lock_acquire+0x518/0xc20 [ 10.396097][ C0] console_unlock+0xee/0x1f0 [ 10.396098][ C0] ? console_flush_one_record+0x710/0x710 [ 10.396099][ C0] ? rcu_is_watching+0x16/0xd0 [ 10.396100][ C0] ? lock_acquire+0x60/0x160 [ 10.396102][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.396104][ C0] ? vprintk_emit+0x320/0x3e0 [ 10.396105][ C0] vprintk_emit+0x37c/0x3e0 [ 10.396107][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 10.396109][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 10.396110][ C0] _printk+0xc7/0x100 [ 10.396112][ C0] ? snapshot_read.cold+0x21/0x21 [ 10.396114][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 10.396115][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 10.396118][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 10.396119][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 10.396121][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 10.396122][ C0] call_timer_fn+0x160/0x4d0 [ 10.396124][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 10.396125][ C0] ? debug_object_active_state+0x430/0x430 [ 10.396127][ C0] ? find_held_lock+0x2b/0x80 [ 10.396128][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 10.396130][ C0] ? rcu_is_watching+0x16/0xd0 [ 10.396132][ C0] __run_timers+0x68f/0xaa0 [ 10.396133][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 10.396135][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 10.396136][ C0] ? __lock_acquire+0x518/0xc20 [ 10.396139][ C0] ? __rwlock_init+0x150/0x150 [ 10.396141][ C0] run_timer_softirq+0xf0/0x160 [ 10.396143][ C0] ? __run_timers+0xaa0/0xaa0 [ 10.396144][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.396145][ C0] ? rcu_is_watching+0x16/0xd0 [ 10.396146][ C0] handle_softirqs+0x1d3/0x900 [ 10.396148][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 10.396150][ C0] ? _local_bh_enable+0xc0/0xc0 [ 10.396152][ C0] __irq_exit_rcu+0x145/0x1c0 [ 10.396153][ C0] irq_exit_rcu+0xe/0x30 [ 10.396155][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 10.396157][ C0] [ 10.396157][ C0] [ 10.396158][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 10.396159][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 10.396161][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 10.396163][ C0] Code: 48 8b 3d d4 41 10 02 e8 1f 00 00 00 48 2b 05 98 72 b2 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 53 45 29 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 10.396164][ C0] RSP: 0018:ffffffff99007cf8 EFLAGS: 00000296 [ 10.396165][ C0] RAX: 000000000005fb93 RBX: ffffffff9901c600 RCX: ffffffff95ef4ce7 [ 10.396165][ C0] RDX: ffffffff9901c600 RSI: ffffffff98e88c54 RDI: ffffffff98893160 [ 10.396166][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 10.396167][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff3200fa2 [ 10.396167][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 10.396169][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 10.396171][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 10.396173][ C0] default_idle+0x9/0x10 [ 10.396174][ C0] default_idle_call+0x6e/0xb0 [ 10.396175][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 10.396176][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 10.396178][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 10.396180][ C0] ? rcu_is_watching+0x16/0xd0 [ 10.396181][ C0] do_idle+0xd8/0x190 [ 10.396183][ C0] cpu_startup_entry+0x53/0x70 [ 10.396184][ C0] rest_init+0x279/0x280 [ 10.396186][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 10.396188][ C0] ? rest_init+0x280/0x280 [ 10.396189][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 10.396190][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 10.396191][ C0] ? acpi_enable+0x1e4/0x330 [ 10.396193][ C0] start_kernel+0x3af/0x3b0 [ 10.396195][ C0] x86_64_start_reservations+0x24/0x30 [ 10.396196][ C0] x86_64_start_kernel+0x12b/0x130 [ 10.396198][ C0] common_startup_64+0x13e/0x148 [ 10.396201][ C0] [ 152.066712][ T9373] nft (9373) used greatest stack depth: 24160 bytes left [ 152.066729][ T9373] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 152.066731][ T9373] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 9373, name: nft [ 152.066733][ T9373] preempt_count: 2, expected: 0 [ 152.066734][ T9373] RCU nest depth: 0, expected: 0 [ 152.066734][ T9373] INFO: lockdep is turned off. [ 152.066736][ T9373] irq event stamp: 0 [ 152.066737][ T9373] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 152.066741][ T9373] hardirqs last disabled at (0): [] copy_process+0x1d01/0x62c0 [ 152.066748][ T9373] softirqs last enabled at (0): [] copy_process+0x1d55/0x62c0 [ 152.066750][ T9373] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 152.066751][ T9373] Preemption disabled at: [ 152.066752][ T9373] [<0000000000000000>] 0x0 [ 152.066757][ T9373] CPU: 2 UID: 0 PID: 9373 Comm: nft Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 152.066760][ T9373] Tainted: [W]=WARN [ 152.066762][ T9373] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 152.066764][ T9373] Call Trace: [ 152.066765][ T9373] [ 152.066767][ T9373] dump_stack_lvl+0x6f/0xa0 [ 152.066771][ T9373] __might_resched.cold+0x1fe/0x2c1 [ 152.066776][ T9373] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 152.066778][ T9373] ? rcu_is_watching+0x16/0xd0 [ 152.066782][ T9373] __kmalloc_noprof+0x443/0x760 [ 152.066785][ T9373] ? __rwlock_init+0x150/0x150 [ 152.066788][ T9373] ? alloc_buf.isra.0+0x4b/0x260 [ 152.066793][ T9373] ? do_raw_spin_unlock+0x59/0x250 [ 152.066795][ T9373] alloc_buf.isra.0+0x4b/0x260 [ 152.066797][ T9373] put_chars+0x1e1/0x2f0 [ 152.066799][ T9373] ? __send_to_port+0x420/0x420 [ 152.066800][ T9373] ? printk_get_next_message+0x240/0x650 [ 152.066802][ T9373] ? console_prepend_replay+0x20/0x20 [ 152.066804][ T9373] hvc_console_print+0x292/0x780 [ 152.066808][ T9373] ? hvc_write+0x3a0/0x3a0 [ 152.066809][ T9373] ? __rwlock_init+0x150/0x150 [ 152.066811][ T9373] ? lock_acquire+0x13c/0x160 [ 152.066814][ T9373] console_emit_next_record+0x22f/0x4c0 [ 152.066816][ T9373] ? devkmsg_read+0x4b0/0x4b0 [ 152.066818][ T9373] ? rcu_is_watching+0x16/0xd0 [ 152.066819][ T9373] ? rcu_is_watching+0x16/0xd0 [ 152.066820][ T9373] ? rcu_is_watching+0x16/0xd0 [ 152.066821][ T9373] ? lock_acquire+0x13c/0x160 [ 152.066823][ T9373] ? console_flush_one_record+0x111/0x710 [ 152.066824][ T9373] console_flush_one_record+0x46f/0x710 [ 152.066826][ T9373] ? console_emit_next_record+0x4c0/0x4c0 [ 152.066828][ T9373] console_unlock+0xee/0x1f0 [ 152.066829][ T9373] ? lock_acquire+0x13c/0x160 [ 152.066831][ T9373] ? console_flush_one_record+0x710/0x710 [ 152.066832][ T9373] ? rcu_is_watching+0x16/0xd0 [ 152.066834][ T9373] ? lock_release+0x184/0x1f0 [ 152.066835][ T9373] ? lock_acquire+0x60/0x160 [ 152.066837][ T9373] ? __rcu_read_lock+0x30/0x70 [ 152.066838][ T9373] ? __down_trylock_console_sem+0x5e/0xa0 [ 152.066841][ T9373] ? vprintk_emit+0x320/0x3e0 [ 152.066842][ T9373] vprintk_emit+0x37c/0x3e0 [ 152.066844][ T9373] ? wake_up_klogd_work_func+0x90/0x90 [ 152.066846][ T9373] ? do_raw_read_unlock+0x70/0x70 [ 152.066848][ T9373] ? forget_original_parent+0x5c/0xdb0 [ 152.066850][ T9373] _printk+0xc7/0x100 [ 152.066853][ T9373] ? snapshot_read.cold+0x21/0x21 [ 152.066854][ T9373] ? do_raw_spin_lock+0x131/0x280 [ 152.066856][ T9373] ? do_raw_spin_lock+0x131/0x280 [ 152.066858][ T9373] ? __rwlock_init+0x150/0x150 [ 152.066861][ T9373] ? do_raw_spin_lock+0x131/0x280 [ 152.066863][ T9373] do_exit.cold+0x82/0x9c [ 152.066865][ T9373] ? exit_notify+0x890/0x890 [ 152.066867][ T9373] ? posixtimer_sig_unignore.isra.0+0x5f0/0x5f0 [ 152.066869][ T9373] ? rcu_is_watching+0x16/0xd0 [ 152.066871][ T9373] do_group_exit+0xb8/0x370 [ 152.066873][ T9373] __x64_sys_exit_group+0x3c/0x50 [ 152.066875][ T9373] x64_sys_call+0x1567/0x1570 [ 152.066877][ T9373] do_syscall_64+0x10e/0x570 [ 152.066880][ T9373] ? exc_page_fault+0xee/0x100 [ 152.066883][ T9373] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 152.066885][ T9373] RIP: 0033:0x7f38cfea41b8 [ 152.066887][ T9373] Code: Unable to access opcode bytes at 0x7f38cfea418e. [ 152.066888][ T9373] RSP: 002b:00007ffc28646948 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 152.066891][ T9373] RAX: ffffffffffffffda RBX: 00007f38cffd4f88 RCX: 00007f38cfea41b8 [ 152.066893][ T9373] RDX: 00007f38cfca5a48 RSI: ffffffffffffffb0 RDI: 0000000000000001 [ 152.066894][ T9373] RBP: 00007ffc286469a0 R08: 0000000000000000 R09: 0000000000000130 [ 152.066895][ T9373] R10: 00007ffc28646760 R11: 0000000000000246 R12: 0000000000000001 [ 152.066895][ T9373] R13: 0000000000000001 R14: 00007f38cffd3680 R15: 00007f38cffd4fa0 [ 152.066898][ T9373]