[ 11.035597][ T178] netdevsim netdevsim219 eni219np1: renamed from eth0 [ 11.035682][ T178] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.035685][ T178] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 178, name: (udev-worker) [ 11.035686][ T178] preempt_count: 1, expected: 0 [ 11.035687][ T178] RCU nest depth: 0, expected: 0 [ 11.035688][ T178] locks held by (udev-worker)/178: 6, last CPU#1: [ 11.035691][ T178] #0: ffffffff95cfe280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 11.035703][ T178] #1: ff11000012cf2dd8 (&dev_instance_lock_key#3){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 11.035707][ T178] #2: ffffffff95599cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.035713][ T178] #3: ffffffff95599d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.035719][ T178] #4: ffffffff95489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.035723][ T178] #5: ffffffff95489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 11.035726][ T178] irq event stamp: 27694 [ 11.035727][ T178] hardirqs last enabled at (27693): [] __down_trylock_console_sem+0x86/0xa0 [ 11.035730][ T178] hardirqs last disabled at (27694): [] console_emit_next_record+0x3f8/0x4f0 [ 11.035731][ T178] softirqs last enabled at (27688): [] netif_change_name+0x216/0x8c0 [ 11.035734][ T178] softirqs last disabled at (27686): [] netif_change_name+0x1ad/0x8c0 [ 11.035736][ T178] Preemption disabled at: [ 11.035736][ T178] [] vprintk_emit+0x31b/0x3e0 [ 11.035742][ T178] CPU: 1 UID: 0 PID: 178 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.035745][ T178] Tainted: [W]=WARN [ 11.035746][ T178] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.035749][ T178] Call Trace: [ 11.035750][ T178] [ 11.035752][ T178] dump_stack_lvl+0x6f/0xa0 [ 11.035757][ T178] ? vprintk_emit+0x31b/0x3e0 [ 11.035759][ T178] __might_resched.cold+0x1fe/0x2c1 [ 11.035763][ T178] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.035767][ T178] ? __kmalloc_noprof+0xdb/0x760 [ 11.035777][ T178] __kmalloc_noprof+0x443/0x760 [ 11.035779][ T178] ? alloc_buf.isra.0+0x4b/0x260 [ 11.035785][ T178] ? do_raw_spin_unlock+0x59/0x250 [ 11.035787][ T178] alloc_buf.isra.0+0x4b/0x260 [ 11.035790][ T178] put_chars+0x1e1/0x2f0 [ 11.035793][ T178] ? __send_to_port+0x420/0x420 [ 11.035797][ T178] ? validate_chain+0x34a/0xc20 [ 11.035801][ T178] hvc_console_print+0x292/0x780 [ 11.035804][ T178] ? __lock_acquire+0x518/0xc20 [ 11.035809][ T178] ? hvc_write+0x3a0/0x3a0 [ 11.035811][ T178] ? rcu_is_watching+0x16/0xd0 [ 11.035818][ T178] console_emit_next_record+0x252/0x4f0 [ 11.035821][ T178] ? devkmsg_read+0x4e0/0x4e0 [ 11.035825][ T178] ? rcu_is_watching+0x16/0xd0 [ 11.035827][ T178] ? lock_acquire+0x13c/0x160 [ 11.035831][ T178] console_flush_one_record+0x46f/0x710 [ 11.035835][ T178] ? console_emit_next_record+0x4f0/0x4f0 [ 11.035837][ T178] ? __lock_acquire+0x518/0xc20 [ 11.035842][ T178] console_unlock+0xee/0x1f0 [ 11.035844][ T178] ? console_flush_one_record+0x710/0x710 [ 11.035846][ T178] ? rcu_is_watching+0x16/0xd0 [ 11.035848][ T178] ? lock_acquire+0x60/0x160 [ 11.035851][ T178] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.035853][ T178] ? vprintk_emit+0x320/0x3e0 [ 11.035856][ T178] vprintk_emit+0x37c/0x3e0 [ 11.035859][ T178] ? wake_up_klogd_work_func+0x90/0x90 [ 11.035861][ T178] ? write_profile+0xf0/0xf0 [ 11.035864][ T178] ? unwind_get_return_address+0x67/0xd0 [ 11.035871][ T178] dev_vprintk_emit+0x27f/0x2c0 [ 11.035876][ T178] ? device_rename.cold+0xa/0xa [ 11.035881][ T178] ? filter_irq_stacks+0xd0/0xd0 [ 11.035887][ T178] dev_printk_emit+0xb9/0xee [ 11.035889][ T178] ? dev_vprintk_emit+0x2c0/0x2c0 [ 11.035893][ T178] ? check_prev_add+0x316/0xe90 [ 11.035898][ T178] __netdev_printk+0x160/0x1d0 [ 11.035904][ T178] netdev_info+0xe2/0x116 [ 11.035906][ T178] ? netdev_notice+0x120/0x120 [ 11.035908][ T178] ? find_held_lock+0x2b/0x80 [ 11.035912][ T178] ? __lock_release.isra.0+0x69/0x1a0 [ 11.035915][ T178] ? mark_held_locks+0x40/0x70 [ 11.035918][ T178] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 11.035920][ T178] netif_change_name.cold+0x4f/0x89 [ 11.035923][ T178] ? __lock_acquire+0x518/0xc20 [ 11.035925][ T178] ? rwsem_optimistic_spin+0x3c7/0x480 [ 11.035927][ T178] ? find_held_lock+0x2/0x80 [ 11.035930][ T178] ? netdev_adjacent_rename_links+0x470/0x470 [ 11.035933][ T178] ? find_held_lock+0x2b/0x80 [ 11.035936][ T178] ? __asan_memset+0x27/0x50 [ 11.035942][ T178] do_setlink.isra.0+0x1f7d/0x2a60 [ 11.035945][ T178] ? __lock_acquire+0x518/0xc20 [ 11.035947][ T178] ? rtnl_link_get_size+0x350/0x350 [ 11.035949][ T178] ? mark_usage+0x61/0x170 [ 11.035950][ T178] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.035953][ T178] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.035955][ T178] ? validate_chain+0x38b/0xc20 [ 11.035959][ T178] ? __lock_acquire+0x518/0xc20 [ 11.035964][ T178] ? lock_acquire.part.0+0xd4/0x280 [ 11.035965][ T178] ? rtnl_setlink+0x29d/0x920 [ 11.035968][ T178] ? rcu_is_watching+0x16/0xd0 [ 11.035971][ T178] ? lock_acquire+0x13c/0x160 [ 11.035972][ T178] ? rcu_is_watching+0x16/0xd0 [ 11.035973][ T178] ? rcu_is_watching+0x16/0xd0 [ 11.035975][ T178] ? trace_contention_end+0xb3/0x180 [ 11.035978][ T178] ? __mutex_lock+0x1db/0x1ea0 [ 11.035981][ T178] ? __mutex_lock+0x9a3/0x1ea0 [ 11.035982][ T178] ? __lock_acquire+0x518/0xc20 [ 11.035984][ T178] ? rtnl_setlink+0x29d/0x920 [ 11.035986][ T178] ? mark_usage+0x61/0x170 [ 11.035989][ T178] ? ww_mutex_lock+0x160/0x160 [ 11.035990][ T178] ? nla_get_range_signed+0x3d0/0x3d0 [ 11.035997][ T178] ? mark_usage+0x61/0x170 [ 11.036000][ T178] ? cap_capable+0x1d7/0x3d0 [ 11.036008][ T178] rtnl_setlink+0x527/0x920 [ 11.036011][ T178] ? __rtnl_newlink+0xa50/0xa50 [ 11.036013][ T178] ? __lock_acquire+0x518/0xc20 [ 11.036036][ T178] ? lock_acquire.part.0+0xd4/0x280 [ 11.036038][ T178] ? find_held_lock+0x2b/0x80 [ 11.036041][ T178] ? __lock_release.isra.0+0x69/0x1a0 [ 11.036043][ T178] ? mark_usage+0x61/0x170 [ 11.036044][ T178] ? __lock_acquire+0x518/0xc20 [ 11.036049][ T178] ? lock_acquire.part.0+0xd4/0x280 [ 11.036050][ T178] ? find_held_lock+0x2b/0x80 [ 11.036053][ T178] ? __rtnl_newlink+0xa50/0xa50 [ 11.036055][ T178] ? __lock_release.isra.0+0x69/0x1a0 [ 11.036058][ T178] ? __rtnl_newlink+0xa50/0xa50 [ 11.036061][ T178] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 11.036064][ T178] ? rtnl_link_fill+0x900/0x900 [ 11.036066][ T178] ? __lock_acquire+0x518/0xc20 [ 11.036070][ T178] ? lock_acquire.part.0+0xd4/0x280 [ 11.036072][ T178] ? find_held_lock+0x2b/0x80 [ 11.036076][ T178] netlink_rcv_skb+0x14e/0x3a0 [ 11.036079][ T178] ? rtnl_link_fill+0x900/0x900 [ 11.036082][ T178] ? netlink_ack+0xcd0/0xcd0 [ 11.036089][ T178] ? netlink_deliver_tap+0xc5/0x330 [ 11.036091][ T178] ? netlink_deliver_tap+0x13c/0x330 [ 11.036095][ T178] netlink_unicast+0x486/0x750 [ 11.036100][ T178] ? netlink_attachskb+0x810/0x810 [ 11.036102][ T178] ? __lock_acquire+0x518/0xc20 [ 11.036107][ T178] netlink_sendmsg+0x735/0xc60 [ 11.036111][ T178] ? netlink_unicast+0x750/0x750 [ 11.036115][ T178] ? __might_fault+0x97/0x140 [ 11.036118][ T178] ? __might_fault+0x97/0x140 [ 11.036121][ T178] __sys_sendto+0x2aa/0x400 [ 11.036125][ T178] ? __ia32_sys_getpeername+0xd0/0xd0 [ 11.036140][ T178] __x64_sys_sendto+0xe4/0x1f0 [ 11.036141][ T178] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.036145][ T178] ? lockdep_hardirqs_on+0x91/0x130 [ 11.036148][ T178] ? do_syscall_64+0xa6/0x530 [ 11.036150][ T178] do_syscall_64+0xff/0x530 [ 11.036151][ T178] ? exc_page_fault+0xee/0x100 [ 11.036154][ T178] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.036156][ T178] RIP: 0033:0x7f545cfe354e [ 11.036160][ T178] 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.036162][ T178] RSP: 002b:00007ffd5c222960 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 11.036164][ T178] RAX: ffffffffffffffda RBX: 000055c909649b00 RCX: 00007f545cfe354e [ 11.036165][ T178] RDX: 0000000000000030 RSI: 000055c9097bdda0 RDI: 0000000000000018 [ 11.036166][ T178] RBP: 00007ffd5c222970 R08: 00007ffd5c2229c0 R09: 0000000000000080 [ 11.036167][ T178] R10: 0000000000000000 R11: 0000000000000202 R12: 000055c90979c280 [ 11.036168][ T178] R13: 00007ffd5c222aa4 R14: 0000000000000000 R15: 0000000000000000 [ 11.036175][ T178]