[ 9.687780][ T82] netdevsim netdevsim416 eni416np1: renamed from eth0 [ 9.687842][ T82] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.687845][ T82] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 82, name: (udev-worker) [ 9.687846][ T82] preempt_count: 1, expected: 0 [ 9.687847][ T82] RCU nest depth: 0, expected: 0 [ 9.687848][ T82] locks held by (udev-worker)/82: 6, last CPU#2: [ 9.687850][ T82] #0: ffffffff962fe280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 9.687862][ T82] #1: ff1100000d062dd8 (&dev_instance_lock_key#3){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 9.687867][ T82] #2: ffffffff95b99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.687873][ T82] #3: ffffffff95b99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.687876][ T82] #4: ffffffff95a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.687879][ T82] #5: ffffffff95a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 9.687883][ T82] irq event stamp: 484512 [ 9.687884][ T82] hardirqs last enabled at (484511): [] __down_trylock_console_sem+0x86/0xa0 [ 9.687886][ T82] hardirqs last disabled at (484512): [] console_emit_next_record+0x3f8/0x4f0 [ 9.687888][ T82] softirqs last enabled at (484506): [] netif_change_name+0x216/0x8c0 [ 9.687891][ T82] softirqs last disabled at (484504): [] netif_change_name+0x1ad/0x8c0 [ 9.687893][ T82] Preemption disabled at: [ 9.687893][ T82] [] vprintk_emit+0x31b/0x3e0 [ 9.687899][ T82] CPU: 2 UID: 0 PID: 82 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.687903][ T82] Tainted: [W]=WARN [ 9.687904][ T82] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.687906][ T82] Call Trace: [ 9.687908][ T82] [ 9.687909][ T82] dump_stack_lvl+0x6f/0xa0 [ 9.687915][ T82] ? vprintk_emit+0x31b/0x3e0 [ 9.687917][ T82] __might_resched.cold+0x1fe/0x2c1 [ 9.687922][ T82] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.687925][ T82] ? __kmalloc_noprof+0xdb/0x760 [ 9.687931][ T82] __kmalloc_noprof+0x443/0x760 [ 9.687933][ T82] ? alloc_buf.isra.0+0x4b/0x260 [ 9.687938][ T82] ? do_raw_spin_unlock+0x59/0x250 [ 9.687941][ T82] alloc_buf.isra.0+0x4b/0x260 [ 9.687945][ T82] put_chars+0x1e1/0x2f0 [ 9.687948][ T82] ? __send_to_port+0x420/0x420 [ 9.687951][ T82] ? validate_chain+0x34a/0xc20 [ 9.687956][ T82] hvc_console_print+0x292/0x780 [ 9.687958][ T82] ? __lock_acquire+0x518/0xc20 [ 9.687964][ T82] ? hvc_write+0x3a0/0x3a0 [ 9.687966][ T82] ? rcu_is_watching+0x16/0xd0 [ 9.687973][ T82] console_emit_next_record+0x252/0x4f0 [ 9.687976][ T82] ? devkmsg_read+0x4e0/0x4e0 [ 9.687981][ T82] ? rcu_is_watching+0x16/0xd0 [ 9.687983][ T82] ? lock_acquire+0x13c/0x160 [ 9.687987][ T82] console_flush_one_record+0x46f/0x710 [ 9.687991][ T82] ? console_emit_next_record+0x4f0/0x4f0 [ 9.687992][ T82] ? __lock_acquire+0x518/0xc20 [ 9.687997][ T82] console_unlock+0xee/0x1f0 [ 9.688000][ T82] ? console_flush_one_record+0x710/0x710 [ 9.688001][ T82] ? rcu_is_watching+0x16/0xd0 [ 9.688004][ T82] ? lock_acquire+0x60/0x160 [ 9.688007][ T82] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.688008][ T82] ? vprintk_emit+0x320/0x3e0 [ 9.688012][ T82] vprintk_emit+0x37c/0x3e0 [ 9.688015][ T82] ? wake_up_klogd_work_func+0x90/0x90 [ 9.688017][ T82] ? write_profile+0xf0/0xf0 [ 9.688020][ T82] ? unwind_get_return_address+0x67/0xd0 [ 9.688028][ T82] dev_vprintk_emit+0x27f/0x2c0 [ 9.688035][ T82] ? device_rename.cold+0xa/0xa [ 9.688040][ T82] ? filter_irq_stacks+0xd0/0xd0 [ 9.688046][ T82] dev_printk_emit+0xb9/0xee [ 9.688048][ T82] ? dev_vprintk_emit+0x2c0/0x2c0 [ 9.688052][ T82] ? check_prev_add+0x316/0xe90 [ 9.688058][ T82] __netdev_printk+0x160/0x1d0 [ 9.688063][ T82] netdev_info+0xe2/0x116 [ 9.688065][ T82] ? netdev_notice+0x120/0x120 [ 9.688068][ T82] ? find_held_lock+0x2b/0x80 [ 9.688072][ T82] ? __lock_release.isra.0+0x69/0x1a0 [ 9.688074][ T82] ? mark_held_locks+0x40/0x70 [ 9.688077][ T82] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 9.688080][ T82] netif_change_name.cold+0x4f/0x89 [ 9.688083][ T82] ? __lock_acquire+0x518/0xc20 [ 9.688084][ T82] ? rwsem_optimistic_spin+0x3c7/0x480 [ 9.688087][ T82] ? find_held_lock+0x2/0x80 [ 9.688090][ T82] ? netdev_adjacent_rename_links+0x470/0x470 [ 9.688092][ T82] ? find_held_lock+0x2b/0x80 [ 9.688096][ T82] ? __asan_memset+0x27/0x50 [ 9.688102][ T82] do_setlink.isra.0+0x1f7d/0x2a60 [ 9.688104][ T82] ? __lock_acquire+0x518/0xc20 [ 9.688107][ T82] ? rtnl_link_get_size+0x350/0x350 [ 9.688109][ T82] ? mark_usage+0x61/0x170 [ 9.688110][ T82] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.688113][ T82] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.688115][ T82] ? validate_chain+0x38b/0xc20 [ 9.688119][ T82] ? __lock_acquire+0x518/0xc20 [ 9.688124][ T82] ? lock_acquire.part.0+0xd4/0x280 [ 9.688126][ T82] ? rtnl_setlink+0x29d/0x920 [ 9.688128][ T82] ? rcu_is_watching+0x16/0xd0 [ 9.688131][ T82] ? lock_acquire+0x13c/0x160 [ 9.688132][ T82] ? rcu_is_watching+0x16/0xd0 [ 9.688133][ T82] ? rcu_is_watching+0x16/0xd0 [ 9.688135][ T82] ? trace_contention_end+0xb3/0x180 [ 9.688138][ T82] ? __mutex_lock+0x1db/0x1ea0 [ 9.688141][ T82] ? __mutex_lock+0x9a3/0x1ea0 [ 9.688142][ T82] ? __lock_acquire+0x518/0xc20 [ 9.688144][ T82] ? rtnl_setlink+0x29d/0x920 [ 9.688147][ T82] ? mark_usage+0x61/0x170 [ 9.688149][ T82] ? ww_mutex_lock+0x160/0x160 [ 9.688151][ T82] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.688157][ T82] ? mark_usage+0x61/0x170 [ 9.688160][ T82] ? cap_capable+0x1d7/0x3d0 [ 9.688168][ T82] rtnl_setlink+0x527/0x920 [ 9.688172][ T82] ? __rtnl_newlink+0xa50/0xa50 [ 9.688173][ T82] ? __lock_acquire+0x518/0xc20 [ 9.688197][ T82] ? lock_acquire.part.0+0xd4/0x280 [ 9.688199][ T82] ? find_held_lock+0x2b/0x80 [ 9.688202][ T82] ? __lock_release.isra.0+0x69/0x1a0 [ 9.688204][ T82] ? mark_usage+0x61/0x170 [ 9.688205][ T82] ? __lock_acquire+0x518/0xc20 [ 9.688210][ T82] ? lock_acquire.part.0+0xd4/0x280 [ 9.688211][ T82] ? find_held_lock+0x2b/0x80 [ 9.688214][ T82] ? __rtnl_newlink+0xa50/0xa50 [ 9.688216][ T82] ? __lock_release.isra.0+0x69/0x1a0 [ 9.688219][ T82] ? __rtnl_newlink+0xa50/0xa50 [ 9.688222][ T82] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.688225][ T82] ? rtnl_link_fill+0x900/0x900 [ 9.688227][ T82] ? __lock_acquire+0x518/0xc20 [ 9.688231][ T82] ? lock_acquire.part.0+0xd4/0x280 [ 9.688233][ T82] ? find_held_lock+0x2b/0x80 [ 9.688237][ T82] netlink_rcv_skb+0x14e/0x3a0 [ 9.688240][ T82] ? rtnl_link_fill+0x900/0x900 [ 9.688244][ T82] ? netlink_ack+0xcd0/0xcd0 [ 9.688250][ T82] ? netlink_deliver_tap+0xc5/0x330 [ 9.688252][ T82] ? netlink_deliver_tap+0x13c/0x330 [ 9.688257][ T82] netlink_unicast+0x486/0x750 [ 9.688262][ T82] ? netlink_attachskb+0x810/0x810 [ 9.688264][ T82] ? __lock_acquire+0x518/0xc20 [ 9.688266][ T82] ? do_raw_spin_trylock+0x161/0x180 [ 9.688270][ T82] netlink_sendmsg+0x735/0xc60 [ 9.688274][ T82] ? netlink_unicast+0x750/0x750 [ 9.688278][ T82] ? __might_fault+0x97/0x140 [ 9.688281][ T82] ? __might_fault+0x97/0x140 [ 9.688285][ T82] __sys_sendto+0x2aa/0x400 [ 9.688289][ T82] ? __ia32_sys_getpeername+0xd0/0xd0 [ 9.688300][ T82] ? exc_page_fault+0x87/0x100 [ 9.688306][ T82] __x64_sys_sendto+0xe4/0x1f0 [ 9.688308][ T82] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.688312][ T82] ? lockdep_hardirqs_on+0x91/0x130 [ 9.688313][ T82] ? do_syscall_64+0xa6/0x530 [ 9.688315][ T82] do_syscall_64+0xff/0x530 [ 9.688316][ T82] ? exc_page_fault+0xee/0x100 [ 9.688319][ T82] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.688322][ T82] RIP: 0033:0x7fa22dd6254e [ 9.688326][ T82] 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 [ 9.688328][ T82] RSP: 002b:00007ffe67081840 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 9.688330][ T82] RAX: ffffffffffffffda RBX: 0000559ef06e6f40 RCX: 00007fa22dd6254e [ 9.688331][ T82] RDX: 0000000000000030 RSI: 0000559ef06e0d60 RDI: 0000000000000011 [ 9.688332][ T82] RBP: 00007ffe67081850 R08: 00007ffe670818a0 R09: 0000000000000080 [ 9.688333][ T82] R10: 0000000000000000 R11: 0000000000000202 R12: 0000559ef083a820 [ 9.688334][ T82] R13: 00007ffe67081984 R14: 0000000000000000 R15: 0000000000000000 [ 9.688341][ T82]