[ 10.204600][ T177] netdevsim netdevsim398 eni398np1: renamed from eth0 [ 10.204692][ T177] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.204695][ T177] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 177, name: (udev-worker) [ 10.204696][ T177] preempt_count: 1, expected: 0 [ 10.204697][ T177] RCU nest depth: 0, expected: 0 [ 10.204698][ T177] locks held by (udev-worker)/177: 6, last CPU#0: [ 10.204700][ T177] #0: ffffffff938fe280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 10.204712][ T177] #1: ff110000025fadd8 (&dev_instance_lock_key#3){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 10.204717][ T177] #2: ffffffff93199cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.204723][ T177] #3: ffffffff93199d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.204726][ T177] #4: ffffffff93089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.204730][ T177] #5: ffffffff93089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.204734][ T177] irq event stamp: 33112 [ 10.204734][ T177] hardirqs last enabled at (33111): [] __down_trylock_console_sem+0x86/0xa0 [ 10.204737][ T177] hardirqs last disabled at (33112): [] console_emit_next_record+0x3f8/0x4f0 [ 10.204739][ T177] softirqs last enabled at (33106): [] netif_change_name+0x216/0x8c0 [ 10.204741][ T177] softirqs last disabled at (33104): [] netif_change_name+0x1ad/0x8c0 [ 10.204743][ T177] Preemption disabled at: [ 10.204744][ T177] [] vprintk_emit+0x31b/0x3e0 [ 10.204750][ T177] CPU: 0 UID: 0 PID: 177 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.204754][ T177] Tainted: [W]=WARN [ 10.204755][ T177] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.204757][ T177] Call Trace: [ 10.204758][ T177] [ 10.204760][ T177] dump_stack_lvl+0x6f/0xa0 [ 10.204766][ T177] ? vprintk_emit+0x31b/0x3e0 [ 10.204768][ T177] __might_resched.cold+0x1fe/0x2c1 [ 10.204772][ T177] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.204776][ T177] ? __kmalloc_noprof+0xdb/0x760 [ 10.204781][ T177] __kmalloc_noprof+0x443/0x760 [ 10.204783][ T177] ? alloc_buf.isra.0+0x4b/0x260 [ 10.204789][ T177] ? do_raw_spin_unlock+0x59/0x250 [ 10.204791][ T177] alloc_buf.isra.0+0x4b/0x260 [ 10.204794][ T177] put_chars+0x1e1/0x2f0 [ 10.204797][ T177] ? __send_to_port+0x420/0x420 [ 10.204800][ T177] ? validate_chain+0x34a/0xc20 [ 10.204805][ T177] hvc_console_print+0x292/0x780 [ 10.204808][ T177] ? __lock_acquire+0x518/0xc20 [ 10.204813][ T177] ? hvc_write+0x3a0/0x3a0 [ 10.204815][ T177] ? rcu_is_watching+0x16/0xd0 [ 10.204822][ T177] console_emit_next_record+0x252/0x4f0 [ 10.204825][ T177] ? devkmsg_read+0x4e0/0x4e0 [ 10.204830][ T177] ? rcu_is_watching+0x16/0xd0 [ 10.204832][ T177] ? lock_acquire+0x13c/0x160 [ 10.204836][ T177] console_flush_one_record+0x46f/0x710 [ 10.204840][ T177] ? console_emit_next_record+0x4f0/0x4f0 [ 10.204841][ T177] ? __lock_acquire+0x518/0xc20 [ 10.204847][ T177] console_unlock+0xee/0x1f0 [ 10.204849][ T177] ? console_flush_one_record+0x710/0x710 [ 10.204851][ T177] ? rcu_is_watching+0x16/0xd0 [ 10.204853][ T177] ? lock_acquire+0x60/0x160 [ 10.204856][ T177] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.204858][ T177] ? vprintk_emit+0x320/0x3e0 [ 10.204861][ T177] vprintk_emit+0x37c/0x3e0 [ 10.204865][ T177] ? wake_up_klogd_work_func+0x90/0x90 [ 10.204867][ T177] ? write_profile+0xf0/0xf0 [ 10.204870][ T177] ? unwind_get_return_address+0x67/0xd0 [ 10.204877][ T177] dev_vprintk_emit+0x27f/0x2c0 [ 10.204882][ T177] ? device_rename.cold+0xa/0xa [ 10.204886][ T177] ? filter_irq_stacks+0xd0/0xd0 [ 10.204892][ T177] dev_printk_emit+0xb9/0xee [ 10.204895][ T177] ? dev_vprintk_emit+0x2c0/0x2c0 [ 10.204899][ T177] ? check_prev_add+0x316/0xe90 [ 10.204904][ T177] __netdev_printk+0x160/0x1d0 [ 10.204910][ T177] netdev_info+0xe2/0x116 [ 10.204912][ T177] ? netdev_notice+0x120/0x120 [ 10.204915][ T177] ? find_held_lock+0x2b/0x80 [ 10.204919][ T177] ? __lock_release.isra.0+0x69/0x1a0 [ 10.204921][ T177] ? mark_held_locks+0x40/0x70 [ 10.204924][ T177] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.204927][ T177] netif_change_name.cold+0x4f/0x89 [ 10.204930][ T177] ? __lock_acquire+0x518/0xc20 [ 10.204931][ T177] ? rwsem_optimistic_spin+0x3c7/0x480 [ 10.204934][ T177] ? find_held_lock+0x2/0x80 [ 10.204937][ T177] ? netdev_adjacent_rename_links+0x470/0x470 [ 10.204939][ T177] ? find_held_lock+0x2b/0x80 [ 10.204943][ T177] ? __asan_memset+0x27/0x50 [ 10.204949][ T177] do_setlink.isra.0+0x1f7d/0x2a60 [ 10.204951][ T177] ? __lock_acquire+0x518/0xc20 [ 10.204954][ T177] ? rtnl_link_get_size+0x350/0x350 [ 10.204956][ T177] ? mark_usage+0x61/0x170 [ 10.204957][ T177] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.204960][ T177] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.204962][ T177] ? validate_chain+0x38b/0xc20 [ 10.204966][ T177] ? __lock_acquire+0x518/0xc20 [ 10.204971][ T177] ? lock_acquire.part.0+0xd4/0x280 [ 10.204972][ T177] ? rtnl_setlink+0x29d/0x920 [ 10.204976][ T177] ? rcu_is_watching+0x16/0xd0 [ 10.204978][ T177] ? lock_acquire+0x13c/0x160 [ 10.204979][ T177] ? rcu_is_watching+0x16/0xd0 [ 10.204981][ T177] ? rcu_is_watching+0x16/0xd0 [ 10.204983][ T177] ? trace_contention_end+0xb3/0x180 [ 10.204985][ T177] ? __mutex_lock+0x1db/0x1ea0 [ 10.204988][ T177] ? __mutex_lock+0x9a3/0x1ea0 [ 10.204990][ T177] ? __lock_acquire+0x518/0xc20 [ 10.204991][ T177] ? rtnl_setlink+0x29d/0x920 [ 10.204994][ T177] ? mark_usage+0x61/0x170 [ 10.204996][ T177] ? ww_mutex_lock+0x160/0x160 [ 10.204998][ T177] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.205004][ T177] ? mark_usage+0x61/0x170 [ 10.205007][ T177] ? cap_capable+0x1d7/0x3d0 [ 10.205016][ T177] rtnl_setlink+0x527/0x920 [ 10.205019][ T177] ? __rtnl_newlink+0xa50/0xa50 [ 10.205021][ T177] ? __lock_acquire+0x518/0xc20 [ 10.205044][ T177] ? lock_acquire.part.0+0xd4/0x280 [ 10.205046][ T177] ? find_held_lock+0x2b/0x80 [ 10.205049][ T177] ? __lock_release.isra.0+0x69/0x1a0 [ 10.205051][ T177] ? mark_usage+0x61/0x170 [ 10.205053][ T177] ? __lock_acquire+0x518/0xc20 [ 10.205057][ T177] ? lock_acquire.part.0+0xd4/0x280 [ 10.205059][ T177] ? find_held_lock+0x2b/0x80 [ 10.205061][ T177] ? __rtnl_newlink+0xa50/0xa50 [ 10.205063][ T177] ? __lock_release.isra.0+0x69/0x1a0 [ 10.205067][ T177] ? __rtnl_newlink+0xa50/0xa50 [ 10.205069][ T177] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.205073][ T177] ? rtnl_link_fill+0x900/0x900 [ 10.205075][ T177] ? __lock_acquire+0x518/0xc20 [ 10.205079][ T177] ? lock_acquire.part.0+0xd4/0x280 [ 10.205081][ T177] ? find_held_lock+0x2b/0x80 [ 10.205085][ T177] netlink_rcv_skb+0x14e/0x3a0 [ 10.205088][ T177] ? rtnl_link_fill+0x900/0x900 [ 10.205091][ T177] ? netlink_ack+0xcd0/0xcd0 [ 10.205098][ T177] ? netlink_deliver_tap+0xc5/0x330 [ 10.205100][ T177] ? netlink_deliver_tap+0x13c/0x330 [ 10.205105][ T177] netlink_unicast+0x486/0x750 [ 10.205109][ T177] ? netlink_attachskb+0x810/0x810 [ 10.205112][ T177] ? __lock_acquire+0x518/0xc20 [ 10.205117][ T177] netlink_sendmsg+0x735/0xc60 [ 10.205121][ T177] ? netlink_unicast+0x750/0x750 [ 10.205125][ T177] ? __might_fault+0x97/0x140 [ 10.205128][ T177] ? __might_fault+0x97/0x140 [ 10.205132][ T177] __sys_sendto+0x2aa/0x400 [ 10.205136][ T177] ? __ia32_sys_getpeername+0xd0/0xd0 [ 10.205146][ T177] ? exc_page_fault+0x87/0x100 [ 10.205153][ T177] __x64_sys_sendto+0xe4/0x1f0 [ 10.205154][ T177] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.205158][ T177] ? lockdep_hardirqs_on+0x91/0x130 [ 10.205160][ T177] ? do_syscall_64+0xa6/0x530 [ 10.205162][ T177] do_syscall_64+0xff/0x530 [ 10.205163][ T177] ? exc_page_fault+0xee/0x100 [ 10.205166][ T177] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.205168][ T177] RIP: 0033:0x7faea6cd654e [ 10.205175][ T177] 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.205177][ T177] RSP: 002b:00007fff23f23b90 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 10.205180][ T177] RAX: ffffffffffffffda RBX: 000055ab430e8720 RCX: 00007faea6cd654e [ 10.205181][ T177] RDX: 0000000000000030 RSI: 000055ab430e0580 RDI: 0000000000000012 [ 10.205182][ T177] RBP: 00007fff23f23ba0 R08: 00007fff23f23bf0 R09: 0000000000000080 [ 10.205183][ T177] R10: 0000000000000000 R11: 0000000000000202 R12: 000055ab4324a840 [ 10.205184][ T177] R13: 00007fff23f23cd4 R14: 0000000000000000 R15: 0000000000000000 [ 10.205191][ T177]