[ 10.028034][ T85] netdevsim netdevsim495 eni495np1: renamed from eth0 [ 10.028108][ T85] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.028110][ T85] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 85, name: (udev-worker) [ 10.028112][ T85] preempt_count: 1, expected: 0 [ 10.028114][ T85] RCU nest depth: 0, expected: 0 [ 10.028115][ T85] locks held by (udev-worker)/85: 6, last CPU#3: [ 10.028117][ T85] #0: ffffffff9d6fe280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 10.028129][ T85] #1: ff1100000c86add8 (&dev_instance_lock_key#3){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 10.028133][ T85] #2: ffffffff9cf99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.028139][ T85] #3: ffffffff9cf99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.028143][ T85] #4: ffffffff9ce89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.028146][ T85] #5: ffffffff9ce89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.028150][ T85] irq event stamp: 446156 [ 10.028151][ T85] hardirqs last enabled at (446155): [] __down_trylock_console_sem+0x86/0xa0 [ 10.028153][ T85] hardirqs last disabled at (446156): [] console_emit_next_record+0x3f8/0x4f0 [ 10.028154][ T85] softirqs last enabled at (446150): [] netif_change_name+0x216/0x8c0 [ 10.028157][ T85] softirqs last disabled at (446148): [] netif_change_name+0x1ad/0x8c0 [ 10.028159][ T85] Preemption disabled at: [ 10.028160][ T85] [] vprintk_emit+0x31b/0x3e0 [ 10.028165][ T85] CPU: 3 UID: 0 PID: 85 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.028169][ T85] Tainted: [W]=WARN [ 10.028170][ T85] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.028171][ T85] Call Trace: [ 10.028173][ T85] [ 10.028174][ T85] dump_stack_lvl+0x6f/0xa0 [ 10.028180][ T85] ? vprintk_emit+0x31b/0x3e0 [ 10.028182][ T85] __might_resched.cold+0x1fe/0x2c1 [ 10.028186][ T85] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.028190][ T85] ? __kmalloc_noprof+0xdb/0x760 [ 10.028195][ T85] __kmalloc_noprof+0x443/0x760 [ 10.028197][ T85] ? alloc_buf.isra.0+0x4b/0x260 [ 10.028202][ T85] ? do_raw_spin_unlock+0x59/0x250 [ 10.028205][ T85] alloc_buf.isra.0+0x4b/0x260 [ 10.028208][ T85] put_chars+0x1e1/0x2f0 [ 10.028211][ T85] ? __send_to_port+0x420/0x420 [ 10.028214][ T85] ? validate_chain+0x34a/0xc20 [ 10.028218][ T85] hvc_console_print+0x292/0x780 [ 10.028221][ T85] ? __lock_acquire+0x518/0xc20 [ 10.028226][ T85] ? hvc_write+0x3a0/0x3a0 [ 10.028228][ T85] ? rcu_is_watching+0x16/0xd0 [ 10.028234][ T85] console_emit_next_record+0x252/0x4f0 [ 10.028238][ T85] ? devkmsg_read+0x4e0/0x4e0 [ 10.028242][ T85] ? rcu_is_watching+0x16/0xd0 [ 10.028244][ T85] ? lock_acquire+0x13c/0x160 [ 10.028248][ T85] console_flush_one_record+0x46f/0x710 [ 10.028252][ T85] ? console_emit_next_record+0x4f0/0x4f0 [ 10.028253][ T85] ? __lock_acquire+0x518/0xc20 [ 10.028258][ T85] console_unlock+0xee/0x1f0 [ 10.028261][ T85] ? console_flush_one_record+0x710/0x710 [ 10.028262][ T85] ? rcu_is_watching+0x16/0xd0 [ 10.028265][ T85] ? lock_acquire+0x60/0x160 [ 10.028268][ T85] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.028269][ T85] ? vprintk_emit+0x320/0x3e0 [ 10.028272][ T85] vprintk_emit+0x37c/0x3e0 [ 10.028276][ T85] ? wake_up_klogd_work_func+0x90/0x90 [ 10.028278][ T85] ? write_profile+0xf0/0xf0 [ 10.028281][ T85] ? unwind_get_return_address+0x67/0xd0 [ 10.028288][ T85] dev_vprintk_emit+0x27f/0x2c0 [ 10.028293][ T85] ? device_rename.cold+0xa/0xa [ 10.028298][ T85] ? filter_irq_stacks+0xd0/0xd0 [ 10.028304][ T85] dev_printk_emit+0xb9/0xee [ 10.028306][ T85] ? dev_vprintk_emit+0x2c0/0x2c0 [ 10.028310][ T85] ? check_prev_add+0x316/0xe90 [ 10.028315][ T85] __netdev_printk+0x160/0x1d0 [ 10.028320][ T85] netdev_info+0xe2/0x116 [ 10.028322][ T85] ? netdev_notice+0x120/0x120 [ 10.028324][ T85] ? find_held_lock+0x2b/0x80 [ 10.028328][ T85] ? __lock_release.isra.0+0x69/0x1a0 [ 10.028330][ T85] ? mark_held_locks+0x40/0x70 [ 10.028334][ T85] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.028336][ T85] netif_change_name.cold+0x4f/0x89 [ 10.028339][ T85] ? __lock_acquire+0x518/0xc20 [ 10.028341][ T85] ? rwsem_optimistic_spin+0x3c7/0x480 [ 10.028343][ T85] ? find_held_lock+0x2/0x80 [ 10.028346][ T85] ? netdev_adjacent_rename_links+0x470/0x470 [ 10.028348][ T85] ? find_held_lock+0x2b/0x80 [ 10.028351][ T85] ? __asan_memset+0x27/0x50 [ 10.028357][ T85] do_setlink.isra.0+0x1f7d/0x2a60 [ 10.028360][ T85] ? __lock_acquire+0x518/0xc20 [ 10.028362][ T85] ? rtnl_link_get_size+0x350/0x350 [ 10.028364][ T85] ? mark_usage+0x61/0x170 [ 10.028365][ T85] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.028368][ T85] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.028370][ T85] ? validate_chain+0x38b/0xc20 [ 10.028374][ T85] ? __lock_acquire+0x518/0xc20 [ 10.028378][ T85] ? lock_acquire.part.0+0xd4/0x280 [ 10.028380][ T85] ? rtnl_setlink+0x29d/0x920 [ 10.028383][ T85] ? rcu_is_watching+0x16/0xd0 [ 10.028385][ T85] ? lock_acquire+0x13c/0x160 [ 10.028386][ T85] ? rcu_is_watching+0x16/0xd0 [ 10.028388][ T85] ? rcu_is_watching+0x16/0xd0 [ 10.028390][ T85] ? trace_contention_end+0xb3/0x180 [ 10.028392][ T85] ? __mutex_lock+0x1db/0x1ea0 [ 10.028395][ T85] ? __mutex_lock+0x9a3/0x1ea0 [ 10.028397][ T85] ? __lock_acquire+0x518/0xc20 [ 10.028398][ T85] ? rtnl_setlink+0x29d/0x920 [ 10.028401][ T85] ? mark_usage+0x61/0x170 [ 10.028403][ T85] ? ww_mutex_lock+0x160/0x160 [ 10.028405][ T85] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.028411][ T85] ? mark_usage+0x61/0x170 [ 10.028414][ T85] ? cap_capable+0x1d7/0x3d0 [ 10.028422][ T85] rtnl_setlink+0x527/0x920 [ 10.028425][ T85] ? __rtnl_newlink+0xa50/0xa50 [ 10.028427][ T85] ? __lock_acquire+0x518/0xc20 [ 10.028449][ T85] ? lock_acquire.part.0+0xd4/0x280 [ 10.028450][ T85] ? find_held_lock+0x2b/0x80 [ 10.028453][ T85] ? __lock_release.isra.0+0x69/0x1a0 [ 10.028455][ T85] ? mark_usage+0x61/0x170 [ 10.028457][ T85] ? __lock_acquire+0x518/0xc20 [ 10.028461][ T85] ? lock_acquire.part.0+0xd4/0x280 [ 10.028462][ T85] ? find_held_lock+0x2b/0x80 [ 10.028465][ T85] ? __rtnl_newlink+0xa50/0xa50 [ 10.028467][ T85] ? __lock_release.isra.0+0x69/0x1a0 [ 10.028470][ T85] ? __rtnl_newlink+0xa50/0xa50 [ 10.028472][ T85] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.028476][ T85] ? rtnl_link_fill+0x900/0x900 [ 10.028477][ T85] ? __lock_acquire+0x518/0xc20 [ 10.028482][ T85] ? lock_acquire.part.0+0xd4/0x280 [ 10.028483][ T85] ? find_held_lock+0x2b/0x80 [ 10.028487][ T85] netlink_rcv_skb+0x14e/0x3a0 [ 10.028490][ T85] ? rtnl_link_fill+0x900/0x900 [ 10.028493][ T85] ? netlink_ack+0xcd0/0xcd0 [ 10.028507][ T85] ? netlink_deliver_tap+0xc5/0x330 [ 10.028509][ T85] ? netlink_deliver_tap+0x13c/0x330 [ 10.028513][ T85] netlink_unicast+0x486/0x750 [ 10.028518][ T85] ? netlink_attachskb+0x810/0x810 [ 10.028520][ T85] ? __lock_acquire+0x518/0xc20 [ 10.028522][ T85] ? do_raw_spin_trylock+0x161/0x180 [ 10.028526][ T85] netlink_sendmsg+0x735/0xc60 [ 10.028530][ T85] ? netlink_unicast+0x750/0x750 [ 10.028533][ T85] ? __might_fault+0x97/0x140 [ 10.028537][ T85] ? __might_fault+0x97/0x140 [ 10.028540][ T85] __sys_sendto+0x2aa/0x400 [ 10.028544][ T85] ? __ia32_sys_getpeername+0xd0/0xd0 [ 10.028554][ T85] ? exc_page_fault+0x87/0x100 [ 10.028561][ T85] __x64_sys_sendto+0xe4/0x1f0 [ 10.028564][ T85] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.028569][ T85] ? lockdep_hardirqs_on+0x91/0x130 [ 10.028571][ T85] ? do_syscall_64+0xa6/0x530 [ 10.028574][ T85] do_syscall_64+0xff/0x530 [ 10.028576][ T85] ? exc_page_fault+0xee/0x100 [ 10.028578][ T85] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.028581][ T85] RIP: 0033:0x7ffb0b61254e [ 10.028585][ T85] 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.028586][ T85] RSP: 002b:00007fff2864be30 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 10.028589][ T85] RAX: ffffffffffffffda RBX: 0000560a4302ed70 RCX: 00007ffb0b61254e [ 10.028590][ T85] RDX: 0000000000000030 RSI: 0000560a43043c30 RDI: 0000000000000018 [ 10.028591][ T85] RBP: 00007fff2864be40 R08: 00007fff2864be90 R09: 0000000000000080 [ 10.028592][ T85] R10: 0000000000000000 R11: 0000000000000202 R12: 0000560a43198a10 [ 10.028593][ T85] R13: 00007fff2864bf74 R14: 0000000000000000 R15: 0000000000000000 [ 10.028600][ T85] [ 10.081427][ T88] netdevsim netdevsim625 eni625np1: renamed from eth1 [ 10.453020][ T187] ip (187) used greatest stack depth: 24272 bytes left [ 10.793064][ T165] Could not find device with ifindex 2000 in netnsfd 11 [ 10.793749][ T165] Could not find netns with fd: 2000 [ 10.794460][ T165] Cannot link a netdevsim to itself [ 10.795156][ T165] Format for linking two devices is "netnsfd_a:ifidx_a netnsfd_b:ifidx_b" (int uint int uint).