[ 11.360045][ T181] netdevsim netdevsim14809 eni14809np1: renamed from eth0 [ 11.360121][ T181] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.360123][ T181] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 181, name: (udev-worker) [ 11.360125][ T181] preempt_count: 1, expected: 0 [ 11.360126][ T181] RCU nest depth: 0, expected: 0 [ 11.360127][ T181] locks held by (udev-worker)/181: 6, last CPU#0: [ 11.360129][ T181] #0: ffffffffa8905fc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 11.360143][ T181] #1: ff11000009ec2de8 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 11.360147][ T181] #2: ffffffffa8199cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.360152][ T181] #3: ffffffffa8199d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.360156][ T181] #4: ffffffffa8089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.360160][ T181] #5: ffffffffa8089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 11.360163][ T181] irq event stamp: 23038 [ 11.360164][ T181] hardirqs last enabled at (23037): [] __down_trylock_console_sem+0x86/0xa0 [ 11.360168][ T181] hardirqs last disabled at (23038): [] console_emit_next_record+0x3f8/0x4f0 [ 11.360170][ T181] softirqs last enabled at (23032): [] netif_change_name+0x216/0x8c0 [ 11.360173][ T181] softirqs last disabled at (23030): [] netif_change_name+0x1ad/0x8c0 [ 11.360175][ T181] Preemption disabled at: [ 11.360176][ T181] [] vprintk_emit+0x31b/0x3e0 [ 11.360181][ T181] CPU: 0 UID: 0 PID: 181 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.360185][ T181] Tainted: [W]=WARN [ 11.360186][ T181] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.360187][ T181] Call Trace: [ 11.360189][ T181] [ 11.360191][ T181] dump_stack_lvl+0x6f/0xa0 [ 11.360197][ T181] ? vprintk_emit+0x31b/0x3e0 [ 11.360199][ T181] __might_resched.cold+0x1fe/0x2c1 [ 11.360203][ T181] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.360207][ T181] ? __kmalloc_noprof+0xdb/0x760 [ 11.360213][ T181] __kmalloc_noprof+0x443/0x760 [ 11.360215][ T181] ? alloc_buf.isra.0+0x4b/0x260 [ 11.360222][ T181] ? do_raw_spin_unlock+0x59/0x250 [ 11.360224][ T181] alloc_buf.isra.0+0x4b/0x260 [ 11.360228][ T181] put_chars+0x1e1/0x2f0 [ 11.360231][ T181] ? __send_to_port+0x420/0x420 [ 11.360235][ T181] ? validate_chain+0x34a/0xc20 [ 11.360240][ T181] hvc_console_print+0x292/0x780 [ 11.360243][ T181] ? __lock_acquire+0x518/0xc20 [ 11.360248][ T181] ? hvc_write+0x3a0/0x3a0 [ 11.360252][ T181] ? rcu_is_watching+0x16/0xd0 [ 11.360257][ T181] console_emit_next_record+0x252/0x4f0 [ 11.360261][ T181] ? devkmsg_read+0x4e0/0x4e0 [ 11.360266][ T181] ? rcu_is_watching+0x16/0xd0 [ 11.360268][ T181] ? lock_acquire+0x13c/0x160 [ 11.360272][ T181] console_flush_one_record+0x46f/0x710 [ 11.360276][ T181] ? console_emit_next_record+0x4f0/0x4f0 [ 11.360278][ T181] ? __lock_acquire+0x518/0xc20 [ 11.360284][ T181] console_unlock+0xee/0x1f0 [ 11.360286][ T181] ? console_flush_one_record+0x710/0x710 [ 11.360288][ T181] ? rcu_is_watching+0x16/0xd0 [ 11.360290][ T181] ? lock_acquire+0x60/0x160 [ 11.360294][ T181] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.360296][ T181] ? vprintk_emit+0x320/0x3e0 [ 11.360299][ T181] vprintk_emit+0x37c/0x3e0 [ 11.360302][ T181] ? wake_up_klogd_work_func+0x90/0x90 [ 11.360304][ T181] ? write_profile+0xf0/0xf0 [ 11.360306][ T181] ? unwind_get_return_address+0x67/0xd0 [ 11.360313][ T181] dev_vprintk_emit+0x27f/0x2c0 [ 11.360318][ T181] ? device_rename.cold+0xa/0xa [ 11.360322][ T181] ? filter_irq_stacks+0xd0/0xd0 [ 11.360328][ T181] dev_printk_emit+0xb9/0xee [ 11.360330][ T181] ? dev_vprintk_emit+0x2c0/0x2c0 [ 11.360334][ T181] ? check_prev_add+0x316/0xe90 [ 11.360340][ T181] __netdev_printk+0x160/0x1d0 [ 11.360345][ T181] netdev_info+0xe2/0x116 [ 11.360348][ T181] ? netdev_notice+0x120/0x120 [ 11.360350][ T181] ? find_held_lock+0x2b/0x80 [ 11.360354][ T181] ? __lock_release.isra.0+0x69/0x1a0 [ 11.360356][ T181] ? mark_held_locks+0x40/0x70 [ 11.360360][ T181] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 11.360362][ T181] netif_change_name.cold+0x4f/0x89 [ 11.360365][ T181] ? __lock_acquire+0x518/0xc20 [ 11.360367][ T181] ? mark_lock_irq+0x747/0x9c0 [ 11.360369][ T181] ? find_held_lock+0x2/0x80 [ 11.360372][ T181] ? netdev_adjacent_rename_links+0x470/0x470 [ 11.360375][ T181] ? find_held_lock+0x2b/0x80 [ 11.360378][ T181] ? __asan_memset+0x27/0x50 [ 11.360383][ T181] do_setlink.isra.0+0x1f7d/0x2a60 [ 11.360386][ T181] ? __lock_acquire+0x518/0xc20 [ 11.360389][ T181] ? rtnl_link_get_size+0x350/0x350 [ 11.360391][ T181] ? mark_usage+0x61/0x170 [ 11.360392][ T181] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.360395][ T181] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.360397][ T181] ? validate_chain+0x38b/0xc20 [ 11.360402][ T181] ? __lock_acquire+0x518/0xc20 [ 11.360407][ T181] ? lock_acquire.part.0+0xd4/0x280 [ 11.360409][ T181] ? rtnl_setlink+0x29d/0x920 [ 11.360412][ T181] ? rcu_is_watching+0x16/0xd0 [ 11.360414][ T181] ? lock_acquire+0x13c/0x160 [ 11.360415][ T181] ? rcu_is_watching+0x16/0xd0 [ 11.360417][ T181] ? rcu_is_watching+0x16/0xd0 [ 11.360418][ T181] ? trace_contention_end+0xb3/0x180 [ 11.360421][ T181] ? __mutex_lock+0x1db/0x1ea0 [ 11.360424][ T181] ? __mutex_lock+0x9a3/0x1ea0 [ 11.360426][ T181] ? __lock_acquire+0x518/0xc20 [ 11.360428][ T181] ? rtnl_setlink+0x29d/0x920 [ 11.360431][ T181] ? mark_usage+0x61/0x170 [ 11.360434][ T181] ? ww_mutex_lock+0x160/0x160 [ 11.360436][ T181] ? nla_get_range_signed+0x3d0/0x3d0 [ 11.360442][ T181] ? mark_usage+0x61/0x170 [ 11.360445][ T181] ? cap_capable+0x1d7/0x3d0 [ 11.360452][ T181] rtnl_setlink+0x527/0x920 [ 11.360455][ T181] ? __rtnl_newlink+0xa50/0xa50 [ 11.360457][ T181] ? __lock_acquire+0x518/0xc20 [ 11.360480][ T181] ? lock_acquire.part.0+0xd4/0x280 [ 11.360482][ T181] ? find_held_lock+0x2b/0x80 [ 11.360485][ T181] ? __lock_release.isra.0+0x69/0x1a0 [ 11.360487][ T181] ? mark_usage+0x61/0x170 [ 11.360489][ T181] ? __lock_acquire+0x518/0xc20 [ 11.360494][ T181] ? lock_acquire.part.0+0xd4/0x280 [ 11.360496][ T181] ? find_held_lock+0x2b/0x80 [ 11.360498][ T181] ? __rtnl_newlink+0xa50/0xa50 [ 11.360500][ T181] ? __lock_release.isra.0+0x69/0x1a0 [ 11.360504][ T181] ? __rtnl_newlink+0xa50/0xa50 [ 11.360506][ T181] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 11.360510][ T181] ? rtnl_link_fill+0x900/0x900 [ 11.360512][ T181] ? __lock_acquire+0x518/0xc20 [ 11.360517][ T181] ? lock_acquire.part.0+0xd4/0x280 [ 11.360519][ T181] ? find_held_lock+0x2b/0x80 [ 11.360522][ T181] netlink_rcv_skb+0x14e/0x3a0 [ 11.360525][ T181] ? rtnl_link_fill+0x900/0x900 [ 11.360529][ T181] ? netlink_ack+0xcd0/0xcd0 [ 11.360536][ T181] ? netlink_deliver_tap+0xc5/0x330 [ 11.360538][ T181] ? netlink_deliver_tap+0x13c/0x330 [ 11.360543][ T181] netlink_unicast+0x486/0x750 [ 11.360547][ T181] ? netlink_attachskb+0x810/0x810 [ 11.360550][ T181] ? __lock_acquire+0x518/0xc20 [ 11.360555][ T181] netlink_sendmsg+0x735/0xc60 [ 11.360559][ T181] ? netlink_unicast+0x750/0x750 [ 11.360563][ T181] ? __might_fault+0x97/0x140 [ 11.360567][ T181] ? __might_fault+0x97/0x140 [ 11.360570][ T181] __sys_sendto+0x2aa/0x400 [ 11.360574][ T181] ? __ia32_sys_getpeername+0xd0/0xd0 [ 11.360587][ T181] __x64_sys_sendto+0xe4/0x1f0 [ 11.360589][ T181] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.360593][ T181] ? lockdep_hardirqs_on+0x91/0x130 [ 11.360595][ T181] ? do_syscall_64+0xa6/0x530 [ 11.360597][ T181] do_syscall_64+0xff/0x530 [ 11.360599][ T181] ? exc_page_fault+0xee/0x100 [ 11.360602][ T181] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.360604][ T181] RIP: 0033:0x7f857badd54e [ 11.360608][ T181] 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.360610][ T181] RSP: 002b:00007ffd174d3a60 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 11.360612][ T181] RAX: ffffffffffffffda RBX: 000056236fa51b50 RCX: 00007f857badd54e [ 11.360613][ T181] RDX: 0000000000000030 RSI: 000056236fa8f6f0 RDI: 0000000000000012 [ 11.360614][ T181] RBP: 00007ffd174d3a70 R08: 00007ffd174d3ac0 R09: 0000000000000080 [ 11.360615][ T181] R10: 0000000000000000 R11: 0000000000000202 R12: 000056236fa5be70 [ 11.360616][ T181] R13: 00007ffd174d3ba4 R14: 0000000000000000 R15: 0000000000000000 [ 11.360623][ T181] [ 11.620428][ T181] netdevsim netdevsim20847 eni20847np1: renamed from eth0