[ 9.524822][ T183] netdevsim netdevsim31175 eni31175np1: renamed from eth0 [ 9.524879][ T183] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.524882][ T183] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 183, name: (udev-worker) [ 9.524883][ T183] preempt_count: 1, expected: 0 [ 9.524884][ T183] RCU nest depth: 0, expected: 0 [ 9.524885][ T183] locks held by (udev-worker)/183: 6, last CPU#0: [ 9.524887][ T183] #0: ffffffff9d105fc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 9.524899][ T183] #1: ff11000002402de8 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 9.524904][ T183] #2: ffffffff9c999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.524909][ T183] #3: ffffffff9c999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.524913][ T183] #4: ffffffff9c889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.524916][ T183] #5: ffffffff9c889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 9.524920][ T183] irq event stamp: 40230 [ 9.524921][ T183] hardirqs last enabled at (40229): [] __down_trylock_console_sem+0x86/0xa0 [ 9.524924][ T183] hardirqs last disabled at (40230): [] console_emit_next_record+0x3f8/0x4f0 [ 9.524926][ T183] softirqs last enabled at (40224): [] netif_change_name+0x216/0x8c0 [ 9.524935][ T183] softirqs last disabled at (40222): [] netif_change_name+0x1ad/0x8c0 [ 9.524937][ T183] Preemption disabled at: [ 9.524938][ T183] [] vprintk_emit+0x31b/0x3e0 [ 9.524943][ T183] CPU: 0 UID: 0 PID: 183 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.524946][ T183] Tainted: [W]=WARN [ 9.524947][ T183] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.524949][ T183] Call Trace: [ 9.524950][ T183] [ 9.524952][ T183] dump_stack_lvl+0x6f/0xa0 [ 9.524959][ T183] ? vprintk_emit+0x31b/0x3e0 [ 9.524960][ T183] __might_resched.cold+0x1fe/0x2c1 [ 9.524965][ T183] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.524969][ T183] ? __kmalloc_noprof+0xdb/0x760 [ 9.524975][ T183] __kmalloc_noprof+0x443/0x760 [ 9.524977][ T183] ? alloc_buf.isra.0+0x4b/0x260 [ 9.524983][ T183] ? do_raw_spin_unlock+0x59/0x250 [ 9.524986][ T183] alloc_buf.isra.0+0x4b/0x260 [ 9.524990][ T183] put_chars+0x1e1/0x2f0 [ 9.524993][ T183] ? __send_to_port+0x420/0x420 [ 9.524997][ T183] ? validate_chain+0x34a/0xc20 [ 9.525002][ T183] hvc_console_print+0x292/0x780 [ 9.525004][ T183] ? __lock_acquire+0x518/0xc20 [ 9.525010][ T183] ? hvc_write+0x3a0/0x3a0 [ 9.525013][ T183] ? rcu_is_watching+0x16/0xd0 [ 9.525018][ T183] console_emit_next_record+0x252/0x4f0 [ 9.525022][ T183] ? devkmsg_read+0x4e0/0x4e0 [ 9.525027][ T183] ? rcu_is_watching+0x16/0xd0 [ 9.525028][ T183] ? lock_acquire+0x13c/0x160 [ 9.525032][ T183] console_flush_one_record+0x46f/0x710 [ 9.525037][ T183] ? console_emit_next_record+0x4f0/0x4f0 [ 9.525038][ T183] ? __lock_acquire+0x518/0xc20 [ 9.525044][ T183] console_unlock+0xee/0x1f0 [ 9.525047][ T183] ? console_flush_one_record+0x710/0x710 [ 9.525049][ T183] ? rcu_is_watching+0x16/0xd0 [ 9.525050][ T183] ? lock_acquire+0x60/0x160 [ 9.525054][ T183] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.525056][ T183] ? vprintk_emit+0x320/0x3e0 [ 9.525059][ T183] vprintk_emit+0x37c/0x3e0 [ 9.525061][ T183] ? wake_up_klogd_work_func+0x90/0x90 [ 9.525063][ T183] ? write_profile+0xf0/0xf0 [ 9.525066][ T183] ? unwind_get_return_address+0x67/0xd0 [ 9.525072][ T183] dev_vprintk_emit+0x27f/0x2c0 [ 9.525077][ T183] ? device_rename.cold+0xa/0xa [ 9.525081][ T183] ? filter_irq_stacks+0xd0/0xd0 [ 9.525087][ T183] dev_printk_emit+0xb9/0xee [ 9.525089][ T183] ? dev_vprintk_emit+0x2c0/0x2c0 [ 9.525093][ T183] ? check_prev_add+0x316/0xe90 [ 9.525098][ T183] __netdev_printk+0x160/0x1d0 [ 9.525104][ T183] netdev_info+0xe2/0x116 [ 9.525107][ T183] ? netdev_notice+0x120/0x120 [ 9.525109][ T183] ? find_held_lock+0x2b/0x80 [ 9.525112][ T183] ? __lock_release.isra.0+0x69/0x1a0 [ 9.525115][ T183] ? mark_held_locks+0x40/0x70 [ 9.525118][ T183] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 9.525121][ T183] netif_change_name.cold+0x4f/0x89 [ 9.525124][ T183] ? __lock_acquire+0x518/0xc20 [ 9.525126][ T183] ? mark_lock_irq+0x747/0x9c0 [ 9.525128][ T183] ? find_held_lock+0x2/0x80 [ 9.525130][ T183] ? netdev_adjacent_rename_links+0x470/0x470 [ 9.525133][ T183] ? find_held_lock+0x2b/0x80 [ 9.525136][ T183] ? __asan_memset+0x27/0x50 [ 9.525141][ T183] do_setlink.isra.0+0x1f7d/0x2a60 [ 9.525144][ T183] ? __lock_acquire+0x518/0xc20 [ 9.525147][ T183] ? rtnl_link_get_size+0x350/0x350 [ 9.525149][ T183] ? mark_usage+0x61/0x170 [ 9.525150][ T183] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.525153][ T183] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.525156][ T183] ? validate_chain+0x38b/0xc20 [ 9.525160][ T183] ? __lock_acquire+0x518/0xc20 [ 9.525165][ T183] ? lock_acquire.part.0+0xd4/0x280 [ 9.525167][ T183] ? rtnl_setlink+0x29d/0x920 [ 9.525170][ T183] ? rcu_is_watching+0x16/0xd0 [ 9.525171][ T183] ? lock_acquire+0x13c/0x160 [ 9.525173][ T183] ? rcu_is_watching+0x16/0xd0 [ 9.525174][ T183] ? rcu_is_watching+0x16/0xd0 [ 9.525176][ T183] ? trace_contention_end+0xb3/0x180 [ 9.525178][ T183] ? __mutex_lock+0x1db/0x1ea0 [ 9.525182][ T183] ? __mutex_lock+0x9a3/0x1ea0 [ 9.525184][ T183] ? __lock_acquire+0x518/0xc20 [ 9.525186][ T183] ? rtnl_setlink+0x29d/0x920 [ 9.525189][ T183] ? mark_usage+0x61/0x170 [ 9.525191][ T183] ? ww_mutex_lock+0x160/0x160 [ 9.525194][ T183] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.525199][ T183] ? mark_usage+0x61/0x170 [ 9.525202][ T183] ? cap_capable+0x1d7/0x3d0 [ 9.525210][ T183] rtnl_setlink+0x527/0x920 [ 9.525213][ T183] ? __rtnl_newlink+0xa50/0xa50 [ 9.525215][ T183] ? __lock_acquire+0x518/0xc20 [ 9.525237][ T183] ? lock_acquire.part.0+0xd4/0x280 [ 9.525239][ T183] ? find_held_lock+0x2b/0x80 [ 9.525242][ T183] ? __lock_release.isra.0+0x69/0x1a0 [ 9.525244][ T183] ? mark_usage+0x61/0x170 [ 9.525246][ T183] ? __lock_acquire+0x518/0xc20 [ 9.525251][ T183] ? lock_acquire.part.0+0xd4/0x280 [ 9.525253][ T183] ? find_held_lock+0x2b/0x80 [ 9.525255][ T183] ? __rtnl_newlink+0xa50/0xa50 [ 9.525257][ T183] ? __lock_release.isra.0+0x69/0x1a0 [ 9.525261][ T183] ? __rtnl_newlink+0xa50/0xa50 [ 9.525263][ T183] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.525267][ T183] ? rtnl_link_fill+0x900/0x900 [ 9.525269][ T183] ? __lock_acquire+0x518/0xc20 [ 9.525273][ T183] ? lock_acquire.part.0+0xd4/0x280 [ 9.525275][ T183] ? find_held_lock+0x2b/0x80 [ 9.525279][ T183] netlink_rcv_skb+0x14e/0x3a0 [ 9.525282][ T183] ? rtnl_link_fill+0x900/0x900 [ 9.525285][ T183] ? netlink_ack+0xcd0/0xcd0 [ 9.525292][ T183] ? netlink_deliver_tap+0xc5/0x330 [ 9.525293][ T183] ? netlink_deliver_tap+0x13c/0x330 [ 9.525298][ T183] netlink_unicast+0x486/0x750 [ 9.525302][ T183] ? netlink_attachskb+0x810/0x810 [ 9.525305][ T183] ? __lock_acquire+0x518/0xc20 [ 9.525309][ T183] netlink_sendmsg+0x735/0xc60 [ 9.525314][ T183] ? netlink_unicast+0x750/0x750 [ 9.525317][ T183] ? __might_fault+0x97/0x140 [ 9.525321][ T183] ? __might_fault+0x97/0x140 [ 9.525325][ T183] __sys_sendto+0x2aa/0x400 [ 9.525328][ T183] ? __ia32_sys_getpeername+0xd0/0xd0 [ 9.525338][ T183] ? exc_page_fault+0x87/0x100 [ 9.525343][ T183] __x64_sys_sendto+0xe4/0x1f0 [ 9.525345][ T183] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.525349][ T183] ? lockdep_hardirqs_on+0x91/0x130 [ 9.525350][ T183] ? do_syscall_64+0xa6/0x530 [ 9.525353][ T183] do_syscall_64+0xff/0x530 [ 9.525355][ T183] ? exc_page_fault+0xee/0x100 [ 9.525357][ T183] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.525359][ T183] RIP: 0033:0x7efe33e6654e [ 9.525364][ T183] 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 [ 9.525366][ T183] RSP: 002b:00007ffd46b94a60 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 9.525368][ T183] RAX: ffffffffffffffda RBX: 000055f2c004c180 RCX: 00007efe33e6654e [ 9.525370][ T183] RDX: 0000000000000030 RSI: 000055f2c0051770 RDI: 000000000000001a [ 9.525371][ T183] RBP: 00007ffd46b94a70 R08: 00007ffd46b94ac0 R09: 0000000000000080 [ 9.525371][ T183] R10: 0000000000000000 R11: 0000000000000202 R12: 000055f2c01c5610 [ 9.525372][ T183] R13: 00007ffd46b94ba4 R14: 0000000000000000 R15: 0000000000000000 [ 9.525379][ T183]