[ 8.714534][ T83] netdevsim netdevsim394 eni394np1: renamed from eth0 [ 8.714593][ T83] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.714595][ T83] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 83, name: (udev-worker) [ 8.714597][ T83] preempt_count: 1, expected: 0 [ 8.714598][ T83] RCU nest depth: 0, expected: 0 [ 8.714599][ T83] locks held by (udev-worker)/83: 6, last CPU#2: [ 8.714601][ T83] #0: ffffffffa64fe280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 8.714613][ T83] #1: ff1100000c65add8 (&dev_instance_lock_key#3){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 8.714617][ T83] #2: ffffffffa5d99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.714623][ T83] #3: ffffffffa5d99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.714626][ T83] #4: ffffffffa5c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.714629][ T83] #5: ffffffffa5c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 8.714633][ T83] irq event stamp: 401970 [ 8.714634][ T83] hardirqs last enabled at (401969): [] __down_trylock_console_sem+0x86/0xa0 [ 8.714636][ T83] hardirqs last disabled at (401970): [] console_emit_next_record+0x3f8/0x4f0 [ 8.714638][ T83] softirqs last enabled at (401964): [] netif_change_name+0x216/0x8c0 [ 8.714640][ T83] softirqs last disabled at (401962): [] netif_change_name+0x1ad/0x8c0 [ 8.714642][ T83] Preemption disabled at: [ 8.714643][ T83] [] vprintk_emit+0x31b/0x3e0 [ 8.714648][ T83] CPU: 2 UID: 0 PID: 83 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.714651][ T83] Tainted: [W]=WARN [ 8.714652][ T83] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.714654][ T83] Call Trace: [ 8.714655][ T83] [ 8.714657][ T83] dump_stack_lvl+0x6f/0xa0 [ 8.714662][ T83] ? vprintk_emit+0x31b/0x3e0 [ 8.714664][ T83] __might_resched.cold+0x1fe/0x2c1 [ 8.714669][ T83] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.714672][ T83] ? __kmalloc_noprof+0xdb/0x760 [ 8.714676][ T83] __kmalloc_noprof+0x443/0x760 [ 8.714679][ T83] ? alloc_buf.isra.0+0x4b/0x260 [ 8.714684][ T83] ? do_raw_spin_unlock+0x59/0x250 [ 8.714686][ T83] alloc_buf.isra.0+0x4b/0x260 [ 8.714689][ T83] put_chars+0x1e1/0x2f0 [ 8.714692][ T83] ? __send_to_port+0x420/0x420 [ 8.714695][ T83] ? validate_chain+0x34a/0xc20 [ 8.714703][ T83] hvc_console_print+0x292/0x780 [ 8.714705][ T83] ? __lock_acquire+0x518/0xc20 [ 8.714710][ T83] ? hvc_write+0x3a0/0x3a0 [ 8.714713][ T83] ? rcu_is_watching+0x16/0xd0 [ 8.714719][ T83] console_emit_next_record+0x252/0x4f0 [ 8.714722][ T83] ? devkmsg_read+0x4e0/0x4e0 [ 8.714726][ T83] ? rcu_is_watching+0x16/0xd0 [ 8.714729][ T83] ? lock_acquire+0x13c/0x160 [ 8.714732][ T83] console_flush_one_record+0x46f/0x710 [ 8.714736][ T83] ? console_emit_next_record+0x4f0/0x4f0 [ 8.714738][ T83] ? __lock_acquire+0x518/0xc20 [ 8.714743][ T83] console_unlock+0xee/0x1f0 [ 8.714745][ T83] ? console_flush_one_record+0x710/0x710 [ 8.714747][ T83] ? rcu_is_watching+0x16/0xd0 [ 8.714749][ T83] ? lock_acquire+0x60/0x160 [ 8.714752][ T83] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.714753][ T83] ? vprintk_emit+0x320/0x3e0 [ 8.714757][ T83] vprintk_emit+0x37c/0x3e0 [ 8.714760][ T83] ? wake_up_klogd_work_func+0x90/0x90 [ 8.714762][ T83] ? write_profile+0xf0/0xf0 [ 8.714765][ T83] ? unwind_get_return_address+0x67/0xd0 [ 8.714772][ T83] dev_vprintk_emit+0x27f/0x2c0 [ 8.714776][ T83] ? device_rename.cold+0xa/0xa [ 8.714781][ T83] ? filter_irq_stacks+0xd0/0xd0 [ 8.714786][ T83] dev_printk_emit+0xb9/0xee [ 8.714789][ T83] ? dev_vprintk_emit+0x2c0/0x2c0 [ 8.714793][ T83] ? check_prev_add+0x316/0xe90 [ 8.714798][ T83] __netdev_printk+0x160/0x1d0 [ 8.714803][ T83] netdev_info+0xe2/0x116 [ 8.714805][ T83] ? netdev_notice+0x120/0x120 [ 8.714807][ T83] ? find_held_lock+0x2b/0x80 [ 8.714811][ T83] ? __lock_release.isra.0+0x69/0x1a0 [ 8.714814][ T83] ? mark_held_locks+0x40/0x70 [ 8.714817][ T83] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 8.714819][ T83] netif_change_name.cold+0x4f/0x89 [ 8.714822][ T83] ? __lock_acquire+0x518/0xc20 [ 8.714824][ T83] ? rwsem_optimistic_spin+0x3c7/0x480 [ 8.714826][ T83] ? find_held_lock+0x2/0x80 [ 8.714829][ T83] ? netdev_adjacent_rename_links+0x470/0x470 [ 8.714832][ T83] ? find_held_lock+0x2b/0x80 [ 8.714835][ T83] ? __asan_memset+0x27/0x50 [ 8.714840][ T83] do_setlink.isra.0+0x1f7d/0x2a60 [ 8.714843][ T83] ? __lock_acquire+0x518/0xc20 [ 8.714846][ T83] ? rtnl_link_get_size+0x350/0x350 [ 8.714847][ T83] ? mark_usage+0x61/0x170 [ 8.714848][ T83] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 8.714851][ T83] ? rcu_read_lock_any_held+0x3c/0x90 [ 8.714853][ T83] ? validate_chain+0x38b/0xc20 [ 8.714857][ T83] ? __lock_acquire+0x518/0xc20 [ 8.714862][ T83] ? lock_acquire.part.0+0xd4/0x280 [ 8.714863][ T83] ? rtnl_setlink+0x29d/0x920 [ 8.714866][ T83] ? rcu_is_watching+0x16/0xd0 [ 8.714868][ T83] ? lock_acquire+0x13c/0x160 [ 8.714869][ T83] ? rcu_is_watching+0x16/0xd0 [ 8.714871][ T83] ? rcu_is_watching+0x16/0xd0 [ 8.714873][ T83] ? trace_contention_end+0xb3/0x180 [ 8.714876][ T83] ? __mutex_lock+0x1db/0x1ea0 [ 8.714879][ T83] ? __mutex_lock+0x9a3/0x1ea0 [ 8.714880][ T83] ? __lock_acquire+0x518/0xc20 [ 8.714882][ T83] ? rtnl_setlink+0x29d/0x920 [ 8.714884][ T83] ? mark_usage+0x61/0x170 [ 8.714886][ T83] ? ww_mutex_lock+0x160/0x160 [ 8.714888][ T83] ? nla_get_range_signed+0x3d0/0x3d0 [ 8.714894][ T83] ? mark_usage+0x61/0x170 [ 8.714897][ T83] ? cap_capable+0x1d7/0x3d0 [ 8.714905][ T83] rtnl_setlink+0x527/0x920 [ 8.714908][ T83] ? __rtnl_newlink+0xa50/0xa50 [ 8.714910][ T83] ? __lock_acquire+0x518/0xc20 [ 8.714932][ T83] ? lock_acquire.part.0+0xd4/0x280 [ 8.714933][ T83] ? find_held_lock+0x2b/0x80 [ 8.714937][ T83] ? __lock_release.isra.0+0x69/0x1a0 [ 8.714938][ T83] ? mark_usage+0x61/0x170 [ 8.714940][ T83] ? __lock_acquire+0x518/0xc20 [ 8.714944][ T83] ? lock_acquire.part.0+0xd4/0x280 [ 8.714946][ T83] ? find_held_lock+0x2b/0x80 [ 8.714948][ T83] ? __rtnl_newlink+0xa50/0xa50 [ 8.714950][ T83] ? __lock_release.isra.0+0x69/0x1a0 [ 8.714953][ T83] ? __rtnl_newlink+0xa50/0xa50 [ 8.714955][ T83] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 8.714959][ T83] ? rtnl_link_fill+0x900/0x900 [ 8.714960][ T83] ? __lock_acquire+0x518/0xc20 [ 8.714965][ T83] ? lock_acquire.part.0+0xd4/0x280 [ 8.714966][ T83] ? find_held_lock+0x2b/0x80 [ 8.714970][ T83] netlink_rcv_skb+0x14e/0x3a0 [ 8.714973][ T83] ? rtnl_link_fill+0x900/0x900 [ 8.714976][ T83] ? netlink_ack+0xcd0/0xcd0 [ 8.714983][ T83] ? netlink_deliver_tap+0xc5/0x330 [ 8.714985][ T83] ? netlink_deliver_tap+0x13c/0x330 [ 8.714989][ T83] netlink_unicast+0x486/0x750 [ 8.714994][ T83] ? netlink_attachskb+0x810/0x810 [ 8.714996][ T83] ? __lock_acquire+0x518/0xc20 [ 8.715000][ T83] netlink_sendmsg+0x735/0xc60 [ 8.715005][ T83] ? netlink_unicast+0x750/0x750 [ 8.715008][ T83] ? __might_fault+0x97/0x140 [ 8.715012][ T83] ? __might_fault+0x97/0x140 [ 8.715015][ T83] __sys_sendto+0x2aa/0x400 [ 8.715019][ T83] ? __ia32_sys_getpeername+0xd0/0xd0 [ 8.715032][ T83] __x64_sys_sendto+0xe4/0x1f0 [ 8.715034][ T83] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 8.715038][ T83] ? lockdep_hardirqs_on+0x91/0x130 [ 8.715040][ T83] ? do_syscall_64+0xa6/0x530 [ 8.715042][ T83] do_syscall_64+0xff/0x530 [ 8.715043][ T83] ? exc_page_fault+0xee/0x100 [ 8.715046][ T83] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.715048][ T83] RIP: 0033:0x7fc8de45054e [ 8.715052][ T83] 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.715054][ T83] RSP: 002b:00007ffc21c56e60 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 8.715057][ T83] RAX: ffffffffffffffda RBX: 000055e9e11f2f40 RCX: 00007fc8de45054e [ 8.715058][ T83] RDX: 0000000000000030 RSI: 000055e9e11f4230 RDI: 0000000000000016 [ 8.715059][ T83] RBP: 00007ffc21c56e70 R08: 00007ffc21c56ec0 R09: 0000000000000080 [ 8.715060][ T83] R10: 0000000000000000 R11: 0000000000000202 R12: 000055e9e13492b0 [ 8.715060][ T83] R13: 00007ffc21c56fa4 R14: 0000000000000000 R15: 0000000000000000 [ 8.715067][ T83] [ 8.766687][ T88] netdevsim netdevsim553 eni553np1: renamed from eth1 [ 9.370805][ T166] Could not find device with ifindex 2000 in netnsfd 11 [ 9.371458][ T166] Could not find netns with fd: 2000 [ 9.372043][ T166] Cannot link a netdevsim to itself [ 9.372635][ T166] Format for linking two devices is "netnsfd_a:ifidx_a netnsfd_b:ifidx_b" (int uint int uint).