[ 9.242380][ T92] netdevsim netdevsim1337 eni1337np1: renamed from eth0 [ 9.242441][ T92] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.242444][ T92] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 92, name: (udev-worker) [ 9.242446][ T92] preempt_count: 1, expected: 0 [ 9.242447][ T92] RCU nest depth: 0, expected: 0 [ 9.242447][ T92] locks held by (udev-worker)/92: 6, last CPU#1: [ 9.242450][ T92] #0: ffffffff860cfcc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 9.242462][ T92] #1: ff1100000ce3add0 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 9.242467][ T92] #2: ffffffff85969cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.242473][ T92] #3: ffffffff85969d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.242476][ T92] #4: ffffffff85889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.242479][ T92] #5: ffffffff85889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.242483][ T92] irq event stamp: 457208 [ 9.242484][ T92] hardirqs last enabled at (457207): [] __down_trylock_console_sem+0x86/0xa0 [ 9.242486][ T92] hardirqs last disabled at (457208): [] console_emit_next_record+0x3d4/0x4c0 [ 9.242488][ T92] softirqs last enabled at (457202): [] netif_change_name+0x216/0x8c0 [ 9.242491][ T92] softirqs last disabled at (457200): [] netif_change_name+0x1ad/0x8c0 [ 9.242493][ T92] Preemption disabled at: [ 9.242493][ T92] [] vprintk_emit+0x31b/0x3e0 [ 9.242499][ T92] CPU: 1 UID: 0 PID: 92 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.242503][ T92] Tainted: [W]=WARN [ 9.242503][ T92] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.242505][ T92] Call Trace: [ 9.242507][ T92] [ 9.242508][ T92] dump_stack_lvl+0x6f/0xa0 [ 9.242514][ T92] ? vprintk_emit+0x31b/0x3e0 [ 9.242516][ T92] __might_resched.cold+0x1fe/0x2c1 [ 9.242521][ T92] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.242528][ T92] ? __kmalloc_noprof+0xdb/0x760 [ 9.242535][ T92] __kmalloc_noprof+0x443/0x760 [ 9.242538][ T92] ? alloc_buf.isra.0+0x4b/0x260 [ 9.242546][ T92] ? do_raw_spin_unlock+0x59/0x250 [ 9.242549][ T92] alloc_buf.isra.0+0x4b/0x260 [ 9.242553][ T92] put_chars+0x1e1/0x2f0 [ 9.242556][ T92] ? __send_to_port+0x420/0x420 [ 9.242561][ T92] ? validate_chain+0x34a/0xc20 [ 9.242564][ T92] hvc_console_print+0x292/0x780 [ 9.242568][ T92] ? mark_usage+0x61/0x170 [ 9.242570][ T92] ? __lock_acquire+0x518/0xc20 [ 9.242571][ T92] ? __lock_acquire+0x518/0xc20 [ 9.242575][ T92] ? hvc_write+0x3a0/0x3a0 [ 9.242577][ T92] ? console_emit_next_record+0x1df/0x4c0 [ 9.242580][ T92] ? rcu_is_watching+0x16/0xd0 [ 9.242584][ T92] ? lock_acquire+0x13c/0x160 [ 9.242588][ T92] console_emit_next_record+0x22f/0x4c0 [ 9.242591][ T92] ? devkmsg_read+0x4b0/0x4b0 [ 9.242593][ T92] ? console_flush_one_record+0x106/0x710 [ 9.242596][ T92] ? rcu_is_watching+0x16/0xd0 [ 9.242598][ T92] ? lock_acquire+0x13c/0x160 [ 9.242602][ T92] console_flush_one_record+0x46f/0x710 [ 9.242606][ T92] ? console_emit_next_record+0x4c0/0x4c0 [ 9.242607][ T92] ? __lock_acquire+0x518/0xc20 [ 9.242612][ T92] console_unlock+0xee/0x1f0 [ 9.242615][ T92] ? console_flush_one_record+0x710/0x710 [ 9.242616][ T92] ? rcu_is_watching+0x16/0xd0 [ 9.242619][ T92] ? lock_acquire+0x60/0x160 [ 9.242622][ T92] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.242624][ T92] ? vprintk_emit+0x320/0x3e0 [ 9.242627][ T92] vprintk_emit+0x37c/0x3e0 [ 9.242630][ T92] ? wake_up_klogd_work_func+0x90/0x90 [ 9.242632][ T92] ? write_profile+0xf0/0xf0 [ 9.242635][ T92] ? unwind_get_return_address+0x67/0xd0 [ 9.242642][ T92] dev_vprintk_emit+0x27f/0x2c0 [ 9.242647][ T92] ? device_rename.cold+0xa/0xa [ 9.242651][ T92] ? filter_irq_stacks+0xd0/0xd0 [ 9.242657][ T92] dev_printk_emit+0xb9/0xee [ 9.242660][ T92] ? dev_vprintk_emit+0x2c0/0x2c0 [ 9.242664][ T92] ? check_prev_add+0x316/0xe90 [ 9.242668][ T92] __netdev_printk+0x160/0x1d0 [ 9.242674][ T92] netdev_info+0xe2/0x116 [ 9.242676][ T92] ? netdev_notice+0x120/0x120 [ 9.242678][ T92] ? find_held_lock+0x2b/0x80 [ 9.242683][ T92] ? __lock_release.isra.0+0x69/0x1a0 [ 9.242685][ T92] ? mark_held_locks+0x40/0x70 [ 9.242688][ T92] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 9.242691][ T92] netif_change_name.cold+0x4f/0x89 [ 9.242694][ T92] ? __lock_acquire+0x518/0xc20 [ 9.242695][ T92] ? __lock_acquire+0x7/0xc20 [ 9.242697][ T92] ? find_held_lock+0x2/0x80 [ 9.242700][ T92] ? netdev_adjacent_rename_links+0x470/0x470 [ 9.242703][ T92] ? find_held_lock+0x2b/0x80 [ 9.242706][ T92] ? __asan_memset+0x27/0x50 [ 9.242711][ T92] do_setlink.isra.0+0x1f7d/0x2a60 [ 9.242714][ T92] ? __lock_acquire+0x518/0xc20 [ 9.242717][ T92] ? rtnl_link_get_size+0x350/0x350 [ 9.242718][ T92] ? mark_usage+0x61/0x170 [ 9.242720][ T92] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.242722][ T92] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.242724][ T92] ? validate_chain+0x38b/0xc20 [ 9.242729][ T92] ? __lock_acquire+0x518/0xc20 [ 9.242733][ T92] ? lock_acquire.part.0+0xd4/0x280 [ 9.242735][ T92] ? rtnl_setlink+0x29d/0x920 [ 9.242738][ T92] ? rcu_is_watching+0x16/0xd0 [ 9.242740][ T92] ? lock_acquire+0x13c/0x160 [ 9.242741][ T92] ? rcu_is_watching+0x16/0xd0 [ 9.242743][ T92] ? rcu_is_watching+0x16/0xd0 [ 9.242745][ T92] ? trace_contention_end+0xb3/0x180 [ 9.242747][ T92] ? __mutex_lock+0x1db/0x1ea0 [ 9.242751][ T92] ? __mutex_lock+0x9a3/0x1ea0 [ 9.242753][ T92] ? __lock_acquire+0x518/0xc20 [ 9.242755][ T92] ? rtnl_setlink+0x29d/0x920 [ 9.242757][ T92] ? mark_usage+0x61/0x170 [ 9.242760][ T92] ? ww_mutex_lock+0x160/0x160 [ 9.242762][ T92] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.242768][ T92] ? mark_usage+0x61/0x170 [ 9.242771][ T92] ? cap_capable+0x1d7/0x3d0 [ 9.242778][ T92] rtnl_setlink+0x527/0x920 [ 9.242781][ T92] ? __rtnl_newlink+0xa50/0xa50 [ 9.242783][ T92] ? __lock_acquire+0x518/0xc20 [ 9.242786][ T92] ? validate_chain+0x38b/0xc20 [ 9.242807][ T92] ? rcu_is_watching+0x16/0xd0 [ 9.242809][ T92] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.242813][ T92] ? mark_usage+0x61/0x170 [ 9.242820][ T92] ? irqentry_exit+0x21c/0x790 [ 9.242823][ T92] ? __lock_acquire+0x518/0xc20 [ 9.242828][ T92] ? lock_acquire.part.0+0xd4/0x280 [ 9.242830][ T92] ? find_held_lock+0x2b/0x80 [ 9.242832][ T92] ? __rtnl_newlink+0xa50/0xa50 [ 9.242835][ T92] ? __lock_release.isra.0+0x69/0x1a0 [ 9.242838][ T92] ? __rtnl_newlink+0xa50/0xa50 [ 9.242840][ T92] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.242844][ T92] ? rtnl_link_fill+0x900/0x900 [ 9.242845][ T92] ? __lock_acquire+0x518/0xc20 [ 9.242850][ T92] ? lock_acquire.part.0+0xd4/0x280 [ 9.242851][ T92] ? find_held_lock+0x2b/0x80 [ 9.242855][ T92] netlink_rcv_skb+0x14e/0x3a0 [ 9.242859][ T92] ? rtnl_link_fill+0x900/0x900 [ 9.242862][ T92] ? netlink_ack+0xcd0/0xcd0 [ 9.242868][ T92] ? netlink_deliver_tap+0xc5/0x330 [ 9.242870][ T92] ? netlink_deliver_tap+0x13c/0x330 [ 9.242875][ T92] netlink_unicast+0x486/0x750 [ 9.242878][ T92] ? netlink_attachskb+0x810/0x810 [ 9.242881][ T92] ? __lock_acquire+0x518/0xc20 [ 9.242885][ T92] netlink_sendmsg+0x735/0xc60 [ 9.242889][ T92] ? netlink_unicast+0x750/0x750 [ 9.242893][ T92] ? __might_fault+0x97/0x140 [ 9.242896][ T92] ? __might_fault+0x97/0x140 [ 9.242900][ T92] __sys_sendto+0x2aa/0x400 [ 9.242904][ T92] ? __ia32_sys_getpeername+0xd0/0xd0 [ 9.242915][ T92] ? exc_page_fault+0x87/0x100 [ 9.242921][ T92] __x64_sys_sendto+0xe4/0x1f0 [ 9.242923][ T92] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.242925][ T92] ? lockdep_hardirqs_on+0x91/0x130 [ 9.242927][ T92] ? do_syscall_64+0xa6/0x530 [ 9.242929][ T92] do_syscall_64+0xff/0x530 [ 9.242931][ T92] ? exc_page_fault+0xee/0x100 [ 9.242934][ T92] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.242936][ T92] RIP: 0033:0x7f6ee567b54e [ 9.242941][ T92] 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.242942][ T92] RSP: 002b:00007ffc1579e420 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 9.242945][ T92] RAX: ffffffffffffffda RBX: 000055c1007a3f50 RCX: 00007f6ee567b54e [ 9.242946][ T92] RDX: 0000000000000030 RSI: 000055c10090d4f0 RDI: 0000000000000024 [ 9.242947][ T92] RBP: 00007ffc1579e430 R08: 00007ffc1579e480 R09: 0000000000000080 [ 9.242948][ T92] R10: 0000000000000000 R11: 0000000000000202 R12: 000055c10090e610 [ 9.242949][ T92] R13: 00007ffc1579e564 R14: 0000000000000000 R15: 0000000000000000 [ 9.242956][ T92] [ 9.413807][ T139] netdevsim netdevsim1337 nsim0: renamed from eni1337np1