[ 8.795988][ T88] netdevsim netdevsim588 eni588np1: renamed from eth0 [ 8.796044][ T88] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.796046][ T88] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 88, name: (udev-worker) [ 8.796048][ T88] preempt_count: 1, expected: 0 [ 8.796048][ T88] RCU nest depth: 0, expected: 0 [ 8.796049][ T88] locks held by (udev-worker)/88: 6, last CPU#1: [ 8.796052][ T88] #0: ffffffff9c0fe280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 8.796064][ T88] #1: ff1100000caf2dd8 (&dev_instance_lock_key#3){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 8.796069][ T88] #2: ffffffff9b999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.796074][ T88] #3: ffffffff9b999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.796078][ T88] #4: ffffffff9b889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.796081][ T88] #5: ffffffff9b889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 8.796084][ T88] irq event stamp: 473262 [ 8.796085][ T88] hardirqs last enabled at (473261): [] __down_trylock_console_sem+0x86/0xa0 [ 8.796087][ T88] hardirqs last disabled at (473262): [] console_emit_next_record+0x3f8/0x4f0 [ 8.796089][ T88] softirqs last enabled at (473256): [] netif_change_name+0x216/0x8c0 [ 8.796091][ T88] softirqs last disabled at (473254): [] netif_change_name+0x1ad/0x8c0 [ 8.796093][ T88] Preemption disabled at: [ 8.796094][ T88] [] vprintk_emit+0x31b/0x3e0 [ 8.796101][ T88] CPU: 1 UID: 0 PID: 88 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.796105][ T88] Tainted: [W]=WARN [ 8.796106][ T88] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.796108][ T88] Call Trace: [ 8.796109][ T88] [ 8.796111][ T88] dump_stack_lvl+0x6f/0xa0 [ 8.796116][ T88] ? vprintk_emit+0x31b/0x3e0 [ 8.796118][ T88] __might_resched.cold+0x1fe/0x2c1 [ 8.796122][ T88] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.796126][ T88] ? __kmalloc_noprof+0xdb/0x760 [ 8.796130][ T88] __kmalloc_noprof+0x443/0x760 [ 8.796132][ T88] ? alloc_buf.isra.0+0x4b/0x260 [ 8.796138][ T88] ? do_raw_spin_unlock+0x59/0x250 [ 8.796140][ T88] alloc_buf.isra.0+0x4b/0x260 [ 8.796143][ T88] put_chars+0x1e1/0x2f0 [ 8.796146][ T88] ? __send_to_port+0x420/0x420 [ 8.796149][ T88] ? validate_chain+0x34a/0xc20 [ 8.796154][ T88] hvc_console_print+0x292/0x780 [ 8.796156][ T88] ? __lock_acquire+0x518/0xc20 [ 8.796161][ T88] ? hvc_write+0x3a0/0x3a0 [ 8.796164][ T88] ? rcu_is_watching+0x16/0xd0 [ 8.796170][ T88] console_emit_next_record+0x252/0x4f0 [ 8.796173][ T88] ? devkmsg_read+0x4e0/0x4e0 [ 8.796178][ T88] ? rcu_is_watching+0x16/0xd0 [ 8.796180][ T88] ? lock_acquire+0x13c/0x160 [ 8.796183][ T88] console_flush_one_record+0x46f/0x710 [ 8.796187][ T88] ? console_emit_next_record+0x4f0/0x4f0 [ 8.796189][ T88] ? __lock_acquire+0x518/0xc20 [ 8.796194][ T88] console_unlock+0xee/0x1f0 [ 8.796196][ T88] ? console_flush_one_record+0x710/0x710 [ 8.796198][ T88] ? rcu_is_watching+0x16/0xd0 [ 8.796200][ T88] ? lock_acquire+0x60/0x160 [ 8.796203][ T88] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.796205][ T88] ? vprintk_emit+0x320/0x3e0 [ 8.796208][ T88] vprintk_emit+0x37c/0x3e0 [ 8.796211][ T88] ? wake_up_klogd_work_func+0x90/0x90 [ 8.796213][ T88] ? write_profile+0xf0/0xf0 [ 8.796216][ T88] ? unwind_get_return_address+0x67/0xd0 [ 8.796223][ T88] dev_vprintk_emit+0x27f/0x2c0 [ 8.796227][ T88] ? device_rename.cold+0xa/0xa [ 8.796232][ T88] ? filter_irq_stacks+0xd0/0xd0 [ 8.796238][ T88] dev_printk_emit+0xb9/0xee [ 8.796240][ T88] ? dev_vprintk_emit+0x2c0/0x2c0 [ 8.796244][ T88] ? check_prev_add+0x316/0xe90 [ 8.796249][ T88] __netdev_printk+0x160/0x1d0 [ 8.796254][ T88] netdev_info+0xe2/0x116 [ 8.796256][ T88] ? netdev_notice+0x120/0x120 [ 8.796259][ T88] ? find_held_lock+0x2b/0x80 [ 8.796263][ T88] ? __lock_release.isra.0+0x69/0x1a0 [ 8.796265][ T88] ? mark_held_locks+0x40/0x70 [ 8.796268][ T88] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 8.796271][ T88] netif_change_name.cold+0x4f/0x89 [ 8.796273][ T88] ? __lock_acquire+0x518/0xc20 [ 8.796275][ T88] ? rwsem_optimistic_spin+0x3c7/0x480 [ 8.796277][ T88] ? find_held_lock+0x2/0x80 [ 8.796280][ T88] ? netdev_adjacent_rename_links+0x470/0x470 [ 8.796283][ T88] ? find_held_lock+0x2b/0x80 [ 8.796286][ T88] ? __asan_memset+0x27/0x50 [ 8.796292][ T88] do_setlink.isra.0+0x1f7d/0x2a60 [ 8.796294][ T88] ? __lock_acquire+0x518/0xc20 [ 8.796297][ T88] ? rtnl_link_get_size+0x350/0x350 [ 8.796299][ T88] ? mark_usage+0x61/0x170 [ 8.796300][ T88] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 8.796302][ T88] ? rcu_read_lock_any_held+0x3c/0x90 [ 8.796305][ T88] ? validate_chain+0x38b/0xc20 [ 8.796309][ T88] ? __lock_acquire+0x518/0xc20 [ 8.796313][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 8.796315][ T88] ? rtnl_setlink+0x29d/0x920 [ 8.796317][ T88] ? rcu_is_watching+0x16/0xd0 [ 8.796320][ T88] ? lock_acquire+0x13c/0x160 [ 8.796321][ T88] ? rcu_is_watching+0x16/0xd0 [ 8.796322][ T88] ? rcu_is_watching+0x16/0xd0 [ 8.796324][ T88] ? trace_contention_end+0xb3/0x180 [ 8.796327][ T88] ? __mutex_lock+0x1db/0x1ea0 [ 8.796330][ T88] ? __mutex_lock+0x9a3/0x1ea0 [ 8.796331][ T88] ? __lock_acquire+0x518/0xc20 [ 8.796333][ T88] ? rtnl_setlink+0x29d/0x920 [ 8.796335][ T88] ? mark_usage+0x61/0x170 [ 8.796338][ T88] ? ww_mutex_lock+0x160/0x160 [ 8.796339][ T88] ? nla_get_range_signed+0x3d0/0x3d0 [ 8.796345][ T88] ? mark_usage+0x61/0x170 [ 8.796348][ T88] ? cap_capable+0x1d7/0x3d0 [ 8.796356][ T88] rtnl_setlink+0x527/0x920 [ 8.796359][ T88] ? __rtnl_newlink+0xa50/0xa50 [ 8.796361][ T88] ? __lock_acquire+0x518/0xc20 [ 8.796384][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 8.796385][ T88] ? find_held_lock+0x2b/0x80 [ 8.796388][ T88] ? __lock_release.isra.0+0x69/0x1a0 [ 8.796390][ T88] ? mark_usage+0x61/0x170 [ 8.796392][ T88] ? __lock_acquire+0x518/0xc20 [ 8.796396][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 8.796397][ T88] ? find_held_lock+0x2b/0x80 [ 8.796400][ T88] ? __rtnl_newlink+0xa50/0xa50 [ 8.796402][ T88] ? __lock_release.isra.0+0x69/0x1a0 [ 8.796405][ T88] ? __rtnl_newlink+0xa50/0xa50 [ 8.796408][ T88] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 8.796411][ T88] ? rtnl_link_fill+0x900/0x900 [ 8.796413][ T88] ? __lock_acquire+0x518/0xc20 [ 8.796417][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 8.796418][ T88] ? find_held_lock+0x2b/0x80 [ 8.796422][ T88] netlink_rcv_skb+0x14e/0x3a0 [ 8.796426][ T88] ? rtnl_link_fill+0x900/0x900 [ 8.796429][ T88] ? netlink_ack+0xcd0/0xcd0 [ 8.796435][ T88] ? netlink_deliver_tap+0xc5/0x330 [ 8.796437][ T88] ? netlink_deliver_tap+0x13c/0x330 [ 8.796442][ T88] netlink_unicast+0x486/0x750 [ 8.796446][ T88] ? netlink_attachskb+0x810/0x810 [ 8.796448][ T88] ? __lock_acquire+0x518/0xc20 [ 8.796453][ T88] netlink_sendmsg+0x735/0xc60 [ 8.796457][ T88] ? netlink_unicast+0x750/0x750 [ 8.796461][ T88] ? __might_fault+0x97/0x140 [ 8.796464][ T88] ? __might_fault+0x97/0x140 [ 8.796468][ T88] __sys_sendto+0x2aa/0x400 [ 8.796471][ T88] ? __ia32_sys_getpeername+0xd0/0xd0 [ 8.796482][ T88] ? exc_page_fault+0x87/0x100 [ 8.796487][ T88] __x64_sys_sendto+0xe4/0x1f0 [ 8.796489][ T88] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 8.796493][ T88] ? lockdep_hardirqs_on+0x91/0x130 [ 8.796495][ T88] ? do_syscall_64+0xa6/0x530 [ 8.796496][ T88] do_syscall_64+0xff/0x530 [ 8.796497][ T88] ? exc_page_fault+0xee/0x100 [ 8.796500][ T88] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.796502][ T88] RIP: 0033:0x7fd9a904654e [ 8.796506][ T88] 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.796508][ T88] RSP: 002b:00007fff0d3ef460 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 8.796510][ T88] RAX: ffffffffffffffda RBX: 000055d0a6e8bf40 RCX: 00007fd9a904654e [ 8.796512][ T88] RDX: 0000000000000030 RSI: 000055d0a6fda7a0 RDI: 0000000000000020 [ 8.796512][ T88] RBP: 00007fff0d3ef470 R08: 00007fff0d3ef4c0 R09: 0000000000000080 [ 8.796513][ T88] R10: 0000000000000000 R11: 0000000000000202 R12: 000055d0a6fe5240 [ 8.796514][ T88] R13: 00007fff0d3ef5a4 R14: 0000000000000000 R15: 0000000000000000 [ 8.796521][ T88]