[ 10.574052][ T178] netdevsim netdevsim16884 eni16884np1: renamed from eth0 [ 10.574115][ T178] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.574117][ T178] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 178, name: (udev-worker) [ 10.574119][ T178] preempt_count: 1, expected: 0 [ 10.574120][ T178] RCU nest depth: 0, expected: 0 [ 10.574121][ T178] locks held by (udev-worker)/178: 6, last CPU#2: [ 10.574124][ T178] #0: ffffffff94d05fc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 10.574139][ T178] #1: ff11000002402de8 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 10.574144][ T178] #2: ffffffff94599cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.574148][ T178] #3: ffffffff94599d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.574153][ T178] #4: ffffffff94489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.574156][ T178] #5: ffffffff94489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.574161][ T178] irq event stamp: 30910 [ 10.574162][ T178] hardirqs last enabled at (30909): [] __down_trylock_console_sem+0x86/0xa0 [ 10.574164][ T178] hardirqs last disabled at (30910): [] console_emit_next_record+0x3f8/0x4f0 [ 10.574167][ T178] softirqs last enabled at (30904): [] netif_change_name+0x216/0x8c0 [ 10.574170][ T178] softirqs last disabled at (30902): [] netif_change_name+0x1ad/0x8c0 [ 10.574173][ T178] Preemption disabled at: [ 10.574173][ T178] [] vprintk_emit+0x31b/0x3e0 [ 10.574178][ T178] CPU: 2 UID: 0 PID: 178 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.574182][ T178] Tainted: [W]=WARN [ 10.574183][ T178] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.574184][ T178] Call Trace: [ 10.574186][ T178] [ 10.574188][ T178] dump_stack_lvl+0x6f/0xa0 [ 10.574194][ T178] ? vprintk_emit+0x31b/0x3e0 [ 10.574196][ T178] __might_resched.cold+0x1fe/0x2c1 [ 10.574200][ T178] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.574205][ T178] ? __kmalloc_noprof+0xdb/0x760 [ 10.574211][ T178] __kmalloc_noprof+0x443/0x760 [ 10.574213][ T178] ? alloc_buf.isra.0+0x4b/0x260 [ 10.574220][ T178] ? do_raw_spin_unlock+0x59/0x250 [ 10.574223][ T178] alloc_buf.isra.0+0x4b/0x260 [ 10.574227][ T178] put_chars+0x1e1/0x2f0 [ 10.574230][ T178] ? __send_to_port+0x420/0x420 [ 10.574234][ T178] ? validate_chain+0x34a/0xc20 [ 10.574239][ T178] hvc_console_print+0x292/0x780 [ 10.574242][ T178] ? __lock_acquire+0x518/0xc20 [ 10.574248][ T178] ? hvc_write+0x3a0/0x3a0 [ 10.574251][ T178] ? rcu_is_watching+0x16/0xd0 [ 10.574258][ T178] console_emit_next_record+0x252/0x4f0 [ 10.574262][ T178] ? devkmsg_read+0x4e0/0x4e0 [ 10.574267][ T178] ? rcu_is_watching+0x16/0xd0 [ 10.574269][ T178] ? lock_acquire+0x13c/0x160 [ 10.574273][ T178] console_flush_one_record+0x46f/0x710 [ 10.574277][ T178] ? console_emit_next_record+0x4f0/0x4f0 [ 10.574279][ T178] ? __lock_acquire+0x518/0xc20 [ 10.574285][ T178] console_unlock+0xee/0x1f0 [ 10.574288][ T178] ? console_flush_one_record+0x710/0x710 [ 10.574290][ T178] ? rcu_is_watching+0x16/0xd0 [ 10.574292][ T178] ? lock_acquire+0x60/0x160 [ 10.574296][ T178] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.574298][ T178] ? vprintk_emit+0x320/0x3e0 [ 10.574301][ T178] vprintk_emit+0x37c/0x3e0 [ 10.574304][ T178] ? wake_up_klogd_work_func+0x90/0x90 [ 10.574306][ T178] ? write_profile+0xf0/0xf0 [ 10.574309][ T178] ? unwind_get_return_address+0x67/0xd0 [ 10.574316][ T178] dev_vprintk_emit+0x27f/0x2c0 [ 10.574321][ T178] ? device_rename.cold+0xa/0xa [ 10.574326][ T178] ? filter_irq_stacks+0xd0/0xd0 [ 10.574332][ T178] dev_printk_emit+0xb9/0xee [ 10.574334][ T178] ? dev_vprintk_emit+0x2c0/0x2c0 [ 10.574339][ T178] ? check_prev_add+0x316/0xe90 [ 10.574351][ T178] __netdev_printk+0x160/0x1d0 [ 10.574360][ T178] netdev_info+0xe2/0x116 [ 10.574364][ T178] ? netdev_notice+0x120/0x120 [ 10.574368][ T178] ? find_held_lock+0x2b/0x80 [ 10.574372][ T178] ? __lock_release.isra.0+0x69/0x1a0 [ 10.574375][ T178] ? mark_held_locks+0x40/0x70 [ 10.574379][ T178] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.574382][ T178] netif_change_name.cold+0x4f/0x89 [ 10.574385][ T178] ? __lock_acquire+0x518/0xc20 [ 10.574387][ T178] ? mark_lock_irq+0x747/0x9c0 [ 10.574389][ T178] ? find_held_lock+0x2/0x80 [ 10.574392][ T178] ? netdev_adjacent_rename_links+0x470/0x470 [ 10.574395][ T178] ? find_held_lock+0x2b/0x80 [ 10.574397][ T178] ? __asan_memset+0x27/0x50 [ 10.574403][ T178] do_setlink.isra.0+0x1f7d/0x2a60 [ 10.574406][ T178] ? __lock_acquire+0x518/0xc20 [ 10.574409][ T178] ? rtnl_link_get_size+0x350/0x350 [ 10.574411][ T178] ? mark_usage+0x61/0x170 [ 10.574413][ T178] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.574415][ T178] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.574418][ T178] ? validate_chain+0x38b/0xc20 [ 10.574423][ T178] ? __lock_acquire+0x518/0xc20 [ 10.574427][ T178] ? lock_acquire.part.0+0xd4/0x280 [ 10.574430][ T178] ? rtnl_setlink+0x29d/0x920 [ 10.574433][ T178] ? rcu_is_watching+0x16/0xd0 [ 10.574435][ T178] ? lock_acquire+0x13c/0x160 [ 10.574436][ T178] ? rcu_is_watching+0x16/0xd0 [ 10.574438][ T178] ? rcu_is_watching+0x16/0xd0 [ 10.574440][ T178] ? trace_contention_end+0xb3/0x180 [ 10.574442][ T178] ? __mutex_lock+0x1db/0x1ea0 [ 10.574446][ T178] ? __mutex_lock+0x9a3/0x1ea0 [ 10.574448][ T178] ? __lock_acquire+0x518/0xc20 [ 10.574450][ T178] ? rtnl_setlink+0x29d/0x920 [ 10.574453][ T178] ? mark_usage+0x61/0x170 [ 10.574456][ T178] ? ww_mutex_lock+0x160/0x160 [ 10.574458][ T178] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.574464][ T178] ? mark_usage+0x61/0x170 [ 10.574467][ T178] ? cap_capable+0x1d7/0x3d0 [ 10.574475][ T178] rtnl_setlink+0x527/0x920 [ 10.574479][ T178] ? __rtnl_newlink+0xa50/0xa50 [ 10.574480][ T178] ? __lock_acquire+0x518/0xc20 [ 10.574504][ T178] ? lock_acquire.part.0+0xd4/0x280 [ 10.574506][ T178] ? find_held_lock+0x2b/0x80 [ 10.574509][ T178] ? __lock_release.isra.0+0x69/0x1a0 [ 10.574511][ T178] ? mark_usage+0x61/0x170 [ 10.574513][ T178] ? __lock_acquire+0x518/0xc20 [ 10.574518][ T178] ? lock_acquire.part.0+0xd4/0x280 [ 10.574520][ T178] ? find_held_lock+0x2b/0x80 [ 10.574522][ T178] ? __rtnl_newlink+0xa50/0xa50 [ 10.574525][ T178] ? __lock_release.isra.0+0x69/0x1a0 [ 10.574529][ T178] ? __rtnl_newlink+0xa50/0xa50 [ 10.574531][ T178] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.574535][ T178] ? rtnl_link_fill+0x900/0x900 [ 10.574537][ T178] ? __lock_acquire+0x518/0xc20 [ 10.574542][ T178] ? lock_acquire.part.0+0xd4/0x280 [ 10.574544][ T178] ? find_held_lock+0x2b/0x80 [ 10.574547][ T178] netlink_rcv_skb+0x14e/0x3a0 [ 10.574551][ T178] ? rtnl_link_fill+0x900/0x900 [ 10.574554][ T178] ? netlink_ack+0xcd0/0xcd0 [ 10.574561][ T178] ? netlink_deliver_tap+0xc5/0x330 [ 10.574563][ T178] ? netlink_deliver_tap+0x13c/0x330 [ 10.574568][ T178] netlink_unicast+0x486/0x750 [ 10.574572][ T178] ? netlink_attachskb+0x810/0x810 [ 10.574575][ T178] ? __lock_acquire+0x518/0xc20 [ 10.574580][ T178] netlink_sendmsg+0x735/0xc60 [ 10.574585][ T178] ? netlink_unicast+0x750/0x750 [ 10.574588][ T178] ? __might_fault+0x97/0x140 [ 10.574592][ T178] ? __might_fault+0x97/0x140 [ 10.574596][ T178] __sys_sendto+0x2aa/0x400 [ 10.574600][ T178] ? __ia32_sys_getpeername+0xd0/0xd0 [ 10.574614][ T178] __x64_sys_sendto+0xe4/0x1f0 [ 10.574616][ T178] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.574620][ T178] ? lockdep_hardirqs_on+0x91/0x130 [ 10.574622][ T178] ? do_syscall_64+0xa6/0x530 [ 10.574624][ T178] do_syscall_64+0xff/0x530 [ 10.574626][ T178] ? exc_page_fault+0xee/0x100 [ 10.574629][ T178] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.574631][ T178] RIP: 0033:0x7f7ae49ee54e [ 10.574635][ 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 [ 10.574637][ T178] RSP: 002b:00007ffeb872c2d0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 10.574640][ T178] RAX: ffffffffffffffda RBX: 000055b818151380 RCX: 00007f7ae49ee54e [ 10.574641][ T178] RDX: 0000000000000030 RSI: 000055b818132820 RDI: 0000000000000012 [ 10.574642][ T178] RBP: 00007ffeb872c2e0 R08: 00007ffeb872c330 R09: 0000000000000080 [ 10.574643][ T178] R10: 0000000000000000 R11: 0000000000000202 R12: 000055b818152020 [ 10.574644][ T178] R13: 00007ffeb872c414 R14: 0000000000000000 R15: 0000000000000000 [ 10.574651][ T178]