[ 11.511989][ T183] netdevsim netdevsim22434 eni22434np1: renamed from eth0 [ 11.512096][ T183] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.512099][ T183] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 183, name: (udev-worker) [ 11.512100][ T183] preempt_count: 1, expected: 0 [ 11.512101][ T183] RCU nest depth: 0, expected: 0 [ 11.512102][ T183] locks held by (udev-worker)/183: 6, last CPU#0: [ 11.512104][ T183] #0: ffffffffb5505fc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 11.512116][ T183] #1: ff11000002402de8 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 11.512120][ T183] #2: ffffffffb4d99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.512126][ T183] #3: ffffffffb4d99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.512130][ T183] #4: ffffffffb4c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.512133][ T183] #5: ffffffffb4c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 11.512137][ T183] irq event stamp: 23090 [ 11.512138][ T183] hardirqs last enabled at (23089): [] __down_trylock_console_sem+0x86/0xa0 [ 11.512141][ T183] hardirqs last disabled at (23090): [] console_emit_next_record+0x3f8/0x4f0 [ 11.512143][ T183] softirqs last enabled at (23084): [] netif_change_name+0x216/0x8c0 [ 11.512146][ T183] softirqs last disabled at (23082): [] netif_change_name+0x1ad/0x8c0 [ 11.512148][ T183] Preemption disabled at: [ 11.512149][ T183] [] vprintk_emit+0x31b/0x3e0 [ 11.512155][ T183] CPU: 0 UID: 0 PID: 183 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.512159][ T183] Tainted: [W]=WARN [ 11.512160][ T183] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.512161][ T183] Call Trace: [ 11.512163][ T183] [ 11.512165][ T183] dump_stack_lvl+0x6f/0xa0 [ 11.512171][ T183] ? vprintk_emit+0x31b/0x3e0 [ 11.512173][ T183] __might_resched.cold+0x1fe/0x2c1 [ 11.512177][ T183] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.512181][ T183] ? __kmalloc_noprof+0xdb/0x760 [ 11.512187][ T183] __kmalloc_noprof+0x443/0x760 [ 11.512190][ T183] ? alloc_buf.isra.0+0x4b/0x260 [ 11.512196][ T183] ? do_raw_spin_unlock+0x59/0x250 [ 11.512199][ T183] alloc_buf.isra.0+0x4b/0x260 [ 11.512203][ T183] put_chars+0x1e1/0x2f0 [ 11.512206][ T183] ? __send_to_port+0x420/0x420 [ 11.512210][ T183] ? validate_chain+0x34a/0xc20 [ 11.512215][ T183] hvc_console_print+0x292/0x780 [ 11.512218][ T183] ? __lock_acquire+0x518/0xc20 [ 11.512223][ T183] ? hvc_write+0x3a0/0x3a0 [ 11.512226][ T183] ? rcu_is_watching+0x16/0xd0 [ 11.512232][ T183] console_emit_next_record+0x252/0x4f0 [ 11.512236][ T183] ? devkmsg_read+0x4e0/0x4e0 [ 11.512241][ T183] ? rcu_is_watching+0x16/0xd0 [ 11.512243][ T183] ? lock_acquire+0x13c/0x160 [ 11.512247][ T183] console_flush_one_record+0x46f/0x710 [ 11.512252][ T183] ? console_emit_next_record+0x4f0/0x4f0 [ 11.512253][ T183] ? __lock_acquire+0x518/0xc20 [ 11.512259][ T183] console_unlock+0xee/0x1f0 [ 11.512262][ T183] ? console_flush_one_record+0x710/0x710 [ 11.512264][ T183] ? rcu_is_watching+0x16/0xd0 [ 11.512265][ T183] ? lock_acquire+0x60/0x160 [ 11.512269][ T183] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.512271][ T183] ? vprintk_emit+0x320/0x3e0 [ 11.512274][ T183] vprintk_emit+0x37c/0x3e0 [ 11.512277][ T183] ? wake_up_klogd_work_func+0x90/0x90 [ 11.512279][ T183] ? write_profile+0xf0/0xf0 [ 11.512282][ T183] ? unwind_get_return_address+0x67/0xd0 [ 11.512288][ T183] dev_vprintk_emit+0x27f/0x2c0 [ 11.512293][ T183] ? device_rename.cold+0xa/0xa [ 11.512298][ T183] ? filter_irq_stacks+0xd0/0xd0 [ 11.512303][ T183] dev_printk_emit+0xb9/0xee [ 11.512306][ T183] ? dev_vprintk_emit+0x2c0/0x2c0 [ 11.512310][ T183] ? check_prev_add+0x316/0xe90 [ 11.512315][ T183] __netdev_printk+0x160/0x1d0 [ 11.512320][ T183] netdev_info+0xe2/0x116 [ 11.512323][ T183] ? netdev_notice+0x120/0x120 [ 11.512325][ T183] ? find_held_lock+0x2b/0x80 [ 11.512328][ T183] ? __lock_release.isra.0+0x69/0x1a0 [ 11.512331][ T183] ? mark_held_locks+0x40/0x70 [ 11.512334][ T183] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 11.512337][ T183] netif_change_name.cold+0x4f/0x89 [ 11.512340][ T183] ? __lock_acquire+0x518/0xc20 [ 11.512342][ T183] ? mark_lock_irq+0x747/0x9c0 [ 11.512343][ T183] ? find_held_lock+0x2/0x80 [ 11.512346][ T183] ? netdev_adjacent_rename_links+0x470/0x470 [ 11.512349][ T183] ? find_held_lock+0x2b/0x80 [ 11.512352][ T183] ? __asan_memset+0x27/0x50 [ 11.512357][ T183] do_setlink.isra.0+0x1f7d/0x2a60 [ 11.512359][ T183] ? __lock_acquire+0x518/0xc20 [ 11.512363][ T183] ? rtnl_link_get_size+0x350/0x350 [ 11.512364][ T183] ? mark_usage+0x61/0x170 [ 11.512366][ T183] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.512368][ T183] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.512371][ T183] ? validate_chain+0x38b/0xc20 [ 11.512375][ T183] ? __lock_acquire+0x518/0xc20 [ 11.512380][ T183] ? lock_acquire.part.0+0xd4/0x280 [ 11.512382][ T183] ? rtnl_setlink+0x29d/0x920 [ 11.512385][ T183] ? rcu_is_watching+0x16/0xd0 [ 11.512387][ T183] ? lock_acquire+0x13c/0x160 [ 11.512388][ T183] ? rcu_is_watching+0x16/0xd0 [ 11.512390][ T183] ? rcu_is_watching+0x16/0xd0 [ 11.512391][ T183] ? trace_contention_end+0xb3/0x180 [ 11.512394][ T183] ? __mutex_lock+0x1db/0x1ea0 [ 11.512397][ T183] ? __mutex_lock+0x9a3/0x1ea0 [ 11.512399][ T183] ? __lock_acquire+0x518/0xc20 [ 11.512401][ T183] ? rtnl_setlink+0x29d/0x920 [ 11.512404][ T183] ? mark_usage+0x61/0x170 [ 11.512407][ T183] ? ww_mutex_lock+0x160/0x160 [ 11.512409][ T183] ? nla_get_range_signed+0x3d0/0x3d0 [ 11.512415][ T183] ? mark_usage+0x61/0x170 [ 11.512418][ T183] ? cap_capable+0x1d7/0x3d0 [ 11.512425][ T183] rtnl_setlink+0x527/0x920 [ 11.512429][ T183] ? __rtnl_newlink+0xa50/0xa50 [ 11.512430][ T183] ? __lock_acquire+0x518/0xc20 [ 11.512453][ T183] ? lock_acquire.part.0+0xd4/0x280 [ 11.512455][ T183] ? find_held_lock+0x2b/0x80 [ 11.512458][ T183] ? __lock_release.isra.0+0x69/0x1a0 [ 11.512460][ T183] ? mark_usage+0x61/0x170 [ 11.512462][ T183] ? __lock_acquire+0x518/0xc20 [ 11.512466][ T183] ? lock_acquire.part.0+0xd4/0x280 [ 11.512468][ T183] ? find_held_lock+0x2b/0x80 [ 11.512470][ T183] ? __rtnl_newlink+0xa50/0xa50 [ 11.512473][ T183] ? __lock_release.isra.0+0x69/0x1a0 [ 11.512476][ T183] ? __rtnl_newlink+0xa50/0xa50 [ 11.512479][ T183] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 11.512482][ T183] ? rtnl_link_fill+0x900/0x900 [ 11.512484][ T183] ? __lock_acquire+0x518/0xc20 [ 11.512488][ T183] ? lock_acquire.part.0+0xd4/0x280 [ 11.512490][ T183] ? find_held_lock+0x2b/0x80 [ 11.512494][ T183] netlink_rcv_skb+0x14e/0x3a0 [ 11.512497][ T183] ? rtnl_link_fill+0x900/0x900 [ 11.512501][ T183] ? netlink_ack+0xcd0/0xcd0 [ 11.512507][ T183] ? netlink_deliver_tap+0xc5/0x330 [ 11.512509][ T183] ? netlink_deliver_tap+0x13c/0x330 [ 11.512514][ T183] netlink_unicast+0x486/0x750 [ 11.512518][ T183] ? netlink_attachskb+0x810/0x810 [ 11.512521][ T183] ? __lock_acquire+0x518/0xc20 [ 11.512525][ T183] netlink_sendmsg+0x735/0xc60 [ 11.512530][ T183] ? netlink_unicast+0x750/0x750 [ 11.512533][ T183] ? __might_fault+0x97/0x140 [ 11.512537][ T183] ? __might_fault+0x97/0x140 [ 11.512541][ T183] __sys_sendto+0x2aa/0x400 [ 11.512544][ T183] ? __ia32_sys_getpeername+0xd0/0xd0 [ 11.512555][ T183] ? exc_page_fault+0x87/0x100 [ 11.512560][ T183] __x64_sys_sendto+0xe4/0x1f0 [ 11.512561][ T183] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.512565][ T183] ? lockdep_hardirqs_on+0x91/0x130 [ 11.512566][ T183] ? do_syscall_64+0xa6/0x530 [ 11.512569][ T183] do_syscall_64+0xff/0x530 [ 11.512571][ T183] ? exc_page_fault+0xee/0x100 [ 11.512573][ T183] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.512575][ T183] RIP: 0033:0x7f6b410e854e [ 11.512579][ 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 [ 11.512581][ T183] RSP: 002b:00007fffd0038210 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 11.512584][ T183] RAX: ffffffffffffffda RBX: 000055a52ec1e1a0 RCX: 00007f6b410e854e [ 11.512585][ T183] RDX: 0000000000000030 RSI: 000055a52ec0bd80 RDI: 000000000000001c [ 11.512586][ T183] RBP: 00007fffd0038220 R08: 00007fffd0038270 R09: 0000000000000080 [ 11.512586][ T183] R10: 0000000000000000 R11: 0000000000000202 R12: 000055a52ec15a00 [ 11.512587][ T183] R13: 00007fffd0038354 R14: 0000000000000000 R15: 0000000000000000 [ 11.512594][ T183] [ 11.781373][ T190] ip (190) used greatest stack depth: 24160 bytes left