[ 8.661398][ T84] netdevsim netdevsim987 eni987np1: renamed from eth0 [ 8.661458][ T84] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.661460][ T84] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 84, name: (udev-worker) [ 8.661462][ T84] preempt_count: 1, expected: 0 [ 8.661463][ T84] RCU nest depth: 0, expected: 0 [ 8.661464][ T84] locks held by (udev-worker)/84: 6, last CPU#1: [ 8.661466][ T84] #0: ffffffff9e4fe280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 8.661477][ T84] #1: ff1100000d3cadd8 (&dev_instance_lock_key#3){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 8.661482][ T84] #2: ffffffff9dd99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.661488][ T84] #3: ffffffff9dd99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.661491][ T84] #4: ffffffff9dc89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.661495][ T84] #5: ffffffff9dc89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 8.661498][ T84] irq event stamp: 379978 [ 8.661499][ T84] hardirqs last enabled at (379977): [] __down_trylock_console_sem+0x86/0xa0 [ 8.661501][ T84] hardirqs last disabled at (379978): [] console_emit_next_record+0x3f8/0x4f0 [ 8.661503][ T84] softirqs last enabled at (379972): [] netif_change_name+0x216/0x8c0 [ 8.661505][ T84] softirqs last disabled at (379970): [] netif_change_name+0x1ad/0x8c0 [ 8.661507][ T84] Preemption disabled at: [ 8.661508][ T84] [] vprintk_emit+0x31b/0x3e0 [ 8.661513][ T84] CPU: 1 UID: 0 PID: 84 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.661516][ T84] Tainted: [W]=WARN [ 8.661517][ T84] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.661518][ T84] Call Trace: [ 8.661520][ T84] [ 8.661521][ T84] dump_stack_lvl+0x6f/0xa0 [ 8.661526][ T84] ? vprintk_emit+0x31b/0x3e0 [ 8.661528][ T84] __might_resched.cold+0x1fe/0x2c1 [ 8.661533][ T84] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.661536][ T84] ? __kmalloc_noprof+0xdb/0x760 [ 8.661541][ T84] __kmalloc_noprof+0x443/0x760 [ 8.661543][ T84] ? alloc_buf.isra.0+0x4b/0x260 [ 8.661548][ T84] ? do_raw_spin_unlock+0x59/0x250 [ 8.661550][ T84] alloc_buf.isra.0+0x4b/0x260 [ 8.661553][ T84] put_chars+0x1e1/0x2f0 [ 8.661556][ T84] ? __send_to_port+0x420/0x420 [ 8.661559][ T84] ? validate_chain+0x34a/0xc20 [ 8.661564][ T84] hvc_console_print+0x292/0x780 [ 8.661567][ T84] ? __lock_acquire+0x518/0xc20 [ 8.661571][ T84] ? hvc_write+0x3a0/0x3a0 [ 8.661574][ T84] ? rcu_is_watching+0x16/0xd0 [ 8.661580][ T84] console_emit_next_record+0x252/0x4f0 [ 8.661583][ T84] ? devkmsg_read+0x4e0/0x4e0 [ 8.661588][ T84] ? rcu_is_watching+0x16/0xd0 [ 8.661590][ T84] ? lock_acquire+0x13c/0x160 [ 8.661593][ T84] console_flush_one_record+0x46f/0x710 [ 8.661597][ T84] ? console_emit_next_record+0x4f0/0x4f0 [ 8.661599][ T84] ? __lock_acquire+0x518/0xc20 [ 8.661604][ T84] console_unlock+0xee/0x1f0 [ 8.661606][ T84] ? console_flush_one_record+0x710/0x710 [ 8.661608][ T84] ? rcu_is_watching+0x16/0xd0 [ 8.661610][ T84] ? lock_acquire+0x60/0x160 [ 8.661613][ T84] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.661614][ T84] ? vprintk_emit+0x320/0x3e0 [ 8.661617][ T84] vprintk_emit+0x37c/0x3e0 [ 8.661621][ T84] ? wake_up_klogd_work_func+0x90/0x90 [ 8.661623][ T84] ? write_profile+0xf0/0xf0 [ 8.661626][ T84] ? unwind_get_return_address+0x67/0xd0 [ 8.661632][ T84] dev_vprintk_emit+0x27f/0x2c0 [ 8.661637][ T84] ? device_rename.cold+0xa/0xa [ 8.661641][ T84] ? filter_irq_stacks+0xd0/0xd0 [ 8.661647][ T84] dev_printk_emit+0xb9/0xee [ 8.661649][ T84] ? dev_vprintk_emit+0x2c0/0x2c0 [ 8.661653][ T84] ? check_prev_add+0x316/0xe90 [ 8.661658][ T84] __netdev_printk+0x160/0x1d0 [ 8.661663][ T84] netdev_info+0xe2/0x116 [ 8.661665][ T84] ? netdev_notice+0x120/0x120 [ 8.661668][ T84] ? find_held_lock+0x2b/0x80 [ 8.661671][ T84] ? __lock_release.isra.0+0x69/0x1a0 [ 8.661673][ T84] ? mark_held_locks+0x40/0x70 [ 8.661677][ T84] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 8.661679][ T84] netif_change_name.cold+0x4f/0x89 [ 8.661682][ T84] ? __lock_acquire+0x518/0xc20 [ 8.661683][ T84] ? rwsem_optimistic_spin+0x3c7/0x480 [ 8.661690][ T84] ? find_held_lock+0x2/0x80 [ 8.661693][ T84] ? netdev_adjacent_rename_links+0x470/0x470 [ 8.661696][ T84] ? find_held_lock+0x2b/0x80 [ 8.661699][ T84] ? __asan_memset+0x27/0x50 [ 8.661704][ T84] do_setlink.isra.0+0x1f7d/0x2a60 [ 8.661707][ T84] ? __lock_acquire+0x518/0xc20 [ 8.661710][ T84] ? rtnl_link_get_size+0x350/0x350 [ 8.661711][ T84] ? mark_usage+0x61/0x170 [ 8.661713][ T84] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 8.661715][ T84] ? rcu_read_lock_any_held+0x3c/0x90 [ 8.661717][ T84] ? validate_chain+0x38b/0xc20 [ 8.661721][ T84] ? __lock_acquire+0x518/0xc20 [ 8.661726][ T84] ? lock_acquire.part.0+0xd4/0x280 [ 8.661727][ T84] ? rtnl_setlink+0x29d/0x920 [ 8.661730][ T84] ? rcu_is_watching+0x16/0xd0 [ 8.661732][ T84] ? lock_acquire+0x13c/0x160 [ 8.661733][ T84] ? rcu_is_watching+0x16/0xd0 [ 8.661735][ T84] ? rcu_is_watching+0x16/0xd0 [ 8.661737][ T84] ? trace_contention_end+0xb3/0x180 [ 8.661740][ T84] ? __mutex_lock+0x1db/0x1ea0 [ 8.661742][ T84] ? __mutex_lock+0x9a3/0x1ea0 [ 8.661744][ T84] ? __lock_acquire+0x518/0xc20 [ 8.661745][ T84] ? rtnl_setlink+0x29d/0x920 [ 8.661748][ T84] ? mark_usage+0x61/0x170 [ 8.661750][ T84] ? ww_mutex_lock+0x160/0x160 [ 8.661752][ T84] ? nla_get_range_signed+0x3d0/0x3d0 [ 8.661758][ T84] ? mark_usage+0x61/0x170 [ 8.661760][ T84] ? cap_capable+0x1d7/0x3d0 [ 8.661768][ T84] rtnl_setlink+0x527/0x920 [ 8.661772][ T84] ? __rtnl_newlink+0xa50/0xa50 [ 8.661773][ T84] ? __lock_acquire+0x518/0xc20 [ 8.661796][ T84] ? lock_acquire.part.0+0xd4/0x280 [ 8.661798][ T84] ? find_held_lock+0x2b/0x80 [ 8.661801][ T84] ? __lock_release.isra.0+0x69/0x1a0 [ 8.661802][ T84] ? mark_usage+0x61/0x170 [ 8.661804][ T84] ? __lock_acquire+0x518/0xc20 [ 8.661808][ T84] ? lock_acquire.part.0+0xd4/0x280 [ 8.661810][ T84] ? find_held_lock+0x2b/0x80 [ 8.661812][ T84] ? __rtnl_newlink+0xa50/0xa50 [ 8.661814][ T84] ? __lock_release.isra.0+0x69/0x1a0 [ 8.661817][ T84] ? __rtnl_newlink+0xa50/0xa50 [ 8.661820][ T84] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 8.661823][ T84] ? rtnl_link_fill+0x900/0x900 [ 8.661824][ T84] ? __lock_acquire+0x518/0xc20 [ 8.661829][ T84] ? lock_acquire.part.0+0xd4/0x280 [ 8.661830][ T84] ? find_held_lock+0x2b/0x80 [ 8.661834][ T84] netlink_rcv_skb+0x14e/0x3a0 [ 8.661837][ T84] ? rtnl_link_fill+0x900/0x900 [ 8.661840][ T84] ? netlink_ack+0xcd0/0xcd0 [ 8.661847][ T84] ? netlink_deliver_tap+0xc5/0x330 [ 8.661849][ T84] ? netlink_deliver_tap+0x13c/0x330 [ 8.661853][ T84] netlink_unicast+0x486/0x750 [ 8.661858][ T84] ? netlink_attachskb+0x810/0x810 [ 8.661860][ T84] ? __lock_acquire+0x518/0xc20 [ 8.661864][ T84] netlink_sendmsg+0x735/0xc60 [ 8.661868][ T84] ? netlink_unicast+0x750/0x750 [ 8.661872][ T84] ? __might_fault+0x97/0x140 [ 8.661876][ T84] ? __might_fault+0x97/0x140 [ 8.661879][ T84] __sys_sendto+0x2aa/0x400 [ 8.661882][ T84] ? __ia32_sys_getpeername+0xd0/0xd0 [ 8.661893][ T84] ? exc_page_fault+0x87/0x100 [ 8.661899][ T84] __x64_sys_sendto+0xe4/0x1f0 [ 8.661900][ T84] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 8.661904][ T84] ? lockdep_hardirqs_on+0x91/0x130 [ 8.661906][ T84] ? do_syscall_64+0xa6/0x530 [ 8.661907][ T84] do_syscall_64+0xff/0x530 [ 8.661908][ T84] ? exc_page_fault+0xee/0x100 [ 8.661911][ T84] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.661913][ T84] RIP: 0033:0x7f917660b54e [ 8.661917][ T84] 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.661918][ T84] RSP: 002b:00007fffa10d3ed0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 8.661921][ T84] RAX: ffffffffffffffda RBX: 00005581a7aa3f40 RCX: 00007f917660b54e [ 8.661922][ T84] RDX: 0000000000000030 RSI: 00005581a7a93320 RDI: 0000000000000014 [ 8.661923][ T84] RBP: 00007fffa10d3ee0 R08: 00007fffa10d3f30 R09: 0000000000000080 [ 8.661924][ T84] R10: 0000000000000000 R11: 0000000000000202 R12: 00005581a7bf6340 [ 8.661924][ T84] R13: 00007fffa10d4014 R14: 0000000000000000 R15: 0000000000000000 [ 8.661931][ T84]