[ 11.627516][ T289] u32 classifier [ 11.627531][ T289] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.627534][ T289] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 289, name: modprobe [ 11.627535][ T289] preempt_count: 1, expected: 0 [ 11.627536][ T289] RCU nest depth: 0, expected: 0 [ 11.627537][ T289] locks held by modprobe/289: 4, last CPU#2: [ 11.627539][ T289] #0: ffffffffb837ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.627550][ T289] #1: ffffffffb837de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.627555][ T289] #2: ffffffffb829d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.627559][ T289] #3: ffffffffb829d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.627563][ T289] irq event stamp: 17628 [ 11.627563][ T289] hardirqs last enabled at (17627): [] __down_trylock_console_sem+0x86/0xa0 [ 11.627567][ T289] hardirqs last disabled at (17628): [] console_emit_next_record+0x3d4/0x4c0 [ 11.627569][ T289] softirqs last enabled at (17188): [] handle_softirqs+0x67c/0x900 [ 11.627572][ T289] softirqs last disabled at (16755): [] __irq_exit_rcu+0x145/0x1c0 [ 11.627574][ T289] Preemption disabled at: [ 11.627575][ T289] [] vprintk_emit+0x31b/0x3e0 [ 11.627580][ T289] CPU: 2 UID: 0 PID: 289 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.627583][ T289] Tainted: [W]=WARN [ 11.627584][ T289] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.627586][ T289] Call Trace: [ 11.627587][ T289] [ 11.627588][ T289] dump_stack_lvl+0x6f/0xa0 [ 11.627594][ T289] ? vprintk_emit+0x31b/0x3e0 [ 11.627596][ T289] __might_resched.cold+0x1fe/0x2c1 [ 11.627600][ T289] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.627604][ T289] ? __kmalloc_noprof+0xdb/0x760 [ 11.627608][ T289] __kmalloc_noprof+0x443/0x760 [ 11.627610][ T289] ? alloc_buf.isra.0+0x4b/0x260 [ 11.627617][ T289] ? do_raw_spin_unlock+0x59/0x250 [ 11.627620][ T289] alloc_buf.isra.0+0x4b/0x260 [ 11.627623][ T289] put_chars+0x1e1/0x2f0 [ 11.627626][ T289] ? __send_to_port+0x420/0x420 [ 11.627627][ T289] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.627630][ T289] ? validate_chain+0x38b/0xc20 [ 11.627636][ T289] hvc_console_print+0x292/0x780 [ 11.627643][ T289] ? hvc_write+0x3a0/0x3a0 [ 11.627645][ T289] ? rcu_is_watching+0x16/0xd0 [ 11.627647][ T289] ? lock_acquire+0x13c/0x160 [ 11.627651][ T289] console_emit_next_record+0x22f/0x4c0 [ 11.627655][ T289] ? devkmsg_read+0x4b0/0x4b0 [ 11.627657][ T289] ? console_flush_one_record+0x106/0x710 [ 11.627660][ T289] ? rcu_is_watching+0x16/0xd0 [ 11.627662][ T289] ? lock_acquire+0x13c/0x160 [ 11.627666][ T289] console_flush_one_record+0x46f/0x710 [ 11.627670][ T289] ? console_emit_next_record+0x4c0/0x4c0 [ 11.627672][ T289] ? __lock_acquire+0x518/0xc20 [ 11.627677][ T289] console_unlock+0xee/0x1f0 [ 11.627679][ T289] ? console_flush_one_record+0x710/0x710 [ 11.627681][ T289] ? rcu_is_watching+0x16/0xd0 [ 11.627683][ T289] ? lock_acquire+0xe0/0x160 [ 11.627686][ T289] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.627688][ T289] ? vprintk_emit+0x320/0x3e0 [ 11.627691][ T289] vprintk_emit+0x37c/0x3e0 [ 11.627694][ T289] ? wake_up_klogd_work_func+0x90/0x90 [ 11.627699][ T289] ? exit_u32+0x460/0x460 [cls_u32] [ 11.627703][ T289] _printk+0xc7/0x100 [ 11.627706][ T289] ? snapshot_read.cold+0x21/0x21 [ 11.627712][ T289] ? do_one_initcall+0x113/0x4f0 [ 11.627715][ T289] init_u32+0x1e/0x1000 [cls_u32] [ 11.627719][ T289] do_one_initcall+0x124/0x4f0 [ 11.627721][ T289] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 11.627726][ T289] ? do_init_module+0xae/0x8a0 [ 11.627728][ T289] ? kasan_unpoison+0x44/0x70 [ 11.627734][ T289] do_init_module+0x2ad/0x8a0 [ 11.627737][ T289] ? lockdep_hardirqs_on+0x91/0x130 [ 11.627741][ T289] ? free_module+0x470/0x470 [ 11.627743][ T289] ? kfree+0x123/0x590 [ 11.627747][ T289] load_module+0x1424/0x1bb0 [ 11.627752][ T289] ? security_kernel_post_read_file+0x2f/0x60 [ 11.627757][ T289] ? layout_and_allocate.isra.0+0x680/0x680 [ 11.627760][ T289] ? __ia32_sys_fsconfig+0x180/0x180 [ 11.627763][ T289] ? backing_file_read_iter+0x541/0x790 [ 11.627767][ T289] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.627770][ T289] init_module_from_file+0x11f/0x1a0 [ 11.627773][ T289] ? __do_sys_init_module+0x270/0x270 [ 11.627780][ T289] ? __rwlock_init+0x150/0x150 [ 11.627784][ T289] ? do_raw_spin_unlock+0x59/0x250 [ 11.627787][ T289] idempotent_init_module+0x37b/0x7c0 [ 11.627790][ T289] ? init_module_from_file+0x1a0/0x1a0 [ 11.627795][ T289] ? cap_capable+0x1d7/0x3d0 [ 11.627797][ T289] ? __x64_sys_pread64+0x18d/0x250 [ 11.627803][ T289] __x64_sys_finit_module+0xdf/0x190 [ 11.627804][ T289] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.627808][ T289] do_syscall_64+0xff/0x530 [ 11.627811][ T289] ? exc_page_fault+0xee/0x100 [ 11.627813][ T289] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.627815][ T289] RIP: 0033:0x7f1a1f63037d [ 11.627818][ T289] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 4b aa 0f 00 f7 d8 64 89 01 48 [ 11.627820][ T289] RSP: 002b:00007ffdf1810fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 11.627823][ T289] RAX: ffffffffffffffda RBX: 00005642c19e6810 RCX: 00007f1a1f63037d [ 11.627824][ T289] RDX: 0000000000000000 RSI: 00005642c0747ffd RDI: 0000000000000000 [ 11.627825][ T289] RBP: 00007ffdf1811050 R08: 0000000000000000 R09: 0000000000000000 [ 11.627826][ T289] R10: 0000000000000000 R11: 0000000000000246 R12: 00005642c0747ffd [ 11.627826][ T289] R13: 00005642c19e6950 R14: 0000000000040000 R15: 0000000000000000 [ 11.627833][ T289] [ 11.652122][ T289] input device check on [ 11.652366][ T289] Actions configured [ 11.693813][ T290] GACT probability NOT on [ 11.707663][ T288] tc (288) used greatest stack depth: 23560 bytes left [ 24.002375][ C0] clocksource: Watchdog remote CPU 2 read timed out [ 24.002554][ C0] [ 24.002555][ C0] ======================================================== [ 24.002556][ C0] WARNING: possible irq lock inversion dependency detected [ 24.002558][ C0] 7.2.0-virtme #1 Tainted: G W [ 24.002560][ C0] -------------------------------------------------------- [ 24.002560][ C0] swapper/0/0 just changed the state of lock: [ 24.002561][ C0] ffffffffb829d760 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 24.002574][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 24.002575][ C0] (fs_reclaim){+.+.}-{0:0} [ 24.002576][ C0] [ 24.002576][ C0] [ 24.002576][ C0] and interrupts could create inverse lock ordering between them. [ 24.002576][ C0] [ 24.002577][ C0] [ 24.002577][ C0] other info that might help us debug this: [ 24.002577][ C0] Possible interrupt unsafe locking scenario: [ 24.002577][ C0] [ 24.002578][ C0] CPU0 CPU1 [ 24.002578][ C0] ---- ---- [ 24.002579][ C0] lock(fs_reclaim); [ 24.002580][ C0] local_irq_disable(); [ 24.002580][ C0] lock(console_owner); [ 24.002581][ C0] lock(fs_reclaim); [ 24.002582][ C0] [ 24.002582][ C0] lock(console_owner); [ 24.002583][ C0] [ 24.002583][ C0] *** DEADLOCK *** [ 24.002583][ C0] [ 24.002583][ C0] locks held by swapper/0/0: 4, last CPU#0: [ 24.002584][ C0] #0: ffa0000000007c90 ((&watchdog_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 24.002590][ C0] #1: ffffffffb83e29f8 (watchdog_lock){+.-.}-{3:3}, at: clocksource_watchdog+0x15/0x30 [ 24.002594][ C0] #2: ffffffffb837ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 24.002596][ C0] #3: ffffffffb837de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 24.002600][ C0] [ 24.002600][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 24.002604][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 24.002606][ C0] HARDIRQ-ON-W at: [ 24.002608][ C0] __lock_acquire+0x388/0xc20 [ 24.002611][ C0] lock_acquire.part.0+0xd4/0x280 [ 24.002613][ C0] fs_reclaim_acquire+0xd5/0x120 [ 24.002616][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 24.002617][ C0] kthread_create_worker_on_node+0xea/0x210 [ 24.002621][ C0] workqueue_init+0x2a/0x680 [ 24.002625][ C0] kernel_init_freeable+0x2fe/0x630 [ 24.002628][ C0] kernel_init+0x21/0x150 [ 24.002631][ C0] ret_from_fork+0x474/0x6b0 [ 24.002634][ C0] ret_from_fork_asm+0x11/0x20 [ 24.002637][ C0] SOFTIRQ-ON-W at: [ 24.002638][ C0] __lock_acquire+0x388/0xc20 [ 24.002640][ C0] lock_acquire.part.0+0xd4/0x280 [ 24.002641][ C0] fs_reclaim_acquire+0xd5/0x120 [ 24.002642][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 24.002643][ C0] kthread_create_worker_on_node+0xea/0x210 [ 24.002645][ C0] workqueue_init+0x2a/0x680 [ 24.002646][ C0] kernel_init_freeable+0x2fe/0x630 [ 24.002648][ C0] kernel_init+0x21/0x150 [ 24.002649][ C0] ret_from_fork+0x474/0x6b0 [ 24.002650][ C0] ret_from_fork_asm+0x11/0x20 [ 24.002652][ C0] INITIAL USE at: [ 24.002652][ C0] __lock_acquire+0x388/0xc20 [ 24.002654][ C0] lock_acquire.part.0+0xd4/0x280 [ 24.002655][ C0] fs_reclaim_acquire+0xd5/0x120 [ 24.002657][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 24.002658][ C0] kthread_create_worker_on_node+0xea/0x210 [ 24.002659][ C0] workqueue_init+0x2a/0x680 [ 24.002661][ C0] kernel_init_freeable+0x2fe/0x630 [ 24.002662][ C0] kernel_init+0x21/0x150 [ 24.002664][ C0] ret_from_fork+0x474/0x6b0 [ 24.002665][ C0] ret_from_fork_asm+0x11/0x20 [ 24.002666][ C0] } [ 24.002667][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 24.002670][ C0] ... acquired at: [ 24.002671][ C0] __lock_acquire+0x518/0xc20 [ 24.002673][ C0] lock_acquire.part.0+0xd4/0x280 [ 24.002674][ C0] fs_reclaim_acquire+0xd5/0x120 [ 24.002676][ C0] __kmalloc_noprof+0xd3/0x760 [ 24.002677][ C0] alloc_buf.isra.0+0x4b/0x260 [ 24.002681][ C0] put_chars+0x1e1/0x2f0 [ 24.002682][ C0] hvc_console_print+0x292/0x780 [ 24.002685][ C0] console_emit_next_record+0x22f/0x4c0 [ 24.002687][ C0] console_flush_one_record+0x46f/0x710 [ 24.002688][ C0] console_unlock+0xee/0x1f0 [ 24.002690][ C0] vprintk_emit+0x37c/0x3e0 [ 24.002690][ C0] _printk+0xc7/0x100 [ 24.002694][ C0] tun_init+0x24/0xb0 [ 24.002696][ C0] do_one_initcall+0x124/0x4f0 [ 24.002698][ C0] kernel_init_freeable+0x596/0x630 [ 24.002699][ C0] kernel_init+0x21/0x150 [ 24.002701][ C0] ret_from_fork+0x474/0x6b0 [ 24.002702][ C0] ret_from_fork_asm+0x11/0x20 [ 24.002703][ C0] [ 24.002703][ C0] -> (console_owner){..-.}-{0:0} { [ 24.002705][ C0] IN-SOFTIRQ-W at: [ 24.002706][ C0] __lock_acquire+0x388/0xc20 [ 24.002707][ C0] lock_acquire.part.0+0xd4/0x280 [ 24.002709][ C0] console_lock_spinning_enable+0x5c/0x60 [ 24.002710][ C0] console_emit_next_record+0x1d1/0x4c0 [ 24.002712][ C0] console_flush_one_record+0x46f/0x710 [ 24.002714][ C0] console_unlock+0xee/0x1f0 [ 24.002715][ C0] vprintk_emit+0x37c/0x3e0 [ 24.002716][ C0] _printk+0xc7/0x100 [ 24.002717][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 24.002720][ C0] call_timer_fn+0x160/0x4d0 [ 24.002721][ C0] __run_timers+0x68f/0xaa0 [ 24.002723][ C0] run_timer_softirq+0xf0/0x160 [ 24.002725][ C0] handle_softirqs+0x1d3/0x900 [ 24.002727][ C0] __irq_exit_rcu+0x145/0x1c0 [ 24.002729][ C0] irq_exit_rcu+0xe/0x30 [ 24.002730][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 24.002732][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 24.002733][ C0] pv_native_safe_halt+0xf/0x10 [ 24.002735][ C0] default_idle+0x9/0x10 [ 24.002736][ C0] default_idle_call+0x6e/0xb0 [ 24.002737][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 24.002740][ C0] do_idle+0xd8/0x190 [ 24.002741][ C0] cpu_startup_entry+0x53/0x70 [ 24.002742][ C0] rest_init+0x279/0x280 [ 24.002744][ C0] start_kernel+0x3b9/0x3c0 [ 24.002745][ C0] x86_64_start_reservations+0x24/0x30 [ 24.002747][ C0] x86_64_start_kernel+0x12b/0x130 [ 24.002748][ C0] common_startup_64+0x13e/0x148 [ 24.002751][ C0] INITIAL USE at: [ 24.002752][ C0] } [ 24.002752][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 24.002755][ C0] ... acquired at: [ 24.002755][ C0] mark_lock+0x1d7/0xa00 [ 24.002757][ C0] mark_usage+0x42/0x170 [ 24.002758][ C0] __lock_acquire+0x388/0xc20 [ 24.002759][ C0] lock_acquire.part.0+0xd4/0x280 [ 24.002761][ C0] console_lock_spinning_enable+0x5c/0x60 [ 24.002762][ C0] console_emit_next_record+0x1d1/0x4c0 [ 24.002764][ C0] console_flush_one_record+0x46f/0x710 [ 24.002765][ C0] console_unlock+0xee/0x1f0 [ 24.002767][ C0] vprintk_emit+0x37c/0x3e0 [ 24.002768][ C0] _printk+0xc7/0x100 [ 24.002769][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 24.002770][ C0] call_timer_fn+0x160/0x4d0 [ 24.002771][ C0] __run_timers+0x68f/0xaa0 [ 24.002773][ C0] run_timer_softirq+0xf0/0x160 [ 24.002774][ C0] handle_softirqs+0x1d3/0x900 [ 24.002776][ C0] __irq_exit_rcu+0x145/0x1c0 [ 24.002777][ C0] irq_exit_rcu+0xe/0x30 [ 24.002778][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 24.002779][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 24.002780][ C0] pv_native_safe_halt+0xf/0x10 [ 24.002781][ C0] default_idle+0x9/0x10 [ 24.002782][ C0] default_idle_call+0x6e/0xb0 [ 24.002784][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 24.002785][ C0] do_idle+0xd8/0x190 [ 24.002786][ C0] cpu_startup_entry+0x53/0x70 [ 24.002787][ C0] rest_init+0x279/0x280 [ 24.002789][ C0] start_kernel+0x3b9/0x3c0 [ 24.002790][ C0] x86_64_start_reservations+0x24/0x30 [ 24.002791][ C0] x86_64_start_kernel+0x12b/0x130 [ 24.002792][ C0] common_startup_64+0x13e/0x148 [ 24.002794][ C0] [ 24.002794][ C0] [ 24.002794][ C0] stack backtrace: [ 24.002797][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 24.002800][ C0] Tainted: [W]=WARN [ 24.002800][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 24.002802][ C0] Call Trace: [ 24.002803][ C0] [ 24.002804][ C0] dump_stack_lvl+0x6f/0xa0 [ 24.002808][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 24.002811][ C0] mark_lock_irq+0x989/0x9c0 [ 24.002812][ C0] ? add_lock_to_list+0x2c/0x1a0 [ 24.002815][ C0] mark_lock+0x1d7/0xa00 [ 24.002817][ C0] mark_usage+0x42/0x170 [ 24.002819][ C0] __lock_acquire+0x388/0xc20 [ 24.002821][ C0] lock_acquire.part.0+0xd4/0x280 [ 24.002823][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 24.002825][ C0] ? rcu_is_watching+0x16/0xd0 [ 24.002827][ C0] ? lock_acquire+0x13c/0x160 [ 24.002829][ C0] console_lock_spinning_enable+0x5c/0x60 [ 24.002831][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 24.002832][ C0] console_emit_next_record+0x1d1/0x4c0 [ 24.002835][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 24.002836][ C0] ? console_flush_one_record+0x106/0x710 [ 24.002838][ C0] ? rcu_is_watching+0x16/0xd0 [ 24.002839][ C0] ? lock_acquire+0x13c/0x160 [ 24.002842][ C0] console_flush_one_record+0x46f/0x710 [ 24.002844][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 24.002846][ C0] ? __lock_acquire+0x518/0xc20 [ 24.002848][ C0] console_unlock+0xee/0x1f0 [ 24.002850][ C0] ? console_flush_one_record+0x710/0x710 [ 24.002851][ C0] ? rcu_is_watching+0x16/0xd0 [ 24.002853][ C0] ? lock_acquire+0xe0/0x160 [ 24.002854][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 24.002856][ C0] ? vprintk_emit+0x320/0x3e0 [ 24.002858][ C0] vprintk_emit+0x37c/0x3e0 [ 24.002859][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 24.002861][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 24.002863][ C0] _printk+0xc7/0x100 [ 24.002864][ C0] ? snapshot_read.cold+0x21/0x21 [ 24.002866][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 24.002868][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 24.002870][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 24.002871][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 24.002873][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 24.002875][ C0] call_timer_fn+0x160/0x4d0 [ 24.002877][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 24.002879][ C0] ? debug_object_active_state+0x430/0x430 [ 24.002881][ C0] ? find_held_lock+0x2b/0x80 [ 24.002883][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 24.002885][ C0] ? rcu_is_watching+0x16/0xd0 [ 24.002887][ C0] __run_timers+0x68f/0xaa0 [ 24.002888][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 24.002891][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 24.002892][ C0] ? __lock_acquire+0x518/0xc20 [ 24.002895][ C0] ? __rwlock_init+0x150/0x150 [ 24.002898][ C0] run_timer_softirq+0xf0/0x160 [ 24.002900][ C0] ? __run_timers+0xaa0/0xaa0 [ 24.002902][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 24.002904][ C0] ? rcu_is_watching+0x16/0xd0 [ 24.002905][ C0] handle_softirqs+0x1d3/0x900 [ 24.002907][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 24.002909][ C0] ? _local_bh_enable+0xc0/0xc0 [ 24.002911][ C0] __irq_exit_rcu+0x145/0x1c0 [ 24.002913][ C0] irq_exit_rcu+0xe/0x30 [ 24.002914][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 24.002916][ C0] [ 24.002916][ C0] [ 24.002917][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 24.002918][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 24.002920][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 24.002922][ C0] Code: 48 8b 3d 94 82 68 02 e8 1f 00 00 00 48 2b 05 58 d3 a0 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 06 0e 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 24.002924][ C0] RSP: 0018:ffffffffb8007cf8 EFLAGS: 00000296 [ 24.002926][ C0] RAX: 000000000010480f RBX: ffffffffb8030600 RCX: ffffffffb4706247 [ 24.002927][ C0] RDX: ffffffffb8030600 RSI: ffffffffb7911027 RDI: ffffffffb72949e0 [ 24.002928][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 24.002929][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff7000fa2 [ 24.002930][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 24.002931][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 24.002933][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 24.002935][ C0] default_idle+0x9/0x10 [ 24.002936][ C0] default_idle_call+0x6e/0xb0 [ 24.002938][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 24.002939][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 24.002941][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 24.002943][ C0] ? rcu_is_watching+0x16/0xd0 [ 24.002945][ C0] do_idle+0xd8/0x190 [ 24.002946][ C0] cpu_startup_entry+0x53/0x70 [ 24.002948][ C0] rest_init+0x279/0x280 [ 24.002950][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 24.002952][ C0] ? rest_init+0x280/0x280 [ 24.002954][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 24.002957][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 24.002958][ C0] ? acpi_enable+0x1e4/0x330 [ 24.002961][ C0] start_kernel+0x3b9/0x3c0 [ 24.002962][ C0] x86_64_start_reservations+0x24/0x30 [ 24.002964][ C0] x86_64_start_kernel+0x12b/0x130 [ 24.002966][ C0] common_startup_64+0x13e/0x148 [ 24.002969][ C0] [ 24.002972][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 24.002974][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 0, name: swapper/0 [ 24.002975][ C0] preempt_count: 103, expected: 0 [ 24.002976][ C0] RCU nest depth: 0, expected: 0 [ 24.002976][ C0] INFO: lockdep is turned off. [ 24.002977][ C0] irq event stamp: 1067039 [ 24.002977][ C0] hardirqs last enabled at (1067038): [] __down_trylock_console_sem+0x86/0xa0 [ 24.002980][ C0] hardirqs last disabled at (1067039): [] console_emit_next_record+0x3d4/0x4c0 [ 24.002982][ C0] softirqs last enabled at (1066976): [] handle_softirqs+0x67c/0x900 [ 24.002983][ C0] softirqs last disabled at (1067025): [] __irq_exit_rcu+0x145/0x1c0 [ 24.002985][ C0] Preemption disabled at: [ 24.002985][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 24.002989][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 24.002991][ C0] Tainted: [W]=WARN [ 24.002991][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 24.002992][ C0] Call Trace: [ 24.002992][ C0] [ 24.002993][ C0] dump_stack_lvl+0x6f/0xa0 [ 24.002995][ C0] ? schedule_preempt_disabled+0x22/0x30 [ 24.002997][ C0] __might_resched.cold+0x1fe/0x2c1 [ 24.003000][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 24.003003][ C0] ? rcu_is_watching+0x16/0xd0 [ 24.003004][ C0] __kmalloc_noprof+0x443/0x760 [ 24.003005][ C0] ? __rwlock_init+0x150/0x150 [ 24.003007][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 24.003009][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 24.003011][ C0] alloc_buf.isra.0+0x4b/0x260 [ 24.003013][ C0] put_chars+0x1e1/0x2f0 [ 24.003015][ C0] ? __send_to_port+0x420/0x420 [ 24.003017][ C0] ? mark_lock+0x1d7/0xa00 [ 24.003019][ C0] hvc_console_print+0x292/0x780 [ 24.003022][ C0] ? hvc_write+0x3a0/0x3a0 [ 24.003023][ C0] ? rcu_is_watching+0x16/0xd0 [ 24.003024][ C0] ? rcu_is_watching+0x16/0xd0 [ 24.003026][ C0] console_emit_next_record+0x22f/0x4c0 [ 24.003028][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 24.003030][ C0] ? console_flush_one_record+0x106/0x710 [ 24.003032][ C0] ? rcu_is_watching+0x16/0xd0 [ 24.003033][ C0] ? lock_acquire+0x13c/0x160 [ 24.003035][ C0] console_flush_one_record+0x46f/0x710 [ 24.003037][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 24.003039][ C0] ? __lock_acquire+0x518/0xc20 [ 24.003041][ C0] console_unlock+0xee/0x1f0 [ 24.003043][ C0] ? console_flush_one_record+0x710/0x710 [ 24.003045][ C0] ? rcu_is_watching+0x16/0xd0 [ 24.003046][ C0] ? lock_acquire+0xe0/0x160 [ 24.003048][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 24.003049][ C0] ? vprintk_emit+0x320/0x3e0 [ 24.003051][ C0] vprintk_emit+0x37c/0x3e0 [ 24.003052][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 24.003054][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 24.003056][ C0] _printk+0xc7/0x100 [ 24.003057][ C0] ? snapshot_read.cold+0x21/0x21 [ 24.003059][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 24.003064][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 24.003066][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 24.003068][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 24.003070][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 24.003071][ C0] call_timer_fn+0x160/0x4d0 [ 24.003073][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 24.003075][ C0] ? debug_object_active_state+0x430/0x430 [ 24.003076][ C0] ? find_held_lock+0x2b/0x80 [ 24.003078][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 24.003080][ C0] ? rcu_is_watching+0x16/0xd0 [ 24.003081][ C0] __run_timers+0x68f/0xaa0 [ 24.003083][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 24.003085][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 24.003087][ C0] ? __lock_acquire+0x518/0xc20 [ 24.003089][ C0] ? __rwlock_init+0x150/0x150 [ 24.003092][ C0] run_timer_softirq+0xf0/0x160 [ 24.003094][ C0] ? __run_timers+0xaa0/0xaa0 [ 24.003096][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 24.003097][ C0] ? rcu_is_watching+0x16/0xd0 [ 24.003098][ C0] handle_softirqs+0x1d3/0x900 [ 24.003100][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 24.003102][ C0] ? _local_bh_enable+0xc0/0xc0 [ 24.003104][ C0] __irq_exit_rcu+0x145/0x1c0 [ 24.003105][ C0] irq_exit_rcu+0xe/0x30 [ 24.003107][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 24.003108][ C0] [ 24.003109][ C0] [ 24.003109][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 24.003111][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 24.003112][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 24.003114][ C0] Code: 48 8b 3d 94 82 68 02 e8 1f 00 00 00 48 2b 05 58 d3 a0 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 06 0e 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 24.003115][ C0] RSP: 0018:ffffffffb8007cf8 EFLAGS: 00000296 [ 24.003116][ C0] RAX: 000000000010480f RBX: ffffffffb8030600 RCX: ffffffffb4706247 [ 24.003117][ C0] RDX: ffffffffb8030600 RSI: ffffffffb7911027 RDI: ffffffffb72949e0 [ 24.003118][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 24.003118][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff7000fa2 [ 24.003119][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 24.003121][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 24.003123][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 24.003124][ C0] default_idle+0x9/0x10 [ 24.003126][ C0] default_idle_call+0x6e/0xb0 [ 24.003127][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 24.003129][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 24.003130][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 24.003132][ C0] ? rcu_is_watching+0x16/0xd0 [ 24.003133][ C0] do_idle+0xd8/0x190 [ 24.003135][ C0] cpu_startup_entry+0x53/0x70 [ 24.003136][ C0] rest_init+0x279/0x280 [ 24.003138][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 24.003140][ C0] ? rest_init+0x280/0x280 [ 24.003142][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 24.003144][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 24.003145][ C0] ? acpi_enable+0x1e4/0x330 [ 24.003146][ C0] start_kernel+0x3b9/0x3c0 [ 24.003148][ C0] x86_64_start_reservations+0x24/0x30 [ 24.003150][ C0] x86_64_start_kernel+0x12b/0x130 [ 24.003151][ C0] common_startup_64+0x13e/0x148 [ 24.003154][ C0]