[ 10.207590][ T180] netdevsim netdevsim25450 eni25450np1: renamed from eth0 [ 10.207659][ T180] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.207661][ T180] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 180, name: (udev-worker) [ 10.207663][ T180] preempt_count: 1, expected: 0 [ 10.207664][ T180] RCU nest depth: 0, expected: 0 [ 10.207665][ T180] locks held by (udev-worker)/180: 6, last CPU#1: [ 10.207667][ T180] #0: ffffffffae505fc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 10.207679][ T180] #1: ff11000002402de8 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 10.207683][ T180] #2: ffffffffadd99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.207688][ T180] #3: ffffffffadd99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.207692][ T180] #4: ffffffffadc89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.207696][ T180] #5: ffffffffadc89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.207700][ T180] irq event stamp: 37476 [ 10.207701][ T180] hardirqs last enabled at (37475): [] __down_trylock_console_sem+0x86/0xa0 [ 10.207704][ T180] hardirqs last disabled at (37476): [] console_emit_next_record+0x3f8/0x4f0 [ 10.207706][ T180] softirqs last enabled at (37470): [] netif_change_name+0x216/0x8c0 [ 10.207709][ T180] softirqs last disabled at (37468): [] netif_change_name+0x1ad/0x8c0 [ 10.207712][ T180] Preemption disabled at: [ 10.207712][ T180] [] vprintk_emit+0x31b/0x3e0 [ 10.207717][ T180] CPU: 1 UID: 0 PID: 180 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.207721][ T180] Tainted: [W]=WARN [ 10.207722][ T180] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.207723][ T180] Call Trace: [ 10.207725][ T180] [ 10.207727][ T180] dump_stack_lvl+0x6f/0xa0 [ 10.207733][ T180] ? vprintk_emit+0x31b/0x3e0 [ 10.207734][ T180] __might_resched.cold+0x1fe/0x2c1 [ 10.207739][ T180] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.207743][ T180] ? __kmalloc_noprof+0xdb/0x760 [ 10.207749][ T180] __kmalloc_noprof+0x443/0x760 [ 10.207751][ T180] ? alloc_buf.isra.0+0x4b/0x260 [ 10.207757][ T180] ? do_raw_spin_unlock+0x59/0x250 [ 10.207760][ T180] alloc_buf.isra.0+0x4b/0x260 [ 10.207764][ T180] put_chars+0x1e1/0x2f0 [ 10.207767][ T180] ? __send_to_port+0x420/0x420 [ 10.207771][ T180] ? validate_chain+0x34a/0xc20 [ 10.207776][ T180] hvc_console_print+0x292/0x780 [ 10.207779][ T180] ? __lock_acquire+0x518/0xc20 [ 10.207784][ T180] ? hvc_write+0x3a0/0x3a0 [ 10.207787][ T180] ? rcu_is_watching+0x16/0xd0 [ 10.207793][ T180] console_emit_next_record+0x252/0x4f0 [ 10.207797][ T180] ? devkmsg_read+0x4e0/0x4e0 [ 10.207802][ T180] ? rcu_is_watching+0x16/0xd0 [ 10.207804][ T180] ? lock_acquire+0x13c/0x160 [ 10.207808][ T180] console_flush_one_record+0x46f/0x710 [ 10.207812][ T180] ? console_emit_next_record+0x4f0/0x4f0 [ 10.207814][ T180] ? __lock_acquire+0x518/0xc20 [ 10.207820][ T180] console_unlock+0xee/0x1f0 [ 10.207823][ T180] ? console_flush_one_record+0x710/0x710 [ 10.207824][ T180] ? rcu_is_watching+0x16/0xd0 [ 10.207826][ T180] ? lock_acquire+0x60/0x160 [ 10.207830][ T180] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.207832][ T180] ? vprintk_emit+0x320/0x3e0 [ 10.207835][ T180] vprintk_emit+0x37c/0x3e0 [ 10.207838][ T180] ? wake_up_klogd_work_func+0x90/0x90 [ 10.207840][ T180] ? write_profile+0xf0/0xf0 [ 10.207842][ T180] ? unwind_get_return_address+0x67/0xd0 [ 10.207849][ T180] dev_vprintk_emit+0x27f/0x2c0 [ 10.207854][ T180] ? device_rename.cold+0xa/0xa [ 10.207858][ T180] ? filter_irq_stacks+0xd0/0xd0 [ 10.207863][ T180] dev_printk_emit+0xb9/0xee [ 10.207866][ T180] ? dev_vprintk_emit+0x2c0/0x2c0 [ 10.207870][ T180] ? check_prev_add+0x316/0xe90 [ 10.207875][ T180] __netdev_printk+0x160/0x1d0 [ 10.207881][ T180] netdev_info+0xe2/0x116 [ 10.207884][ T180] ? netdev_notice+0x120/0x120 [ 10.207886][ T180] ? find_held_lock+0x2b/0x80 [ 10.207889][ T180] ? __lock_release.isra.0+0x69/0x1a0 [ 10.207892][ T180] ? mark_held_locks+0x40/0x70 [ 10.207895][ T180] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.207898][ T180] netif_change_name.cold+0x4f/0x89 [ 10.207901][ T180] ? __lock_acquire+0x518/0xc20 [ 10.207903][ T180] ? mark_lock_irq+0x747/0x9c0 [ 10.207905][ T180] ? find_held_lock+0x2/0x80 [ 10.207908][ T180] ? netdev_adjacent_rename_links+0x470/0x470 [ 10.207910][ T180] ? find_held_lock+0x2b/0x80 [ 10.207913][ T180] ? __asan_memset+0x27/0x50 [ 10.207918][ T180] do_setlink.isra.0+0x1f7d/0x2a60 [ 10.207921][ T180] ? __lock_acquire+0x518/0xc20 [ 10.207924][ T180] ? rtnl_link_get_size+0x350/0x350 [ 10.207926][ T180] ? mark_usage+0x61/0x170 [ 10.207928][ T180] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.207930][ T180] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.207933][ T180] ? validate_chain+0x38b/0xc20 [ 10.207938][ T180] ? __lock_acquire+0x518/0xc20 [ 10.207942][ T180] ? lock_acquire.part.0+0xd4/0x280 [ 10.207944][ T180] ? rtnl_setlink+0x29d/0x920 [ 10.207947][ T180] ? rcu_is_watching+0x16/0xd0 [ 10.207949][ T180] ? lock_acquire+0x13c/0x160 [ 10.207951][ T180] ? rcu_is_watching+0x16/0xd0 [ 10.207952][ T180] ? rcu_is_watching+0x16/0xd0 [ 10.207954][ T180] ? trace_contention_end+0xb3/0x180 [ 10.207956][ T180] ? __mutex_lock+0x1db/0x1ea0 [ 10.207960][ T180] ? __mutex_lock+0x9a3/0x1ea0 [ 10.207962][ T180] ? __lock_acquire+0x518/0xc20 [ 10.207964][ T180] ? rtnl_setlink+0x29d/0x920 [ 10.207967][ T180] ? mark_usage+0x61/0x170 [ 10.207969][ T180] ? ww_mutex_lock+0x160/0x160 [ 10.207971][ T180] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.207977][ T180] ? mark_usage+0x61/0x170 [ 10.207980][ T180] ? cap_capable+0x1d7/0x3d0 [ 10.207988][ T180] rtnl_setlink+0x527/0x920 [ 10.207992][ T180] ? __rtnl_newlink+0xa50/0xa50 [ 10.207993][ T180] ? __lock_acquire+0x518/0xc20 [ 10.208017][ T180] ? lock_acquire.part.0+0xd4/0x280 [ 10.208019][ T180] ? find_held_lock+0x2b/0x80 [ 10.208022][ T180] ? __lock_release.isra.0+0x69/0x1a0 [ 10.208024][ T180] ? mark_usage+0x61/0x170 [ 10.208026][ T180] ? __lock_acquire+0x518/0xc20 [ 10.208031][ T180] ? lock_acquire.part.0+0xd4/0x280 [ 10.208033][ T180] ? find_held_lock+0x2b/0x80 [ 10.208035][ T180] ? __rtnl_newlink+0xa50/0xa50 [ 10.208037][ T180] ? __lock_release.isra.0+0x69/0x1a0 [ 10.208041][ T180] ? __rtnl_newlink+0xa50/0xa50 [ 10.208043][ T180] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.208047][ T180] ? rtnl_link_fill+0x900/0x900 [ 10.208048][ T180] ? __lock_acquire+0x518/0xc20 [ 10.208053][ T180] ? lock_acquire.part.0+0xd4/0x280 [ 10.208055][ T180] ? find_held_lock+0x2b/0x80 [ 10.208059][ T180] netlink_rcv_skb+0x14e/0x3a0 [ 10.208067][ T180] ? rtnl_link_fill+0x900/0x900 [ 10.208070][ T180] ? netlink_ack+0xcd0/0xcd0 [ 10.208076][ T180] ? netlink_deliver_tap+0xc5/0x330 [ 10.208078][ T180] ? netlink_deliver_tap+0x13c/0x330 [ 10.208083][ T180] netlink_unicast+0x486/0x750 [ 10.208087][ T180] ? netlink_attachskb+0x810/0x810 [ 10.208090][ T180] ? __lock_acquire+0x518/0xc20 [ 10.208095][ T180] netlink_sendmsg+0x735/0xc60 [ 10.208099][ T180] ? netlink_unicast+0x750/0x750 [ 10.208103][ T180] ? __might_fault+0x97/0x140 [ 10.208107][ T180] ? __might_fault+0x97/0x140 [ 10.208110][ T180] __sys_sendto+0x2aa/0x400 [ 10.208114][ T180] ? __ia32_sys_getpeername+0xd0/0xd0 [ 10.208128][ T180] __x64_sys_sendto+0xe4/0x1f0 [ 10.208129][ T180] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.208133][ T180] ? lockdep_hardirqs_on+0x91/0x130 [ 10.208135][ T180] ? do_syscall_64+0xa6/0x530 [ 10.208137][ T180] do_syscall_64+0xff/0x530 [ 10.208139][ T180] ? exc_page_fault+0xee/0x100 [ 10.208142][ T180] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.208144][ T180] RIP: 0033:0x7f3bc899d54e [ 10.208148][ T180] 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.208150][ T180] RSP: 002b:00007ffecdc5d870 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 10.208152][ T180] RAX: ffffffffffffffda RBX: 0000558b8509eea0 RCX: 00007f3bc899d54e [ 10.208154][ T180] RDX: 0000000000000030 RSI: 0000558b8521c150 RDI: 0000000000000014 [ 10.208155][ T180] RBP: 00007ffecdc5d880 R08: 00007ffecdc5d8d0 R09: 0000000000000080 [ 10.208156][ T180] R10: 0000000000000000 R11: 0000000000000202 R12: 0000558b85239e60 [ 10.208157][ T180] R13: 00007ffecdc5d9b4 R14: 0000000000000000 R15: 0000000000000000 [ 10.208163][ T180]