[ 11.396639][ T188] netdevsim netdevsim3114 eni3114np1: renamed from eth0 [ 11.396716][ T188] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.396718][ T188] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 188, name: (udev-worker) [ 11.396720][ T188] preempt_count: 1, expected: 0 [ 11.396721][ T188] RCU nest depth: 0, expected: 0 [ 11.396722][ T188] locks held by (udev-worker)/188: 6, last CPU#2: [ 11.396724][ T188] #0: ffffffff99905fc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 11.396736][ T188] #1: ff11000002402de8 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 11.396741][ T188] #2: ffffffff99199cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.396746][ T188] #3: ffffffff99199d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.396750][ T188] #4: ffffffff99089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.396753][ T188] #5: ffffffff99089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 11.396757][ T188] irq event stamp: 331480 [ 11.396758][ T188] hardirqs last enabled at (331479): [] __down_trylock_console_sem+0x86/0xa0 [ 11.396761][ T188] hardirqs last disabled at (331480): [] console_emit_next_record+0x3f8/0x4f0 [ 11.396764][ T188] softirqs last enabled at (331474): [] netif_change_name+0x216/0x8c0 [ 11.396767][ T188] softirqs last disabled at (331472): [] netif_change_name+0x1ad/0x8c0 [ 11.396770][ T188] Preemption disabled at: [ 11.396771][ T188] [] vprintk_emit+0x31b/0x3e0 [ 11.396776][ T188] CPU: 2 UID: 0 PID: 188 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.396779][ T188] Tainted: [W]=WARN [ 11.396780][ T188] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.396782][ T188] Call Trace: [ 11.396784][ T188] [ 11.396785][ T188] dump_stack_lvl+0x6f/0xa0 [ 11.396791][ T188] ? vprintk_emit+0x31b/0x3e0 [ 11.396793][ T188] __might_resched.cold+0x1fe/0x2c1 [ 11.396798][ T188] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.396802][ T188] ? __kmalloc_noprof+0xdb/0x760 [ 11.396808][ T188] __kmalloc_noprof+0x443/0x760 [ 11.396811][ T188] ? alloc_buf.isra.0+0x4b/0x260 [ 11.396817][ T188] ? do_raw_spin_unlock+0x59/0x250 [ 11.396820][ T188] alloc_buf.isra.0+0x4b/0x260 [ 11.396824][ T188] put_chars+0x1e1/0x2f0 [ 11.396827][ T188] ? __send_to_port+0x420/0x420 [ 11.396831][ T188] ? validate_chain+0x34a/0xc20 [ 11.396836][ T188] hvc_console_print+0x292/0x780 [ 11.396839][ T188] ? __lock_acquire+0x518/0xc20 [ 11.396844][ T188] ? hvc_write+0x3a0/0x3a0 [ 11.396848][ T188] ? rcu_is_watching+0x16/0xd0 [ 11.396854][ T188] console_emit_next_record+0x252/0x4f0 [ 11.396858][ T188] ? devkmsg_read+0x4e0/0x4e0 [ 11.396862][ T188] ? rcu_is_watching+0x16/0xd0 [ 11.396864][ T188] ? lock_acquire+0x13c/0x160 [ 11.396868][ T188] console_flush_one_record+0x46f/0x710 [ 11.396873][ T188] ? console_emit_next_record+0x4f0/0x4f0 [ 11.396875][ T188] ? __lock_acquire+0x518/0xc20 [ 11.396880][ T188] console_unlock+0xee/0x1f0 [ 11.396883][ T188] ? console_flush_one_record+0x710/0x710 [ 11.396885][ T188] ? rcu_is_watching+0x16/0xd0 [ 11.396887][ T188] ? lock_acquire+0x60/0x160 [ 11.396891][ T188] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.396893][ T188] ? vprintk_emit+0x320/0x3e0 [ 11.396896][ T188] vprintk_emit+0x37c/0x3e0 [ 11.396899][ T188] ? wake_up_klogd_work_func+0x90/0x90 [ 11.396900][ T188] ? write_profile+0xf0/0xf0 [ 11.396903][ T188] ? unwind_get_return_address+0x67/0xd0 [ 11.396910][ T188] dev_vprintk_emit+0x27f/0x2c0 [ 11.396915][ T188] ? device_rename.cold+0xa/0xa [ 11.396919][ T188] ? filter_irq_stacks+0xd0/0xd0 [ 11.396925][ T188] dev_printk_emit+0xb9/0xee [ 11.396928][ T188] ? dev_vprintk_emit+0x2c0/0x2c0 [ 11.396932][ T188] ? check_prev_add+0x316/0xe90 [ 11.396937][ T188] __netdev_printk+0x160/0x1d0 [ 11.396943][ T188] netdev_info+0xe2/0x116 [ 11.396945][ T188] ? netdev_notice+0x120/0x120 [ 11.396948][ T188] ? find_held_lock+0x2b/0x80 [ 11.396951][ T188] ? __lock_release.isra.0+0x69/0x1a0 [ 11.396954][ T188] ? mark_held_locks+0x40/0x70 [ 11.396957][ T188] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 11.396960][ T188] netif_change_name.cold+0x4f/0x89 [ 11.396963][ T188] ? __lock_acquire+0x518/0xc20 [ 11.396965][ T188] ? mark_lock_irq+0x747/0x9c0 [ 11.396967][ T188] ? find_held_lock+0x2/0x80 [ 11.396970][ T188] ? netdev_adjacent_rename_links+0x470/0x470 [ 11.396972][ T188] ? find_held_lock+0x2b/0x80 [ 11.396975][ T188] ? __asan_memset+0x27/0x50 [ 11.396980][ T188] do_setlink.isra.0+0x1f7d/0x2a60 [ 11.396983][ T188] ? __lock_acquire+0x518/0xc20 [ 11.396986][ T188] ? rtnl_link_get_size+0x350/0x350 [ 11.396988][ T188] ? mark_usage+0x61/0x170 [ 11.396990][ T188] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.396992][ T188] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.396995][ T188] ? validate_chain+0x38b/0xc20 [ 11.397000][ T188] ? __lock_acquire+0x518/0xc20 [ 11.397005][ T188] ? lock_acquire.part.0+0xd4/0x280 [ 11.397007][ T188] ? rtnl_setlink+0x29d/0x920 [ 11.397010][ T188] ? rcu_is_watching+0x16/0xd0 [ 11.397012][ T188] ? lock_acquire+0x13c/0x160 [ 11.397013][ T188] ? rcu_is_watching+0x16/0xd0 [ 11.397015][ T188] ? rcu_is_watching+0x16/0xd0 [ 11.397016][ T188] ? trace_contention_end+0xb3/0x180 [ 11.397019][ T188] ? __mutex_lock+0x1db/0x1ea0 [ 11.397022][ T188] ? __mutex_lock+0x9a3/0x1ea0 [ 11.397024][ T188] ? __lock_acquire+0x518/0xc20 [ 11.397027][ T188] ? rtnl_setlink+0x29d/0x920 [ 11.397029][ T188] ? mark_usage+0x61/0x170 [ 11.397032][ T188] ? ww_mutex_lock+0x160/0x160 [ 11.397034][ T188] ? nla_get_range_signed+0x3d0/0x3d0 [ 11.397040][ T188] ? mark_usage+0x61/0x170 [ 11.397043][ T188] ? cap_capable+0x1d7/0x3d0 [ 11.397051][ T188] rtnl_setlink+0x527/0x920 [ 11.397054][ T188] ? __rtnl_newlink+0xa50/0xa50 [ 11.397056][ T188] ? __lock_acquire+0x518/0xc20 [ 11.397079][ T188] ? lock_acquire.part.0+0xd4/0x280 [ 11.397081][ T188] ? find_held_lock+0x2b/0x80 [ 11.397084][ T188] ? __lock_release.isra.0+0x69/0x1a0 [ 11.397086][ T188] ? mark_usage+0x61/0x170 [ 11.397089][ T188] ? __lock_acquire+0x518/0xc20 [ 11.397093][ T188] ? lock_acquire.part.0+0xd4/0x280 [ 11.397095][ T188] ? find_held_lock+0x2b/0x80 [ 11.397097][ T188] ? __rtnl_newlink+0xa50/0xa50 [ 11.397100][ T188] ? __lock_release.isra.0+0x69/0x1a0 [ 11.397103][ T188] ? __rtnl_newlink+0xa50/0xa50 [ 11.397106][ T188] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 11.397110][ T188] ? rtnl_link_fill+0x900/0x900 [ 11.397111][ T188] ? __lock_acquire+0x518/0xc20 [ 11.397116][ T188] ? lock_acquire.part.0+0xd4/0x280 [ 11.397118][ T188] ? find_held_lock+0x2b/0x80 [ 11.397122][ T188] netlink_rcv_skb+0x14e/0x3a0 [ 11.397125][ T188] ? rtnl_link_fill+0x900/0x900 [ 11.397129][ T188] ? netlink_ack+0xcd0/0xcd0 [ 11.397136][ T188] ? netlink_deliver_tap+0xc5/0x330 [ 11.397138][ T188] ? netlink_deliver_tap+0x13c/0x330 [ 11.397142][ T188] netlink_unicast+0x486/0x750 [ 11.397147][ T188] ? netlink_attachskb+0x810/0x810 [ 11.397149][ T188] ? __lock_acquire+0x518/0xc20 [ 11.397154][ T188] netlink_sendmsg+0x735/0xc60 [ 11.397161][ T188] ? netlink_unicast+0x750/0x750 [ 11.397165][ T188] ? __might_fault+0x97/0x140 [ 11.397169][ T188] ? __might_fault+0x97/0x140 [ 11.397173][ T188] __sys_sendto+0x2aa/0x400 [ 11.397177][ T188] ? __ia32_sys_getpeername+0xd0/0xd0 [ 11.397187][ T188] ? exc_page_fault+0x87/0x100 [ 11.397193][ T188] __x64_sys_sendto+0xe4/0x1f0 [ 11.397195][ T188] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.397198][ T188] ? lockdep_hardirqs_on+0x91/0x130 [ 11.397200][ T188] ? do_syscall_64+0xa6/0x530 [ 11.397202][ T188] do_syscall_64+0xff/0x530 [ 11.397204][ T188] ? exc_page_fault+0xee/0x100 [ 11.397206][ T188] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.397209][ T188] RIP: 0033:0x7f3b8693354e [ 11.397213][ T188] 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.397214][ T188] RSP: 002b:00007ffda3722cd0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 11.397217][ T188] RAX: ffffffffffffffda RBX: 00005560ea2af860 RCX: 00007f3b8693354e [ 11.397218][ T188] RDX: 0000000000000030 RSI: 00005560ea149c40 RDI: 0000000000000024 [ 11.397219][ T188] RBP: 00007ffda3722ce0 R08: 00007ffda3722d30 R09: 0000000000000080 [ 11.397220][ T188] R10: 0000000000000000 R11: 0000000000000202 R12: 00005560ea2fbd00 [ 11.397221][ T188] R13: 00007ffda3722e14 R14: 0000000000000000 R15: 0000000000000000 [ 11.397228][ T188] [ 11.655198][ T194] ip (194) used greatest stack depth: 24360 bytes left