[ 10.401976][ T196] netdevsim netdevsim1337 eni1337np1: renamed from eth0 [ 10.402089][ T196] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.402091][ T196] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 196, name: (udev-worker) [ 10.402093][ T196] preempt_count: 1, expected: 0 [ 10.402094][ T196] RCU nest depth: 0, expected: 0 [ 10.402095][ T196] locks held by (udev-worker)/196: 6, last CPU#3: [ 10.402097][ T196] #0: ffffffff9c2fe280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 10.402109][ T196] #1: ff1100000d212dd8 (&dev_instance_lock_key#3){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 10.402114][ T196] #2: ffffffff9bb99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.402120][ T196] #3: ffffffff9bb99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.402123][ T196] #4: ffffffff9ba89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.402127][ T196] #5: ffffffff9ba89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.402130][ T196] irq event stamp: 39114 [ 10.402131][ T196] hardirqs last enabled at (39113): [] __down_trylock_console_sem+0x86/0xa0 [ 10.402133][ T196] hardirqs last disabled at (39114): [] console_emit_next_record+0x3f8/0x4f0 [ 10.402135][ T196] softirqs last enabled at (39108): [] netif_change_name+0x216/0x8c0 [ 10.402138][ T196] softirqs last disabled at (39106): [] netif_change_name+0x1ad/0x8c0 [ 10.402140][ T196] Preemption disabled at: [ 10.402141][ T196] [] vprintk_emit+0x31b/0x3e0 [ 10.402147][ T196] CPU: 3 UID: 0 PID: 196 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.402150][ T196] Tainted: [W]=WARN [ 10.402151][ T196] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.402154][ T196] Call Trace: [ 10.402155][ T196] [ 10.402157][ T196] dump_stack_lvl+0x6f/0xa0 [ 10.402163][ T196] ? vprintk_emit+0x31b/0x3e0 [ 10.402165][ T196] __might_resched.cold+0x1fe/0x2c1 [ 10.402170][ T196] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.402174][ T196] ? __kmalloc_noprof+0xdb/0x760 [ 10.402179][ T196] __kmalloc_noprof+0x443/0x760 [ 10.402181][ T196] ? alloc_buf.isra.0+0x4b/0x260 [ 10.402186][ T196] ? do_raw_spin_unlock+0x59/0x250 [ 10.402189][ T196] alloc_buf.isra.0+0x4b/0x260 [ 10.402192][ T196] put_chars+0x1e1/0x2f0 [ 10.402195][ T196] ? __send_to_port+0x420/0x420 [ 10.402199][ T196] ? validate_chain+0x34a/0xc20 [ 10.402204][ T196] hvc_console_print+0x292/0x780 [ 10.402206][ T196] ? __lock_acquire+0x518/0xc20 [ 10.402211][ T196] ? hvc_write+0x3a0/0x3a0 [ 10.402214][ T196] ? rcu_is_watching+0x16/0xd0 [ 10.402221][ T196] console_emit_next_record+0x252/0x4f0 [ 10.402224][ T196] ? devkmsg_read+0x4e0/0x4e0 [ 10.402229][ T196] ? rcu_is_watching+0x16/0xd0 [ 10.402231][ T196] ? lock_acquire+0x13c/0x160 [ 10.402235][ T196] console_flush_one_record+0x46f/0x710 [ 10.402239][ T196] ? console_emit_next_record+0x4f0/0x4f0 [ 10.402241][ T196] ? __lock_acquire+0x518/0xc20 [ 10.402246][ T196] console_unlock+0xee/0x1f0 [ 10.402248][ T196] ? console_flush_one_record+0x710/0x710 [ 10.402250][ T196] ? rcu_is_watching+0x16/0xd0 [ 10.402252][ T196] ? lock_acquire+0x60/0x160 [ 10.402256][ T196] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.402257][ T196] ? vprintk_emit+0x320/0x3e0 [ 10.402260][ T196] vprintk_emit+0x37c/0x3e0 [ 10.402264][ T196] ? wake_up_klogd_work_func+0x90/0x90 [ 10.402266][ T196] ? write_profile+0xf0/0xf0 [ 10.402269][ T196] ? unwind_get_return_address+0x67/0xd0 [ 10.402277][ T196] dev_vprintk_emit+0x27f/0x2c0 [ 10.402282][ T196] ? device_rename.cold+0xa/0xa [ 10.402286][ T196] ? filter_irq_stacks+0xd0/0xd0 [ 10.402292][ T196] dev_printk_emit+0xb9/0xee [ 10.402295][ T196] ? dev_vprintk_emit+0x2c0/0x2c0 [ 10.402299][ T196] ? check_prev_add+0x316/0xe90 [ 10.402304][ T196] __netdev_printk+0x160/0x1d0 [ 10.402312][ T196] netdev_info+0xe2/0x116 [ 10.402314][ T196] ? netdev_notice+0x120/0x120 [ 10.402317][ T196] ? find_held_lock+0x2b/0x80 [ 10.402321][ T196] ? __lock_release.isra.0+0x69/0x1a0 [ 10.402323][ T196] ? mark_held_locks+0x40/0x70 [ 10.402326][ T196] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.402329][ T196] netif_change_name.cold+0x4f/0x89 [ 10.402333][ T196] ? __lock_acquire+0x518/0xc20 [ 10.402334][ T196] ? rwsem_optimistic_spin+0x3c7/0x480 [ 10.402337][ T196] ? find_held_lock+0x2/0x80 [ 10.402340][ T196] ? netdev_adjacent_rename_links+0x470/0x470 [ 10.402342][ T196] ? find_held_lock+0x2b/0x80 [ 10.402346][ T196] ? __asan_memset+0x27/0x50 [ 10.402351][ T196] do_setlink.isra.0+0x1f7d/0x2a60 [ 10.402354][ T196] ? __lock_acquire+0x518/0xc20 [ 10.402357][ T196] ? rtnl_link_get_size+0x350/0x350 [ 10.402359][ T196] ? mark_usage+0x61/0x170 [ 10.402360][ T196] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.402363][ T196] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.402365][ T196] ? validate_chain+0x38b/0xc20 [ 10.402369][ T196] ? __lock_acquire+0x518/0xc20 [ 10.402374][ T196] ? lock_acquire.part.0+0xd4/0x280 [ 10.402375][ T196] ? rtnl_setlink+0x29d/0x920 [ 10.402378][ T196] ? rcu_is_watching+0x16/0xd0 [ 10.402380][ T196] ? lock_acquire+0x13c/0x160 [ 10.402382][ T196] ? rcu_is_watching+0x16/0xd0 [ 10.402383][ T196] ? rcu_is_watching+0x16/0xd0 [ 10.402386][ T196] ? trace_contention_end+0xb3/0x180 [ 10.402388][ T196] ? __mutex_lock+0x1db/0x1ea0 [ 10.402391][ T196] ? __mutex_lock+0x9a3/0x1ea0 [ 10.402393][ T196] ? __lock_acquire+0x518/0xc20 [ 10.402394][ T196] ? rtnl_setlink+0x29d/0x920 [ 10.402397][ T196] ? mark_usage+0x61/0x170 [ 10.402399][ T196] ? ww_mutex_lock+0x160/0x160 [ 10.402401][ T196] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.402407][ T196] ? mark_usage+0x61/0x170 [ 10.402410][ T196] ? cap_capable+0x1d7/0x3d0 [ 10.402418][ T196] rtnl_setlink+0x527/0x920 [ 10.402422][ T196] ? __rtnl_newlink+0xa50/0xa50 [ 10.402423][ T196] ? __lock_acquire+0x518/0xc20 [ 10.402446][ T196] ? lock_acquire.part.0+0xd4/0x280 [ 10.402448][ T196] ? find_held_lock+0x2b/0x80 [ 10.402451][ T196] ? __lock_release.isra.0+0x69/0x1a0 [ 10.402453][ T196] ? mark_usage+0x61/0x170 [ 10.402454][ T196] ? __lock_acquire+0x518/0xc20 [ 10.402459][ T196] ? lock_acquire.part.0+0xd4/0x280 [ 10.402460][ T196] ? find_held_lock+0x2b/0x80 [ 10.402463][ T196] ? __rtnl_newlink+0xa50/0xa50 [ 10.402465][ T196] ? __lock_release.isra.0+0x69/0x1a0 [ 10.402468][ T196] ? __rtnl_newlink+0xa50/0xa50 [ 10.402471][ T196] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.402474][ T196] ? rtnl_link_fill+0x900/0x900 [ 10.402476][ T196] ? __lock_acquire+0x518/0xc20 [ 10.402480][ T196] ? lock_acquire.part.0+0xd4/0x280 [ 10.402482][ T196] ? find_held_lock+0x2b/0x80 [ 10.402486][ T196] netlink_rcv_skb+0x14e/0x3a0 [ 10.402489][ T196] ? rtnl_link_fill+0x900/0x900 [ 10.402493][ T196] ? netlink_ack+0xcd0/0xcd0 [ 10.402499][ T196] ? netlink_deliver_tap+0xc5/0x330 [ 10.402501][ T196] ? netlink_deliver_tap+0x13c/0x330 [ 10.402506][ T196] netlink_unicast+0x486/0x750 [ 10.402510][ T196] ? netlink_attachskb+0x810/0x810 [ 10.402513][ T196] ? __lock_acquire+0x518/0xc20 [ 10.402518][ T196] netlink_sendmsg+0x735/0xc60 [ 10.402528][ T196] ? netlink_unicast+0x750/0x750 [ 10.402532][ T196] ? __might_fault+0x97/0x140 [ 10.402535][ T196] ? __might_fault+0x97/0x140 [ 10.402539][ T196] __sys_sendto+0x2aa/0x400 [ 10.402542][ T196] ? __ia32_sys_getpeername+0xd0/0xd0 [ 10.402553][ T196] ? exc_page_fault+0x87/0x100 [ 10.402559][ T196] __x64_sys_sendto+0xe4/0x1f0 [ 10.402561][ T196] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.402565][ T196] ? lockdep_hardirqs_on+0x91/0x130 [ 10.402567][ T196] ? do_syscall_64+0xa6/0x530 [ 10.402569][ T196] do_syscall_64+0xff/0x530 [ 10.402570][ T196] ? exc_page_fault+0xee/0x100 [ 10.402573][ T196] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.402575][ T196] RIP: 0033:0x7f307ac1554e [ 10.402579][ T196] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 10.402581][ T196] RSP: 002b:00007ffca7a7a2c0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 10.402584][ T196] RAX: ffffffffffffffda RBX: 000055b41f355410 RCX: 00007f307ac1554e [ 10.402586][ T196] RDX: 0000000000000030 RSI: 000055b41f355280 RDI: 0000000000000014 [ 10.402586][ T196] RBP: 00007ffca7a7a2d0 R08: 00007ffca7a7a320 R09: 0000000000000080 [ 10.402587][ T196] R10: 0000000000000000 R11: 0000000000000202 R12: 000055b41f4f38f0 [ 10.402588][ T196] R13: 00007ffca7a7a404 R14: 0000000000000000 R15: 0000000000000000 [ 10.402595][ T196] [ 10.403449][ C0] clocksource: Watchdog remote CPU 3 read timed out [ 10.403485][ C0] [ 10.403487][ C0] ======================================================== [ 10.403488][ C0] WARNING: possible irq lock inversion dependency detected [ 10.403490][ C0] 7.2.0-virtme #1 Tainted: G W [ 10.403492][ C0] -------------------------------------------------------- [ 10.403493][ C0] swapper/0/0 just changed the state of lock: [ 10.403494][ C0] ffffffff9ba89660 (console_owner){..-.}-{0:0}, at: console_trylock_spinning+0xa4/0x1e0 [ 10.403507][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 10.403508][ C0] (fs_reclaim){+.+.}-{0:0} [ 10.403510][ C0] [ 10.403510][ C0] [ 10.403510][ C0] and interrupts could create inverse lock ordering between them. [ 10.403510][ C0] [ 10.403510][ C0] [ 10.403510][ C0] other info that might help us debug this: [ 10.403511][ C0] Possible interrupt unsafe locking scenario: [ 10.403511][ C0] [ 10.403512][ C0] CPU0 CPU1 [ 10.403512][ C0] ---- ---- [ 10.403512][ C0] lock(fs_reclaim); [ 10.403514][ C0] local_irq_disable(); [ 10.403514][ C0] lock(console_owner); [ 10.403515][ C0] lock(fs_reclaim); [ 10.403516][ C0] [ 10.403516][ C0] lock(console_owner); [ 10.403517][ C0] [ 10.403517][ C0] *** DEADLOCK *** [ 10.403517][ C0] [ 10.403517][ C0] locks held by swapper/0/0: 2, last CPU#0: [ 10.403519][ C0] #0: ffa0000000007c90 ((&watchdog_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 10.403531][ C0] #1: ffffffff9bbfe8b8 (watchdog_lock){+.-.}-{3:3}, at: clocksource_watchdog+0x15/0x30 [ 10.403536][ C0] [ 10.403536][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 10.403540][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 10.403542][ C0] HARDIRQ-ON-W at: [ 10.403544][ C0] __lock_acquire+0x388/0xc20 [ 10.403547][ C0] lock_acquire.part.0+0xd4/0x280 [ 10.403549][ C0] fs_reclaim_acquire+0xd5/0x120 [ 10.403552][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 10.403554][ C0] kthread_create_worker_on_node+0xea/0x210 [ 10.403557][ C0] workqueue_init+0x2a/0x680 [ 10.403561][ C0] kernel_init_freeable+0x2fe/0x630 [ 10.403563][ C0] kernel_init+0x21/0x150 [ 10.403567][ C0] ret_from_fork+0x474/0x6b0 [ 10.403571][ C0] ret_from_fork_asm+0x11/0x20 [ 10.403573][ C0] SOFTIRQ-ON-W at: [ 10.403574][ C0] __lock_acquire+0x388/0xc20 [ 10.403575][ C0] lock_acquire.part.0+0xd4/0x280 [ 10.403577][ C0] fs_reclaim_acquire+0xd5/0x120 [ 10.403578][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 10.403579][ C0] kthread_create_worker_on_node+0xea/0x210 [ 10.403580][ C0] workqueue_init+0x2a/0x680 [ 10.403581][ C0] kernel_init_freeable+0x2fe/0x630 [ 10.403583][ C0] kernel_init+0x21/0x150 [ 10.403584][ C0] ret_from_fork+0x474/0x6b0 [ 10.403586][ C0] ret_from_fork_asm+0x11/0x20 [ 10.403587][ C0] INITIAL USE at: [ 10.403588][ C0] __lock_acquire+0x388/0xc20 [ 10.403589][ C0] lock_acquire.part.0+0xd4/0x280 [ 10.403590][ C0] fs_reclaim_acquire+0xd5/0x120 [ 10.403591][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 10.403592][ C0] kthread_create_worker_on_node+0xea/0x210 [ 10.403593][ C0] workqueue_init+0x2a/0x680 [ 10.403595][ C0] kernel_init_freeable+0x2fe/0x630 [ 10.403596][ C0] kernel_init+0x21/0x150 [ 10.403597][ C0] ret_from_fork+0x474/0x6b0 [ 10.403599][ C0] ret_from_fork_asm+0x11/0x20 [ 10.403600][ C0] } [ 10.403600][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 10.403604][ C0] ... acquired at: [ 10.403605][ C0] __lock_acquire+0x518/0xc20 [ 10.403606][ C0] lock_acquire.part.0+0xd4/0x280 [ 10.403607][ C0] fs_reclaim_acquire+0xd5/0x120 [ 10.403609][ C0] __kmalloc_noprof+0xd3/0x760 [ 10.403610][ C0] alloc_buf.isra.0+0x4b/0x260 [ 10.403613][ C0] put_chars+0x1e1/0x2f0 [ 10.403614][ C0] hvc_console_print+0x292/0x780 [ 10.403616][ C0] console_emit_next_record+0x252/0x4f0 [ 10.403617][ C0] console_flush_one_record+0x46f/0x710 [ 10.403619][ C0] console_unlock+0xee/0x1f0 [ 10.403620][ C0] vprintk_emit+0x37c/0x3e0 [ 10.403622][ C0] dev_vprintk_emit+0x27f/0x2c0 [ 10.403625][ C0] dev_printk_emit+0xb9/0xee [ 10.403627][ C0] _dev_info+0xe2/0x116 [ 10.403628][ C0] __devm_rtc_register_device.cold+0x338/0x3a8 [ 10.403631][ C0] cmos_do_probe+0x73b/0x98a [ 10.403632][ C0] platform_probe+0xfe/0x1f0 [ 10.403635][ C0] call_driver_probe+0x61/0x1c0 [ 10.403637][ C0] really_probe+0x199/0x760 [ 10.403638][ C0] __driver_probe_device+0x24f/0x440 [ 10.403640][ C0] driver_probe_device+0x4a/0xf0 [ 10.403641][ C0] __driver_attach+0x1b8/0x540 [ 10.403643][ C0] bus_for_each_dev+0x130/0x1e0 [ 10.403644][ C0] bus_add_driver+0x2c8/0x530 [ 10.403645][ C0] driver_register+0x1a3/0x390 [ 10.403647][ C0] __platform_driver_probe+0x13f/0x270 [ 10.403648][ C0] cmos_init+0x31/0x40 [ 10.403651][ C0] do_one_initcall+0x124/0x4f0 [ 10.403653][ C0] kernel_init_freeable+0x596/0x630 [ 10.403654][ C0] kernel_init+0x21/0x150 [ 10.403656][ C0] ret_from_fork+0x474/0x6b0 [ 10.403658][ C0] ret_from_fork_asm+0x11/0x20 [ 10.403659][ C0] [ 10.403659][ C0] -> (console_owner){..-.}-{0:0} { [ 10.403661][ C0] IN-SOFTIRQ-W at: [ 10.403662][ C0] __lock_acquire+0x388/0xc20 [ 10.403663][ C0] lock_acquire.part.0+0xd4/0x280 [ 10.403664][ C0] console_trylock_spinning+0xb5/0x1e0 [ 10.403665][ C0] vprintk_emit+0x320/0x3e0 [ 10.403667][ C0] _printk+0xc7/0x100 [ 10.403670][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 10.403673][ C0] call_timer_fn+0x160/0x4d0 [ 10.403674][ C0] __run_timers+0x68f/0xaa0 [ 10.403675][ C0] run_timer_softirq+0xf0/0x160 [ 10.403677][ C0] handle_softirqs+0x1d3/0x900 [ 10.403680][ C0] __irq_exit_rcu+0x145/0x1c0 [ 10.403682][ C0] irq_exit_rcu+0xe/0x30 [ 10.403684][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 10.403686][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 10.403688][ C0] pv_native_safe_halt+0xf/0x10 [ 10.403689][ C0] default_idle+0x9/0x10 [ 10.403691][ C0] default_idle_call+0x6e/0xb0 [ 10.403692][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 10.403695][ C0] do_idle+0xd8/0x190 [ 10.403697][ C0] cpu_startup_entry+0x53/0x70 [ 10.403699][ C0] rest_init+0x279/0x280 [ 10.403700][ C0] start_kernel+0x3af/0x3b0 [ 10.403701][ C0] x86_64_start_reservations+0x24/0x30 [ 10.403704][ C0] x86_64_start_kernel+0x12b/0x130 [ 10.403705][ C0] common_startup_64+0x13e/0x148 [ 10.403707][ C0] INITIAL USE at: [ 10.403708][ C0] } [ 10.403708][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 10.403711][ C0] ... acquired at: [ 10.403712][ C0] mark_lock+0x1d7/0xa00 [ 10.403713][ C0] mark_usage+0x42/0x170 [ 10.403714][ C0] __lock_acquire+0x388/0xc20 [ 10.403715][ C0] lock_acquire.part.0+0xd4/0x280 [ 10.403717][ C0] console_trylock_spinning+0xb5/0x1e0 [ 10.403718][ C0] vprintk_emit+0x320/0x3e0 [ 10.403719][ C0] _printk+0xc7/0x100 [ 10.403720][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 10.403721][ C0] call_timer_fn+0x160/0x4d0 [ 10.403723][ C0] __run_timers+0x68f/0xaa0 [ 10.403724][ C0] run_timer_softirq+0xf0/0x160 [ 10.403725][ C0] handle_softirqs+0x1d3/0x900 [ 10.403727][ C0] __irq_exit_rcu+0x145/0x1c0 [ 10.403728][ C0] irq_exit_rcu+0xe/0x30 [ 10.403730][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 10.403732][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 10.403733][ C0] pv_native_safe_halt+0xf/0x10 [ 10.403734][ C0] default_idle+0x9/0x10 [ 10.403736][ C0] default_idle_call+0x6e/0xb0 [ 10.403737][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 10.403739][ C0] do_idle+0xd8/0x190 [ 10.403741][ C0] cpu_startup_entry+0x53/0x70 [ 10.403742][ C0] rest_init+0x279/0x280 [ 10.403744][ C0] start_kernel+0x3af/0x3b0 [ 10.403745][ C0] x86_64_start_reservations+0x24/0x30 [ 10.403746][ C0] x86_64_start_kernel+0x12b/0x130 [ 10.403748][ C0] common_startup_64+0x13e/0x148 [ 10.403749][ C0] [ 10.403749][ C0] [ 10.403749][ C0] stack backtrace: [ 10.403752][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.403756][ C0] Tainted: [W]=WARN [ 10.403757][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.403759][ C0] Call Trace: [ 10.403760][ C0] [ 10.403762][ C0] dump_stack_lvl+0x6f/0xa0 [ 10.403765][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 10.403768][ C0] mark_lock_irq+0x989/0x9c0 [ 10.403769][ C0] ? add_lock_to_list+0x2c/0x1a0 [ 10.403773][ C0] mark_lock+0x1d7/0xa00 [ 10.403775][ C0] mark_usage+0x42/0x170 [ 10.403776][ C0] __lock_acquire+0x388/0xc20 [ 10.403778][ C0] lock_acquire.part.0+0xd4/0x280 [ 10.403780][ C0] ? console_trylock_spinning+0xa4/0x1e0 [ 10.403781][ C0] ? rcu_is_watching+0x16/0xd0 [ 10.403785][ C0] ? lock_acquire+0x13c/0x160 [ 10.403786][ C0] console_trylock_spinning+0xb5/0x1e0 [ 10.403788][ C0] ? console_trylock_spinning+0xa4/0x1e0 [ 10.403789][ C0] vprintk_emit+0x320/0x3e0 [ 10.403791][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 10.403794][ C0] ? clocksource_watchdog.part.0+0x4d0/0x540 [ 10.403795][ C0] _printk+0xc7/0x100 [ 10.403797][ C0] ? snapshot_read.cold+0x21/0x21 [ 10.403799][ C0] ? clocksource_watchdog.part.0+0x4d0/0x540 [ 10.403800][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 10.403803][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 10.403804][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 10.403806][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 10.403807][ C0] call_timer_fn+0x160/0x4d0 [ 10.403809][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 10.403810][ C0] ? debug_object_active_state+0x430/0x430 [ 10.403814][ C0] ? find_held_lock+0x2b/0x80 [ 10.403816][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 10.403817][ C0] ? rcu_is_watching+0x16/0xd0 [ 10.403820][ C0] __run_timers+0x68f/0xaa0 [ 10.403821][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 10.403823][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 10.403825][ C0] ? __lock_acquire+0x518/0xc20 [ 10.403827][ C0] ? __rwlock_init+0x150/0x150 [ 10.403830][ C0] run_timer_softirq+0xf0/0x160 [ 10.403831][ C0] ? __run_timers+0xaa0/0xaa0 [ 10.403833][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.403836][ C0] ? rcu_is_watching+0x16/0xd0 [ 10.403838][ C0] handle_softirqs+0x1d3/0x900 [ 10.403840][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 10.403841][ C0] ? _local_bh_enable+0xc0/0xc0 [ 10.403844][ C0] __irq_exit_rcu+0x145/0x1c0 [ 10.403846][ C0] irq_exit_rcu+0xe/0x30 [ 10.403848][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 10.403850][ C0] [ 10.403850][ C0] [ 10.403851][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 10.403852][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 10.403854][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 10.403856][ C0] Code: 48 8b 3d 94 f2 f7 01 e8 1f 00 00 00 48 2b 05 58 b3 98 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 16 11 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.403858][ C0] RSP: 0018:ffffffff9b807cf8 EFLAGS: 00000296 [ 10.403861][ C0] RAX: 0000000000044ff7 RBX: ffffffff9b81c600 RCX: ffffffff988ed307 [ 10.403862][ C0] RDX: ffffffff9b81c600 RSI: ffffffff9b67097f RDI: ffffffff9b08f560 [ 10.403863][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 10.403864][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff3700fa2 [ 10.403865][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 10.403866][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 10.403869][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 10.403871][ C0] default_idle+0x9/0x10 [ 10.403872][ C0] default_idle_call+0x6e/0xb0 [ 10.403874][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 10.403876][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 10.403878][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 10.403881][ C0] ? rcu_is_watching+0x16/0xd0 [ 10.403883][ C0] do_idle+0xd8/0x190 [ 10.403885][ C0] cpu_startup_entry+0x53/0x70 [ 10.403887][ C0] rest_init+0x279/0x280 [ 10.403889][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 10.403892][ C0] ? rest_init+0x280/0x280 [ 10.403894][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 10.403897][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 10.403899][ C0] ? acpi_enable+0x1e4/0x330 [ 10.403902][ C0] start_kernel+0x3af/0x3b0 [ 10.403904][ C0] x86_64_start_reservations+0x24/0x30 [ 10.403905][ C0] x86_64_start_kernel+0x12b/0x130 [ 10.403907][ C0] common_startup_64+0x13e/0x148 [ 10.403910][ C0] [ 10.475242][ T195] netdevsim netdevsim1057 eni1057np1: renamed from eth1 [ 10.531683][ T201] netdevsim netdevsim5417 eni5417np1: renamed from eth2 [ 14.691832][ T196] (udev-worker) (196) used greatest stack depth: 22696 bytes left [ 14.691860][ T196] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.691863][ T196] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 196, name: (udev-worker) [ 14.691865][ T196] preempt_count: 2, expected: 0 [ 14.691866][ T196] RCU nest depth: 0, expected: 0 [ 14.691868][ T196] INFO: lockdep is turned off. [ 14.691869][ T196] irq event stamp: 39118 [ 14.691870][ T196] hardirqs last enabled at (39117): [] irqentry_exit+0x21c/0x790 [ 14.691881][ T196] hardirqs last disabled at (39118): [] console_emit_next_record+0x3f8/0x4f0 [ 14.691886][ T196] softirqs last enabled at (39108): [] netif_change_name+0x216/0x8c0 [ 14.691890][ T196] softirqs last disabled at (39106): [] netif_change_name+0x1ad/0x8c0 [ 14.691893][ T196] Preemption disabled at: [ 14.691894][ T196] [<0000000000000000>] 0x0 [ 14.691902][ T196] CPU: 3 UID: 0 PID: 196 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.691906][ T196] Tainted: [W]=WARN [ 14.691908][ T196] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.691911][ T196] Call Trace: [ 14.691913][ T196] [ 14.691914][ T196] dump_stack_lvl+0x6f/0xa0 [ 14.691921][ T196] __might_resched.cold+0x1fe/0x2c1 [ 14.691925][ T196] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.691929][ T196] ? rcu_is_watching+0x16/0xd0 [ 14.691934][ T196] __kmalloc_noprof+0x443/0x760 [ 14.691938][ T196] ? __rwlock_init+0x150/0x150 [ 14.691941][ T196] ? alloc_buf.isra.0+0x4b/0x260 [ 14.691945][ T196] ? do_raw_spin_unlock+0x59/0x250 [ 14.691947][ T196] alloc_buf.isra.0+0x4b/0x260 [ 14.691950][ T196] put_chars+0x1e1/0x2f0 [ 14.691953][ T196] ? __send_to_port+0x420/0x420 [ 14.691954][ T196] ? printk_get_next_message+0x2fe/0x7d0 [ 14.691957][ T196] ? console_prepend_replay+0x20/0x20 [ 14.691960][ T196] ? desc_read+0x219/0x2f0 [ 14.691963][ T196] hvc_console_print+0x292/0x780 [ 14.691968][ T196] ? hvc_write+0x3a0/0x3a0 [ 14.691970][ T196] ? __rwlock_init+0x150/0x150 [ 14.691972][ T196] ? rcu_is_watching+0x16/0xd0 [ 14.691974][ T196] ? rcu_is_watching+0x16/0xd0 [ 14.691976][ T196] ? lock_acquire+0x13c/0x160 [ 14.691978][ T196] console_emit_next_record+0x252/0x4f0 [ 14.691982][ T196] ? devkmsg_read+0x4e0/0x4e0 [ 14.691984][ T196] ? _prb_read_valid+0x6e0/0x6e0 [ 14.691987][ T196] ? __asan_memmove+0x3c/0x60 [ 14.691990][ T196] ? rcu_is_watching+0x16/0xd0 [ 14.691992][ T196] ? rcu_is_watching+0x16/0xd0 [ 14.691994][ T196] ? rcu_is_watching+0x16/0xd0 [ 14.691996][ T196] ? lock_acquire+0x13c/0x160 [ 14.691999][ T196] ? console_flush_one_record+0x111/0x710 [ 14.692001][ T196] console_flush_one_record+0x46f/0x710 [ 14.692004][ T196] ? console_emit_next_record+0x4f0/0x4f0 [ 14.692007][ T196] console_unlock+0xee/0x1f0 [ 14.692009][ T196] ? lock_acquire+0x13c/0x160 [ 14.692011][ T196] ? console_flush_one_record+0x710/0x710 [ 14.692014][ T196] ? rcu_is_watching+0x16/0xd0 [ 14.692016][ T196] ? lock_release+0x184/0x1f0 [ 14.692017][ T196] ? lock_acquire+0x60/0x160 [ 14.692019][ T196] ? sync_exp_reset_tree_hotplug+0x3a0/0x3f0 [ 14.692022][ T196] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.692024][ T196] ? vprintk_emit+0x320/0x3e0 [ 14.692027][ T196] vprintk_emit+0x37c/0x3e0 [ 14.692030][ T196] ? wake_up_klogd_work_func+0x90/0x90 [ 14.692033][ T196] ? do_raw_read_unlock+0x70/0x70 [ 14.692035][ T196] ? forget_original_parent+0x5c/0xdb0 [ 14.692039][ T196] _printk+0xc7/0x100 [ 14.692043][ T196] ? snapshot_read.cold+0x21/0x21 [ 14.692045][ T196] ? do_raw_spin_lock+0x131/0x280 [ 14.692048][ T196] ? do_raw_spin_lock+0x131/0x280 [ 14.692050][ T196] ? __rwlock_init+0x150/0x150 [ 14.692053][ T196] ? do_raw_spin_lock+0x131/0x280 [ 14.692055][ T196] do_exit.cold+0x82/0x9c [ 14.692058][ T196] ? vfs_read+0x3dd/0x7b0 [ 14.692062][ T196] ? exit_notify+0x890/0x890 [ 14.692065][ T196] ? posixtimer_sig_unignore.isra.0+0x5f0/0x5f0 [ 14.692068][ T196] ? rcu_is_watching+0x16/0xd0 [ 14.692071][ T196] do_group_exit+0xb8/0x370 [ 14.692074][ T196] __x64_sys_exit_group+0x3c/0x50 [ 14.692077][ T196] x64_sys_call+0x1567/0x1570 [ 14.692080][ T196] do_syscall_64+0xff/0x530 [ 14.692083][ T196] ? exc_page_fault+0xee/0x100 [ 14.692086][ T196] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.692089][ T196] RIP: 0033:0x7f307ac661b8 [ 14.692091][ T196] Code: Unable to access opcode bytes at 0x7f307ac6618e. [ 14.692093][ T196] RSP: 002b:00007ffca7a7a818 EFLAGS: 00000256 ORIG_RAX: 00000000000000e7 [ 14.692097][ T196] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f307ac661b8 [ 14.692099][ T196] RDX: 0000000000000000 RSI: fffffffffffffe90 RDI: 0000000000000000 [ 14.692101][ T196] RBP: 00007ffca7a7a9a0 R08: 000055b41f4d54b8 R09: 0000000000000000 [ 14.692102][ T196] R10: 0000000000000000 R11: 0000000000000256 R12: 0000000000000000 [ 14.692103][ T196] R13: 00007f307a4c4050 R14: 00007f307b197d9e R15: 000055b41f3533a0 [ 14.692107][ T196]