[ 10.170624][ T85] netdevsim netdevsim1337 eni1337np1: renamed from eth0 [ 10.170680][ T85] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.170683][ T85] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 85, name: (udev-worker) [ 10.170684][ T85] preempt_count: 1, expected: 0 [ 10.170685][ T85] RCU nest depth: 0, expected: 0 [ 10.170686][ T85] locks held by (udev-worker)/85: 6, last CPU#1: [ 10.170689][ T85] #0: ffffffffa94cfcc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 10.170700][ T85] #1: ff1100000c832dd0 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 10.170705][ T85] #2: ffffffffa8d69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.170711][ T85] #3: ffffffffa8d69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.170714][ T85] #4: ffffffffa8c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.170717][ T85] #5: ffffffffa8c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.170721][ T85] irq event stamp: 392300 [ 10.170722][ T85] hardirqs last enabled at (392299): [] __down_trylock_console_sem+0x86/0xa0 [ 10.170724][ T85] hardirqs last disabled at (392300): [] console_emit_next_record+0x3d4/0x4c0 [ 10.170726][ T85] softirqs last enabled at (392294): [] netif_change_name+0x216/0x8c0 [ 10.170729][ T85] softirqs last disabled at (392292): [] netif_change_name+0x1ad/0x8c0 [ 10.170731][ T85] Preemption disabled at: [ 10.170731][ T85] [] vprintk_emit+0x31b/0x3e0 [ 10.170737][ T85] CPU: 1 UID: 0 PID: 85 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.170740][ T85] Tainted: [W]=WARN [ 10.170741][ T85] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.170743][ T85] Call Trace: [ 10.170745][ T85] [ 10.170746][ T85] dump_stack_lvl+0x6f/0xa0 [ 10.170752][ T85] ? vprintk_emit+0x31b/0x3e0 [ 10.170754][ T85] __might_resched.cold+0x1fe/0x2c1 [ 10.170758][ T85] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.170762][ T85] ? __kmalloc_noprof+0xdb/0x760 [ 10.170766][ T85] __kmalloc_noprof+0x443/0x760 [ 10.170768][ T85] ? alloc_buf.isra.0+0x4b/0x260 [ 10.170774][ T85] ? do_raw_spin_unlock+0x59/0x250 [ 10.170777][ T85] alloc_buf.isra.0+0x4b/0x260 [ 10.170781][ T85] put_chars+0x1e1/0x2f0 [ 10.170784][ T85] ? __send_to_port+0x420/0x420 [ 10.170789][ T85] ? validate_chain+0x34a/0xc20 [ 10.170792][ T85] hvc_console_print+0x292/0x780 [ 10.170796][ T85] ? mark_usage+0x61/0x170 [ 10.170797][ T85] ? __lock_acquire+0x518/0xc20 [ 10.170799][ T85] ? __lock_acquire+0x518/0xc20 [ 10.170802][ T85] ? hvc_write+0x3a0/0x3a0 [ 10.170805][ T85] ? console_emit_next_record+0x1df/0x4c0 [ 10.170808][ T85] ? rcu_is_watching+0x16/0xd0 [ 10.170812][ T85] ? lock_acquire+0x13c/0x160 [ 10.170815][ T85] console_emit_next_record+0x22f/0x4c0 [ 10.170819][ T85] ? devkmsg_read+0x4b0/0x4b0 [ 10.170820][ T85] ? console_flush_one_record+0x106/0x710 [ 10.170823][ T85] ? rcu_is_watching+0x16/0xd0 [ 10.170825][ T85] ? lock_acquire+0x13c/0x160 [ 10.170829][ T85] console_flush_one_record+0x46f/0x710 [ 10.170833][ T85] ? console_emit_next_record+0x4c0/0x4c0 [ 10.170834][ T85] ? __lock_acquire+0x518/0xc20 [ 10.170839][ T85] console_unlock+0xee/0x1f0 [ 10.170842][ T85] ? console_flush_one_record+0x710/0x710 [ 10.170843][ T85] ? rcu_is_watching+0x16/0xd0 [ 10.170845][ T85] ? lock_acquire+0x60/0x160 [ 10.170849][ T85] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.170850][ T85] ? vprintk_emit+0x320/0x3e0 [ 10.170853][ T85] vprintk_emit+0x37c/0x3e0 [ 10.170857][ T85] ? wake_up_klogd_work_func+0x90/0x90 [ 10.170859][ T85] ? write_profile+0xf0/0xf0 [ 10.170862][ T85] ? unwind_get_return_address+0x67/0xd0 [ 10.170868][ T85] dev_vprintk_emit+0x27f/0x2c0 [ 10.170873][ T85] ? device_rename.cold+0xa/0xa [ 10.170877][ T85] ? filter_irq_stacks+0xd0/0xd0 [ 10.170883][ T85] dev_printk_emit+0xb9/0xee [ 10.170886][ T85] ? dev_vprintk_emit+0x2c0/0x2c0 [ 10.170889][ T85] ? check_prev_add+0x316/0xe90 [ 10.170894][ T85] __netdev_printk+0x160/0x1d0 [ 10.170899][ T85] netdev_info+0xe2/0x116 [ 10.170902][ T85] ? netdev_notice+0x120/0x120 [ 10.170904][ T85] ? find_held_lock+0x2b/0x80 [ 10.170908][ T85] ? __lock_release.isra.0+0x69/0x1a0 [ 10.170910][ T85] ? mark_held_locks+0x40/0x70 [ 10.170914][ T85] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.170916][ T85] netif_change_name.cold+0x4f/0x89 [ 10.170919][ T85] ? __lock_acquire+0x518/0xc20 [ 10.170921][ T85] ? __lock_acquire+0x7/0xc20 [ 10.170922][ T85] ? find_held_lock+0x2/0x80 [ 10.170925][ T85] ? netdev_adjacent_rename_links+0x470/0x470 [ 10.170928][ T85] ? find_held_lock+0x2b/0x80 [ 10.170931][ T85] ? __asan_memset+0x27/0x50 [ 10.170937][ T85] do_setlink.isra.0+0x1f7d/0x2a60 [ 10.170939][ T85] ? __lock_acquire+0x518/0xc20 [ 10.170942][ T85] ? rtnl_link_get_size+0x350/0x350 [ 10.170944][ T85] ? mark_usage+0x61/0x170 [ 10.170945][ T85] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.170948][ T85] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.170950][ T85] ? validate_chain+0x38b/0xc20 [ 10.170954][ T85] ? __lock_acquire+0x518/0xc20 [ 10.170959][ T85] ? lock_acquire.part.0+0xd4/0x280 [ 10.170960][ T85] ? rtnl_setlink+0x29d/0x920 [ 10.170963][ T85] ? rcu_is_watching+0x16/0xd0 [ 10.170965][ T85] ? lock_acquire+0x13c/0x160 [ 10.170966][ T85] ? rcu_is_watching+0x16/0xd0 [ 10.170968][ T85] ? rcu_is_watching+0x16/0xd0 [ 10.170970][ T85] ? trace_contention_end+0xb3/0x180 [ 10.170973][ T85] ? __mutex_lock+0x1db/0x1ea0 [ 10.170977][ T85] ? __mutex_lock+0x9a3/0x1ea0 [ 10.170979][ T85] ? __lock_acquire+0x518/0xc20 [ 10.170980][ T85] ? rtnl_setlink+0x29d/0x920 [ 10.170983][ T85] ? mark_usage+0x61/0x170 [ 10.170985][ T85] ? ww_mutex_lock+0x160/0x160 [ 10.170987][ T85] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.170993][ T85] ? mark_usage+0x61/0x170 [ 10.170996][ T85] ? cap_capable+0x1d7/0x3d0 [ 10.171004][ T85] rtnl_setlink+0x527/0x920 [ 10.171007][ T85] ? __rtnl_newlink+0xa50/0xa50 [ 10.171008][ T85] ? __lock_acquire+0x518/0xc20 [ 10.171030][ T85] ? lock_acquire.part.0+0xd4/0x280 [ 10.171032][ T85] ? find_held_lock+0x2b/0x80 [ 10.171035][ T85] ? __lock_release.isra.0+0x69/0x1a0 [ 10.171037][ T85] ? mark_usage+0x61/0x170 [ 10.171039][ T85] ? __lock_acquire+0x518/0xc20 [ 10.171043][ T85] ? lock_acquire.part.0+0xd4/0x280 [ 10.171045][ T85] ? find_held_lock+0x2b/0x80 [ 10.171047][ T85] ? __rtnl_newlink+0xa50/0xa50 [ 10.171049][ T85] ? __lock_release.isra.0+0x69/0x1a0 [ 10.171052][ T85] ? __rtnl_newlink+0xa50/0xa50 [ 10.171055][ T85] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.171058][ T85] ? rtnl_link_fill+0x900/0x900 [ 10.171059][ T85] ? __lock_acquire+0x518/0xc20 [ 10.171064][ T85] ? lock_acquire.part.0+0xd4/0x280 [ 10.171068][ T85] ? find_held_lock+0x2b/0x80 [ 10.171072][ T85] netlink_rcv_skb+0x14e/0x3a0 [ 10.171075][ T85] ? rtnl_link_fill+0x900/0x900 [ 10.171078][ T85] ? netlink_ack+0xcd0/0xcd0 [ 10.171094][ T85] ? netlink_deliver_tap+0xc5/0x330 [ 10.171096][ T85] ? netlink_deliver_tap+0x13c/0x330 [ 10.171100][ T85] netlink_unicast+0x486/0x750 [ 10.171104][ T85] ? netlink_attachskb+0x810/0x810 [ 10.171107][ T85] ? __lock_acquire+0x518/0xc20 [ 10.171109][ T85] ? do_raw_spin_trylock+0x161/0x180 [ 10.171112][ T85] netlink_sendmsg+0x735/0xc60 [ 10.171116][ T85] ? netlink_unicast+0x750/0x750 [ 10.171120][ T85] ? __might_fault+0x97/0x140 [ 10.171123][ T85] ? __might_fault+0x97/0x140 [ 10.171126][ T85] __sys_sendto+0x2aa/0x400 [ 10.171131][ T85] ? __ia32_sys_getpeername+0xd0/0xd0 [ 10.171142][ T85] ? exc_page_fault+0x87/0x100 [ 10.171147][ T85] __x64_sys_sendto+0xe4/0x1f0 [ 10.171149][ T85] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.171153][ T85] ? lockdep_hardirqs_on+0x91/0x130 [ 10.171154][ T85] ? do_syscall_64+0xa6/0x530 [ 10.171157][ T85] do_syscall_64+0xff/0x530 [ 10.171159][ T85] ? exc_page_fault+0xee/0x100 [ 10.171161][ T85] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.171164][ T85] RIP: 0033:0x7fcb8e09154e [ 10.171168][ 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.171169][ T85] RSP: 002b:00007fff60fc4dc0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 10.171172][ T85] RAX: ffffffffffffffda RBX: 00005619460e7f40 RCX: 00007fcb8e09154e [ 10.171173][ T85] RDX: 0000000000000030 RSI: 00005619460e9780 RDI: 000000000000001a [ 10.171174][ T85] RBP: 00007fff60fc4dd0 R08: 00007fff60fc4e20 R09: 0000000000000080 [ 10.171175][ T85] R10: 0000000000000000 R11: 0000000000000202 R12: 000056194623f890 [ 10.171176][ T85] R13: 00007fff60fc4f04 R14: 0000000000000000 R15: 0000000000000000 [ 10.171183][ T85] [ 10.339669][ T140] netdevsim netdevsim1337 nsim0: renamed from eni1337np1