[ 11.247786][ T207] u32 classifier [ 11.247804][ T207] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.247807][ T207] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 207, name: modprobe [ 11.247809][ T207] preempt_count: 1, expected: 0 [ 11.247810][ T207] RCU nest depth: 0, expected: 0 [ 11.247811][ T207] locks held by modprobe/207: 4, last CPU#3: [ 11.247813][ T207] #0: ffffffff86b7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.247824][ T207] #1: ffffffff86b7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.247829][ T207] #2: ffffffff86a9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.247833][ T207] #3: ffffffff86a9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.247837][ T207] irq event stamp: 17220 [ 11.247838][ T207] hardirqs last enabled at (17219): [] __down_trylock_console_sem+0x86/0xa0 [ 11.247841][ T207] hardirqs last disabled at (17220): [] console_emit_next_record+0x3d4/0x4c0 [ 11.247843][ T207] softirqs last enabled at (15524): [] handle_softirqs+0x67c/0x900 [ 11.247847][ T207] softirqs last disabled at (15517): [] __irq_exit_rcu+0x145/0x1c0 [ 11.247850][ T207] Preemption disabled at: [ 11.247850][ T207] [] vprintk_emit+0x31b/0x3e0 [ 11.247855][ T207] CPU: 3 UID: 0 PID: 207 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.247859][ T207] Tainted: [W]=WARN [ 11.247859][ T207] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.247861][ T207] Call Trace: [ 11.247862][ T207] [ 11.247864][ T207] dump_stack_lvl+0x6f/0xa0 [ 11.247870][ T207] ? vprintk_emit+0x31b/0x3e0 [ 11.247871][ T207] __might_resched.cold+0x1fe/0x2c1 [ 11.247876][ T207] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.247880][ T207] ? __kmalloc_noprof+0xdb/0x760 [ 11.247884][ T207] __kmalloc_noprof+0x443/0x760 [ 11.247886][ T207] ? alloc_buf.isra.0+0x4b/0x260 [ 11.247893][ T207] ? do_raw_spin_unlock+0x59/0x250 [ 11.247896][ T207] alloc_buf.isra.0+0x4b/0x260 [ 11.247899][ T207] put_chars+0x1e1/0x2f0 [ 11.247902][ T207] ? __send_to_port+0x420/0x420 [ 11.247903][ T207] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.247906][ T207] ? validate_chain+0x38b/0xc20 [ 11.247912][ T207] hvc_console_print+0x292/0x780 [ 11.247919][ T207] ? hvc_write+0x3a0/0x3a0 [ 11.247922][ T207] ? rcu_is_watching+0x16/0xd0 [ 11.247924][ T207] ? lock_acquire+0x13c/0x160 [ 11.247928][ T207] console_emit_next_record+0x22f/0x4c0 [ 11.247931][ T207] ? devkmsg_read+0x4b0/0x4b0 [ 11.247933][ T207] ? console_flush_one_record+0x106/0x710 [ 11.247937][ T207] ? rcu_is_watching+0x16/0xd0 [ 11.247938][ T207] ? lock_acquire+0x13c/0x160 [ 11.247942][ T207] console_flush_one_record+0x46f/0x710 [ 11.247946][ T207] ? console_emit_next_record+0x4c0/0x4c0 [ 11.247948][ T207] ? __lock_acquire+0x518/0xc20 [ 11.247953][ T207] console_unlock+0xee/0x1f0 [ 11.247956][ T207] ? console_flush_one_record+0x710/0x710 [ 11.247958][ T207] ? rcu_is_watching+0x16/0xd0 [ 11.247959][ T207] ? lock_acquire+0xe0/0x160 [ 11.247963][ T207] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.247965][ T207] ? vprintk_emit+0x320/0x3e0 [ 11.247967][ T207] vprintk_emit+0x37c/0x3e0 [ 11.247971][ T207] ? wake_up_klogd_work_func+0x90/0x90 [ 11.247976][ T207] ? exit_u32+0x460/0x460 [cls_u32] [ 11.247979][ T207] _printk+0xc7/0x100 [ 11.247983][ T207] ? snapshot_read.cold+0x21/0x21 [ 11.247989][ T207] ? do_one_initcall+0x113/0x4f0 [ 11.247993][ T207] init_u32+0x1e/0x1000 [cls_u32] [ 11.247996][ T207] do_one_initcall+0x124/0x4f0 [ 11.247999][ T207] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 11.248003][ T207] ? do_init_module+0xae/0x8a0 [ 11.248006][ T207] ? kasan_unpoison+0x44/0x70 [ 11.248011][ T207] do_init_module+0x2ad/0x8a0 [ 11.248014][ T207] ? lockdep_hardirqs_on+0x91/0x130 [ 11.248018][ T207] ? free_module+0x470/0x470 [ 11.248021][ T207] ? kfree+0x123/0x590 [ 11.248024][ T207] load_module+0x1424/0x1bb0 [ 11.248029][ T207] ? security_kernel_post_read_file+0x2f/0x60 [ 11.248034][ T207] ? layout_and_allocate.isra.0+0x680/0x680 [ 11.248037][ T207] ? __ia32_sys_fsconfig+0x180/0x180 [ 11.248041][ T207] ? backing_file_read_iter+0x541/0x790 [ 11.248045][ T207] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.248048][ T207] init_module_from_file+0x11f/0x1a0 [ 11.248051][ T207] ? __do_sys_init_module+0x270/0x270 [ 11.248058][ T207] ? __rwlock_init+0x150/0x150 [ 11.248062][ T207] ? do_raw_spin_unlock+0x59/0x250 [ 11.248065][ T207] idempotent_init_module+0x37b/0x7c0 [ 11.248067][ T207] ? init_module_from_file+0x1a0/0x1a0 [ 11.248073][ T207] ? cap_capable+0x1d7/0x3d0 [ 11.248075][ T207] ? __x64_sys_pread64+0x18d/0x250 [ 11.248080][ T207] __x64_sys_finit_module+0xdf/0x190 [ 11.248082][ T207] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.248088][ T207] do_syscall_64+0xff/0x530 [ 11.248091][ T207] ? exc_page_fault+0xee/0x100 [ 11.248093][ T207] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.248096][ T207] RIP: 0033:0x7fc29fb8137d [ 11.248099][ T207] 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.248101][ T207] RSP: 002b:00007ffe4d2d3988 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 11.248104][ T207] RAX: ffffffffffffffda RBX: 00005615a2a8b810 RCX: 00007fc29fb8137d [ 11.248105][ T207] RDX: 0000000000000000 RSI: 000056156fbd2ffd RDI: 0000000000000000 [ 11.248106][ T207] RBP: 00007ffe4d2d3a20 R08: 0000000000000000 R09: 0000000000000000 [ 11.248107][ T207] R10: 0000000000000000 R11: 0000000000000246 R12: 000056156fbd2ffd [ 11.248108][ T207] R13: 00005615a2a8b950 R14: 0000000000040000 R15: 0000000000000000 [ 11.248114][ T207] [ 11.270291][ T207] input device check on [ 11.270489][ T207] Actions configured [ 11.316199][ T208] Mirror/redirect action on [ 16.527843][ C0] clocksource: Watchdog remote CPU 3 read timed out [ 16.527890][ C0] [ 16.527892][ C0] ======================================================== [ 16.527893][ C0] WARNING: possible irq lock inversion dependency detected [ 16.527895][ C0] 7.2.0-virtme #1 Tainted: G W [ 16.527896][ C0] -------------------------------------------------------- [ 16.527897][ C0] swapper/0/0 just changed the state of lock: [ 16.527898][ C0] ffffffff86a9d760 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.527911][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 16.527912][ C0] (fs_reclaim){+.+.}-{0:0} [ 16.527913][ C0] [ 16.527913][ C0] [ 16.527913][ C0] and interrupts could create inverse lock ordering between them. [ 16.527913][ C0] [ 16.527914][ C0] [ 16.527914][ C0] other info that might help us debug this: [ 16.527915][ C0] Possible interrupt unsafe locking scenario: [ 16.527915][ C0] [ 16.527915][ C0] CPU0 CPU1 [ 16.527916][ C0] ---- ---- [ 16.527916][ C0] lock(fs_reclaim); [ 16.527917][ C0] local_irq_disable(); [ 16.527918][ C0] lock(console_owner); [ 16.527919][ C0] lock(fs_reclaim); [ 16.527919][ C0] [ 16.527920][ C0] lock(console_owner); [ 16.527920][ C0] [ 16.527920][ C0] *** DEADLOCK *** [ 16.527920][ C0] [ 16.527921][ C0] locks held by swapper/0/0: 4, last CPU#0: [ 16.527922][ C0] #0: ffa0000000007c90 ((&watchdog_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 16.527928][ C0] #1: ffffffff86be29f8 (watchdog_lock){+.-.}-{3:3}, at: clocksource_watchdog+0x15/0x30 [ 16.527932][ C0] #2: ffffffff86b7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.527934][ C0] #3: ffffffff86b7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.527938][ C0] [ 16.527938][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 16.527942][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 16.527944][ C0] HARDIRQ-ON-W at: [ 16.527946][ C0] __lock_acquire+0x388/0xc20 [ 16.527949][ C0] lock_acquire.part.0+0xd4/0x280 [ 16.527951][ C0] fs_reclaim_acquire+0xd5/0x120 [ 16.527954][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 16.527956][ C0] kthread_create_worker_on_node+0xea/0x210 [ 16.527959][ C0] workqueue_init+0x2a/0x680 [ 16.527963][ C0] kernel_init_freeable+0x2fe/0x630 [ 16.527966][ C0] kernel_init+0x21/0x150 [ 16.527969][ C0] ret_from_fork+0x474/0x6b0 [ 16.527973][ C0] ret_from_fork_asm+0x11/0x20 [ 16.527975][ C0] SOFTIRQ-ON-W at: [ 16.527976][ C0] __lock_acquire+0x388/0xc20 [ 16.527978][ C0] lock_acquire.part.0+0xd4/0x280 [ 16.527979][ C0] fs_reclaim_acquire+0xd5/0x120 [ 16.527980][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 16.527981][ C0] kthread_create_worker_on_node+0xea/0x210 [ 16.527983][ C0] workqueue_init+0x2a/0x680 [ 16.527984][ C0] kernel_init_freeable+0x2fe/0x630 [ 16.527986][ C0] kernel_init+0x21/0x150 [ 16.527987][ C0] ret_from_fork+0x474/0x6b0 [ 16.527988][ C0] ret_from_fork_asm+0x11/0x20 [ 16.527990][ C0] INITIAL USE at: [ 16.527990][ C0] __lock_acquire+0x388/0xc20 [ 16.527992][ C0] lock_acquire.part.0+0xd4/0x280 [ 16.527993][ C0] fs_reclaim_acquire+0xd5/0x120 [ 16.527995][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 16.527996][ C0] kthread_create_worker_on_node+0xea/0x210 [ 16.527997][ C0] workqueue_init+0x2a/0x680 [ 16.527999][ C0] kernel_init_freeable+0x2fe/0x630 [ 16.528000][ C0] kernel_init+0x21/0x150 [ 16.528001][ C0] ret_from_fork+0x474/0x6b0 [ 16.528003][ C0] ret_from_fork_asm+0x11/0x20 [ 16.528004][ C0] } [ 16.528004][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 16.528008][ C0] ... acquired at: [ 16.528009][ C0] __lock_acquire+0x518/0xc20 [ 16.528010][ C0] lock_acquire.part.0+0xd4/0x280 [ 16.528012][ C0] fs_reclaim_acquire+0xd5/0x120 [ 16.528013][ C0] __kmalloc_noprof+0xd3/0x760 [ 16.528014][ C0] alloc_buf.isra.0+0x4b/0x260 [ 16.528018][ C0] put_chars+0x1e1/0x2f0 [ 16.528019][ C0] hvc_console_print+0x292/0x780 [ 16.528022][ C0] console_emit_next_record+0x22f/0x4c0 [ 16.528024][ C0] console_flush_one_record+0x46f/0x710 [ 16.528025][ C0] console_unlock+0xee/0x1f0 [ 16.528027][ C0] vprintk_emit+0x37c/0x3e0 [ 16.528028][ C0] _printk+0xc7/0x100 [ 16.528031][ C0] tun_init+0x24/0xb0 [ 16.528033][ C0] do_one_initcall+0x124/0x4f0 [ 16.528035][ C0] kernel_init_freeable+0x596/0x630 [ 16.528036][ C0] kernel_init+0x21/0x150 [ 16.528037][ C0] ret_from_fork+0x474/0x6b0 [ 16.528039][ C0] ret_from_fork_asm+0x11/0x20 [ 16.528040][ C0] [ 16.528040][ C0] -> (console_owner){..-.}-{0:0} { [ 16.528042][ C0] IN-SOFTIRQ-W at: [ 16.528043][ C0] __lock_acquire+0x388/0xc20 [ 16.528044][ C0] lock_acquire.part.0+0xd4/0x280 [ 16.528046][ C0] console_lock_spinning_enable+0x5c/0x60 [ 16.528047][ C0] console_emit_next_record+0x1d1/0x4c0 [ 16.528049][ C0] console_flush_one_record+0x46f/0x710 [ 16.528050][ C0] console_unlock+0xee/0x1f0 [ 16.528052][ C0] vprintk_emit+0x37c/0x3e0 [ 16.528053][ C0] _printk+0xc7/0x100 [ 16.528054][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 16.528057][ C0] call_timer_fn+0x160/0x4d0 [ 16.528058][ C0] __run_timers+0x68f/0xaa0 [ 16.528060][ C0] run_timer_softirq+0xf0/0x160 [ 16.528062][ C0] handle_softirqs+0x1d3/0x900 [ 16.528065][ C0] __irq_exit_rcu+0x145/0x1c0 [ 16.528066][ C0] irq_exit_rcu+0xe/0x30 [ 16.528067][ C0] common_interrupt+0xb5/0xf0 [ 16.528069][ C0] asm_common_interrupt+0x26/0x40 [ 16.528070][ C0] pv_native_safe_halt+0xf/0x10 [ 16.528072][ C0] default_idle+0x9/0x10 [ 16.528073][ C0] default_idle_call+0x6e/0xb0 [ 16.528075][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 16.528077][ C0] do_idle+0xd8/0x190 [ 16.528078][ C0] cpu_startup_entry+0x53/0x70 [ 16.528080][ C0] rest_init+0x279/0x280 [ 16.528081][ C0] start_kernel+0x3b9/0x3c0 [ 16.528086][ C0] x86_64_start_reservations+0x24/0x30 [ 16.528089][ C0] x86_64_start_kernel+0x12b/0x130 [ 16.528090][ C0] common_startup_64+0x13e/0x148 [ 16.528093][ C0] INITIAL USE at: [ 16.528094][ C0] } [ 16.528095][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 16.528097][ C0] ... acquired at: [ 16.528098][ C0] mark_lock+0x1d7/0xa00 [ 16.528099][ C0] mark_usage+0x42/0x170 [ 16.528101][ C0] __lock_acquire+0x388/0xc20 [ 16.528102][ C0] lock_acquire.part.0+0xd4/0x280 [ 16.528103][ C0] console_lock_spinning_enable+0x5c/0x60 [ 16.528105][ C0] console_emit_next_record+0x1d1/0x4c0 [ 16.528106][ C0] console_flush_one_record+0x46f/0x710 [ 16.528108][ C0] console_unlock+0xee/0x1f0 [ 16.528110][ C0] vprintk_emit+0x37c/0x3e0 [ 16.528110][ C0] _printk+0xc7/0x100 [ 16.528112][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 16.528113][ C0] call_timer_fn+0x160/0x4d0 [ 16.528114][ C0] __run_timers+0x68f/0xaa0 [ 16.528116][ C0] run_timer_softirq+0xf0/0x160 [ 16.528117][ C0] handle_softirqs+0x1d3/0x900 [ 16.528119][ C0] __irq_exit_rcu+0x145/0x1c0 [ 16.528120][ C0] irq_exit_rcu+0xe/0x30 [ 16.528121][ C0] common_interrupt+0xb5/0xf0 [ 16.528122][ C0] asm_common_interrupt+0x26/0x40 [ 16.528123][ C0] pv_native_safe_halt+0xf/0x10 [ 16.528124][ C0] default_idle+0x9/0x10 [ 16.528126][ C0] default_idle_call+0x6e/0xb0 [ 16.528127][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 16.528128][ C0] do_idle+0xd8/0x190 [ 16.528129][ C0] cpu_startup_entry+0x53/0x70 [ 16.528131][ C0] rest_init+0x279/0x280 [ 16.528132][ C0] start_kernel+0x3b9/0x3c0 [ 16.528133][ C0] x86_64_start_reservations+0x24/0x30 [ 16.528135][ C0] x86_64_start_kernel+0x12b/0x130 [ 16.528136][ C0] common_startup_64+0x13e/0x148 [ 16.528137][ C0] [ 16.528137][ C0] [ 16.528137][ C0] stack backtrace: [ 16.528140][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.528143][ C0] Tainted: [W]=WARN [ 16.528144][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.528146][ C0] Call Trace: [ 16.528147][ C0] [ 16.528148][ C0] dump_stack_lvl+0x6f/0xa0 [ 16.528152][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 16.528155][ C0] mark_lock_irq+0x989/0x9c0 [ 16.528157][ C0] ? add_lock_to_list+0x2c/0x1a0 [ 16.528160][ C0] mark_lock+0x1d7/0xa00 [ 16.528161][ C0] mark_usage+0x42/0x170 [ 16.528163][ C0] __lock_acquire+0x388/0xc20 [ 16.528165][ C0] lock_acquire.part.0+0xd4/0x280 [ 16.528167][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 16.528169][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.528171][ C0] ? lock_acquire+0x13c/0x160 [ 16.528173][ C0] console_lock_spinning_enable+0x5c/0x60 [ 16.528175][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 16.528177][ C0] console_emit_next_record+0x1d1/0x4c0 [ 16.528179][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 16.528181][ C0] ? console_flush_one_record+0x106/0x710 [ 16.528183][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.528184][ C0] ? lock_acquire+0x13c/0x160 [ 16.528186][ C0] console_flush_one_record+0x46f/0x710 [ 16.528188][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 16.528190][ C0] ? __lock_acquire+0x518/0xc20 [ 16.528192][ C0] console_unlock+0xee/0x1f0 [ 16.528194][ C0] ? console_flush_one_record+0x710/0x710 [ 16.528196][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.528197][ C0] ? lock_acquire+0xe0/0x160 [ 16.528199][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.528201][ C0] ? vprintk_emit+0x320/0x3e0 [ 16.528202][ C0] vprintk_emit+0x37c/0x3e0 [ 16.528203][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 16.528205][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 16.528207][ C0] _printk+0xc7/0x100 [ 16.528209][ C0] ? snapshot_read.cold+0x21/0x21 [ 16.528211][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 16.528212][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 16.528215][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 16.528216][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 16.528218][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 16.528219][ C0] call_timer_fn+0x160/0x4d0 [ 16.528221][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 16.528223][ C0] ? debug_object_active_state+0x430/0x430 [ 16.528226][ C0] ? find_held_lock+0x2b/0x80 [ 16.528228][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 16.528229][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.528231][ C0] __run_timers+0x68f/0xaa0 [ 16.528233][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 16.528235][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 16.528237][ C0] ? __lock_acquire+0x518/0xc20 [ 16.528239][ C0] ? trace_rcu_watching+0x20/0x1f0 [ 16.528243][ C0] ? __rwlock_init+0x150/0x150 [ 16.528245][ C0] run_timer_softirq+0xf0/0x160 [ 16.528247][ C0] ? __run_timers+0xaa0/0xaa0 [ 16.528249][ C0] ? handle_softirqs+0x19c/0x900 [ 16.528251][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.528252][ C0] handle_softirqs+0x1d3/0x900 [ 16.528254][ C0] ? _local_bh_enable+0xc0/0xc0 [ 16.528255][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 16.528257][ C0] __irq_exit_rcu+0x145/0x1c0 [ 16.528259][ C0] irq_exit_rcu+0xe/0x30 [ 16.528261][ C0] common_interrupt+0xb5/0xf0 [ 16.528262][ C0] [ 16.528262][ C0] [ 16.528263][ C0] ? sysvec_apic_timer_interrupt+0xaa/0xe0 [ 16.528264][ C0] asm_common_interrupt+0x26/0x40 [ 16.528266][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 16.528269][ 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 [ 16.528271][ C0] RSP: 0018:ffffffff86807cf8 EFLAGS: 00000296 [ 16.528273][ C0] RAX: 0000000000056b55 RBX: ffffffff86830600 RCX: ffffffff82f06247 [ 16.528274][ C0] RDX: ffffffff86830600 RSI: ffffffff86111027 RDI: ffffffff85a949e0 [ 16.528275][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 16.528276][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff0d00fa2 [ 16.528277][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 16.528278][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 16.528281][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 16.528282][ C0] default_idle+0x9/0x10 [ 16.528283][ C0] default_idle_call+0x6e/0xb0 [ 16.528285][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 16.528287][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 16.528288][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 16.528291][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.528292][ C0] do_idle+0xd8/0x190 [ 16.528294][ C0] cpu_startup_entry+0x53/0x70 [ 16.528295][ C0] rest_init+0x279/0x280 [ 16.528297][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 16.528299][ C0] ? rest_init+0x280/0x280 [ 16.528301][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 16.528304][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 16.528306][ C0] ? acpi_enable+0x1e4/0x330 [ 16.528308][ C0] start_kernel+0x3b9/0x3c0 [ 16.528310][ C0] x86_64_start_reservations+0x24/0x30 [ 16.528311][ C0] x86_64_start_kernel+0x12b/0x130 [ 16.528313][ C0] common_startup_64+0x13e/0x148 [ 16.528316][ C0] [ 16.528321][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.528323][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 0, name: swapper/0 [ 16.528324][ C0] preempt_count: 103, expected: 0 [ 16.528325][ C0] RCU nest depth: 0, expected: 0 [ 16.528326][ C0] INFO: lockdep is turned off. [ 16.528327][ C0] irq event stamp: 356267 [ 16.528327][ C0] hardirqs last enabled at (356266): [] __down_trylock_console_sem+0x86/0xa0 [ 16.528330][ C0] hardirqs last disabled at (356267): [] console_emit_next_record+0x3d4/0x4c0 [ 16.528332][ C0] softirqs last enabled at (355358): [] handle_softirqs+0x67c/0x900 [ 16.528333][ C0] softirqs last disabled at (355361): [] __irq_exit_rcu+0x145/0x1c0 [ 16.528335][ C0] Preemption disabled at: [ 16.528336][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 16.528339][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.528341][ C0] Tainted: [W]=WARN [ 16.528341][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.528342][ C0] Call Trace: [ 16.528342][ C0] [ 16.528343][ C0] dump_stack_lvl+0x6f/0xa0 [ 16.528345][ C0] ? schedule_preempt_disabled+0x22/0x30 [ 16.528347][ C0] __might_resched.cold+0x1fe/0x2c1 [ 16.528350][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.528353][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.528355][ C0] __kmalloc_noprof+0x443/0x760 [ 16.528356][ C0] ? __rwlock_init+0x150/0x150 [ 16.528358][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 16.528360][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 16.528362][ C0] alloc_buf.isra.0+0x4b/0x260 [ 16.528364][ C0] put_chars+0x1e1/0x2f0 [ 16.528366][ C0] ? __send_to_port+0x420/0x420 [ 16.528368][ C0] ? mark_lock+0x1d7/0xa00 [ 16.528370][ C0] hvc_console_print+0x292/0x780 [ 16.528373][ C0] ? hvc_write+0x3a0/0x3a0 [ 16.528375][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.528376][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.528378][ C0] console_emit_next_record+0x22f/0x4c0 [ 16.528380][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 16.528382][ C0] ? console_flush_one_record+0x106/0x710 [ 16.528384][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.528385][ C0] ? lock_acquire+0x13c/0x160 [ 16.528387][ C0] console_flush_one_record+0x46f/0x710 [ 16.528389][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 16.528391][ C0] ? __lock_acquire+0x518/0xc20 [ 16.528393][ C0] console_unlock+0xee/0x1f0 [ 16.528395][ C0] ? console_flush_one_record+0x710/0x710 [ 16.528397][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.528398][ C0] ? lock_acquire+0xe0/0x160 [ 16.528400][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.528401][ C0] ? vprintk_emit+0x320/0x3e0 [ 16.528402][ C0] vprintk_emit+0x37c/0x3e0 [ 16.528404][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 16.528406][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 16.528407][ C0] _printk+0xc7/0x100 [ 16.528409][ C0] ? snapshot_read.cold+0x21/0x21 [ 16.528411][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 16.528413][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 16.528415][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 16.528416][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 16.528418][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 16.528420][ C0] call_timer_fn+0x160/0x4d0 [ 16.528422][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 16.528423][ C0] ? debug_object_active_state+0x430/0x430 [ 16.528425][ C0] ? find_held_lock+0x2b/0x80 [ 16.528426][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 16.528428][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.528430][ C0] __run_timers+0x68f/0xaa0 [ 16.528431][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 16.528434][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 16.528435][ C0] ? __lock_acquire+0x518/0xc20 [ 16.528437][ C0] ? trace_rcu_watching+0x20/0x1f0 [ 16.528440][ C0] ? __rwlock_init+0x150/0x150 [ 16.528442][ C0] run_timer_softirq+0xf0/0x160 [ 16.528444][ C0] ? __run_timers+0xaa0/0xaa0 [ 16.528446][ C0] ? handle_softirqs+0x19c/0x900 [ 16.528447][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.528448][ C0] handle_softirqs+0x1d3/0x900 [ 16.528450][ C0] ? _local_bh_enable+0xc0/0xc0 [ 16.528452][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 16.528454][ C0] __irq_exit_rcu+0x145/0x1c0 [ 16.528455][ C0] irq_exit_rcu+0xe/0x30 [ 16.528457][ C0] common_interrupt+0xb5/0xf0 [ 16.528458][ C0] [ 16.528459][ C0] [ 16.528459][ C0] ? sysvec_apic_timer_interrupt+0xaa/0xe0 [ 16.528461][ C0] asm_common_interrupt+0x26/0x40 [ 16.528462][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 16.528464][ 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 [ 16.528465][ C0] RSP: 0018:ffffffff86807cf8 EFLAGS: 00000296 [ 16.528466][ C0] RAX: 0000000000056b55 RBX: ffffffff86830600 RCX: ffffffff82f06247 [ 16.528467][ C0] RDX: ffffffff86830600 RSI: ffffffff86111027 RDI: ffffffff85a949e0 [ 16.528467][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 16.528468][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff0d00fa2 [ 16.528469][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 16.528470][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 16.528472][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 16.528474][ C0] default_idle+0x9/0x10 [ 16.528475][ C0] default_idle_call+0x6e/0xb0 [ 16.528477][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 16.528478][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 16.528480][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 16.528482][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.528483][ C0] do_idle+0xd8/0x190 [ 16.528485][ C0] cpu_startup_entry+0x53/0x70 [ 16.528486][ C0] rest_init+0x279/0x280 [ 16.528488][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 16.528491][ C0] ? rest_init+0x280/0x280 [ 16.528492][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 16.528494][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 16.528495][ C0] ? acpi_enable+0x1e4/0x330 [ 16.528497][ C0] start_kernel+0x3b9/0x3c0 [ 16.528499][ C0] x86_64_start_reservations+0x24/0x30 [ 16.528500][ C0] x86_64_start_kernel+0x12b/0x130 [ 16.528502][ C0] common_startup_64+0x13e/0x148 [ 16.528505][ C0]