[ 9.173343][ T87] netdevsim netdevsim646 eni646np1: renamed from eth0 [ 9.173400][ T87] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.173402][ T87] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 87, name: (udev-worker) [ 9.173404][ T87] preempt_count: 1, expected: 0 [ 9.173405][ T87] RCU nest depth: 0, expected: 0 [ 9.173406][ T87] locks held by (udev-worker)/87: 6, last CPU#0: [ 9.173408][ T87] #0: ffffffffba8fe280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 9.173420][ T87] #1: ff1100000c6b2dd8 (&dev_instance_lock_key#3){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 9.173424][ T87] #2: ffffffffba199cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.173430][ T87] #3: ffffffffba199d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.173433][ T87] #4: ffffffffba089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.173436][ T87] #5: ffffffffba089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 9.173440][ T87] irq event stamp: 362360 [ 9.173440][ T87] hardirqs last enabled at (362359): [] __down_trylock_console_sem+0x86/0xa0 [ 9.173443][ T87] hardirqs last disabled at (362360): [] console_emit_next_record+0x3f8/0x4f0 [ 9.173444][ T87] softirqs last enabled at (362354): [] netif_change_name+0x216/0x8c0 [ 9.173447][ T87] softirqs last disabled at (362352): [] netif_change_name+0x1ad/0x8c0 [ 9.173449][ T87] Preemption disabled at: [ 9.173450][ T87] [] vprintk_emit+0x31b/0x3e0 [ 9.173455][ T87] CPU: 0 UID: 0 PID: 87 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.173458][ T87] Tainted: [W]=WARN [ 9.173459][ T87] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.173461][ T87] Call Trace: [ 9.173462][ T87] [ 9.173464][ T87] dump_stack_lvl+0x6f/0xa0 [ 9.173469][ T87] ? vprintk_emit+0x31b/0x3e0 [ 9.173471][ T87] __might_resched.cold+0x1fe/0x2c1 [ 9.173476][ T87] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.173480][ T87] ? __kmalloc_noprof+0xdb/0x760 [ 9.173485][ T87] __kmalloc_noprof+0x443/0x760 [ 9.173487][ T87] ? alloc_buf.isra.0+0x4b/0x260 [ 9.173492][ T87] ? do_raw_spin_unlock+0x59/0x250 [ 9.173495][ T87] alloc_buf.isra.0+0x4b/0x260 [ 9.173498][ T87] put_chars+0x1e1/0x2f0 [ 9.173501][ T87] ? __send_to_port+0x420/0x420 [ 9.173504][ T87] ? validate_chain+0x34a/0xc20 [ 9.173509][ T87] hvc_console_print+0x292/0x780 [ 9.173512][ T87] ? __lock_acquire+0x518/0xc20 [ 9.173517][ T87] ? hvc_write+0x3a0/0x3a0 [ 9.173519][ T87] ? rcu_is_watching+0x16/0xd0 [ 9.173526][ T87] console_emit_next_record+0x252/0x4f0 [ 9.173529][ T87] ? devkmsg_read+0x4e0/0x4e0 [ 9.173533][ T87] ? rcu_is_watching+0x16/0xd0 [ 9.173535][ T87] ? lock_acquire+0x13c/0x160 [ 9.173539][ T87] console_flush_one_record+0x46f/0x710 [ 9.173543][ T87] ? console_emit_next_record+0x4f0/0x4f0 [ 9.173545][ T87] ? __lock_acquire+0x518/0xc20 [ 9.173550][ T87] console_unlock+0xee/0x1f0 [ 9.173552][ T87] ? console_flush_one_record+0x710/0x710 [ 9.173554][ T87] ? rcu_is_watching+0x16/0xd0 [ 9.173556][ T87] ? lock_acquire+0x60/0x160 [ 9.173559][ T87] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.173561][ T87] ? vprintk_emit+0x320/0x3e0 [ 9.173564][ T87] vprintk_emit+0x37c/0x3e0 [ 9.173567][ T87] ? wake_up_klogd_work_func+0x90/0x90 [ 9.173569][ T87] ? write_profile+0xf0/0xf0 [ 9.173572][ T87] ? unwind_get_return_address+0x67/0xd0 [ 9.173579][ T87] dev_vprintk_emit+0x27f/0x2c0 [ 9.173584][ T87] ? device_rename.cold+0xa/0xa [ 9.173588][ T87] ? filter_irq_stacks+0xd0/0xd0 [ 9.173594][ T87] dev_printk_emit+0xb9/0xee [ 9.173597][ T87] ? dev_vprintk_emit+0x2c0/0x2c0 [ 9.173601][ T87] ? check_prev_add+0x316/0xe90 [ 9.173606][ T87] __netdev_printk+0x160/0x1d0 [ 9.173611][ T87] netdev_info+0xe2/0x116 [ 9.173613][ T87] ? netdev_notice+0x120/0x120 [ 9.173615][ T87] ? find_held_lock+0x2b/0x80 [ 9.173619][ T87] ? __lock_release.isra.0+0x69/0x1a0 [ 9.173622][ T87] ? mark_held_locks+0x40/0x70 [ 9.173625][ T87] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 9.173627][ T87] netif_change_name.cold+0x4f/0x89 [ 9.173630][ T87] ? __lock_acquire+0x518/0xc20 [ 9.173632][ T87] ? rwsem_optimistic_spin+0x3c7/0x480 [ 9.173634][ T87] ? find_held_lock+0x2/0x80 [ 9.173637][ T87] ? netdev_adjacent_rename_links+0x470/0x470 [ 9.173640][ T87] ? find_held_lock+0x2b/0x80 [ 9.173643][ T87] ? __asan_memset+0x27/0x50 [ 9.173649][ T87] do_setlink.isra.0+0x1f7d/0x2a60 [ 9.173652][ T87] ? __lock_acquire+0x518/0xc20 [ 9.173654][ T87] ? rtnl_link_get_size+0x350/0x350 [ 9.173656][ T87] ? mark_usage+0x61/0x170 [ 9.173657][ T87] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.173660][ T87] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.173662][ T87] ? validate_chain+0x38b/0xc20 [ 9.173666][ T87] ? __lock_acquire+0x518/0xc20 [ 9.173671][ T87] ? lock_acquire.part.0+0xd4/0x280 [ 9.173672][ T87] ? rtnl_setlink+0x29d/0x920 [ 9.173675][ T87] ? rcu_is_watching+0x16/0xd0 [ 9.173677][ T87] ? lock_acquire+0x13c/0x160 [ 9.173679][ T87] ? rcu_is_watching+0x16/0xd0 [ 9.173680][ T87] ? rcu_is_watching+0x16/0xd0 [ 9.173682][ T87] ? trace_contention_end+0xb3/0x180 [ 9.173685][ T87] ? __mutex_lock+0x1db/0x1ea0 [ 9.173688][ T87] ? __mutex_lock+0x9a3/0x1ea0 [ 9.173689][ T87] ? __lock_acquire+0x518/0xc20 [ 9.173691][ T87] ? rtnl_setlink+0x29d/0x920 [ 9.173693][ T87] ? mark_usage+0x61/0x170 [ 9.173696][ T87] ? ww_mutex_lock+0x160/0x160 [ 9.173698][ T87] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.173704][ T87] ? mark_usage+0x61/0x170 [ 9.173707][ T87] ? cap_capable+0x1d7/0x3d0 [ 9.173715][ T87] rtnl_setlink+0x527/0x920 [ 9.173718][ T87] ? __rtnl_newlink+0xa50/0xa50 [ 9.173720][ T87] ? __lock_acquire+0x518/0xc20 [ 9.173743][ T87] ? lock_acquire.part.0+0xd4/0x280 [ 9.173745][ T87] ? find_held_lock+0x2b/0x80 [ 9.173748][ T87] ? __lock_release.isra.0+0x69/0x1a0 [ 9.173749][ T87] ? mark_usage+0x61/0x170 [ 9.173751][ T87] ? __lock_acquire+0x518/0xc20 [ 9.173762][ T87] ? lock_acquire.part.0+0xd4/0x280 [ 9.173763][ T87] ? find_held_lock+0x2b/0x80 [ 9.173766][ T87] ? __rtnl_newlink+0xa50/0xa50 [ 9.173768][ T87] ? __lock_release.isra.0+0x69/0x1a0 [ 9.173771][ T87] ? __rtnl_newlink+0xa50/0xa50 [ 9.173773][ T87] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.173777][ T87] ? rtnl_link_fill+0x900/0x900 [ 9.173779][ T87] ? __lock_acquire+0x518/0xc20 [ 9.173783][ T87] ? lock_acquire.part.0+0xd4/0x280 [ 9.173785][ T87] ? find_held_lock+0x2b/0x80 [ 9.173788][ T87] netlink_rcv_skb+0x14e/0x3a0 [ 9.173792][ T87] ? rtnl_link_fill+0x900/0x900 [ 9.173795][ T87] ? netlink_ack+0xcd0/0xcd0 [ 9.173801][ T87] ? netlink_deliver_tap+0xc5/0x330 [ 9.173803][ T87] ? netlink_deliver_tap+0x13c/0x330 [ 9.173808][ T87] netlink_unicast+0x486/0x750 [ 9.173812][ T87] ? netlink_attachskb+0x810/0x810 [ 9.173814][ T87] ? __lock_acquire+0x518/0xc20 [ 9.173819][ T87] netlink_sendmsg+0x735/0xc60 [ 9.173823][ T87] ? netlink_unicast+0x750/0x750 [ 9.173827][ T87] ? __might_fault+0x97/0x140 [ 9.173830][ T87] ? __might_fault+0x97/0x140 [ 9.173833][ T87] __sys_sendto+0x2aa/0x400 [ 9.173837][ T87] ? __ia32_sys_getpeername+0xd0/0xd0 [ 9.173850][ T87] __x64_sys_sendto+0xe4/0x1f0 [ 9.173852][ T87] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.173856][ T87] ? lockdep_hardirqs_on+0x91/0x130 [ 9.173859][ T87] ? do_syscall_64+0xa6/0x530 [ 9.173860][ T87] do_syscall_64+0xff/0x530 [ 9.173862][ T87] ? exc_page_fault+0xee/0x100 [ 9.173865][ T87] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.173867][ T87] RIP: 0033:0x7f561d0c254e [ 9.173871][ T87] 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.173872][ T87] RSP: 002b:00007fffc0eb3120 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 9.173875][ T87] RAX: ffffffffffffffda RBX: 00005648546ae010 RCX: 00007f561d0c254e [ 9.173876][ T87] RDX: 0000000000000030 RSI: 00005648547ffc00 RDI: 000000000000001c [ 9.173877][ T87] RBP: 00007fffc0eb3130 R08: 00007fffc0eb3180 R09: 0000000000000080 [ 9.173878][ T87] R10: 0000000000000000 R11: 0000000000000202 R12: 000056485480a3f0 [ 9.173879][ T87] R13: 00007fffc0eb3264 R14: 0000000000000000 R15: 0000000000000000 [ 9.173886][ T87]