[ 9.574912][ T85] netdevsim netdevsim1337 eni1337np1: renamed from eth0 [ 9.574980][ T85] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.574983][ T85] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 85, name: (udev-worker) [ 9.574984][ T85] preempt_count: 1, expected: 0 [ 9.574985][ T85] RCU nest depth: 0, expected: 0 [ 9.574986][ T85] locks held by (udev-worker)/85: 6, last CPU#0: [ 9.574989][ T85] #0: ffffffff972cfcc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 9.575001][ T85] #1: ff1100000cb0add0 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 9.575005][ T85] #2: ffffffff96b69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.575011][ T85] #3: ffffffff96b69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.575014][ T85] #4: ffffffff96a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.575017][ T85] #5: ffffffff96a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.575021][ T85] irq event stamp: 379518 [ 9.575022][ T85] hardirqs last enabled at (379517): [] __down_trylock_console_sem+0x86/0xa0 [ 9.575024][ T85] hardirqs last disabled at (379518): [] console_emit_next_record+0x3d4/0x4c0 [ 9.575026][ T85] softirqs last enabled at (379512): [] netif_change_name+0x216/0x8c0 [ 9.575028][ T85] softirqs last disabled at (379510): [] netif_change_name+0x1ad/0x8c0 [ 9.575030][ T85] Preemption disabled at: [ 9.575031][ T85] [] vprintk_emit+0x31b/0x3e0 [ 9.575036][ T85] CPU: 0 UID: 0 PID: 85 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.575040][ T85] Tainted: [W]=WARN [ 9.575041][ T85] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.575043][ T85] Call Trace: [ 9.575044][ T85] [ 9.575046][ T85] dump_stack_lvl+0x6f/0xa0 [ 9.575052][ T85] ? vprintk_emit+0x31b/0x3e0 [ 9.575054][ T85] __might_resched.cold+0x1fe/0x2c1 [ 9.575058][ T85] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.575062][ T85] ? __kmalloc_noprof+0xdb/0x760 [ 9.575067][ T85] __kmalloc_noprof+0x443/0x760 [ 9.575069][ T85] ? alloc_buf.isra.0+0x4b/0x260 [ 9.575075][ T85] ? do_raw_spin_unlock+0x59/0x250 [ 9.575077][ T85] alloc_buf.isra.0+0x4b/0x260 [ 9.575081][ T85] put_chars+0x1e1/0x2f0 [ 9.575084][ T85] ? __send_to_port+0x420/0x420 [ 9.575089][ T85] ? validate_chain+0x34a/0xc20 [ 9.575093][ T85] hvc_console_print+0x292/0x780 [ 9.575096][ T85] ? mark_usage+0x61/0x170 [ 9.575098][ T85] ? __lock_acquire+0x518/0xc20 [ 9.575099][ T85] ? __lock_acquire+0x518/0xc20 [ 9.575103][ T85] ? hvc_write+0x3a0/0x3a0 [ 9.575106][ T85] ? console_emit_next_record+0x1df/0x4c0 [ 9.575109][ T85] ? rcu_is_watching+0x16/0xd0 [ 9.575112][ T85] ? lock_acquire+0x13c/0x160 [ 9.575116][ T85] console_emit_next_record+0x22f/0x4c0 [ 9.575120][ T85] ? devkmsg_read+0x4b0/0x4b0 [ 9.575121][ T85] ? console_flush_one_record+0x106/0x710 [ 9.575124][ T85] ? rcu_is_watching+0x16/0xd0 [ 9.575126][ T85] ? lock_acquire+0x13c/0x160 [ 9.575130][ T85] console_flush_one_record+0x46f/0x710 [ 9.575134][ T85] ? console_emit_next_record+0x4c0/0x4c0 [ 9.575135][ T85] ? __lock_acquire+0x518/0xc20 [ 9.575140][ T85] console_unlock+0xee/0x1f0 [ 9.575143][ T85] ? console_flush_one_record+0x710/0x710 [ 9.575145][ T85] ? rcu_is_watching+0x16/0xd0 [ 9.575147][ T85] ? lock_acquire+0x60/0x160 [ 9.575150][ T85] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.575152][ T85] ? vprintk_emit+0x320/0x3e0 [ 9.575155][ T85] vprintk_emit+0x37c/0x3e0 [ 9.575158][ T85] ? wake_up_klogd_work_func+0x90/0x90 [ 9.575161][ T85] ? write_profile+0xf0/0xf0 [ 9.575164][ T85] ? unwind_get_return_address+0x67/0xd0 [ 9.575170][ T85] dev_vprintk_emit+0x27f/0x2c0 [ 9.575175][ T85] ? device_rename.cold+0xa/0xa [ 9.575180][ T85] ? filter_irq_stacks+0xd0/0xd0 [ 9.575186][ T85] dev_printk_emit+0xb9/0xee [ 9.575188][ T85] ? dev_vprintk_emit+0x2c0/0x2c0 [ 9.575192][ T85] ? check_prev_add+0x316/0xe90 [ 9.575197][ T85] __netdev_printk+0x160/0x1d0 [ 9.575202][ T85] netdev_info+0xe2/0x116 [ 9.575204][ T85] ? netdev_notice+0x120/0x120 [ 9.575207][ T85] ? find_held_lock+0x2b/0x80 [ 9.575211][ T85] ? __lock_release.isra.0+0x69/0x1a0 [ 9.575214][ T85] ? mark_held_locks+0x40/0x70 [ 9.575217][ T85] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 9.575219][ T85] netif_change_name.cold+0x4f/0x89 [ 9.575222][ T85] ? clockevents_program_event+0x307/0x7e0 [ 9.575226][ T85] ? lock_acquire.part.0+0xd4/0x280 [ 9.575228][ T85] ? netdev_adjacent_rename_links+0x470/0x470 [ 9.575232][ T85] ? __asan_memset+0x27/0x50 [ 9.575238][ T85] do_setlink.isra.0+0x1f7d/0x2a60 [ 9.575241][ T85] ? sysvec_apic_timer_interrupt+0xaa/0xe0 [ 9.575246][ T85] ? rtnl_link_get_size+0x350/0x350 [ 9.575247][ T85] ? mark_usage+0x61/0x170 [ 9.575248][ T85] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.575251][ T85] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.575253][ T85] ? validate_chain+0x38b/0xc20 [ 9.575258][ T85] ? __lock_acquire+0x518/0xc20 [ 9.575262][ T85] ? lock_acquire.part.0+0xd4/0x280 [ 9.575264][ T85] ? rtnl_setlink+0x29d/0x920 [ 9.575266][ T85] ? rcu_is_watching+0x16/0xd0 [ 9.575269][ T85] ? lock_acquire+0x13c/0x160 [ 9.575270][ T85] ? rcu_is_watching+0x16/0xd0 [ 9.575271][ T85] ? rcu_is_watching+0x16/0xd0 [ 9.575273][ T85] ? trace_contention_end+0xb3/0x180 [ 9.575276][ T85] ? __mutex_lock+0x1db/0x1ea0 [ 9.575279][ T85] ? __mutex_lock+0x9a3/0x1ea0 [ 9.575281][ T85] ? __lock_acquire+0x518/0xc20 [ 9.575283][ T85] ? rtnl_setlink+0x29d/0x920 [ 9.575285][ T85] ? mark_usage+0x61/0x170 [ 9.575287][ T85] ? ww_mutex_lock+0x160/0x160 [ 9.575290][ T85] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.575295][ T85] ? mark_usage+0x61/0x170 [ 9.575298][ T85] ? cap_capable+0x1d7/0x3d0 [ 9.575306][ T85] rtnl_setlink+0x527/0x920 [ 9.575309][ T85] ? __rtnl_newlink+0xa50/0xa50 [ 9.575311][ T85] ? __lock_acquire+0x518/0xc20 [ 9.575334][ T85] ? lock_acquire.part.0+0xd4/0x280 [ 9.575336][ T85] ? find_held_lock+0x2b/0x80 [ 9.575339][ T85] ? __lock_release.isra.0+0x69/0x1a0 [ 9.575341][ T85] ? mark_usage+0x61/0x170 [ 9.575342][ T85] ? __lock_acquire+0x518/0xc20 [ 9.575347][ T85] ? lock_acquire.part.0+0xd4/0x280 [ 9.575348][ T85] ? find_held_lock+0x2b/0x80 [ 9.575351][ T85] ? __rtnl_newlink+0xa50/0xa50 [ 9.575353][ T85] ? __lock_release.isra.0+0x69/0x1a0 [ 9.575356][ T85] ? __rtnl_newlink+0xa50/0xa50 [ 9.575358][ T85] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.575362][ T85] ? rtnl_link_fill+0x900/0x900 [ 9.575363][ T85] ? __lock_acquire+0x518/0xc20 [ 9.575368][ T85] ? lock_acquire.part.0+0xd4/0x280 [ 9.575369][ T85] ? find_held_lock+0x2b/0x80 [ 9.575373][ T85] netlink_rcv_skb+0x14e/0x3a0 [ 9.575376][ T85] ? rtnl_link_fill+0x900/0x900 [ 9.575379][ T85] ? netlink_ack+0xcd0/0xcd0 [ 9.575386][ T85] ? netlink_deliver_tap+0xc5/0x330 [ 9.575388][ T85] ? netlink_deliver_tap+0x13c/0x330 [ 9.575392][ T85] netlink_unicast+0x486/0x750 [ 9.575396][ T85] ? netlink_attachskb+0x810/0x810 [ 9.575398][ T85] ? __lock_acquire+0x518/0xc20 [ 9.575403][ T85] netlink_sendmsg+0x735/0xc60 [ 9.575407][ T85] ? netlink_unicast+0x750/0x750 [ 9.575411][ T85] ? __might_fault+0x97/0x140 [ 9.575414][ T85] ? __might_fault+0x97/0x140 [ 9.575419][ T85] __sys_sendto+0x2aa/0x400 [ 9.575425][ T85] ? __ia32_sys_getpeername+0xd0/0xd0 [ 9.575441][ T85] ? exc_page_fault+0x87/0x100 [ 9.575446][ T85] __x64_sys_sendto+0xe4/0x1f0 [ 9.575448][ T85] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.575452][ T85] ? lockdep_hardirqs_on+0x91/0x130 [ 9.575454][ T85] ? do_syscall_64+0xa6/0x530 [ 9.575456][ T85] do_syscall_64+0xff/0x530 [ 9.575458][ T85] ? exc_page_fault+0xee/0x100 [ 9.575460][ T85] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.575463][ T85] RIP: 0033:0x7f7efebda54e [ 9.575466][ T85] 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 [ 9.575468][ T85] RSP: 002b:00007fff51b42160 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 9.575471][ T85] RAX: ffffffffffffffda RBX: 0000565334d63f50 RCX: 00007f7efebda54e [ 9.575472][ T85] RDX: 0000000000000030 RSI: 0000565334ee1230 RDI: 0000000000000018 [ 9.575473][ T85] RBP: 00007fff51b42170 R08: 00007fff51b421c0 R09: 0000000000000080 [ 9.575474][ T85] R10: 0000000000000000 R11: 0000000000000202 R12: 0000565334ee35b0 [ 9.575474][ T85] R13: 00007fff51b422a4 R14: 0000000000000000 R15: 0000000000000000 [ 9.575481][ T85] [ 9.787581][ T138] netdevsim netdevsim1337 nsim0: renamed from eni1337np1