[ 10.260346][ T183] netdevsim netdevsim28958 eni28958np1: renamed from eth0 [ 10.260412][ T183] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.260415][ T183] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 183, name: (udev-worker) [ 10.260416][ T183] preempt_count: 1, expected: 0 [ 10.260417][ T183] RCU nest depth: 0, expected: 0 [ 10.260418][ T183] locks held by (udev-worker)/183: 6, last CPU#2: [ 10.260420][ T183] #0: ffffffffa8b05fc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 10.260432][ T183] #1: ff11000002402de8 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 10.260437][ T183] #2: ffffffffa8399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.260445][ T183] #3: ffffffffa8399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.260449][ T183] #4: ffffffffa8289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.260453][ T183] #5: ffffffffa8289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.260457][ T183] irq event stamp: 28114 [ 10.260458][ T183] hardirqs last enabled at (28113): [] __down_trylock_console_sem+0x86/0xa0 [ 10.260461][ T183] hardirqs last disabled at (28114): [] console_emit_next_record+0x3f8/0x4f0 [ 10.260463][ T183] softirqs last enabled at (28108): [] netif_change_name+0x216/0x8c0 [ 10.260467][ T183] softirqs last disabled at (28106): [] netif_change_name+0x1ad/0x8c0 [ 10.260469][ T183] Preemption disabled at: [ 10.260470][ T183] [] vprintk_emit+0x31b/0x3e0 [ 10.260475][ T183] CPU: 2 UID: 0 PID: 183 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.260478][ T183] Tainted: [W]=WARN [ 10.260479][ T183] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.260481][ T183] Call Trace: [ 10.260482][ T183] [ 10.260484][ T183] dump_stack_lvl+0x6f/0xa0 [ 10.260490][ T183] ? vprintk_emit+0x31b/0x3e0 [ 10.260492][ T183] __might_resched.cold+0x1fe/0x2c1 [ 10.260496][ T183] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.260500][ T183] ? __kmalloc_noprof+0xdb/0x760 [ 10.260506][ T183] __kmalloc_noprof+0x443/0x760 [ 10.260509][ T183] ? alloc_buf.isra.0+0x4b/0x260 [ 10.260515][ T183] ? do_raw_spin_unlock+0x59/0x250 [ 10.260518][ T183] alloc_buf.isra.0+0x4b/0x260 [ 10.260522][ T183] put_chars+0x1e1/0x2f0 [ 10.260525][ T183] ? __send_to_port+0x420/0x420 [ 10.260529][ T183] ? validate_chain+0x34a/0xc20 [ 10.260534][ T183] hvc_console_print+0x292/0x780 [ 10.260537][ T183] ? __lock_acquire+0x518/0xc20 [ 10.260542][ T183] ? hvc_write+0x3a0/0x3a0 [ 10.260545][ T183] ? rcu_is_watching+0x16/0xd0 [ 10.260551][ T183] console_emit_next_record+0x252/0x4f0 [ 10.260555][ T183] ? devkmsg_read+0x4e0/0x4e0 [ 10.260560][ T183] ? rcu_is_watching+0x16/0xd0 [ 10.260562][ T183] ? lock_acquire+0x13c/0x160 [ 10.260566][ T183] console_flush_one_record+0x46f/0x710 [ 10.260570][ T183] ? console_emit_next_record+0x4f0/0x4f0 [ 10.260572][ T183] ? __lock_acquire+0x518/0xc20 [ 10.260578][ T183] console_unlock+0xee/0x1f0 [ 10.260581][ T183] ? console_flush_one_record+0x710/0x710 [ 10.260583][ T183] ? rcu_is_watching+0x16/0xd0 [ 10.260584][ T183] ? lock_acquire+0x60/0x160 [ 10.260588][ T183] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.260590][ T183] ? vprintk_emit+0x320/0x3e0 [ 10.260593][ T183] vprintk_emit+0x37c/0x3e0 [ 10.260596][ T183] ? wake_up_klogd_work_func+0x90/0x90 [ 10.260598][ T183] ? write_profile+0xf0/0xf0 [ 10.260601][ T183] ? unwind_get_return_address+0x67/0xd0 [ 10.260607][ T183] dev_vprintk_emit+0x27f/0x2c0 [ 10.260612][ T183] ? device_rename.cold+0xa/0xa [ 10.260616][ T183] ? filter_irq_stacks+0xd0/0xd0 [ 10.260622][ T183] dev_printk_emit+0xb9/0xee [ 10.260625][ T183] ? dev_vprintk_emit+0x2c0/0x2c0 [ 10.260629][ T183] ? check_prev_add+0x316/0xe90 [ 10.260634][ T183] __netdev_printk+0x160/0x1d0 [ 10.260640][ T183] netdev_info+0xe2/0x116 [ 10.260642][ T183] ? netdev_notice+0x120/0x120 [ 10.260645][ T183] ? find_held_lock+0x2b/0x80 [ 10.260648][ T183] ? __lock_release.isra.0+0x69/0x1a0 [ 10.260650][ T183] ? mark_held_locks+0x40/0x70 [ 10.260654][ T183] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.260657][ T183] netif_change_name.cold+0x4f/0x89 [ 10.260660][ T183] ? __lock_acquire+0x518/0xc20 [ 10.260661][ T183] ? mark_lock_irq+0x747/0x9c0 [ 10.260663][ T183] ? find_held_lock+0x2/0x80 [ 10.260666][ T183] ? netdev_adjacent_rename_links+0x470/0x470 [ 10.260669][ T183] ? find_held_lock+0x2b/0x80 [ 10.260672][ T183] ? __asan_memset+0x27/0x50 [ 10.260677][ T183] do_setlink.isra.0+0x1f7d/0x2a60 [ 10.260680][ T183] ? __lock_acquire+0x518/0xc20 [ 10.260683][ T183] ? rtnl_link_get_size+0x350/0x350 [ 10.260685][ T183] ? mark_usage+0x61/0x170 [ 10.260686][ T183] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.260689][ T183] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.260692][ T183] ? validate_chain+0x38b/0xc20 [ 10.260696][ T183] ? __lock_acquire+0x518/0xc20 [ 10.260701][ T183] ? lock_acquire.part.0+0xd4/0x280 [ 10.260703][ T183] ? rtnl_setlink+0x29d/0x920 [ 10.260706][ T183] ? rcu_is_watching+0x16/0xd0 [ 10.260708][ T183] ? lock_acquire+0x13c/0x160 [ 10.260710][ T183] ? rcu_is_watching+0x16/0xd0 [ 10.260711][ T183] ? rcu_is_watching+0x16/0xd0 [ 10.260713][ T183] ? trace_contention_end+0xb3/0x180 [ 10.260715][ T183] ? __mutex_lock+0x1db/0x1ea0 [ 10.260719][ T183] ? __mutex_lock+0x9a3/0x1ea0 [ 10.260721][ T183] ? __lock_acquire+0x518/0xc20 [ 10.260723][ T183] ? rtnl_setlink+0x29d/0x920 [ 10.260726][ T183] ? mark_usage+0x61/0x170 [ 10.260728][ T183] ? ww_mutex_lock+0x160/0x160 [ 10.260731][ T183] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.260736][ T183] ? mark_usage+0x61/0x170 [ 10.260740][ T183] ? cap_capable+0x1d7/0x3d0 [ 10.260747][ T183] rtnl_setlink+0x527/0x920 [ 10.260751][ T183] ? __rtnl_newlink+0xa50/0xa50 [ 10.260753][ T183] ? __lock_acquire+0x518/0xc20 [ 10.260776][ T183] ? lock_acquire.part.0+0xd4/0x280 [ 10.260778][ T183] ? find_held_lock+0x2b/0x80 [ 10.260781][ T183] ? __lock_release.isra.0+0x69/0x1a0 [ 10.260783][ T183] ? mark_usage+0x61/0x170 [ 10.260785][ T183] ? __lock_acquire+0x518/0xc20 [ 10.260790][ T183] ? lock_acquire.part.0+0xd4/0x280 [ 10.260792][ T183] ? find_held_lock+0x2b/0x80 [ 10.260794][ T183] ? __rtnl_newlink+0xa50/0xa50 [ 10.260796][ T183] ? __lock_release.isra.0+0x69/0x1a0 [ 10.260800][ T183] ? __rtnl_newlink+0xa50/0xa50 [ 10.260803][ T183] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.260806][ T183] ? rtnl_link_fill+0x900/0x900 [ 10.260808][ T183] ? __lock_acquire+0x518/0xc20 [ 10.260813][ T183] ? lock_acquire.part.0+0xd4/0x280 [ 10.260815][ T183] ? find_held_lock+0x2b/0x80 [ 10.260818][ T183] netlink_rcv_skb+0x14e/0x3a0 [ 10.260822][ T183] ? rtnl_link_fill+0x900/0x900 [ 10.260825][ T183] ? netlink_ack+0xcd0/0xcd0 [ 10.260832][ T183] ? netlink_deliver_tap+0xc5/0x330 [ 10.260834][ T183] ? netlink_deliver_tap+0x13c/0x330 [ 10.260839][ T183] netlink_unicast+0x486/0x750 [ 10.260843][ T183] ? netlink_attachskb+0x810/0x810 [ 10.260852][ T183] ? __lock_acquire+0x518/0xc20 [ 10.260857][ T183] netlink_sendmsg+0x735/0xc60 [ 10.260861][ T183] ? netlink_unicast+0x750/0x750 [ 10.260866][ T183] ? __might_fault+0x97/0x140 [ 10.260870][ T183] ? __might_fault+0x97/0x140 [ 10.260874][ T183] __sys_sendto+0x2aa/0x400 [ 10.260877][ T183] ? __ia32_sys_getpeername+0xd0/0xd0 [ 10.260892][ T183] __x64_sys_sendto+0xe4/0x1f0 [ 10.260894][ T183] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.260897][ T183] ? lockdep_hardirqs_on+0x91/0x130 [ 10.260899][ T183] ? do_syscall_64+0xa6/0x530 [ 10.260902][ T183] do_syscall_64+0xff/0x530 [ 10.260904][ T183] ? exc_page_fault+0xee/0x100 [ 10.260906][ T183] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.260909][ T183] RIP: 0033:0x7f09374df54e [ 10.260912][ T183] 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.260914][ T183] RSP: 002b:00007ffc073dbbe0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 10.260917][ T183] RAX: ffffffffffffffda RBX: 0000563b06b23c20 RCX: 00007f09374df54e [ 10.260918][ T183] RDX: 0000000000000030 RSI: 0000563b06b2d1c0 RDI: 0000000000000018 [ 10.260919][ T183] RBP: 00007ffc073dbbf0 R08: 00007ffc073dbc40 R09: 0000000000000080 [ 10.260920][ T183] R10: 0000000000000000 R11: 0000000000000202 R12: 0000563b06c86220 [ 10.260921][ T183] R13: 00007ffc073dbd24 R14: 0000000000000000 R15: 0000000000000000 [ 10.260928][ T183]