[ 10.983963][ T186] netdevsim netdevsim27069 eni27069np1: renamed from eth0 [ 10.984026][ T186] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.984029][ T186] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 186, name: (udev-worker) [ 10.984031][ T186] preempt_count: 1, expected: 0 [ 10.984031][ T186] RCU nest depth: 0, expected: 0 [ 10.984032][ T186] locks held by (udev-worker)/186: 6, last CPU#3: [ 10.984034][ T186] #0: ffffffffadd05fc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 10.984046][ T186] #1: ff11000002402de8 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 10.984050][ T186] #2: ffffffffad599cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.984055][ T186] #3: ffffffffad599d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.984059][ T186] #4: ffffffffad489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.984063][ T186] #5: ffffffffad489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.984067][ T186] irq event stamp: 36872 [ 10.984068][ T186] hardirqs last enabled at (36871): [] __down_trylock_console_sem+0x86/0xa0 [ 10.984071][ T186] hardirqs last disabled at (36872): [] console_emit_next_record+0x3f8/0x4f0 [ 10.984073][ T186] softirqs last enabled at (36866): [] netif_change_name+0x216/0x8c0 [ 10.984077][ T186] softirqs last disabled at (36864): [] netif_change_name+0x1ad/0x8c0 [ 10.984079][ T186] Preemption disabled at: [ 10.984079][ T186] [] vprintk_emit+0x31b/0x3e0 [ 10.984084][ T186] CPU: 3 UID: 0 PID: 186 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.984088][ T186] Tainted: [W]=WARN [ 10.984088][ T186] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.984090][ T186] Call Trace: [ 10.984092][ T186] [ 10.984093][ T186] dump_stack_lvl+0x6f/0xa0 [ 10.984099][ T186] ? vprintk_emit+0x31b/0x3e0 [ 10.984101][ T186] __might_resched.cold+0x1fe/0x2c1 [ 10.984106][ T186] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.984110][ T186] ? __kmalloc_noprof+0xdb/0x760 [ 10.984116][ T186] __kmalloc_noprof+0x443/0x760 [ 10.984119][ T186] ? alloc_buf.isra.0+0x4b/0x260 [ 10.984125][ T186] ? do_raw_spin_unlock+0x59/0x250 [ 10.984128][ T186] alloc_buf.isra.0+0x4b/0x260 [ 10.984132][ T186] put_chars+0x1e1/0x2f0 [ 10.984135][ T186] ? __send_to_port+0x420/0x420 [ 10.984139][ T186] ? validate_chain+0x34a/0xc20 [ 10.984144][ T186] hvc_console_print+0x292/0x780 [ 10.984147][ T186] ? __lock_acquire+0x518/0xc20 [ 10.984152][ T186] ? hvc_write+0x3a0/0x3a0 [ 10.984155][ T186] ? rcu_is_watching+0x16/0xd0 [ 10.984161][ T186] console_emit_next_record+0x252/0x4f0 [ 10.984165][ T186] ? devkmsg_read+0x4e0/0x4e0 [ 10.984170][ T186] ? rcu_is_watching+0x16/0xd0 [ 10.984172][ T186] ? lock_acquire+0x13c/0x160 [ 10.984176][ T186] console_flush_one_record+0x46f/0x710 [ 10.984180][ T186] ? console_emit_next_record+0x4f0/0x4f0 [ 10.984182][ T186] ? __lock_acquire+0x518/0xc20 [ 10.984188][ T186] console_unlock+0xee/0x1f0 [ 10.984191][ T186] ? console_flush_one_record+0x710/0x710 [ 10.984193][ T186] ? rcu_is_watching+0x16/0xd0 [ 10.984195][ T186] ? lock_acquire+0x60/0x160 [ 10.984199][ T186] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.984200][ T186] ? vprintk_emit+0x320/0x3e0 [ 10.984203][ T186] vprintk_emit+0x37c/0x3e0 [ 10.984206][ T186] ? wake_up_klogd_work_func+0x90/0x90 [ 10.984208][ T186] ? write_profile+0xf0/0xf0 [ 10.984211][ T186] ? unwind_get_return_address+0x67/0xd0 [ 10.984218][ T186] dev_vprintk_emit+0x27f/0x2c0 [ 10.984223][ T186] ? device_rename.cold+0xa/0xa [ 10.984227][ T186] ? filter_irq_stacks+0xd0/0xd0 [ 10.984233][ T186] dev_printk_emit+0xb9/0xee [ 10.984235][ T186] ? dev_vprintk_emit+0x2c0/0x2c0 [ 10.984239][ T186] ? check_prev_add+0x316/0xe90 [ 10.984245][ T186] __netdev_printk+0x160/0x1d0 [ 10.984250][ T186] netdev_info+0xe2/0x116 [ 10.984253][ T186] ? netdev_notice+0x120/0x120 [ 10.984255][ T186] ? find_held_lock+0x2b/0x80 [ 10.984258][ T186] ? __lock_release.isra.0+0x69/0x1a0 [ 10.984261][ T186] ? mark_held_locks+0x40/0x70 [ 10.984264][ T186] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.984267][ T186] netif_change_name.cold+0x4f/0x89 [ 10.984270][ T186] ? __lock_acquire+0x518/0xc20 [ 10.984272][ T186] ? mark_lock_irq+0x747/0x9c0 [ 10.984274][ T186] ? find_held_lock+0x2/0x80 [ 10.984277][ T186] ? netdev_adjacent_rename_links+0x470/0x470 [ 10.984279][ T186] ? find_held_lock+0x2b/0x80 [ 10.984282][ T186] ? __asan_memset+0x27/0x50 [ 10.984287][ T186] do_setlink.isra.0+0x1f7d/0x2a60 [ 10.984290][ T186] ? __lock_acquire+0x518/0xc20 [ 10.984293][ T186] ? rtnl_link_get_size+0x350/0x350 [ 10.984295][ T186] ? mark_usage+0x61/0x170 [ 10.984297][ T186] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.984299][ T186] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.984302][ T186] ? validate_chain+0x38b/0xc20 [ 10.984309][ T186] ? __lock_acquire+0x518/0xc20 [ 10.984313][ T186] ? lock_acquire.part.0+0xd4/0x280 [ 10.984315][ T186] ? rtnl_setlink+0x29d/0x920 [ 10.984318][ T186] ? rcu_is_watching+0x16/0xd0 [ 10.984320][ T186] ? lock_acquire+0x13c/0x160 [ 10.984322][ T186] ? rcu_is_watching+0x16/0xd0 [ 10.984323][ T186] ? rcu_is_watching+0x16/0xd0 [ 10.984325][ T186] ? trace_contention_end+0xb3/0x180 [ 10.984327][ T186] ? __mutex_lock+0x1db/0x1ea0 [ 10.984331][ T186] ? __mutex_lock+0x9a3/0x1ea0 [ 10.984333][ T186] ? __lock_acquire+0x518/0xc20 [ 10.984335][ T186] ? rtnl_setlink+0x29d/0x920 [ 10.984337][ T186] ? mark_usage+0x61/0x170 [ 10.984340][ T186] ? ww_mutex_lock+0x160/0x160 [ 10.984342][ T186] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.984348][ T186] ? mark_usage+0x61/0x170 [ 10.984351][ T186] ? cap_capable+0x1d7/0x3d0 [ 10.984358][ T186] rtnl_setlink+0x527/0x920 [ 10.984362][ T186] ? __rtnl_newlink+0xa50/0xa50 [ 10.984364][ T186] ? __lock_acquire+0x518/0xc20 [ 10.984386][ T186] ? lock_acquire.part.0+0xd4/0x280 [ 10.984388][ T186] ? find_held_lock+0x2b/0x80 [ 10.984391][ T186] ? __lock_release.isra.0+0x69/0x1a0 [ 10.984393][ T186] ? mark_usage+0x61/0x170 [ 10.984395][ T186] ? __lock_acquire+0x518/0xc20 [ 10.984400][ T186] ? lock_acquire.part.0+0xd4/0x280 [ 10.984402][ T186] ? find_held_lock+0x2b/0x80 [ 10.984404][ T186] ? __rtnl_newlink+0xa50/0xa50 [ 10.984406][ T186] ? __lock_release.isra.0+0x69/0x1a0 [ 10.984410][ T186] ? __rtnl_newlink+0xa50/0xa50 [ 10.984412][ T186] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.984416][ T186] ? rtnl_link_fill+0x900/0x900 [ 10.984418][ T186] ? __lock_acquire+0x518/0xc20 [ 10.984422][ T186] ? lock_acquire.part.0+0xd4/0x280 [ 10.984424][ T186] ? find_held_lock+0x2b/0x80 [ 10.984428][ T186] netlink_rcv_skb+0x14e/0x3a0 [ 10.984431][ T186] ? rtnl_link_fill+0x900/0x900 [ 10.984434][ T186] ? netlink_ack+0xcd0/0xcd0 [ 10.984441][ T186] ? netlink_deliver_tap+0xc5/0x330 [ 10.984443][ T186] ? netlink_deliver_tap+0x13c/0x330 [ 10.984447][ T186] netlink_unicast+0x486/0x750 [ 10.984451][ T186] ? netlink_attachskb+0x810/0x810 [ 10.984454][ T186] ? __lock_acquire+0x518/0xc20 [ 10.984459][ T186] netlink_sendmsg+0x735/0xc60 [ 10.984463][ T186] ? netlink_unicast+0x750/0x750 [ 10.984467][ T186] ? __might_fault+0x97/0x140 [ 10.984471][ T186] ? __might_fault+0x97/0x140 [ 10.984474][ T186] __sys_sendto+0x2aa/0x400 [ 10.984478][ T186] ? __ia32_sys_getpeername+0xd0/0xd0 [ 10.984488][ T186] ? exc_page_fault+0x87/0x100 [ 10.984493][ T186] __x64_sys_sendto+0xe4/0x1f0 [ 10.984495][ T186] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.984499][ T186] ? lockdep_hardirqs_on+0x91/0x130 [ 10.984500][ T186] ? do_syscall_64+0xa6/0x530 [ 10.984503][ T186] do_syscall_64+0xff/0x530 [ 10.984505][ T186] ? exc_page_fault+0xee/0x100 [ 10.984507][ T186] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.984509][ T186] RIP: 0033:0x7f8dea0aa54e [ 10.984513][ T186] 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.984515][ T186] RSP: 002b:00007ffcfec8e050 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 10.984517][ T186] RAX: ffffffffffffffda RBX: 00005584bcf581a0 RCX: 00007f8dea0aa54e [ 10.984519][ T186] RDX: 0000000000000030 RSI: 00005584bcf42cf0 RDI: 0000000000000020 [ 10.984520][ T186] RBP: 00007ffcfec8e060 R08: 00007ffcfec8e0b0 R09: 0000000000000080 [ 10.984521][ T186] R10: 0000000000000000 R11: 0000000000000202 R12: 00005584bd0c3430 [ 10.984521][ T186] R13: 00007ffcfec8e194 R14: 0000000000000000 R15: 0000000000000000 [ 10.984528][ T186]