[ 8.853152][ T92] netdevsim netdevsim742 eni742np1: renamed from eth0 [ 8.853206][ T92] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.853208][ T92] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 92, name: (udev-worker) [ 8.853209][ T92] preempt_count: 1, expected: 0 [ 8.853210][ T92] RCU nest depth: 0, expected: 0 [ 8.853211][ T92] locks held by (udev-worker)/92: 6, last CPU#3: [ 8.853214][ T92] #0: ffffffff874fe280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 8.853225][ T92] #1: ff11000004deadd8 (&dev_instance_lock_key#3){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 8.853230][ T92] #2: ffffffff86d99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.853235][ T92] #3: ffffffff86d99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.853239][ T92] #4: ffffffff86c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.853242][ T92] #5: ffffffff86c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 8.853245][ T92] irq event stamp: 412090 [ 8.853246][ T92] hardirqs last enabled at (412089): [] __down_trylock_console_sem+0x86/0xa0 [ 8.853248][ T92] hardirqs last disabled at (412090): [] console_emit_next_record+0x3f8/0x4f0 [ 8.853250][ T92] softirqs last enabled at (412084): [] netif_change_name+0x216/0x8c0 [ 8.853252][ T92] softirqs last disabled at (412082): [] netif_change_name+0x1ad/0x8c0 [ 8.853254][ T92] Preemption disabled at: [ 8.853255][ T92] [] vprintk_emit+0x31b/0x3e0 [ 8.853260][ T92] CPU: 3 UID: 0 PID: 92 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.853263][ T92] Tainted: [W]=WARN [ 8.853264][ T92] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.853266][ T92] Call Trace: [ 8.853267][ T92] [ 8.853269][ T92] dump_stack_lvl+0x6f/0xa0 [ 8.853274][ T92] ? vprintk_emit+0x31b/0x3e0 [ 8.853276][ T92] __might_resched.cold+0x1fe/0x2c1 [ 8.853281][ T92] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.853285][ T92] ? __kmalloc_noprof+0xdb/0x760 [ 8.853289][ T92] __kmalloc_noprof+0x443/0x760 [ 8.853291][ T92] ? alloc_buf.isra.0+0x4b/0x260 [ 8.853297][ T92] ? do_raw_spin_unlock+0x59/0x250 [ 8.853299][ T92] alloc_buf.isra.0+0x4b/0x260 [ 8.853302][ T92] put_chars+0x1e1/0x2f0 [ 8.853304][ T92] ? __send_to_port+0x420/0x420 [ 8.853308][ T92] ? validate_chain+0x34a/0xc20 [ 8.853312][ T92] hvc_console_print+0x292/0x780 [ 8.853315][ T92] ? __lock_acquire+0x518/0xc20 [ 8.853320][ T92] ? hvc_write+0x3a0/0x3a0 [ 8.853322][ T92] ? rcu_is_watching+0x16/0xd0 [ 8.853329][ T92] console_emit_next_record+0x252/0x4f0 [ 8.853332][ T92] ? devkmsg_read+0x4e0/0x4e0 [ 8.853336][ T92] ? rcu_is_watching+0x16/0xd0 [ 8.853338][ T92] ? lock_acquire+0x13c/0x160 [ 8.853342][ T92] console_flush_one_record+0x46f/0x710 [ 8.853346][ T92] ? console_emit_next_record+0x4f0/0x4f0 [ 8.853347][ T92] ? __lock_acquire+0x518/0xc20 [ 8.853352][ T92] console_unlock+0xee/0x1f0 [ 8.853355][ T92] ? console_flush_one_record+0x710/0x710 [ 8.853356][ T92] ? rcu_is_watching+0x16/0xd0 [ 8.853358][ T92] ? lock_acquire+0x60/0x160 [ 8.853362][ T92] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.853363][ T92] ? vprintk_emit+0x320/0x3e0 [ 8.853366][ T92] vprintk_emit+0x37c/0x3e0 [ 8.853369][ T92] ? wake_up_klogd_work_func+0x90/0x90 [ 8.853371][ T92] ? write_profile+0xf0/0xf0 [ 8.853375][ T92] ? unwind_get_return_address+0x67/0xd0 [ 8.853381][ T92] dev_vprintk_emit+0x27f/0x2c0 [ 8.853386][ T92] ? device_rename.cold+0xa/0xa [ 8.853390][ T92] ? filter_irq_stacks+0xd0/0xd0 [ 8.853396][ T92] dev_printk_emit+0xb9/0xee [ 8.853399][ T92] ? dev_vprintk_emit+0x2c0/0x2c0 [ 8.853402][ T92] ? check_prev_add+0x316/0xe90 [ 8.853407][ T92] __netdev_printk+0x160/0x1d0 [ 8.853412][ T92] netdev_info+0xe2/0x116 [ 8.853414][ T92] ? netdev_notice+0x120/0x120 [ 8.853417][ T92] ? find_held_lock+0x2b/0x80 [ 8.853421][ T92] ? __lock_release.isra.0+0x69/0x1a0 [ 8.853423][ T92] ? mark_held_locks+0x40/0x70 [ 8.853426][ T92] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 8.853428][ T92] netif_change_name.cold+0x4f/0x89 [ 8.853431][ T92] ? __lock_acquire+0x518/0xc20 [ 8.853433][ T92] ? rwsem_optimistic_spin+0x3c7/0x480 [ 8.853438][ T92] ? find_held_lock+0x2/0x80 [ 8.853441][ T92] ? netdev_adjacent_rename_links+0x470/0x470 [ 8.853443][ T92] ? find_held_lock+0x2b/0x80 [ 8.853446][ T92] ? __asan_memset+0x27/0x50 [ 8.853452][ T92] do_setlink.isra.0+0x1f7d/0x2a60 [ 8.853455][ T92] ? __lock_acquire+0x518/0xc20 [ 8.853457][ T92] ? rtnl_link_get_size+0x350/0x350 [ 8.853459][ T92] ? mark_usage+0x61/0x170 [ 8.853460][ T92] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 8.853463][ T92] ? rcu_read_lock_any_held+0x3c/0x90 [ 8.853465][ T92] ? validate_chain+0x38b/0xc20 [ 8.853469][ T92] ? __lock_acquire+0x518/0xc20 [ 8.853474][ T92] ? lock_acquire.part.0+0xd4/0x280 [ 8.853475][ T92] ? rtnl_setlink+0x29d/0x920 [ 8.853478][ T92] ? rcu_is_watching+0x16/0xd0 [ 8.853480][ T92] ? lock_acquire+0x13c/0x160 [ 8.853481][ T92] ? rcu_is_watching+0x16/0xd0 [ 8.853483][ T92] ? rcu_is_watching+0x16/0xd0 [ 8.853485][ T92] ? trace_contention_end+0xb3/0x180 [ 8.853487][ T92] ? __mutex_lock+0x1db/0x1ea0 [ 8.853490][ T92] ? __mutex_lock+0x9a3/0x1ea0 [ 8.853492][ T92] ? __lock_acquire+0x518/0xc20 [ 8.853493][ T92] ? rtnl_setlink+0x29d/0x920 [ 8.853496][ T92] ? mark_usage+0x61/0x170 [ 8.853498][ T92] ? ww_mutex_lock+0x160/0x160 [ 8.853500][ T92] ? nla_get_range_signed+0x3d0/0x3d0 [ 8.853505][ T92] ? mark_usage+0x61/0x170 [ 8.853508][ T92] ? cap_capable+0x1d7/0x3d0 [ 8.853516][ T92] rtnl_setlink+0x527/0x920 [ 8.853519][ T92] ? __rtnl_newlink+0xa50/0xa50 [ 8.853521][ T92] ? __lock_acquire+0x518/0xc20 [ 8.853543][ T92] ? lock_acquire.part.0+0xd4/0x280 [ 8.853545][ T92] ? find_held_lock+0x2b/0x80 [ 8.853548][ T92] ? __lock_release.isra.0+0x69/0x1a0 [ 8.853549][ T92] ? mark_usage+0x61/0x170 [ 8.853551][ T92] ? __lock_acquire+0x518/0xc20 [ 8.853555][ T92] ? lock_acquire.part.0+0xd4/0x280 [ 8.853557][ T92] ? find_held_lock+0x2b/0x80 [ 8.853559][ T92] ? __rtnl_newlink+0xa50/0xa50 [ 8.853561][ T92] ? __lock_release.isra.0+0x69/0x1a0 [ 8.853565][ T92] ? __rtnl_newlink+0xa50/0xa50 [ 8.853567][ T92] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 8.853571][ T92] ? rtnl_link_fill+0x900/0x900 [ 8.853572][ T92] ? __lock_acquire+0x518/0xc20 [ 8.853576][ T92] ? lock_acquire.part.0+0xd4/0x280 [ 8.853578][ T92] ? find_held_lock+0x2b/0x80 [ 8.853582][ T92] netlink_rcv_skb+0x14e/0x3a0 [ 8.853585][ T92] ? rtnl_link_fill+0x900/0x900 [ 8.853588][ T92] ? netlink_ack+0xcd0/0xcd0 [ 8.853595][ T92] ? netlink_deliver_tap+0xc5/0x330 [ 8.853596][ T92] ? netlink_deliver_tap+0x13c/0x330 [ 8.853601][ T92] netlink_unicast+0x486/0x750 [ 8.853605][ T92] ? netlink_attachskb+0x810/0x810 [ 8.853608][ T92] ? __lock_acquire+0x518/0xc20 [ 8.853612][ T92] netlink_sendmsg+0x735/0xc60 [ 8.853616][ T92] ? netlink_unicast+0x750/0x750 [ 8.853620][ T92] ? __might_fault+0x97/0x140 [ 8.853623][ T92] ? __might_fault+0x97/0x140 [ 8.853626][ T92] __sys_sendto+0x2aa/0x400 [ 8.853631][ T92] ? __ia32_sys_getpeername+0xd0/0xd0 [ 8.853641][ T92] ? exc_page_fault+0x87/0x100 [ 8.853647][ T92] __x64_sys_sendto+0xe4/0x1f0 [ 8.853649][ T92] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 8.853652][ T92] ? lockdep_hardirqs_on+0x91/0x130 [ 8.853654][ T92] ? do_syscall_64+0xa6/0x530 [ 8.853655][ T92] do_syscall_64+0xff/0x530 [ 8.853657][ T92] ? exc_page_fault+0xee/0x100 [ 8.853659][ T92] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.853662][ T92] RIP: 0033:0x7f5bf8e6754e [ 8.853665][ T92] 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 [ 8.853667][ T92] RSP: 002b:00007ffc658c5340 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 8.853670][ T92] RAX: ffffffffffffffda RBX: 0000557a76dfef40 RCX: 00007f5bf8e6754e [ 8.853671][ T92] RDX: 0000000000000030 RSI: 0000557a76fabba0 RDI: 0000000000000024 [ 8.853672][ T92] RBP: 00007ffc658c5350 R08: 00007ffc658c53a0 R09: 0000000000000080 [ 8.853672][ T92] R10: 0000000000000000 R11: 0000000000000202 R12: 0000557a76fad2c0 [ 8.853673][ T92] R13: 00007ffc658c5484 R14: 0000000000000000 R15: 0000000000000000 [ 8.853680][ T92]