[ 10.542134][ T83] netdevsim netdevsim1337 eni1337np1: renamed from eth0 [ 10.542190][ T83] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.542192][ T83] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 83, name: (udev-worker) [ 10.542194][ T83] preempt_count: 1, expected: 0 [ 10.542195][ T83] RCU nest depth: 0, expected: 0 [ 10.542196][ T83] locks held by (udev-worker)/83: 6, last CPU#3: [ 10.542198][ T83] #0: ffffffffac8cfcc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 10.542210][ T83] #1: ff1100000d022dd0 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 10.542214][ T83] #2: ffffffffac169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.542220][ T83] #3: ffffffffac169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.542223][ T83] #4: ffffffffac089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.542226][ T83] #5: ffffffffac089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.542230][ T83] irq event stamp: 445030 [ 10.542231][ T83] hardirqs last enabled at (445029): [] __down_trylock_console_sem+0x86/0xa0 [ 10.542233][ T83] hardirqs last disabled at (445030): [] console_emit_next_record+0x3d4/0x4c0 [ 10.542235][ T83] softirqs last enabled at (445024): [] netif_change_name+0x216/0x8c0 [ 10.542237][ T83] softirqs last disabled at (445022): [] netif_change_name+0x1ad/0x8c0 [ 10.542239][ T83] Preemption disabled at: [ 10.542240][ T83] [] vprintk_emit+0x31b/0x3e0 [ 10.542246][ T83] CPU: 3 UID: 0 PID: 83 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.542249][ T83] Tainted: [W]=WARN [ 10.542250][ T83] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.542252][ T83] Call Trace: [ 10.542253][ T83] [ 10.542255][ T83] dump_stack_lvl+0x6f/0xa0 [ 10.542260][ T83] ? vprintk_emit+0x31b/0x3e0 [ 10.542262][ T83] __might_resched.cold+0x1fe/0x2c1 [ 10.542267][ T83] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.542271][ T83] ? __kmalloc_noprof+0xdb/0x760 [ 10.542276][ T83] __kmalloc_noprof+0x443/0x760 [ 10.542278][ T83] ? alloc_buf.isra.0+0x4b/0x260 [ 10.542284][ T83] ? do_raw_spin_unlock+0x59/0x250 [ 10.542287][ T83] alloc_buf.isra.0+0x4b/0x260 [ 10.542291][ T83] put_chars+0x1e1/0x2f0 [ 10.542294][ T83] ? __send_to_port+0x420/0x420 [ 10.542299][ T83] ? validate_chain+0x34a/0xc20 [ 10.542302][ T83] hvc_console_print+0x292/0x780 [ 10.542306][ T83] ? mark_usage+0x61/0x170 [ 10.542308][ T83] ? __lock_acquire+0x518/0xc20 [ 10.542309][ T83] ? __lock_acquire+0x518/0xc20 [ 10.542313][ T83] ? hvc_write+0x3a0/0x3a0 [ 10.542315][ T83] ? console_emit_next_record+0x1df/0x4c0 [ 10.542318][ T83] ? rcu_is_watching+0x16/0xd0 [ 10.542322][ T83] ? lock_acquire+0x13c/0x160 [ 10.542326][ T83] console_emit_next_record+0x22f/0x4c0 [ 10.542329][ T83] ? devkmsg_read+0x4b0/0x4b0 [ 10.542331][ T83] ? console_flush_one_record+0x106/0x710 [ 10.542334][ T83] ? rcu_is_watching+0x16/0xd0 [ 10.542336][ T83] ? lock_acquire+0x13c/0x160 [ 10.542340][ T83] console_flush_one_record+0x46f/0x710 [ 10.542344][ T83] ? console_emit_next_record+0x4c0/0x4c0 [ 10.542345][ T83] ? __lock_acquire+0x518/0xc20 [ 10.542350][ T83] console_unlock+0xee/0x1f0 [ 10.542353][ T83] ? console_flush_one_record+0x710/0x710 [ 10.542355][ T83] ? rcu_is_watching+0x16/0xd0 [ 10.542357][ T83] ? lock_acquire+0x60/0x160 [ 10.542360][ T83] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.542362][ T83] ? vprintk_emit+0x320/0x3e0 [ 10.542365][ T83] vprintk_emit+0x37c/0x3e0 [ 10.542368][ T83] ? wake_up_klogd_work_func+0x90/0x90 [ 10.542370][ T83] ? write_profile+0xf0/0xf0 [ 10.542374][ T83] ? unwind_get_return_address+0x67/0xd0 [ 10.542381][ T83] dev_vprintk_emit+0x27f/0x2c0 [ 10.542392][ T83] ? device_rename.cold+0xa/0xa [ 10.542396][ T83] ? filter_irq_stacks+0xd0/0xd0 [ 10.542402][ T83] dev_printk_emit+0xb9/0xee [ 10.542405][ T83] ? dev_vprintk_emit+0x2c0/0x2c0 [ 10.542409][ T83] ? check_prev_add+0x316/0xe90 [ 10.542414][ T83] __netdev_printk+0x160/0x1d0 [ 10.542419][ T83] netdev_info+0xe2/0x116 [ 10.542421][ T83] ? netdev_notice+0x120/0x120 [ 10.542423][ T83] ? find_held_lock+0x2b/0x80 [ 10.542427][ T83] ? __lock_release.isra.0+0x69/0x1a0 [ 10.542430][ T83] ? mark_held_locks+0x40/0x70 [ 10.542433][ T83] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.542435][ T83] netif_change_name.cold+0x4f/0x89 [ 10.542438][ T83] ? __lock_acquire+0x518/0xc20 [ 10.542440][ T83] ? __lock_acquire+0x7/0xc20 [ 10.542442][ T83] ? find_held_lock+0x2/0x80 [ 10.542445][ T83] ? netdev_adjacent_rename_links+0x470/0x470 [ 10.542447][ T83] ? find_held_lock+0x2b/0x80 [ 10.542451][ T83] ? __asan_memset+0x27/0x50 [ 10.542456][ T83] do_setlink.isra.0+0x1f7d/0x2a60 [ 10.542459][ T83] ? __lock_acquire+0x518/0xc20 [ 10.542462][ T83] ? rtnl_link_get_size+0x350/0x350 [ 10.542464][ T83] ? mark_usage+0x61/0x170 [ 10.542465][ T83] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.542468][ T83] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.542470][ T83] ? validate_chain+0x38b/0xc20 [ 10.542474][ T83] ? __lock_acquire+0x518/0xc20 [ 10.542478][ T83] ? lock_acquire.part.0+0xd4/0x280 [ 10.542480][ T83] ? rtnl_setlink+0x29d/0x920 [ 10.542483][ T83] ? rcu_is_watching+0x16/0xd0 [ 10.542485][ T83] ? lock_acquire+0x13c/0x160 [ 10.542486][ T83] ? rcu_is_watching+0x16/0xd0 [ 10.542488][ T83] ? rcu_is_watching+0x16/0xd0 [ 10.542490][ T83] ? trace_contention_end+0xb3/0x180 [ 10.542493][ T83] ? __mutex_lock+0x1db/0x1ea0 [ 10.542498][ T83] ? __mutex_lock+0x9a3/0x1ea0 [ 10.542500][ T83] ? __lock_acquire+0x518/0xc20 [ 10.542502][ T83] ? rtnl_setlink+0x29d/0x920 [ 10.542504][ T83] ? mark_usage+0x61/0x170 [ 10.542506][ T83] ? ww_mutex_lock+0x160/0x160 [ 10.542509][ T83] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.542514][ T83] ? mark_usage+0x61/0x170 [ 10.542517][ T83] ? cap_capable+0x1d7/0x3d0 [ 10.542525][ T83] rtnl_setlink+0x527/0x920 [ 10.542530][ T83] ? __rtnl_newlink+0xa50/0xa50 [ 10.542532][ T83] ? __lock_acquire+0x518/0xc20 [ 10.542554][ T83] ? lock_acquire.part.0+0xd4/0x280 [ 10.542556][ T83] ? find_held_lock+0x2b/0x80 [ 10.542559][ T83] ? __lock_release.isra.0+0x69/0x1a0 [ 10.542561][ T83] ? mark_usage+0x61/0x170 [ 10.542563][ T83] ? __lock_acquire+0x518/0xc20 [ 10.542567][ T83] ? lock_acquire.part.0+0xd4/0x280 [ 10.542569][ T83] ? find_held_lock+0x2b/0x80 [ 10.542571][ T83] ? __rtnl_newlink+0xa50/0xa50 [ 10.542573][ T83] ? __lock_release.isra.0+0x69/0x1a0 [ 10.542576][ T83] ? __rtnl_newlink+0xa50/0xa50 [ 10.542579][ T83] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.542582][ T83] ? rtnl_link_fill+0x900/0x900 [ 10.542584][ T83] ? __lock_acquire+0x518/0xc20 [ 10.542588][ T83] ? lock_acquire.part.0+0xd4/0x280 [ 10.542589][ T83] ? find_held_lock+0x2b/0x80 [ 10.542593][ T83] netlink_rcv_skb+0x14e/0x3a0 [ 10.542597][ T83] ? rtnl_link_fill+0x900/0x900 [ 10.542600][ T83] ? netlink_ack+0xcd0/0xcd0 [ 10.542606][ T83] ? netlink_deliver_tap+0xc5/0x330 [ 10.542608][ T83] ? netlink_deliver_tap+0x13c/0x330 [ 10.542612][ T83] netlink_unicast+0x486/0x750 [ 10.542616][ T83] ? netlink_attachskb+0x810/0x810 [ 10.542619][ T83] ? __lock_acquire+0x518/0xc20 [ 10.542623][ T83] netlink_sendmsg+0x735/0xc60 [ 10.542627][ T83] ? netlink_unicast+0x750/0x750 [ 10.542630][ T83] ? __might_fault+0x97/0x140 [ 10.542634][ T83] ? __might_fault+0x97/0x140 [ 10.542637][ T83] __sys_sendto+0x2aa/0x400 [ 10.542642][ T83] ? __ia32_sys_getpeername+0xd0/0xd0 [ 10.542653][ T83] ? exc_page_fault+0x87/0x100 [ 10.542658][ T83] __x64_sys_sendto+0xe4/0x1f0 [ 10.542661][ T83] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.542664][ T83] ? lockdep_hardirqs_on+0x91/0x130 [ 10.542666][ T83] ? do_syscall_64+0xa6/0x530 [ 10.542668][ T83] do_syscall_64+0xff/0x530 [ 10.542670][ T83] ? exc_page_fault+0xee/0x100 [ 10.542673][ T83] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.542675][ T83] RIP: 0033:0x7f3c8ef9a54e [ 10.542679][ 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 [ 10.542681][ T83] RSP: 002b:00007fff3d455a60 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 10.542684][ T83] RAX: ffffffffffffffda RBX: 000055e8b5198760 RCX: 00007f3c8ef9a54e [ 10.542685][ T83] RDX: 0000000000000030 RSI: 000055e8b5198420 RDI: 0000000000000014 [ 10.542686][ T83] RBP: 00007fff3d455a70 R08: 00007fff3d455ac0 R09: 0000000000000080 [ 10.542687][ T83] R10: 0000000000000000 R11: 0000000000000202 R12: 000055e8b52f4570 [ 10.542688][ T83] R13: 00007fff3d455ba4 R14: 0000000000000000 R15: 0000000000000000 [ 10.542695][ T83] [ 10.744390][ T137] netdevsim netdevsim1337 nsim0: renamed from eni1337np1