[ 9.987586][ T183] netdevsim netdevsim10301 eni10301np1: renamed from eth0 [ 9.987646][ T183] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.987648][ T183] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 183, name: (udev-worker) [ 9.987650][ T183] preempt_count: 1, expected: 0 [ 9.987651][ T183] RCU nest depth: 0, expected: 0 [ 9.987652][ T183] locks held by (udev-worker)/183: 6, last CPU#1: [ 9.987654][ T183] #0: ffffffffb8705fc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 9.987667][ T183] #1: ff1100000d63ade8 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 9.987672][ T183] #2: ffffffffb7f99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.987677][ T183] #3: ffffffffb7f99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.987681][ T183] #4: ffffffffb7e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.987685][ T183] #5: ffffffffb7e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 9.987689][ T183] irq event stamp: 29744 [ 9.987690][ T183] hardirqs last enabled at (29743): [] __down_trylock_console_sem+0x86/0xa0 [ 9.987693][ T183] hardirqs last disabled at (29744): [] console_emit_next_record+0x3f8/0x4f0 [ 9.987695][ T183] softirqs last enabled at (29738): [] netif_change_name+0x216/0x8c0 [ 9.987699][ T183] softirqs last disabled at (29736): [] netif_change_name+0x1ad/0x8c0 [ 9.987701][ T183] Preemption disabled at: [ 9.987702][ T183] [] vprintk_emit+0x31b/0x3e0 [ 9.987707][ T183] CPU: 1 UID: 0 PID: 183 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.987711][ T183] Tainted: [W]=WARN [ 9.987712][ T183] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.987714][ T183] Call Trace: [ 9.987715][ T183] [ 9.987717][ T183] dump_stack_lvl+0x6f/0xa0 [ 9.987723][ T183] ? vprintk_emit+0x31b/0x3e0 [ 9.987725][ T183] __might_resched.cold+0x1fe/0x2c1 [ 9.987730][ T183] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.987734][ T183] ? __kmalloc_noprof+0xdb/0x760 [ 9.987740][ T183] __kmalloc_noprof+0x443/0x760 [ 9.987743][ T183] ? alloc_buf.isra.0+0x4b/0x260 [ 9.987749][ T183] ? do_raw_spin_unlock+0x59/0x250 [ 9.987752][ T183] alloc_buf.isra.0+0x4b/0x260 [ 9.987756][ T183] put_chars+0x1e1/0x2f0 [ 9.987765][ T183] ? __send_to_port+0x420/0x420 [ 9.987769][ T183] ? validate_chain+0x34a/0xc20 [ 9.987774][ T183] hvc_console_print+0x292/0x780 [ 9.987777][ T183] ? __lock_acquire+0x518/0xc20 [ 9.987783][ T183] ? hvc_write+0x3a0/0x3a0 [ 9.987786][ T183] ? rcu_is_watching+0x16/0xd0 [ 9.987792][ T183] console_emit_next_record+0x252/0x4f0 [ 9.987796][ T183] ? devkmsg_read+0x4e0/0x4e0 [ 9.987800][ T183] ? rcu_is_watching+0x16/0xd0 [ 9.987803][ T183] ? lock_acquire+0x13c/0x160 [ 9.987807][ T183] console_flush_one_record+0x46f/0x710 [ 9.987811][ T183] ? console_emit_next_record+0x4f0/0x4f0 [ 9.987813][ T183] ? __lock_acquire+0x518/0xc20 [ 9.987819][ T183] console_unlock+0xee/0x1f0 [ 9.987822][ T183] ? console_flush_one_record+0x710/0x710 [ 9.987824][ T183] ? rcu_is_watching+0x16/0xd0 [ 9.987826][ T183] ? lock_acquire+0x60/0x160 [ 9.987830][ T183] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.987832][ T183] ? vprintk_emit+0x320/0x3e0 [ 9.987835][ T183] vprintk_emit+0x37c/0x3e0 [ 9.987838][ T183] ? wake_up_klogd_work_func+0x90/0x90 [ 9.987840][ T183] ? write_profile+0xf0/0xf0 [ 9.987842][ T183] ? unwind_get_return_address+0x67/0xd0 [ 9.987848][ T183] dev_vprintk_emit+0x27f/0x2c0 [ 9.987854][ T183] ? device_rename.cold+0xa/0xa [ 9.987858][ T183] ? filter_irq_stacks+0xd0/0xd0 [ 9.987864][ T183] dev_printk_emit+0xb9/0xee [ 9.987866][ T183] ? dev_vprintk_emit+0x2c0/0x2c0 [ 9.987870][ T183] ? check_prev_add+0x316/0xe90 [ 9.987876][ T183] __netdev_printk+0x160/0x1d0 [ 9.987881][ T183] netdev_info+0xe2/0x116 [ 9.987884][ T183] ? netdev_notice+0x120/0x120 [ 9.987889][ T183] ? find_held_lock+0x2b/0x80 [ 9.987892][ T183] ? __lock_release.isra.0+0x69/0x1a0 [ 9.987895][ T183] ? mark_held_locks+0x40/0x70 [ 9.987899][ T183] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 9.987901][ T183] netif_change_name.cold+0x4f/0x89 [ 9.987904][ T183] ? __lock_acquire+0x518/0xc20 [ 9.987906][ T183] ? mark_lock_irq+0x747/0x9c0 [ 9.987908][ T183] ? find_held_lock+0x2/0x80 [ 9.987911][ T183] ? netdev_adjacent_rename_links+0x470/0x470 [ 9.987914][ T183] ? find_held_lock+0x2b/0x80 [ 9.987917][ T183] ? __asan_memset+0x27/0x50 [ 9.987922][ T183] do_setlink.isra.0+0x1f7d/0x2a60 [ 9.987925][ T183] ? __lock_acquire+0x518/0xc20 [ 9.987928][ T183] ? rtnl_link_get_size+0x350/0x350 [ 9.987930][ T183] ? mark_usage+0x61/0x170 [ 9.987932][ T183] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.987934][ T183] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.987937][ T183] ? validate_chain+0x38b/0xc20 [ 9.987942][ T183] ? __lock_acquire+0x518/0xc20 [ 9.987947][ T183] ? lock_acquire.part.0+0xd4/0x280 [ 9.987949][ T183] ? rtnl_setlink+0x29d/0x920 [ 9.987952][ T183] ? rcu_is_watching+0x16/0xd0 [ 9.987954][ T183] ? lock_acquire+0x13c/0x160 [ 9.987956][ T183] ? rcu_is_watching+0x16/0xd0 [ 9.987957][ T183] ? rcu_is_watching+0x16/0xd0 [ 9.987959][ T183] ? trace_contention_end+0xb3/0x180 [ 9.987961][ T183] ? __mutex_lock+0x1db/0x1ea0 [ 9.987965][ T183] ? __mutex_lock+0x9a3/0x1ea0 [ 9.987967][ T183] ? __lock_acquire+0x518/0xc20 [ 9.987969][ T183] ? rtnl_setlink+0x29d/0x920 [ 9.987972][ T183] ? mark_usage+0x61/0x170 [ 9.987975][ T183] ? ww_mutex_lock+0x160/0x160 [ 9.987977][ T183] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.987983][ T183] ? mark_usage+0x61/0x170 [ 9.987986][ T183] ? cap_capable+0x1d7/0x3d0 [ 9.987994][ T183] rtnl_setlink+0x527/0x920 [ 9.987997][ T183] ? __rtnl_newlink+0xa50/0xa50 [ 9.988000][ T183] ? __lock_acquire+0x518/0xc20 [ 9.988023][ T183] ? lock_acquire.part.0+0xd4/0x280 [ 9.988025][ T183] ? find_held_lock+0x2b/0x80 [ 9.988028][ T183] ? __lock_release.isra.0+0x69/0x1a0 [ 9.988030][ T183] ? mark_usage+0x61/0x170 [ 9.988032][ T183] ? __lock_acquire+0x518/0xc20 [ 9.988037][ T183] ? lock_acquire.part.0+0xd4/0x280 [ 9.988039][ T183] ? find_held_lock+0x2b/0x80 [ 9.988041][ T183] ? __rtnl_newlink+0xa50/0xa50 [ 9.988044][ T183] ? __lock_release.isra.0+0x69/0x1a0 [ 9.988047][ T183] ? __rtnl_newlink+0xa50/0xa50 [ 9.988050][ T183] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.988054][ T183] ? rtnl_link_fill+0x900/0x900 [ 9.988055][ T183] ? __lock_acquire+0x518/0xc20 [ 9.988060][ T183] ? lock_acquire.part.0+0xd4/0x280 [ 9.988062][ T183] ? find_held_lock+0x2b/0x80 [ 9.988066][ T183] netlink_rcv_skb+0x14e/0x3a0 [ 9.988069][ T183] ? rtnl_link_fill+0x900/0x900 [ 9.988073][ T183] ? netlink_ack+0xcd0/0xcd0 [ 9.988080][ T183] ? netlink_deliver_tap+0xc5/0x330 [ 9.988082][ T183] ? netlink_deliver_tap+0x13c/0x330 [ 9.988087][ T183] netlink_unicast+0x486/0x750 [ 9.988091][ T183] ? netlink_attachskb+0x810/0x810 [ 9.988094][ T183] ? __lock_acquire+0x518/0xc20 [ 9.988099][ T183] netlink_sendmsg+0x735/0xc60 [ 9.988103][ T183] ? netlink_unicast+0x750/0x750 [ 9.988107][ T183] ? __might_fault+0x97/0x140 [ 9.988111][ T183] ? __might_fault+0x97/0x140 [ 9.988115][ T183] __sys_sendto+0x2aa/0x400 [ 9.988118][ T183] ? __ia32_sys_getpeername+0xd0/0xd0 [ 9.988133][ T183] __x64_sys_sendto+0xe4/0x1f0 [ 9.988135][ T183] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.988138][ T183] ? lockdep_hardirqs_on+0x91/0x130 [ 9.988140][ T183] ? do_syscall_64+0xa6/0x530 [ 9.988143][ T183] do_syscall_64+0xff/0x530 [ 9.988144][ T183] ? irq_exit_rcu+0x1a/0x30 [ 9.988150][ T183] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.988153][ T183] RIP: 0033:0x7fd5a4e6d54e [ 9.988158][ 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.988161][ T183] RSP: 002b:00007ffd6321f050 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 9.988164][ T183] RAX: ffffffffffffffda RBX: 0000564ebace46b0 RCX: 00007fd5a4e6d54e [ 9.988166][ T183] RDX: 0000000000000030 RSI: 0000564ebae51010 RDI: 0000000000000014 [ 9.988167][ T183] RBP: 00007ffd6321f060 R08: 00007ffd6321f0b0 R09: 0000000000000080 [ 9.988168][ T183] R10: 0000000000000000 R11: 0000000000000202 R12: 0000564ebae53f80 [ 9.988169][ T183] R13: 00007ffd6321f194 R14: 0000000000000000 R15: 0000000000000000 [ 9.988176][ T183] [ 10.200842][ T183] netdevsim netdevsim6568 eni6568np1: renamed from eth0 [ 10.520711][ T199] ip (199) used greatest stack depth: 24008 bytes left