[ 8.656925][ T88] netdevsim netdevsim353 eni353np1: renamed from eth0 [ 8.656982][ T88] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.656985][ T88] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 88, name: (udev-worker) [ 8.656987][ T88] preempt_count: 1, expected: 0 [ 8.656987][ T88] RCU nest depth: 0, expected: 0 [ 8.656988][ T88] locks held by (udev-worker)/88: 6, last CPU#1: [ 8.656991][ T88] #0: ffffffff952fe280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 8.657002][ T88] #1: ff1100000d66add8 (&dev_instance_lock_key#3){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 8.657006][ T88] #2: ffffffff94b99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.657012][ T88] #3: ffffffff94b99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.657015][ T88] #4: ffffffff94a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.657019][ T88] #5: ffffffff94a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 8.657022][ T88] irq event stamp: 376318 [ 8.657023][ T88] hardirqs last enabled at (376317): [] __down_trylock_console_sem+0x86/0xa0 [ 8.657025][ T88] hardirqs last disabled at (376318): [] console_emit_next_record+0x3f8/0x4f0 [ 8.657027][ T88] softirqs last enabled at (376312): [] netif_change_name+0x216/0x8c0 [ 8.657029][ T88] softirqs last disabled at (376310): [] netif_change_name+0x1ad/0x8c0 [ 8.657031][ T88] Preemption disabled at: [ 8.657032][ T88] [] vprintk_emit+0x31b/0x3e0 [ 8.657037][ T88] CPU: 1 UID: 0 PID: 88 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.657040][ T88] Tainted: [W]=WARN [ 8.657041][ T88] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.657043][ T88] Call Trace: [ 8.657044][ T88] [ 8.657045][ T88] dump_stack_lvl+0x6f/0xa0 [ 8.657051][ T88] ? vprintk_emit+0x31b/0x3e0 [ 8.657053][ T88] __might_resched.cold+0x1fe/0x2c1 [ 8.657057][ T88] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.657061][ T88] ? __kmalloc_noprof+0xdb/0x760 [ 8.657066][ T88] __kmalloc_noprof+0x443/0x760 [ 8.657068][ T88] ? alloc_buf.isra.0+0x4b/0x260 [ 8.657074][ T88] ? do_raw_spin_unlock+0x59/0x250 [ 8.657076][ T88] alloc_buf.isra.0+0x4b/0x260 [ 8.657079][ T88] put_chars+0x1e1/0x2f0 [ 8.657082][ T88] ? __send_to_port+0x420/0x420 [ 8.657085][ T88] ? validate_chain+0x34a/0xc20 [ 8.657090][ T88] hvc_console_print+0x292/0x780 [ 8.657092][ T88] ? __lock_acquire+0x518/0xc20 [ 8.657097][ T88] ? hvc_write+0x3a0/0x3a0 [ 8.657100][ T88] ? rcu_is_watching+0x16/0xd0 [ 8.657106][ T88] console_emit_next_record+0x252/0x4f0 [ 8.657109][ T88] ? devkmsg_read+0x4e0/0x4e0 [ 8.657114][ T88] ? rcu_is_watching+0x16/0xd0 [ 8.657116][ T88] ? lock_acquire+0x13c/0x160 [ 8.657120][ T88] console_flush_one_record+0x46f/0x710 [ 8.657123][ T88] ? console_emit_next_record+0x4f0/0x4f0 [ 8.657125][ T88] ? __lock_acquire+0x518/0xc20 [ 8.657130][ T88] console_unlock+0xee/0x1f0 [ 8.657133][ T88] ? console_flush_one_record+0x710/0x710 [ 8.657134][ T88] ? rcu_is_watching+0x16/0xd0 [ 8.657136][ T88] ? lock_acquire+0x60/0x160 [ 8.657140][ T88] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.657141][ T88] ? vprintk_emit+0x320/0x3e0 [ 8.657144][ T88] vprintk_emit+0x37c/0x3e0 [ 8.657147][ T88] ? wake_up_klogd_work_func+0x90/0x90 [ 8.657150][ T88] ? write_profile+0xf0/0xf0 [ 8.657152][ T88] ? unwind_get_return_address+0x67/0xd0 [ 8.657159][ T88] dev_vprintk_emit+0x27f/0x2c0 [ 8.657164][ T88] ? device_rename.cold+0xa/0xa [ 8.657169][ T88] ? filter_irq_stacks+0xd0/0xd0 [ 8.657175][ T88] dev_printk_emit+0xb9/0xee [ 8.657177][ T88] ? dev_vprintk_emit+0x2c0/0x2c0 [ 8.657181][ T88] ? check_prev_add+0x316/0xe90 [ 8.657186][ T88] __netdev_printk+0x160/0x1d0 [ 8.657191][ T88] netdev_info+0xe2/0x116 [ 8.657193][ T88] ? netdev_notice+0x120/0x120 [ 8.657196][ T88] ? find_held_lock+0x2b/0x80 [ 8.657200][ T88] ? __lock_release.isra.0+0x69/0x1a0 [ 8.657202][ T88] ? mark_held_locks+0x40/0x70 [ 8.657205][ T88] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 8.657208][ T88] netif_change_name.cold+0x4f/0x89 [ 8.657211][ T88] ? __lock_acquire+0x518/0xc20 [ 8.657212][ T88] ? rwsem_optimistic_spin+0x3c7/0x480 [ 8.657215][ T88] ? find_held_lock+0x2/0x80 [ 8.657218][ T88] ? netdev_adjacent_rename_links+0x470/0x470 [ 8.657220][ T88] ? find_held_lock+0x2b/0x80 [ 8.657223][ T88] ? __asan_memset+0x27/0x50 [ 8.657229][ T88] do_setlink.isra.0+0x1f7d/0x2a60 [ 8.657232][ T88] ? __lock_acquire+0x518/0xc20 [ 8.657235][ T88] ? rtnl_link_get_size+0x350/0x350 [ 8.657236][ T88] ? mark_usage+0x61/0x170 [ 8.657237][ T88] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 8.657240][ T88] ? rcu_read_lock_any_held+0x3c/0x90 [ 8.657242][ T88] ? validate_chain+0x38b/0xc20 [ 8.657247][ T88] ? __lock_acquire+0x518/0xc20 [ 8.657251][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 8.657253][ T88] ? rtnl_setlink+0x29d/0x920 [ 8.657256][ T88] ? rcu_is_watching+0x16/0xd0 [ 8.657258][ T88] ? lock_acquire+0x13c/0x160 [ 8.657259][ T88] ? rcu_is_watching+0x16/0xd0 [ 8.657260][ T88] ? rcu_is_watching+0x16/0xd0 [ 8.657262][ T88] ? trace_contention_end+0xb3/0x180 [ 8.657265][ T88] ? __mutex_lock+0x1db/0x1ea0 [ 8.657268][ T88] ? __mutex_lock+0x9a3/0x1ea0 [ 8.657269][ T88] ? __lock_acquire+0x518/0xc20 [ 8.657271][ T88] ? rtnl_setlink+0x29d/0x920 [ 8.657273][ T88] ? mark_usage+0x61/0x170 [ 8.657276][ T88] ? ww_mutex_lock+0x160/0x160 [ 8.657277][ T88] ? nla_get_range_signed+0x3d0/0x3d0 [ 8.657283][ T88] ? mark_usage+0x61/0x170 [ 8.657286][ T88] ? cap_capable+0x1d7/0x3d0 [ 8.657294][ T88] rtnl_setlink+0x527/0x920 [ 8.657297][ T88] ? __rtnl_newlink+0xa50/0xa50 [ 8.657299][ T88] ? __lock_acquire+0x518/0xc20 [ 8.657322][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 8.657324][ T88] ? find_held_lock+0x2b/0x80 [ 8.657327][ T88] ? __lock_release.isra.0+0x69/0x1a0 [ 8.657329][ T88] ? mark_usage+0x61/0x170 [ 8.657331][ T88] ? __lock_acquire+0x518/0xc20 [ 8.657335][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 8.657337][ T88] ? find_held_lock+0x2b/0x80 [ 8.657339][ T88] ? __rtnl_newlink+0xa50/0xa50 [ 8.657341][ T88] ? __lock_release.isra.0+0x69/0x1a0 [ 8.657344][ T88] ? __rtnl_newlink+0xa50/0xa50 [ 8.657347][ T88] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 8.657350][ T88] ? rtnl_link_fill+0x900/0x900 [ 8.657352][ T88] ? __lock_acquire+0x518/0xc20 [ 8.657356][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 8.657358][ T88] ? find_held_lock+0x2b/0x80 [ 8.657362][ T88] netlink_rcv_skb+0x14e/0x3a0 [ 8.657365][ T88] ? rtnl_link_fill+0x900/0x900 [ 8.657368][ T88] ? netlink_ack+0xcd0/0xcd0 [ 8.657375][ T88] ? netlink_deliver_tap+0xc5/0x330 [ 8.657377][ T88] ? netlink_deliver_tap+0x13c/0x330 [ 8.657382][ T88] netlink_unicast+0x486/0x750 [ 8.657386][ T88] ? netlink_attachskb+0x810/0x810 [ 8.657388][ T88] ? __lock_acquire+0x518/0xc20 [ 8.657393][ T88] netlink_sendmsg+0x735/0xc60 [ 8.657397][ T88] ? netlink_unicast+0x750/0x750 [ 8.657401][ T88] ? __might_fault+0x97/0x140 [ 8.657404][ T88] ? __might_fault+0x97/0x140 [ 8.657408][ T88] __sys_sendto+0x2aa/0x400 [ 8.657411][ T88] ? __ia32_sys_getpeername+0xd0/0xd0 [ 8.657426][ T88] __x64_sys_sendto+0xe4/0x1f0 [ 8.657427][ T88] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 8.657431][ T88] ? lockdep_hardirqs_on+0x91/0x130 [ 8.657434][ T88] ? do_syscall_64+0xa6/0x530 [ 8.657435][ T88] do_syscall_64+0xff/0x530 [ 8.657437][ T88] ? exc_page_fault+0xee/0x100 [ 8.657439][ T88] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.657442][ T88] RIP: 0033:0x7f72b017d54e [ 8.657445][ T88] 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 [ 8.657447][ T88] RSP: 002b:00007ffcccc12710 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 8.657450][ T88] RAX: ffffffffffffffda RBX: 000055ada3dbbfe0 RCX: 00007f72b017d54e [ 8.657451][ T88] RDX: 0000000000000030 RSI: 000055ada3f1acc0 RDI: 000000000000001e [ 8.657452][ T88] RBP: 00007ffcccc12720 R08: 00007ffcccc12770 R09: 0000000000000080 [ 8.657452][ T88] R10: 0000000000000000 R11: 0000000000000202 R12: 000055ada3f1a460 [ 8.657453][ T88] R13: 00007ffcccc12854 R14: 0000000000000000 R15: 0000000000000000 [ 8.657460][ T88] [ 8.703428][ T83] netdevsim netdevsim673 eni673np1: renamed from eth1 [ 9.208602][ T190] ip (190) used greatest stack depth: 24208 bytes left [ 9.285869][ T165] Could not find device with ifindex 2000 in netnsfd 11 [ 9.286486][ T165] Could not find netns with fd: 2000 [ 9.286985][ T165] Cannot link a netdevsim to itself [ 9.287484][ T165] Format for linking two devices is "netnsfd_a:ifidx_a netnsfd_b:ifidx_b" (int uint int uint).