[ 8.641841][ T87] netdevsim netdevsim1337 eni1337np1: renamed from eth0 [ 8.641899][ T87] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.641901][ T87] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 87, name: (udev-worker) [ 8.641903][ T87] preempt_count: 1, expected: 0 [ 8.641904][ T87] RCU nest depth: 0, expected: 0 [ 8.641905][ T87] locks held by (udev-worker)/87: 6, last CPU#3: [ 8.641907][ T87] #0: ffffffffa6ecfcc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 8.641919][ T87] #1: ff1100000d81add0 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 8.641924][ T87] #2: ffffffffa6769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.641932][ T87] #3: ffffffffa6769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.641937][ T87] #4: ffffffffa6689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.641942][ T87] #5: ffffffffa6689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 8.641947][ T87] irq event stamp: 386478 [ 8.641948][ T87] hardirqs last enabled at (386477): [] __down_trylock_console_sem+0x86/0xa0 [ 8.641951][ T87] hardirqs last disabled at (386478): [] console_emit_next_record+0x3d4/0x4c0 [ 8.641952][ T87] softirqs last enabled at (386472): [] netif_change_name+0x216/0x8c0 [ 8.641955][ T87] softirqs last disabled at (386470): [] netif_change_name+0x1ad/0x8c0 [ 8.641957][ T87] Preemption disabled at: [ 8.641958][ T87] [] vprintk_emit+0x31b/0x3e0 [ 8.641964][ T87] CPU: 3 UID: 0 PID: 87 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.641968][ T87] Tainted: [W]=WARN [ 8.641968][ T87] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.641970][ T87] Call Trace: [ 8.641972][ T87] [ 8.641973][ T87] dump_stack_lvl+0x6f/0xa0 [ 8.641979][ T87] ? vprintk_emit+0x31b/0x3e0 [ 8.641981][ T87] __might_resched.cold+0x1fe/0x2c1 [ 8.641986][ T87] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.641990][ T87] ? __kmalloc_noprof+0xdb/0x760 [ 8.641995][ T87] __kmalloc_noprof+0x443/0x760 [ 8.641997][ T87] ? alloc_buf.isra.0+0x4b/0x260 [ 8.642003][ T87] ? do_raw_spin_unlock+0x59/0x250 [ 8.642006][ T87] alloc_buf.isra.0+0x4b/0x260 [ 8.642009][ T87] put_chars+0x1e1/0x2f0 [ 8.642012][ T87] ? __send_to_port+0x420/0x420 [ 8.642017][ T87] ? validate_chain+0x34a/0xc20 [ 8.642020][ T87] hvc_console_print+0x292/0x780 [ 8.642024][ T87] ? mark_usage+0x61/0x170 [ 8.642026][ T87] ? __lock_acquire+0x518/0xc20 [ 8.642027][ T87] ? __lock_acquire+0x518/0xc20 [ 8.642031][ T87] ? hvc_write+0x3a0/0x3a0 [ 8.642033][ T87] ? console_emit_next_record+0x1df/0x4c0 [ 8.642036][ T87] ? rcu_is_watching+0x16/0xd0 [ 8.642040][ T87] ? lock_acquire+0x13c/0x160 [ 8.642044][ T87] console_emit_next_record+0x22f/0x4c0 [ 8.642047][ T87] ? devkmsg_read+0x4b0/0x4b0 [ 8.642049][ T87] ? console_flush_one_record+0x106/0x710 [ 8.642052][ T87] ? rcu_is_watching+0x16/0xd0 [ 8.642054][ T87] ? lock_acquire+0x13c/0x160 [ 8.642058][ T87] console_flush_one_record+0x46f/0x710 [ 8.642061][ T87] ? console_emit_next_record+0x4c0/0x4c0 [ 8.642063][ T87] ? __lock_acquire+0x518/0xc20 [ 8.642068][ T87] console_unlock+0xee/0x1f0 [ 8.642071][ T87] ? console_flush_one_record+0x710/0x710 [ 8.642072][ T87] ? rcu_is_watching+0x16/0xd0 [ 8.642074][ T87] ? lock_acquire+0x60/0x160 [ 8.642078][ T87] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.642079][ T87] ? vprintk_emit+0x320/0x3e0 [ 8.642082][ T87] vprintk_emit+0x37c/0x3e0 [ 8.642086][ T87] ? wake_up_klogd_work_func+0x90/0x90 [ 8.642088][ T87] ? write_profile+0xf0/0xf0 [ 8.642091][ T87] ? unwind_get_return_address+0x67/0xd0 [ 8.642098][ T87] dev_vprintk_emit+0x27f/0x2c0 [ 8.642103][ T87] ? device_rename.cold+0xa/0xa [ 8.642107][ T87] ? filter_irq_stacks+0xd0/0xd0 [ 8.642113][ T87] dev_printk_emit+0xb9/0xee [ 8.642115][ T87] ? dev_vprintk_emit+0x2c0/0x2c0 [ 8.642119][ T87] ? check_prev_add+0x316/0xe90 [ 8.642124][ T87] __netdev_printk+0x160/0x1d0 [ 8.642129][ T87] netdev_info+0xe2/0x116 [ 8.642132][ T87] ? netdev_notice+0x120/0x120 [ 8.642134][ T87] ? find_held_lock+0x2b/0x80 [ 8.642138][ T87] ? __lock_release.isra.0+0x69/0x1a0 [ 8.642140][ T87] ? mark_held_locks+0x40/0x70 [ 8.642143][ T87] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 8.642146][ T87] netif_change_name.cold+0x4f/0x89 [ 8.642149][ T87] ? __lock_acquire+0x518/0xc20 [ 8.642151][ T87] ? __lock_acquire+0x7/0xc20 [ 8.642152][ T87] ? find_held_lock+0x2/0x80 [ 8.642155][ T87] ? netdev_adjacent_rename_links+0x470/0x470 [ 8.642158][ T87] ? find_held_lock+0x2b/0x80 [ 8.642166][ T87] ? __asan_memset+0x27/0x50 [ 8.642172][ T87] do_setlink.isra.0+0x1f7d/0x2a60 [ 8.642175][ T87] ? __lock_acquire+0x518/0xc20 [ 8.642178][ T87] ? rtnl_link_get_size+0x350/0x350 [ 8.642180][ T87] ? mark_usage+0x61/0x170 [ 8.642181][ T87] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 8.642184][ T87] ? rcu_read_lock_any_held+0x3c/0x90 [ 8.642186][ T87] ? validate_chain+0x38b/0xc20 [ 8.642190][ T87] ? __lock_acquire+0x518/0xc20 [ 8.642194][ T87] ? lock_acquire.part.0+0xd4/0x280 [ 8.642196][ T87] ? rtnl_setlink+0x29d/0x920 [ 8.642199][ T87] ? rcu_is_watching+0x16/0xd0 [ 8.642201][ T87] ? lock_acquire+0x13c/0x160 [ 8.642202][ T87] ? rcu_is_watching+0x16/0xd0 [ 8.642204][ T87] ? rcu_is_watching+0x16/0xd0 [ 8.642206][ T87] ? trace_contention_end+0xb3/0x180 [ 8.642209][ T87] ? __mutex_lock+0x1db/0x1ea0 [ 8.642213][ T87] ? __mutex_lock+0x9a3/0x1ea0 [ 8.642215][ T87] ? __lock_acquire+0x518/0xc20 [ 8.642217][ T87] ? rtnl_setlink+0x29d/0x920 [ 8.642219][ T87] ? mark_usage+0x61/0x170 [ 8.642222][ T87] ? ww_mutex_lock+0x160/0x160 [ 8.642224][ T87] ? nla_get_range_signed+0x3d0/0x3d0 [ 8.642230][ T87] ? mark_usage+0x61/0x170 [ 8.642233][ T87] ? cap_capable+0x1d7/0x3d0 [ 8.642240][ T87] rtnl_setlink+0x527/0x920 [ 8.642243][ T87] ? __rtnl_newlink+0xa50/0xa50 [ 8.642245][ T87] ? __lock_acquire+0x518/0xc20 [ 8.642267][ T87] ? lock_acquire.part.0+0xd4/0x280 [ 8.642269][ T87] ? find_held_lock+0x2b/0x80 [ 8.642272][ T87] ? __lock_release.isra.0+0x69/0x1a0 [ 8.642274][ T87] ? mark_usage+0x61/0x170 [ 8.642276][ T87] ? __lock_acquire+0x518/0xc20 [ 8.642280][ T87] ? lock_acquire.part.0+0xd4/0x280 [ 8.642281][ T87] ? find_held_lock+0x2b/0x80 [ 8.642284][ T87] ? __rtnl_newlink+0xa50/0xa50 [ 8.642286][ T87] ? __lock_release.isra.0+0x69/0x1a0 [ 8.642289][ T87] ? __rtnl_newlink+0xa50/0xa50 [ 8.642292][ T87] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 8.642295][ T87] ? rtnl_link_fill+0x900/0x900 [ 8.642296][ T87] ? __lock_acquire+0x518/0xc20 [ 8.642301][ T87] ? lock_acquire.part.0+0xd4/0x280 [ 8.642302][ T87] ? find_held_lock+0x2b/0x80 [ 8.642306][ T87] netlink_rcv_skb+0x14e/0x3a0 [ 8.642309][ T87] ? rtnl_link_fill+0x900/0x900 [ 8.642312][ T87] ? netlink_ack+0xcd0/0xcd0 [ 8.642319][ T87] ? netlink_deliver_tap+0xc5/0x330 [ 8.642321][ T87] ? netlink_deliver_tap+0x13c/0x330 [ 8.642325][ T87] netlink_unicast+0x486/0x750 [ 8.642329][ T87] ? netlink_attachskb+0x810/0x810 [ 8.642331][ T87] ? __lock_acquire+0x518/0xc20 [ 8.642336][ T87] netlink_sendmsg+0x735/0xc60 [ 8.642340][ T87] ? netlink_unicast+0x750/0x750 [ 8.642343][ T87] ? __might_fault+0x97/0x140 [ 8.642347][ T87] ? __might_fault+0x97/0x140 [ 8.642350][ T87] __sys_sendto+0x2aa/0x400 [ 8.642355][ T87] ? __ia32_sys_getpeername+0xd0/0xd0 [ 8.642369][ T87] __x64_sys_sendto+0xe4/0x1f0 [ 8.642371][ T87] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 8.642375][ T87] ? lockdep_hardirqs_on+0x91/0x130 [ 8.642377][ T87] ? do_syscall_64+0xa6/0x530 [ 8.642380][ T87] do_syscall_64+0xff/0x530 [ 8.642382][ T87] ? exc_page_fault+0xee/0x100 [ 8.642384][ T87] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.642387][ T87] RIP: 0033:0x7f703413054e [ 8.642391][ T87] 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.642392][ T87] RSP: 002b:00007ffdcd487b40 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 8.642395][ T87] RAX: ffffffffffffffda RBX: 000055dab5a24f40 RCX: 00007f703413054e [ 8.642396][ T87] RDX: 0000000000000030 RSI: 000055dab5b791c0 RDI: 000000000000001e [ 8.642397][ T87] RBP: 00007ffdcd487b50 R08: 00007ffdcd487ba0 R09: 0000000000000080 [ 8.642398][ T87] R10: 0000000000000000 R11: 0000000000000202 R12: 000055dab5b7afe0 [ 8.642399][ T87] R13: 00007ffdcd487c84 R14: 0000000000000000 R15: 0000000000000000 [ 8.642406][ T87] [ 8.801995][ T137] netdevsim netdevsim1337 nsim0: renamed from eni1337np1