[ 10.931795][ T187] netdevsim netdevsim18825 eni18825np1: renamed from eth0 [ 10.931883][ T187] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.931886][ T187] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 187, name: (udev-worker) [ 10.931887][ T187] preempt_count: 1, expected: 0 [ 10.931888][ T187] RCU nest depth: 0, expected: 0 [ 10.931889][ T187] locks held by (udev-worker)/187: 6, last CPU#1: [ 10.931891][ T187] #0: ffffffffa8505fc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 10.931904][ T187] #1: ff11000002402de8 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 10.931908][ T187] #2: ffffffffa7d99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.931913][ T187] #3: ffffffffa7d99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.931917][ T187] #4: ffffffffa7c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.931921][ T187] #5: ffffffffa7c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.931925][ T187] irq event stamp: 34486 [ 10.931926][ T187] hardirqs last enabled at (34485): [] __down_trylock_console_sem+0x86/0xa0 [ 10.931929][ T187] hardirqs last disabled at (34486): [] console_emit_next_record+0x3f8/0x4f0 [ 10.931931][ T187] softirqs last enabled at (34480): [] netif_change_name+0x216/0x8c0 [ 10.931934][ T187] softirqs last disabled at (34478): [] netif_change_name+0x1ad/0x8c0 [ 10.931937][ T187] Preemption disabled at: [ 10.931937][ T187] [] vprintk_emit+0x31b/0x3e0 [ 10.931943][ T187] CPU: 1 UID: 0 PID: 187 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.931947][ T187] Tainted: [W]=WARN [ 10.931948][ T187] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.931949][ T187] Call Trace: [ 10.931951][ T187] [ 10.931952][ T187] dump_stack_lvl+0x6f/0xa0 [ 10.931959][ T187] ? vprintk_emit+0x31b/0x3e0 [ 10.931960][ T187] __might_resched.cold+0x1fe/0x2c1 [ 10.931965][ T187] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.931969][ T187] ? __kmalloc_noprof+0xdb/0x760 [ 10.931975][ T187] __kmalloc_noprof+0x443/0x760 [ 10.931978][ T187] ? alloc_buf.isra.0+0x4b/0x260 [ 10.931991][ T187] ? do_raw_spin_unlock+0x59/0x250 [ 10.931994][ T187] alloc_buf.isra.0+0x4b/0x260 [ 10.931998][ T187] put_chars+0x1e1/0x2f0 [ 10.932001][ T187] ? __send_to_port+0x420/0x420 [ 10.932005][ T187] ? validate_chain+0x34a/0xc20 [ 10.932010][ T187] hvc_console_print+0x292/0x780 [ 10.932014][ T187] ? __lock_acquire+0x518/0xc20 [ 10.932020][ T187] ? hvc_write+0x3a0/0x3a0 [ 10.932023][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.932029][ T187] console_emit_next_record+0x252/0x4f0 [ 10.932033][ T187] ? devkmsg_read+0x4e0/0x4e0 [ 10.932037][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.932039][ T187] ? lock_acquire+0x13c/0x160 [ 10.932043][ T187] console_flush_one_record+0x46f/0x710 [ 10.932048][ T187] ? console_emit_next_record+0x4f0/0x4f0 [ 10.932050][ T187] ? __lock_acquire+0x518/0xc20 [ 10.932055][ T187] console_unlock+0xee/0x1f0 [ 10.932058][ T187] ? console_flush_one_record+0x710/0x710 [ 10.932060][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.932062][ T187] ? lock_acquire+0x60/0x160 [ 10.932066][ T187] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.932068][ T187] ? vprintk_emit+0x320/0x3e0 [ 10.932071][ T187] vprintk_emit+0x37c/0x3e0 [ 10.932074][ T187] ? wake_up_klogd_work_func+0x90/0x90 [ 10.932076][ T187] ? write_profile+0xf0/0xf0 [ 10.932078][ T187] ? unwind_get_return_address+0x67/0xd0 [ 10.932085][ T187] dev_vprintk_emit+0x27f/0x2c0 [ 10.932090][ T187] ? device_rename.cold+0xa/0xa [ 10.932094][ T187] ? filter_irq_stacks+0xd0/0xd0 [ 10.932100][ T187] dev_printk_emit+0xb9/0xee [ 10.932102][ T187] ? dev_vprintk_emit+0x2c0/0x2c0 [ 10.932106][ T187] ? check_prev_add+0x316/0xe90 [ 10.932112][ T187] __netdev_printk+0x160/0x1d0 [ 10.932118][ T187] netdev_info+0xe2/0x116 [ 10.932120][ T187] ? netdev_notice+0x120/0x120 [ 10.932123][ T187] ? find_held_lock+0x2b/0x80 [ 10.932126][ T187] ? __lock_release.isra.0+0x69/0x1a0 [ 10.932128][ T187] ? mark_held_locks+0x40/0x70 [ 10.932132][ T187] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.932135][ T187] netif_change_name.cold+0x4f/0x89 [ 10.932138][ T187] ? __lock_acquire+0x518/0xc20 [ 10.932140][ T187] ? mark_lock_irq+0x747/0x9c0 [ 10.932142][ T187] ? find_held_lock+0x2/0x80 [ 10.932145][ T187] ? netdev_adjacent_rename_links+0x470/0x470 [ 10.932147][ T187] ? find_held_lock+0x2b/0x80 [ 10.932150][ T187] ? __asan_memset+0x27/0x50 [ 10.932155][ T187] do_setlink.isra.0+0x1f7d/0x2a60 [ 10.932158][ T187] ? __lock_acquire+0x518/0xc20 [ 10.932161][ T187] ? rtnl_link_get_size+0x350/0x350 [ 10.932163][ T187] ? mark_usage+0x61/0x170 [ 10.932165][ T187] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.932167][ T187] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.932170][ T187] ? validate_chain+0x38b/0xc20 [ 10.932175][ T187] ? __lock_acquire+0x518/0xc20 [ 10.932180][ T187] ? lock_acquire.part.0+0xd4/0x280 [ 10.932182][ T187] ? rtnl_setlink+0x29d/0x920 [ 10.932185][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.932187][ T187] ? lock_acquire+0x13c/0x160 [ 10.932189][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.932190][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.932192][ T187] ? trace_contention_end+0xb3/0x180 [ 10.932194][ T187] ? __mutex_lock+0x1db/0x1ea0 [ 10.932198][ T187] ? __mutex_lock+0x9a3/0x1ea0 [ 10.932200][ T187] ? __lock_acquire+0x518/0xc20 [ 10.932202][ T187] ? rtnl_setlink+0x29d/0x920 [ 10.932205][ T187] ? mark_usage+0x61/0x170 [ 10.932208][ T187] ? ww_mutex_lock+0x160/0x160 [ 10.932210][ T187] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.932215][ T187] ? mark_usage+0x61/0x170 [ 10.932219][ T187] ? cap_capable+0x1d7/0x3d0 [ 10.932226][ T187] rtnl_setlink+0x527/0x920 [ 10.932230][ T187] ? __rtnl_newlink+0xa50/0xa50 [ 10.932232][ T187] ? __lock_acquire+0x518/0xc20 [ 10.932255][ T187] ? lock_acquire.part.0+0xd4/0x280 [ 10.932257][ T187] ? find_held_lock+0x2b/0x80 [ 10.932260][ T187] ? __lock_release.isra.0+0x69/0x1a0 [ 10.932262][ T187] ? mark_usage+0x61/0x170 [ 10.932264][ T187] ? __lock_acquire+0x518/0xc20 [ 10.932269][ T187] ? lock_acquire.part.0+0xd4/0x280 [ 10.932271][ T187] ? find_held_lock+0x2b/0x80 [ 10.932273][ T187] ? __rtnl_newlink+0xa50/0xa50 [ 10.932275][ T187] ? __lock_release.isra.0+0x69/0x1a0 [ 10.932279][ T187] ? __rtnl_newlink+0xa50/0xa50 [ 10.932282][ T187] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.932285][ T187] ? rtnl_link_fill+0x900/0x900 [ 10.932287][ T187] ? __lock_acquire+0x518/0xc20 [ 10.932292][ T187] ? lock_acquire.part.0+0xd4/0x280 [ 10.932294][ T187] ? find_held_lock+0x2b/0x80 [ 10.932298][ T187] netlink_rcv_skb+0x14e/0x3a0 [ 10.932301][ T187] ? rtnl_link_fill+0x900/0x900 [ 10.932304][ T187] ? netlink_ack+0xcd0/0xcd0 [ 10.932311][ T187] ? netlink_deliver_tap+0xc5/0x330 [ 10.932313][ T187] ? netlink_deliver_tap+0x13c/0x330 [ 10.932318][ T187] netlink_unicast+0x486/0x750 [ 10.932322][ T187] ? netlink_attachskb+0x810/0x810 [ 10.932325][ T187] ? __lock_acquire+0x518/0xc20 [ 10.932330][ T187] netlink_sendmsg+0x735/0xc60 [ 10.932334][ T187] ? netlink_unicast+0x750/0x750 [ 10.932338][ T187] ? __might_fault+0x97/0x140 [ 10.932342][ T187] ? __might_fault+0x97/0x140 [ 10.932346][ T187] __sys_sendto+0x2aa/0x400 [ 10.932350][ T187] ? __ia32_sys_getpeername+0xd0/0xd0 [ 10.932360][ T187] ? exc_page_fault+0x87/0x100 [ 10.932366][ T187] __x64_sys_sendto+0xe4/0x1f0 [ 10.932368][ T187] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.932371][ T187] ? lockdep_hardirqs_on+0x91/0x130 [ 10.932372][ T187] ? do_syscall_64+0xa6/0x530 [ 10.932375][ T187] do_syscall_64+0xff/0x530 [ 10.932377][ T187] ? exc_page_fault+0xee/0x100 [ 10.932380][ T187] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.932382][ T187] RIP: 0033:0x7fd6f5b8854e [ 10.932386][ T187] 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.932388][ T187] RSP: 002b:00007ffe8e158ea0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 10.932390][ T187] RAX: ffffffffffffffda RBX: 0000559d67526430 RCX: 00007fd6f5b8854e [ 10.932392][ T187] RDX: 0000000000000030 RSI: 0000559d6752a1a0 RDI: 0000000000000022 [ 10.932393][ T187] RBP: 00007ffe8e158eb0 R08: 00007ffe8e158f00 R09: 0000000000000080 [ 10.932393][ T187] R10: 0000000000000000 R11: 0000000000000202 R12: 0000559d676827e0 [ 10.932394][ T187] R13: 00007ffe8e158fe4 R14: 0000000000000000 R15: 0000000000000000 [ 10.932401][ T187]