[ 11.586479][ T182] netdevsim netdevsim18585 eni18585np1: renamed from eth0 [ 11.586545][ T182] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.586547][ T182] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 182, name: (udev-worker) [ 11.586549][ T182] preempt_count: 1, expected: 0 [ 11.586549][ T182] RCU nest depth: 0, expected: 0 [ 11.586550][ T182] locks held by (udev-worker)/182: 6, last CPU#3: [ 11.586553][ T182] #0: ffffffffaf505fc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 11.586564][ T182] #1: ff11000002402de8 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 11.586569][ T182] #2: ffffffffaed99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.586574][ T182] #3: ffffffffaed99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.586578][ T182] #4: ffffffffaec89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.586582][ T182] #5: ffffffffaec89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 11.586586][ T182] irq event stamp: 31676 [ 11.586587][ T182] hardirqs last enabled at (31675): [] __down_trylock_console_sem+0x86/0xa0 [ 11.586590][ T182] hardirqs last disabled at (31676): [] console_emit_next_record+0x3f8/0x4f0 [ 11.586592][ T182] softirqs last enabled at (31670): [] netif_change_name+0x216/0x8c0 [ 11.586596][ T182] softirqs last disabled at (31668): [] netif_change_name+0x1ad/0x8c0 [ 11.586598][ T182] Preemption disabled at: [ 11.586599][ T182] [] vprintk_emit+0x31b/0x3e0 [ 11.586604][ T182] CPU: 3 UID: 0 PID: 182 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.586607][ T182] Tainted: [W]=WARN [ 11.586608][ T182] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.586610][ T182] Call Trace: [ 11.586611][ T182] [ 11.586613][ T182] dump_stack_lvl+0x6f/0xa0 [ 11.586619][ T182] ? vprintk_emit+0x31b/0x3e0 [ 11.586621][ T182] __might_resched.cold+0x1fe/0x2c1 [ 11.586626][ T182] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.586630][ T182] ? __kmalloc_noprof+0xdb/0x760 [ 11.586636][ T182] __kmalloc_noprof+0x443/0x760 [ 11.586638][ T182] ? alloc_buf.isra.0+0x4b/0x260 [ 11.586644][ T182] ? do_raw_spin_unlock+0x59/0x250 [ 11.586647][ T182] alloc_buf.isra.0+0x4b/0x260 [ 11.586651][ T182] put_chars+0x1e1/0x2f0 [ 11.586654][ T182] ? __send_to_port+0x420/0x420 [ 11.586658][ T182] ? validate_chain+0x34a/0xc20 [ 11.586664][ T182] hvc_console_print+0x292/0x780 [ 11.586666][ T182] ? __lock_acquire+0x518/0xc20 [ 11.586672][ T182] ? hvc_write+0x3a0/0x3a0 [ 11.586675][ T182] ? rcu_is_watching+0x16/0xd0 [ 11.586681][ T182] console_emit_next_record+0x252/0x4f0 [ 11.586685][ T182] ? devkmsg_read+0x4e0/0x4e0 [ 11.586690][ T182] ? rcu_is_watching+0x16/0xd0 [ 11.586692][ T182] ? lock_acquire+0x13c/0x160 [ 11.586696][ T182] console_flush_one_record+0x46f/0x710 [ 11.586700][ T182] ? console_emit_next_record+0x4f0/0x4f0 [ 11.586702][ T182] ? __lock_acquire+0x518/0xc20 [ 11.586708][ T182] console_unlock+0xee/0x1f0 [ 11.586711][ T182] ? console_flush_one_record+0x710/0x710 [ 11.586713][ T182] ? rcu_is_watching+0x16/0xd0 [ 11.586714][ T182] ? lock_acquire+0x60/0x160 [ 11.586718][ T182] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.586720][ T182] ? vprintk_emit+0x320/0x3e0 [ 11.586723][ T182] vprintk_emit+0x37c/0x3e0 [ 11.586726][ T182] ? wake_up_klogd_work_func+0x90/0x90 [ 11.586728][ T182] ? write_profile+0xf0/0xf0 [ 11.586731][ T182] ? unwind_get_return_address+0x67/0xd0 [ 11.586737][ T182] dev_vprintk_emit+0x27f/0x2c0 [ 11.586743][ T182] ? device_rename.cold+0xa/0xa [ 11.586747][ T182] ? filter_irq_stacks+0xd0/0xd0 [ 11.586753][ T182] dev_printk_emit+0xb9/0xee [ 11.586755][ T182] ? dev_vprintk_emit+0x2c0/0x2c0 [ 11.586759][ T182] ? check_prev_add+0x316/0xe90 [ 11.586765][ T182] __netdev_printk+0x160/0x1d0 [ 11.586770][ T182] netdev_info+0xe2/0x116 [ 11.586773][ T182] ? netdev_notice+0x120/0x120 [ 11.586776][ T182] ? find_held_lock+0x2b/0x80 [ 11.586779][ T182] ? __lock_release.isra.0+0x69/0x1a0 [ 11.586781][ T182] ? mark_held_locks+0x40/0x70 [ 11.586785][ T182] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 11.586788][ T182] netif_change_name.cold+0x4f/0x89 [ 11.586790][ T182] ? __lock_acquire+0x518/0xc20 [ 11.586792][ T182] ? mark_lock_irq+0x747/0x9c0 [ 11.586794][ T182] ? find_held_lock+0x2/0x80 [ 11.586797][ T182] ? netdev_adjacent_rename_links+0x470/0x470 [ 11.586800][ T182] ? find_held_lock+0x2b/0x80 [ 11.586803][ T182] ? __asan_memset+0x27/0x50 [ 11.586808][ T182] do_setlink.isra.0+0x1f7d/0x2a60 [ 11.586811][ T182] ? __lock_acquire+0x518/0xc20 [ 11.586814][ T182] ? rtnl_link_get_size+0x350/0x350 [ 11.586816][ T182] ? mark_usage+0x61/0x170 [ 11.586818][ T182] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.586820][ T182] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.586823][ T182] ? validate_chain+0x38b/0xc20 [ 11.586828][ T182] ? __lock_acquire+0x518/0xc20 [ 11.586832][ T182] ? lock_acquire.part.0+0xd4/0x280 [ 11.586835][ T182] ? rtnl_setlink+0x29d/0x920 [ 11.586838][ T182] ? rcu_is_watching+0x16/0xd0 [ 11.586840][ T182] ? lock_acquire+0x13c/0x160 [ 11.586841][ T182] ? rcu_is_watching+0x16/0xd0 [ 11.586842][ T182] ? rcu_is_watching+0x16/0xd0 [ 11.586844][ T182] ? trace_contention_end+0xb3/0x180 [ 11.586847][ T182] ? __mutex_lock+0x1db/0x1ea0 [ 11.586850][ T182] ? __mutex_lock+0x9a3/0x1ea0 [ 11.586852][ T182] ? __lock_acquire+0x518/0xc20 [ 11.586855][ T182] ? rtnl_setlink+0x29d/0x920 [ 11.586857][ T182] ? mark_usage+0x61/0x170 [ 11.586860][ T182] ? ww_mutex_lock+0x160/0x160 [ 11.586862][ T182] ? nla_get_range_signed+0x3d0/0x3d0 [ 11.586868][ T182] ? mark_usage+0x61/0x170 [ 11.586871][ T182] ? cap_capable+0x1d7/0x3d0 [ 11.586879][ T182] rtnl_setlink+0x527/0x920 [ 11.586882][ T182] ? __rtnl_newlink+0xa50/0xa50 [ 11.586884][ T182] ? __lock_acquire+0x518/0xc20 [ 11.586908][ T182] ? lock_acquire.part.0+0xd4/0x280 [ 11.586910][ T182] ? find_held_lock+0x2b/0x80 [ 11.586913][ T182] ? __lock_release.isra.0+0x69/0x1a0 [ 11.586915][ T182] ? mark_usage+0x61/0x170 [ 11.586917][ T182] ? __lock_acquire+0x518/0xc20 [ 11.586922][ T182] ? lock_acquire.part.0+0xd4/0x280 [ 11.586924][ T182] ? find_held_lock+0x2b/0x80 [ 11.586926][ T182] ? __rtnl_newlink+0xa50/0xa50 [ 11.586928][ T182] ? __lock_release.isra.0+0x69/0x1a0 [ 11.586932][ T182] ? __rtnl_newlink+0xa50/0xa50 [ 11.586935][ T182] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 11.586939][ T182] ? rtnl_link_fill+0x900/0x900 [ 11.586940][ T182] ? __lock_acquire+0x518/0xc20 [ 11.586945][ T182] ? lock_acquire.part.0+0xd4/0x280 [ 11.586947][ T182] ? find_held_lock+0x2b/0x80 [ 11.586951][ T182] netlink_rcv_skb+0x14e/0x3a0 [ 11.586954][ T182] ? rtnl_link_fill+0x900/0x900 [ 11.586958][ T182] ? netlink_ack+0xcd0/0xcd0 [ 11.586965][ T182] ? netlink_deliver_tap+0xc5/0x330 [ 11.586966][ T182] ? netlink_deliver_tap+0x13c/0x330 [ 11.586971][ T182] netlink_unicast+0x486/0x750 [ 11.586976][ T182] ? netlink_attachskb+0x810/0x810 [ 11.586978][ T182] ? __lock_acquire+0x518/0xc20 [ 11.586983][ T182] netlink_sendmsg+0x735/0xc60 [ 11.586988][ T182] ? netlink_unicast+0x750/0x750 [ 11.586991][ T182] ? __might_fault+0x97/0x140 [ 11.586995][ T182] ? __might_fault+0x97/0x140 [ 11.586999][ T182] __sys_sendto+0x2aa/0x400 [ 11.587003][ T182] ? __ia32_sys_getpeername+0xd0/0xd0 [ 11.587014][ T182] ? exc_page_fault+0x87/0x100 [ 11.587019][ T182] __x64_sys_sendto+0xe4/0x1f0 [ 11.587021][ T182] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.587024][ T182] ? lockdep_hardirqs_on+0x91/0x130 [ 11.587026][ T182] ? do_syscall_64+0xa6/0x530 [ 11.587028][ T182] do_syscall_64+0xff/0x530 [ 11.587030][ T182] ? exc_page_fault+0xee/0x100 [ 11.587033][ T182] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.587035][ T182] RIP: 0033:0x7f5c5b55454e [ 11.587039][ T182] 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 [ 11.587040][ T182] RSP: 002b:00007ffd4f0856a0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 11.587043][ T182] RAX: ffffffffffffffda RBX: 000055f95212fc80 RCX: 00007f5c5b55454e [ 11.587044][ T182] RDX: 0000000000000030 RSI: 000055f951fdfc60 RDI: 0000000000000016 [ 11.587045][ T182] RBP: 00007ffd4f0856b0 R08: 00007ffd4f085700 R09: 0000000000000080 [ 11.587046][ T182] R10: 0000000000000000 R11: 0000000000000202 R12: 000055f952164c90 [ 11.587046][ T182] R13: 00007ffd4f0857e4 R14: 0000000000000000 R15: 0000000000000000 [ 11.587053][ T182] [ 11.806073][ T190] ip (190) used greatest stack depth: 23928 bytes left