[ 10.457812][ T187] netdevsim netdevsim1093 eni1093np1: renamed from eth0 [ 10.457902][ T187] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.457904][ T187] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 187, name: (udev-worker) [ 10.457906][ T187] preempt_count: 1, expected: 0 [ 10.457907][ T187] RCU nest depth: 0, expected: 0 [ 10.457908][ T187] locks held by (udev-worker)/187: 6, last CPU#2: [ 10.457910][ T187] #0: ffffffff93b05fc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 10.457923][ T187] #1: ff11000002402de8 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 10.457927][ T187] #2: ffffffff93399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.457933][ T187] #3: ffffffff93399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.457937][ T187] #4: ffffffff93289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.457941][ T187] #5: ffffffff93289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.457945][ T187] irq event stamp: 27964 [ 10.457946][ T187] hardirqs last enabled at (27963): [] __down_trylock_console_sem+0x86/0xa0 [ 10.457949][ T187] hardirqs last disabled at (27964): [] console_emit_next_record+0x3f8/0x4f0 [ 10.457951][ T187] softirqs last enabled at (27958): [] netif_change_name+0x216/0x8c0 [ 10.457954][ T187] softirqs last disabled at (27956): [] netif_change_name+0x1ad/0x8c0 [ 10.457956][ T187] Preemption disabled at: [ 10.457957][ T187] [] vprintk_emit+0x31b/0x3e0 [ 10.457962][ T187] CPU: 2 UID: 0 PID: 187 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.457966][ T187] Tainted: [W]=WARN [ 10.457967][ T187] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.457969][ T187] Call Trace: [ 10.457970][ T187] [ 10.457975][ T187] dump_stack_lvl+0x6f/0xa0 [ 10.457981][ T187] ? vprintk_emit+0x31b/0x3e0 [ 10.457983][ T187] __might_resched.cold+0x1fe/0x2c1 [ 10.457987][ T187] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.457992][ T187] ? __kmalloc_noprof+0xdb/0x760 [ 10.457997][ T187] __kmalloc_noprof+0x443/0x760 [ 10.458000][ T187] ? alloc_buf.isra.0+0x4b/0x260 [ 10.458006][ T187] ? do_raw_spin_unlock+0x59/0x250 [ 10.458009][ T187] alloc_buf.isra.0+0x4b/0x260 [ 10.458013][ T187] put_chars+0x1e1/0x2f0 [ 10.458016][ T187] ? __send_to_port+0x420/0x420 [ 10.458020][ T187] ? validate_chain+0x34a/0xc20 [ 10.458025][ T187] hvc_console_print+0x292/0x780 [ 10.458028][ T187] ? __lock_acquire+0x518/0xc20 [ 10.458034][ T187] ? hvc_write+0x3a0/0x3a0 [ 10.458037][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.458043][ T187] console_emit_next_record+0x252/0x4f0 [ 10.458047][ T187] ? devkmsg_read+0x4e0/0x4e0 [ 10.458052][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.458054][ T187] ? lock_acquire+0x13c/0x160 [ 10.458058][ T187] console_flush_one_record+0x46f/0x710 [ 10.458062][ T187] ? console_emit_next_record+0x4f0/0x4f0 [ 10.458064][ T187] ? __lock_acquire+0x518/0xc20 [ 10.458070][ T187] console_unlock+0xee/0x1f0 [ 10.458073][ T187] ? console_flush_one_record+0x710/0x710 [ 10.458075][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.458077][ T187] ? lock_acquire+0x60/0x160 [ 10.458081][ T187] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.458082][ T187] ? vprintk_emit+0x320/0x3e0 [ 10.458085][ T187] vprintk_emit+0x37c/0x3e0 [ 10.458088][ T187] ? wake_up_klogd_work_func+0x90/0x90 [ 10.458090][ T187] ? write_profile+0xf0/0xf0 [ 10.458093][ T187] ? unwind_get_return_address+0x67/0xd0 [ 10.458100][ T187] dev_vprintk_emit+0x27f/0x2c0 [ 10.458105][ T187] ? device_rename.cold+0xa/0xa [ 10.458109][ T187] ? filter_irq_stacks+0xd0/0xd0 [ 10.458115][ T187] dev_printk_emit+0xb9/0xee [ 10.458117][ T187] ? dev_vprintk_emit+0x2c0/0x2c0 [ 10.458124][ T187] ? check_prev_add+0x316/0xe90 [ 10.458131][ T187] __netdev_printk+0x160/0x1d0 [ 10.458137][ T187] netdev_info+0xe2/0x116 [ 10.458139][ T187] ? netdev_notice+0x120/0x120 [ 10.458142][ T187] ? find_held_lock+0x2b/0x80 [ 10.458145][ T187] ? __lock_release.isra.0+0x69/0x1a0 [ 10.458148][ T187] ? mark_held_locks+0x40/0x70 [ 10.458151][ T187] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.458154][ T187] netif_change_name.cold+0x4f/0x89 [ 10.458157][ T187] ? __lock_acquire+0x518/0xc20 [ 10.458159][ T187] ? mark_lock_irq+0x747/0x9c0 [ 10.458161][ T187] ? find_held_lock+0x2/0x80 [ 10.458164][ T187] ? netdev_adjacent_rename_links+0x470/0x470 [ 10.458167][ T187] ? find_held_lock+0x2b/0x80 [ 10.458170][ T187] ? __asan_memset+0x27/0x50 [ 10.458175][ T187] do_setlink.isra.0+0x1f7d/0x2a60 [ 10.458178][ T187] ? __lock_acquire+0x518/0xc20 [ 10.458181][ T187] ? rtnl_link_get_size+0x350/0x350 [ 10.458183][ T187] ? mark_usage+0x61/0x170 [ 10.458185][ T187] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.458187][ T187] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.458190][ T187] ? validate_chain+0x38b/0xc20 [ 10.458195][ T187] ? __lock_acquire+0x518/0xc20 [ 10.458200][ T187] ? lock_acquire.part.0+0xd4/0x280 [ 10.458202][ T187] ? rtnl_setlink+0x29d/0x920 [ 10.458205][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.458207][ T187] ? lock_acquire+0x13c/0x160 [ 10.458209][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.458210][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.458212][ T187] ? trace_contention_end+0xb3/0x180 [ 10.458214][ T187] ? __mutex_lock+0x1db/0x1ea0 [ 10.458218][ T187] ? __mutex_lock+0x9a3/0x1ea0 [ 10.458220][ T187] ? __lock_acquire+0x518/0xc20 [ 10.458222][ T187] ? rtnl_setlink+0x29d/0x920 [ 10.458225][ T187] ? mark_usage+0x61/0x170 [ 10.458227][ T187] ? ww_mutex_lock+0x160/0x160 [ 10.458230][ T187] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.458236][ T187] ? mark_usage+0x61/0x170 [ 10.458239][ T187] ? cap_capable+0x1d7/0x3d0 [ 10.458247][ T187] rtnl_setlink+0x527/0x920 [ 10.458250][ T187] ? __rtnl_newlink+0xa50/0xa50 [ 10.458252][ T187] ? __lock_acquire+0x518/0xc20 [ 10.458275][ T187] ? lock_acquire.part.0+0xd4/0x280 [ 10.458278][ T187] ? find_held_lock+0x2b/0x80 [ 10.458281][ T187] ? __lock_release.isra.0+0x69/0x1a0 [ 10.458283][ T187] ? mark_usage+0x61/0x170 [ 10.458286][ T187] ? __lock_acquire+0x518/0xc20 [ 10.458294][ T187] ? lock_acquire.part.0+0xd4/0x280 [ 10.458296][ T187] ? find_held_lock+0x2b/0x80 [ 10.458298][ T187] ? __rtnl_newlink+0xa50/0xa50 [ 10.458300][ T187] ? __lock_release.isra.0+0x69/0x1a0 [ 10.458304][ T187] ? __rtnl_newlink+0xa50/0xa50 [ 10.458307][ T187] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.458311][ T187] ? rtnl_link_fill+0x900/0x900 [ 10.458312][ T187] ? __lock_acquire+0x518/0xc20 [ 10.458317][ T187] ? lock_acquire.part.0+0xd4/0x280 [ 10.458319][ T187] ? find_held_lock+0x2b/0x80 [ 10.458323][ T187] netlink_rcv_skb+0x14e/0x3a0 [ 10.458326][ T187] ? rtnl_link_fill+0x900/0x900 [ 10.458330][ T187] ? netlink_ack+0xcd0/0xcd0 [ 10.458337][ T187] ? netlink_deliver_tap+0xc5/0x330 [ 10.458339][ T187] ? netlink_deliver_tap+0x13c/0x330 [ 10.458344][ T187] netlink_unicast+0x486/0x750 [ 10.458348][ T187] ? netlink_attachskb+0x810/0x810 [ 10.458351][ T187] ? __lock_acquire+0x518/0xc20 [ 10.458356][ T187] netlink_sendmsg+0x735/0xc60 [ 10.458360][ T187] ? netlink_unicast+0x750/0x750 [ 10.458364][ T187] ? __might_fault+0x97/0x140 [ 10.458368][ T187] ? __might_fault+0x97/0x140 [ 10.458372][ T187] __sys_sendto+0x2aa/0x400 [ 10.458376][ T187] ? __ia32_sys_getpeername+0xd0/0xd0 [ 10.458386][ T187] ? exc_page_fault+0x87/0x100 [ 10.458392][ T187] __x64_sys_sendto+0xe4/0x1f0 [ 10.458394][ T187] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.458397][ T187] ? lockdep_hardirqs_on+0x91/0x130 [ 10.458398][ T187] ? do_syscall_64+0xa6/0x530 [ 10.458401][ T187] do_syscall_64+0xff/0x530 [ 10.458403][ T187] ? exc_page_fault+0xee/0x100 [ 10.458405][ T187] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.458408][ T187] RIP: 0033:0x7fa7b9ad654e [ 10.458412][ T187] 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.458413][ T187] RSP: 002b:00007fffc5c4e0a0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 10.458416][ T187] RAX: ffffffffffffffda RBX: 000055db3b62e290 RCX: 00007fa7b9ad654e [ 10.458417][ T187] RDX: 0000000000000030 RSI: 000055db3b4bfdb0 RDI: 0000000000000022 [ 10.458418][ T187] RBP: 00007fffc5c4e0b0 R08: 00007fffc5c4e100 R09: 0000000000000080 [ 10.458419][ T187] R10: 0000000000000000 R11: 0000000000000202 R12: 000055db3b630fb0 [ 10.458420][ T187] R13: 00007fffc5c4e1e4 R14: 0000000000000000 R15: 0000000000000000 [ 10.458427][ T187]