[ 9.858945][ T86] netdevsim netdevsim452 eni452np1: renamed from eth0 [ 9.859014][ T86] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.859016][ T86] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 86, name: (udev-worker) [ 9.859018][ T86] preempt_count: 1, expected: 0 [ 9.859019][ T86] RCU nest depth: 0, expected: 0 [ 9.859020][ T86] locks held by (udev-worker)/86: 6, last CPU#0: [ 9.859022][ T86] #0: ffffffffb8efe280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 9.859034][ T86] #1: ff1100000ce3add8 (&dev_instance_lock_key#3){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 9.859038][ T86] #2: ffffffffb8799cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.859044][ T86] #3: ffffffffb8799d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.859047][ T86] #4: ffffffffb8689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.859050][ T86] #5: ffffffffb8689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 9.859054][ T86] irq event stamp: 458268 [ 9.859055][ T86] hardirqs last enabled at (458267): [] __down_trylock_console_sem+0x86/0xa0 [ 9.859057][ T86] hardirqs last disabled at (458268): [] console_emit_next_record+0x3f8/0x4f0 [ 9.859059][ T86] softirqs last enabled at (458262): [] netif_change_name+0x216/0x8c0 [ 9.859061][ T86] softirqs last disabled at (458260): [] netif_change_name+0x1ad/0x8c0 [ 9.859063][ T86] Preemption disabled at: [ 9.859064][ T86] [] vprintk_emit+0x31b/0x3e0 [ 9.859070][ T86] CPU: 0 UID: 0 PID: 86 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.859073][ T86] Tainted: [W]=WARN [ 9.859074][ T86] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.859076][ T86] Call Trace: [ 9.859078][ T86] [ 9.859079][ T86] dump_stack_lvl+0x6f/0xa0 [ 9.859085][ T86] ? vprintk_emit+0x31b/0x3e0 [ 9.859087][ T86] __might_resched.cold+0x1fe/0x2c1 [ 9.859092][ T86] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.859095][ T86] ? __kmalloc_noprof+0xdb/0x760 [ 9.859100][ T86] __kmalloc_noprof+0x443/0x760 [ 9.859102][ T86] ? alloc_buf.isra.0+0x4b/0x260 [ 9.859108][ T86] ? do_raw_spin_unlock+0x59/0x250 [ 9.859110][ T86] alloc_buf.isra.0+0x4b/0x260 [ 9.859113][ T86] put_chars+0x1e1/0x2f0 [ 9.859116][ T86] ? __send_to_port+0x420/0x420 [ 9.859119][ T86] ? validate_chain+0x34a/0xc20 [ 9.859124][ T86] hvc_console_print+0x292/0x780 [ 9.859126][ T86] ? __lock_acquire+0x518/0xc20 [ 9.859131][ T86] ? hvc_write+0x3a0/0x3a0 [ 9.859134][ T86] ? rcu_is_watching+0x16/0xd0 [ 9.859140][ T86] console_emit_next_record+0x252/0x4f0 [ 9.859143][ T86] ? devkmsg_read+0x4e0/0x4e0 [ 9.859148][ T86] ? rcu_is_watching+0x16/0xd0 [ 9.859150][ T86] ? lock_acquire+0x13c/0x160 [ 9.859153][ T86] console_flush_one_record+0x46f/0x710 [ 9.859157][ T86] ? console_emit_next_record+0x4f0/0x4f0 [ 9.859159][ T86] ? __lock_acquire+0x518/0xc20 [ 9.859164][ T86] console_unlock+0xee/0x1f0 [ 9.859166][ T86] ? console_flush_one_record+0x710/0x710 [ 9.859168][ T86] ? rcu_is_watching+0x16/0xd0 [ 9.859170][ T86] ? lock_acquire+0x60/0x160 [ 9.859173][ T86] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.859175][ T86] ? vprintk_emit+0x320/0x3e0 [ 9.859178][ T86] vprintk_emit+0x37c/0x3e0 [ 9.859181][ T86] ? wake_up_klogd_work_func+0x90/0x90 [ 9.859183][ T86] ? write_profile+0xf0/0xf0 [ 9.859186][ T86] ? unwind_get_return_address+0x67/0xd0 [ 9.859193][ T86] dev_vprintk_emit+0x27f/0x2c0 [ 9.859198][ T86] ? device_rename.cold+0xa/0xa [ 9.859203][ T86] ? filter_irq_stacks+0xd0/0xd0 [ 9.859208][ T86] dev_printk_emit+0xb9/0xee [ 9.859211][ T86] ? dev_vprintk_emit+0x2c0/0x2c0 [ 9.859215][ T86] ? check_prev_add+0x316/0xe90 [ 9.859220][ T86] __netdev_printk+0x160/0x1d0 [ 9.859225][ T86] netdev_info+0xe2/0x116 [ 9.859227][ T86] ? netdev_notice+0x120/0x120 [ 9.859229][ T86] ? find_held_lock+0x2b/0x80 [ 9.859233][ T86] ? __lock_release.isra.0+0x69/0x1a0 [ 9.859235][ T86] ? mark_held_locks+0x40/0x70 [ 9.859239][ T86] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 9.859241][ T86] netif_change_name.cold+0x4f/0x89 [ 9.859244][ T86] ? __lock_acquire+0x518/0xc20 [ 9.859246][ T86] ? rwsem_optimistic_spin+0x3c7/0x480 [ 9.859248][ T86] ? find_held_lock+0x2/0x80 [ 9.859251][ T86] ? netdev_adjacent_rename_links+0x470/0x470 [ 9.859254][ T86] ? find_held_lock+0x2b/0x80 [ 9.859257][ T86] ? __asan_memset+0x27/0x50 [ 9.859262][ T86] do_setlink.isra.0+0x1f7d/0x2a60 [ 9.859265][ T86] ? __lock_acquire+0x518/0xc20 [ 9.859268][ T86] ? rtnl_link_get_size+0x350/0x350 [ 9.859270][ T86] ? mark_usage+0x61/0x170 [ 9.859271][ T86] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.859273][ T86] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.859276][ T86] ? validate_chain+0x38b/0xc20 [ 9.859280][ T86] ? __lock_acquire+0x518/0xc20 [ 9.859284][ T86] ? lock_acquire.part.0+0xd4/0x280 [ 9.859286][ T86] ? rtnl_setlink+0x29d/0x920 [ 9.859289][ T86] ? rcu_is_watching+0x16/0xd0 [ 9.859291][ T86] ? lock_acquire+0x13c/0x160 [ 9.859292][ T86] ? rcu_is_watching+0x16/0xd0 [ 9.859294][ T86] ? rcu_is_watching+0x16/0xd0 [ 9.859296][ T86] ? trace_contention_end+0xb3/0x180 [ 9.859299][ T86] ? __mutex_lock+0x1db/0x1ea0 [ 9.859301][ T86] ? __mutex_lock+0x9a3/0x1ea0 [ 9.859303][ T86] ? __lock_acquire+0x518/0xc20 [ 9.859304][ T86] ? rtnl_setlink+0x29d/0x920 [ 9.859307][ T86] ? mark_usage+0x61/0x170 [ 9.859309][ T86] ? ww_mutex_lock+0x160/0x160 [ 9.859311][ T86] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.859317][ T86] ? mark_usage+0x61/0x170 [ 9.859320][ T86] ? cap_capable+0x1d7/0x3d0 [ 9.859328][ T86] rtnl_setlink+0x527/0x920 [ 9.859331][ T86] ? __rtnl_newlink+0xa50/0xa50 [ 9.859333][ T86] ? __lock_acquire+0x518/0xc20 [ 9.859362][ T86] ? lock_acquire.part.0+0xd4/0x280 [ 9.859363][ T86] ? find_held_lock+0x2b/0x80 [ 9.859367][ T86] ? __lock_release.isra.0+0x69/0x1a0 [ 9.859368][ T86] ? mark_usage+0x61/0x170 [ 9.859370][ T86] ? __lock_acquire+0x518/0xc20 [ 9.859374][ T86] ? lock_acquire.part.0+0xd4/0x280 [ 9.859376][ T86] ? find_held_lock+0x2b/0x80 [ 9.859378][ T86] ? __rtnl_newlink+0xa50/0xa50 [ 9.859380][ T86] ? __lock_release.isra.0+0x69/0x1a0 [ 9.859384][ T86] ? __rtnl_newlink+0xa50/0xa50 [ 9.859386][ T86] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.859389][ T86] ? rtnl_link_fill+0x900/0x900 [ 9.859391][ T86] ? __lock_acquire+0x518/0xc20 [ 9.859395][ T86] ? lock_acquire.part.0+0xd4/0x280 [ 9.859397][ T86] ? find_held_lock+0x2b/0x80 [ 9.859401][ T86] netlink_rcv_skb+0x14e/0x3a0 [ 9.859404][ T86] ? rtnl_link_fill+0x900/0x900 [ 9.859407][ T86] ? netlink_ack+0xcd0/0xcd0 [ 9.859414][ T86] ? netlink_deliver_tap+0xc5/0x330 [ 9.859416][ T86] ? netlink_deliver_tap+0x13c/0x330 [ 9.859420][ T86] netlink_unicast+0x486/0x750 [ 9.859424][ T86] ? netlink_attachskb+0x810/0x810 [ 9.859427][ T86] ? __lock_acquire+0x518/0xc20 [ 9.859431][ T86] netlink_sendmsg+0x735/0xc60 [ 9.859436][ T86] ? netlink_unicast+0x750/0x750 [ 9.859439][ T86] ? __might_fault+0x97/0x140 [ 9.859443][ T86] ? __might_fault+0x97/0x140 [ 9.859446][ T86] __sys_sendto+0x2aa/0x400 [ 9.859450][ T86] ? __ia32_sys_getpeername+0xd0/0xd0 [ 9.859460][ T86] ? exc_page_fault+0x87/0x100 [ 9.859466][ T86] __x64_sys_sendto+0xe4/0x1f0 [ 9.859468][ T86] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.859472][ T86] ? lockdep_hardirqs_on+0x91/0x130 [ 9.859473][ T86] ? do_syscall_64+0xa6/0x530 [ 9.859475][ T86] do_syscall_64+0xff/0x530 [ 9.859476][ T86] ? exc_page_fault+0xee/0x100 [ 9.859479][ T86] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.859481][ T86] RIP: 0033:0x7f404242854e [ 9.859485][ T86] 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.859487][ T86] RSP: 002b:00007ffe20cfeab0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 9.859490][ T86] RAX: ffffffffffffffda RBX: 0000561d8286ef40 RCX: 00007f404242854e [ 9.859491][ T86] RDX: 0000000000000030 RSI: 0000561d8286abc0 RDI: 000000000000001a [ 9.859492][ T86] RBP: 00007ffe20cfeac0 R08: 00007ffe20cfeb10 R09: 0000000000000080 [ 9.859493][ T86] R10: 0000000000000000 R11: 0000000000000202 R12: 0000561d829c54a0 [ 9.859494][ T86] R13: 00007ffe20cfebf4 R14: 0000000000000000 R15: 0000000000000000 [ 9.859501][ T86] [ 9.915062][ T90] netdevsim netdevsim564 eni564np1: renamed from eth1 [ 10.792341][ T194] cat (194) used greatest stack depth: 23872 bytes left [ 10.793081][ T166] Could not find device with ifindex 2000 in netnsfd 11 [ 10.793734][ T166] Could not find netns with fd: 2000 [ 10.794262][ T166] Cannot link a netdevsim to itself [ 10.794784][ T166] Format for linking two devices is "netnsfd_a:ifidx_a netnsfd_b:ifidx_b" (int uint int uint).