[ 11.428653][ T182] netdevsim netdevsim31647 eni31647np1: renamed from eth0 [ 11.428727][ T182] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.428729][ T182] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 182, name: (udev-worker) [ 11.428731][ T182] preempt_count: 1, expected: 0 [ 11.428732][ T182] RCU nest depth: 0, expected: 0 [ 11.428733][ T182] locks held by (udev-worker)/182: 6, last CPU#0: [ 11.428735][ T182] #0: ffffffffa6705fc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 11.428747][ T182] #1: ff11000001f1ade8 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 11.428752][ T182] #2: ffffffffa5f99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.428757][ T182] #3: ffffffffa5f99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.428761][ T182] #4: ffffffffa5e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.428764][ T182] #5: ffffffffa5e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 11.428768][ T182] irq event stamp: 33176 [ 11.428769][ T182] hardirqs last enabled at (33175): [] __down_trylock_console_sem+0x86/0xa0 [ 11.428772][ T182] hardirqs last disabled at (33176): [] console_emit_next_record+0x3f8/0x4f0 [ 11.428774][ T182] softirqs last enabled at (33170): [] netif_change_name+0x216/0x8c0 [ 11.428778][ T182] softirqs last disabled at (33168): [] netif_change_name+0x1ad/0x8c0 [ 11.428780][ T182] Preemption disabled at: [ 11.428781][ T182] [] vprintk_emit+0x31b/0x3e0 [ 11.428786][ T182] CPU: 0 UID: 0 PID: 182 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.428790][ T182] Tainted: [W]=WARN [ 11.428791][ T182] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.428793][ T182] Call Trace: [ 11.428794][ T182] [ 11.428796][ T182] dump_stack_lvl+0x6f/0xa0 [ 11.428803][ T182] ? vprintk_emit+0x31b/0x3e0 [ 11.428804][ T182] __might_resched.cold+0x1fe/0x2c1 [ 11.428809][ T182] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.428813][ T182] ? __kmalloc_noprof+0xdb/0x760 [ 11.428819][ T182] __kmalloc_noprof+0x443/0x760 [ 11.428822][ T182] ? alloc_buf.isra.0+0x4b/0x260 [ 11.428828][ T182] ? do_raw_spin_unlock+0x59/0x250 [ 11.428831][ T182] alloc_buf.isra.0+0x4b/0x260 [ 11.428835][ T182] put_chars+0x1e1/0x2f0 [ 11.428838][ T182] ? __send_to_port+0x420/0x420 [ 11.428842][ T182] ? validate_chain+0x34a/0xc20 [ 11.428847][ T182] hvc_console_print+0x292/0x780 [ 11.428851][ T182] ? __lock_acquire+0x518/0xc20 [ 11.428856][ T182] ? hvc_write+0x3a0/0x3a0 [ 11.428859][ T182] ? rcu_is_watching+0x16/0xd0 [ 11.428865][ T182] console_emit_next_record+0x252/0x4f0 [ 11.428869][ T182] ? devkmsg_read+0x4e0/0x4e0 [ 11.428874][ T182] ? rcu_is_watching+0x16/0xd0 [ 11.428875][ T182] ? lock_acquire+0x13c/0x160 [ 11.428880][ T182] console_flush_one_record+0x46f/0x710 [ 11.428884][ T182] ? console_emit_next_record+0x4f0/0x4f0 [ 11.428886][ T182] ? __lock_acquire+0x518/0xc20 [ 11.428891][ T182] console_unlock+0xee/0x1f0 [ 11.428894][ T182] ? console_flush_one_record+0x710/0x710 [ 11.428896][ T182] ? rcu_is_watching+0x16/0xd0 [ 11.428898][ T182] ? lock_acquire+0x60/0x160 [ 11.428902][ T182] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.428904][ T182] ? vprintk_emit+0x320/0x3e0 [ 11.428907][ T182] vprintk_emit+0x37c/0x3e0 [ 11.428910][ T182] ? wake_up_klogd_work_func+0x90/0x90 [ 11.428912][ T182] ? write_profile+0xf0/0xf0 [ 11.428915][ T182] ? unwind_get_return_address+0x67/0xd0 [ 11.428921][ T182] dev_vprintk_emit+0x27f/0x2c0 [ 11.428926][ T182] ? device_rename.cold+0xa/0xa [ 11.428931][ T182] ? filter_irq_stacks+0xd0/0xd0 [ 11.428936][ T182] dev_printk_emit+0xb9/0xee [ 11.428939][ T182] ? dev_vprintk_emit+0x2c0/0x2c0 [ 11.428943][ T182] ? check_prev_add+0x316/0xe90 [ 11.428948][ T182] __netdev_printk+0x160/0x1d0 [ 11.428954][ T182] netdev_info+0xe2/0x116 [ 11.428957][ T182] ? netdev_notice+0x120/0x120 [ 11.428959][ T182] ? find_held_lock+0x2b/0x80 [ 11.428962][ T182] ? __lock_release.isra.0+0x69/0x1a0 [ 11.428965][ T182] ? mark_held_locks+0x40/0x70 [ 11.428969][ T182] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 11.428971][ T182] netif_change_name.cold+0x4f/0x89 [ 11.428974][ T182] ? __lock_acquire+0x518/0xc20 [ 11.428976][ T182] ? mark_lock_irq+0x747/0x9c0 [ 11.428978][ T182] ? find_held_lock+0x2/0x80 [ 11.428981][ T182] ? netdev_adjacent_rename_links+0x470/0x470 [ 11.428984][ T182] ? find_held_lock+0x2b/0x80 [ 11.428987][ T182] ? __asan_memset+0x27/0x50 [ 11.428992][ T182] do_setlink.isra.0+0x1f7d/0x2a60 [ 11.428995][ T182] ? __lock_acquire+0x518/0xc20 [ 11.428998][ T182] ? rtnl_link_get_size+0x350/0x350 [ 11.429000][ T182] ? mark_usage+0x61/0x170 [ 11.429001][ T182] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.429004][ T182] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.429007][ T182] ? validate_chain+0x38b/0xc20 [ 11.429011][ T182] ? __lock_acquire+0x518/0xc20 [ 11.429016][ T182] ? lock_acquire.part.0+0xd4/0x280 [ 11.429018][ T182] ? rtnl_setlink+0x29d/0x920 [ 11.429021][ T182] ? rcu_is_watching+0x16/0xd0 [ 11.429023][ T182] ? lock_acquire+0x13c/0x160 [ 11.429025][ T182] ? rcu_is_watching+0x16/0xd0 [ 11.429026][ T182] ? rcu_is_watching+0x16/0xd0 [ 11.429028][ T182] ? trace_contention_end+0xb3/0x180 [ 11.429030][ T182] ? __mutex_lock+0x1db/0x1ea0 [ 11.429034][ T182] ? __mutex_lock+0x9a3/0x1ea0 [ 11.429036][ T182] ? __lock_acquire+0x518/0xc20 [ 11.429038][ T182] ? rtnl_setlink+0x29d/0x920 [ 11.429040][ T182] ? mark_usage+0x61/0x170 [ 11.429043][ T182] ? ww_mutex_lock+0x160/0x160 [ 11.429045][ T182] ? nla_get_range_signed+0x3d0/0x3d0 [ 11.429051][ T182] ? mark_usage+0x61/0x170 [ 11.429054][ T182] ? cap_capable+0x1d7/0x3d0 [ 11.429062][ T182] rtnl_setlink+0x527/0x920 [ 11.429066][ T182] ? __rtnl_newlink+0xa50/0xa50 [ 11.429067][ T182] ? __lock_acquire+0x518/0xc20 [ 11.429091][ T182] ? lock_acquire.part.0+0xd4/0x280 [ 11.429093][ T182] ? find_held_lock+0x2b/0x80 [ 11.429096][ T182] ? __lock_release.isra.0+0x69/0x1a0 [ 11.429098][ T182] ? mark_usage+0x61/0x170 [ 11.429100][ T182] ? __lock_acquire+0x518/0xc20 [ 11.429105][ T182] ? lock_acquire.part.0+0xd4/0x280 [ 11.429107][ T182] ? find_held_lock+0x2b/0x80 [ 11.429109][ T182] ? __rtnl_newlink+0xa50/0xa50 [ 11.429111][ T182] ? __lock_release.isra.0+0x69/0x1a0 [ 11.429115][ T182] ? __rtnl_newlink+0xa50/0xa50 [ 11.429117][ T182] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 11.429121][ T182] ? rtnl_link_fill+0x900/0x900 [ 11.429123][ T182] ? __lock_acquire+0x518/0xc20 [ 11.429128][ T182] ? lock_acquire.part.0+0xd4/0x280 [ 11.429130][ T182] ? find_held_lock+0x2b/0x80 [ 11.429133][ T182] netlink_rcv_skb+0x14e/0x3a0 [ 11.429137][ T182] ? rtnl_link_fill+0x900/0x900 [ 11.429140][ T182] ? netlink_ack+0xcd0/0xcd0 [ 11.429147][ T182] ? netlink_deliver_tap+0xc5/0x330 [ 11.429149][ T182] ? netlink_deliver_tap+0x13c/0x330 [ 11.429154][ T182] netlink_unicast+0x486/0x750 [ 11.429158][ T182] ? netlink_attachskb+0x810/0x810 [ 11.429160][ T182] ? __lock_acquire+0x518/0xc20 [ 11.429165][ T182] netlink_sendmsg+0x735/0xc60 [ 11.429170][ T182] ? netlink_unicast+0x750/0x750 [ 11.429174][ T182] ? __might_fault+0x97/0x140 [ 11.429178][ T182] ? __might_fault+0x97/0x140 [ 11.429182][ T182] __sys_sendto+0x2aa/0x400 [ 11.429185][ T182] ? __ia32_sys_getpeername+0xd0/0xd0 [ 11.429196][ T182] ? exc_page_fault+0x87/0x100 [ 11.429201][ T182] __x64_sys_sendto+0xe4/0x1f0 [ 11.429203][ T182] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.429206][ T182] ? lockdep_hardirqs_on+0x91/0x130 [ 11.429208][ T182] ? do_syscall_64+0xa6/0x530 [ 11.429210][ T182] do_syscall_64+0xff/0x530 [ 11.429212][ T182] ? exc_page_fault+0xee/0x100 [ 11.429215][ T182] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.429217][ T182] RIP: 0033:0x7fcb6058354e [ 11.429221][ T182] 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.429223][ T182] RSP: 002b:00007ffc50b55e10 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 11.429225][ T182] RAX: ffffffffffffffda RBX: 0000555fa62b0640 RCX: 00007fcb6058354e [ 11.429227][ T182] RDX: 0000000000000030 RSI: 0000555fa6283e00 RDI: 0000000000000016 [ 11.429227][ T182] RBP: 00007ffc50b55e20 R08: 00007ffc50b55e70 R09: 0000000000000080 [ 11.429228][ T182] R10: 0000000000000000 R11: 0000000000000202 R12: 0000555fa62dc1f0 [ 11.429229][ T182] R13: 00007ffc50b55f54 R14: 0000000000000000 R15: 0000000000000000 [ 11.429236][ T182] [ 11.703208][ T182] netdevsim netdevsim17777 eni17777np1: renamed from eth0