[ 10.247943][ T184] netdevsim netdevsim27076 eni27076np1: renamed from eth0 [ 10.248026][ T184] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.248029][ T184] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 184, name: (udev-worker) [ 10.248031][ T184] preempt_count: 1, expected: 0 [ 10.248032][ T184] RCU nest depth: 0, expected: 0 [ 10.248033][ T184] locks held by (udev-worker)/184: 6, last CPU#3: [ 10.248035][ T184] #0: ffffffffb9105fc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 10.248047][ T184] #1: ff11000002402de8 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 10.248052][ T184] #2: ffffffffb8999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.248057][ T184] #3: ffffffffb8999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.248061][ T184] #4: ffffffffb8889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.248065][ T184] #5: ffffffffb8889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.248069][ T184] irq event stamp: 23000 [ 10.248070][ T184] hardirqs last enabled at (22999): [] __down_trylock_console_sem+0x86/0xa0 [ 10.248073][ T184] hardirqs last disabled at (23000): [] console_emit_next_record+0x3f8/0x4f0 [ 10.248075][ T184] softirqs last enabled at (22994): [] netif_change_name+0x216/0x8c0 [ 10.248078][ T184] softirqs last disabled at (22992): [] netif_change_name+0x1ad/0x8c0 [ 10.248080][ T184] Preemption disabled at: [ 10.248081][ T184] [] vprintk_emit+0x31b/0x3e0 [ 10.248086][ T184] CPU: 3 UID: 0 PID: 184 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.248090][ T184] Tainted: [W]=WARN [ 10.248091][ T184] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.248093][ T184] Call Trace: [ 10.248094][ T184] [ 10.248096][ T184] dump_stack_lvl+0x6f/0xa0 [ 10.248102][ T184] ? vprintk_emit+0x31b/0x3e0 [ 10.248104][ T184] __might_resched.cold+0x1fe/0x2c1 [ 10.248108][ T184] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.248113][ T184] ? __kmalloc_noprof+0xdb/0x760 [ 10.248119][ T184] __kmalloc_noprof+0x443/0x760 [ 10.248121][ T184] ? alloc_buf.isra.0+0x4b/0x260 [ 10.248128][ T184] ? do_raw_spin_unlock+0x59/0x250 [ 10.248130][ T184] alloc_buf.isra.0+0x4b/0x260 [ 10.248134][ T184] put_chars+0x1e1/0x2f0 [ 10.248138][ T184] ? __send_to_port+0x420/0x420 [ 10.248142][ T184] ? validate_chain+0x34a/0xc20 [ 10.248147][ T184] hvc_console_print+0x292/0x780 [ 10.248150][ T184] ? __lock_acquire+0x518/0xc20 [ 10.248155][ T184] ? hvc_write+0x3a0/0x3a0 [ 10.248159][ T184] ? rcu_is_watching+0x16/0xd0 [ 10.248165][ T184] console_emit_next_record+0x252/0x4f0 [ 10.248169][ T184] ? devkmsg_read+0x4e0/0x4e0 [ 10.248174][ T184] ? rcu_is_watching+0x16/0xd0 [ 10.248176][ T184] ? lock_acquire+0x13c/0x160 [ 10.248180][ T184] console_flush_one_record+0x46f/0x710 [ 10.248184][ T184] ? console_emit_next_record+0x4f0/0x4f0 [ 10.248186][ T184] ? __lock_acquire+0x518/0xc20 [ 10.248192][ T184] console_unlock+0xee/0x1f0 [ 10.248195][ T184] ? console_flush_one_record+0x710/0x710 [ 10.248197][ T184] ? rcu_is_watching+0x16/0xd0 [ 10.248199][ T184] ? lock_acquire+0x60/0x160 [ 10.248203][ T184] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.248205][ T184] ? vprintk_emit+0x320/0x3e0 [ 10.248208][ T184] vprintk_emit+0x37c/0x3e0 [ 10.248211][ T184] ? wake_up_klogd_work_func+0x90/0x90 [ 10.248213][ T184] ? write_profile+0xf0/0xf0 [ 10.248216][ T184] ? unwind_get_return_address+0x67/0xd0 [ 10.248222][ T184] dev_vprintk_emit+0x27f/0x2c0 [ 10.248227][ T184] ? device_rename.cold+0xa/0xa [ 10.248232][ T184] ? filter_irq_stacks+0xd0/0xd0 [ 10.248238][ T184] dev_printk_emit+0xb9/0xee [ 10.248240][ T184] ? dev_vprintk_emit+0x2c0/0x2c0 [ 10.248244][ T184] ? check_prev_add+0x316/0xe90 [ 10.248250][ T184] __netdev_printk+0x160/0x1d0 [ 10.248256][ T184] netdev_info+0xe2/0x116 [ 10.248260][ T184] ? netdev_notice+0x120/0x120 [ 10.248263][ T184] ? find_held_lock+0x2b/0x80 [ 10.248267][ T184] ? __lock_release.isra.0+0x69/0x1a0 [ 10.248269][ T184] ? mark_held_locks+0x40/0x70 [ 10.248273][ T184] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.248276][ T184] netif_change_name.cold+0x4f/0x89 [ 10.248278][ T184] ? __lock_acquire+0x518/0xc20 [ 10.248280][ T184] ? mark_lock_irq+0x747/0x9c0 [ 10.248282][ T184] ? find_held_lock+0x2/0x80 [ 10.248285][ T184] ? netdev_adjacent_rename_links+0x470/0x470 [ 10.248288][ T184] ? find_held_lock+0x2b/0x80 [ 10.248291][ T184] ? __asan_memset+0x27/0x50 [ 10.248296][ T184] do_setlink.isra.0+0x1f7d/0x2a60 [ 10.248299][ T184] ? __lock_acquire+0x518/0xc20 [ 10.248302][ T184] ? rtnl_link_get_size+0x350/0x350 [ 10.248304][ T184] ? mark_usage+0x61/0x170 [ 10.248306][ T184] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.248308][ T184] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.248311][ T184] ? validate_chain+0x38b/0xc20 [ 10.248316][ T184] ? __lock_acquire+0x518/0xc20 [ 10.248321][ T184] ? lock_acquire.part.0+0xd4/0x280 [ 10.248323][ T184] ? rtnl_setlink+0x29d/0x920 [ 10.248326][ T184] ? rcu_is_watching+0x16/0xd0 [ 10.248328][ T184] ? lock_acquire+0x13c/0x160 [ 10.248329][ T184] ? rcu_is_watching+0x16/0xd0 [ 10.248331][ T184] ? rcu_is_watching+0x16/0xd0 [ 10.248332][ T184] ? trace_contention_end+0xb3/0x180 [ 10.248335][ T184] ? __mutex_lock+0x1db/0x1ea0 [ 10.248339][ T184] ? __mutex_lock+0x9a3/0x1ea0 [ 10.248341][ T184] ? __lock_acquire+0x518/0xc20 [ 10.248343][ T184] ? rtnl_setlink+0x29d/0x920 [ 10.248345][ T184] ? mark_usage+0x61/0x170 [ 10.248348][ T184] ? ww_mutex_lock+0x160/0x160 [ 10.248351][ T184] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.248356][ T184] ? mark_usage+0x61/0x170 [ 10.248360][ T184] ? cap_capable+0x1d7/0x3d0 [ 10.248367][ T184] rtnl_setlink+0x527/0x920 [ 10.248370][ T184] ? __rtnl_newlink+0xa50/0xa50 [ 10.248372][ T184] ? __lock_acquire+0x518/0xc20 [ 10.248395][ T184] ? lock_acquire.part.0+0xd4/0x280 [ 10.248398][ T184] ? find_held_lock+0x2b/0x80 [ 10.248400][ T184] ? __lock_release.isra.0+0x69/0x1a0 [ 10.248402][ T184] ? mark_usage+0x61/0x170 [ 10.248405][ T184] ? __lock_acquire+0x518/0xc20 [ 10.248409][ T184] ? lock_acquire.part.0+0xd4/0x280 [ 10.248412][ T184] ? find_held_lock+0x2b/0x80 [ 10.248414][ T184] ? __rtnl_newlink+0xa50/0xa50 [ 10.248416][ T184] ? __lock_release.isra.0+0x69/0x1a0 [ 10.248420][ T184] ? __rtnl_newlink+0xa50/0xa50 [ 10.248422][ T184] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.248426][ T184] ? rtnl_link_fill+0x900/0x900 [ 10.248428][ T184] ? __lock_acquire+0x518/0xc20 [ 10.248433][ T184] ? lock_acquire.part.0+0xd4/0x280 [ 10.248435][ T184] ? find_held_lock+0x2b/0x80 [ 10.248438][ T184] netlink_rcv_skb+0x14e/0x3a0 [ 10.248441][ T184] ? rtnl_link_fill+0x900/0x900 [ 10.248445][ T184] ? netlink_ack+0xcd0/0xcd0 [ 10.248452][ T184] ? netlink_deliver_tap+0xc5/0x330 [ 10.248454][ T184] ? netlink_deliver_tap+0x13c/0x330 [ 10.248458][ T184] netlink_unicast+0x486/0x750 [ 10.248463][ T184] ? netlink_attachskb+0x810/0x810 [ 10.248465][ T184] ? __lock_acquire+0x518/0xc20 [ 10.248470][ T184] netlink_sendmsg+0x735/0xc60 [ 10.248475][ T184] ? netlink_unicast+0x750/0x750 [ 10.248479][ T184] ? __might_fault+0x97/0x140 [ 10.248482][ T184] ? __might_fault+0x97/0x140 [ 10.248486][ T184] __sys_sendto+0x2aa/0x400 [ 10.248490][ T184] ? __ia32_sys_getpeername+0xd0/0xd0 [ 10.248501][ T184] ? exc_page_fault+0x87/0x100 [ 10.248506][ T184] __x64_sys_sendto+0xe4/0x1f0 [ 10.248508][ T184] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.248511][ T184] ? lockdep_hardirqs_on+0x91/0x130 [ 10.248513][ T184] ? do_syscall_64+0xa6/0x530 [ 10.248515][ T184] do_syscall_64+0xff/0x530 [ 10.248517][ T184] ? exc_page_fault+0xee/0x100 [ 10.248519][ T184] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.248522][ T184] RIP: 0033:0x7f944b10854e [ 10.248526][ T184] 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 [ 10.248527][ T184] RSP: 002b:00007ffef178ca90 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 10.248530][ T184] RAX: ffffffffffffffda RBX: 00005579849979d0 RCX: 00007f944b10854e [ 10.248531][ T184] RDX: 0000000000000030 RSI: 0000557984981c70 RDI: 000000000000001b [ 10.248532][ T184] RBP: 00007ffef178caa0 R08: 00007ffef178caf0 R09: 0000000000000080 [ 10.248533][ T184] R10: 0000000000000000 R11: 0000000000000202 R12: 0000557984b0d2e0 [ 10.248534][ T184] R13: 00007ffef178cbd4 R14: 0000000000000000 R15: 0000000000000000 [ 10.248541][ T184] [ 10.477254][ T193] ip (193) used greatest stack depth: 24736 bytes left