[ 9.365945][ T89] netdevsim netdevsim1337 eni1337np1: renamed from eth0 [ 9.366008][ T89] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.366010][ T89] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 89, name: (udev-worker) [ 9.366012][ T89] preempt_count: 1, expected: 0 [ 9.366013][ T89] RCU nest depth: 0, expected: 0 [ 9.366014][ T89] locks held by (udev-worker)/89: 6, last CPU#3: [ 9.366016][ T89] #0: ffffffffb80cfcc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 9.366029][ T89] #1: ff1100000d8d2dd0 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 9.366033][ T89] #2: ffffffffb7969cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.366039][ T89] #3: ffffffffb7969d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.366042][ T89] #4: ffffffffb7889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.366045][ T89] #5: ffffffffb7889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.366049][ T89] irq event stamp: 427982 [ 9.366050][ T89] hardirqs last enabled at (427981): [] __down_trylock_console_sem+0x86/0xa0 [ 9.366052][ T89] hardirqs last disabled at (427982): [] console_emit_next_record+0x3d4/0x4c0 [ 9.366054][ T89] softirqs last enabled at (427976): [] netif_change_name+0x216/0x8c0 [ 9.366056][ T89] softirqs last disabled at (427974): [] netif_change_name+0x1ad/0x8c0 [ 9.366058][ T89] Preemption disabled at: [ 9.366059][ T89] [] vprintk_emit+0x31b/0x3e0 [ 9.366065][ T89] CPU: 3 UID: 0 PID: 89 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.366069][ T89] Tainted: [W]=WARN [ 9.366069][ T89] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.366071][ T89] Call Trace: [ 9.366072][ T89] [ 9.366074][ T89] dump_stack_lvl+0x6f/0xa0 [ 9.366079][ T89] ? vprintk_emit+0x31b/0x3e0 [ 9.366082][ T89] __might_resched.cold+0x1fe/0x2c1 [ 9.366086][ T89] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.366090][ T89] ? __kmalloc_noprof+0xdb/0x760 [ 9.366095][ T89] __kmalloc_noprof+0x443/0x760 [ 9.366097][ T89] ? alloc_buf.isra.0+0x4b/0x260 [ 9.366104][ T89] ? do_raw_spin_unlock+0x59/0x250 [ 9.366106][ T89] alloc_buf.isra.0+0x4b/0x260 [ 9.366110][ T89] put_chars+0x1e1/0x2f0 [ 9.366113][ T89] ? __send_to_port+0x420/0x420 [ 9.366118][ T89] ? validate_chain+0x34a/0xc20 [ 9.366121][ T89] hvc_console_print+0x292/0x780 [ 9.366125][ T89] ? mark_usage+0x61/0x170 [ 9.366127][ T89] ? __lock_acquire+0x518/0xc20 [ 9.366128][ T89] ? __lock_acquire+0x518/0xc20 [ 9.366132][ T89] ? hvc_write+0x3a0/0x3a0 [ 9.366134][ T89] ? console_emit_next_record+0x1df/0x4c0 [ 9.366137][ T89] ? rcu_is_watching+0x16/0xd0 [ 9.366141][ T89] ? lock_acquire+0x13c/0x160 [ 9.366145][ T89] console_emit_next_record+0x22f/0x4c0 [ 9.366148][ T89] ? devkmsg_read+0x4b0/0x4b0 [ 9.366150][ T89] ? console_flush_one_record+0x106/0x710 [ 9.366153][ T89] ? rcu_is_watching+0x16/0xd0 [ 9.366155][ T89] ? lock_acquire+0x13c/0x160 [ 9.366159][ T89] console_flush_one_record+0x46f/0x710 [ 9.366163][ T89] ? console_emit_next_record+0x4c0/0x4c0 [ 9.366165][ T89] ? __lock_acquire+0x518/0xc20 [ 9.366170][ T89] console_unlock+0xee/0x1f0 [ 9.366172][ T89] ? console_flush_one_record+0x710/0x710 [ 9.366174][ T89] ? rcu_is_watching+0x16/0xd0 [ 9.366176][ T89] ? lock_acquire+0x60/0x160 [ 9.366179][ T89] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.366181][ T89] ? vprintk_emit+0x320/0x3e0 [ 9.366184][ T89] vprintk_emit+0x37c/0x3e0 [ 9.366187][ T89] ? wake_up_klogd_work_func+0x90/0x90 [ 9.366190][ T89] ? write_profile+0xf0/0xf0 [ 9.366193][ T89] ? unwind_get_return_address+0x67/0xd0 [ 9.366199][ T89] dev_vprintk_emit+0x27f/0x2c0 [ 9.366204][ T89] ? device_rename.cold+0xa/0xa [ 9.366209][ T89] ? filter_irq_stacks+0xd0/0xd0 [ 9.366215][ T89] dev_printk_emit+0xb9/0xee [ 9.366217][ T89] ? dev_vprintk_emit+0x2c0/0x2c0 [ 9.366221][ T89] ? check_prev_add+0x316/0xe90 [ 9.366226][ T89] __netdev_printk+0x160/0x1d0 [ 9.366232][ T89] netdev_info+0xe2/0x116 [ 9.366234][ T89] ? netdev_notice+0x120/0x120 [ 9.366236][ T89] ? find_held_lock+0x2b/0x80 [ 9.366240][ T89] ? __lock_release.isra.0+0x69/0x1a0 [ 9.366242][ T89] ? mark_held_locks+0x40/0x70 [ 9.366246][ T89] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 9.366248][ T89] netif_change_name.cold+0x4f/0x89 [ 9.366251][ T89] ? __lock_acquire+0x518/0xc20 [ 9.366253][ T89] ? __lock_acquire+0x7/0xc20 [ 9.366254][ T89] ? find_held_lock+0x2/0x80 [ 9.366258][ T89] ? netdev_adjacent_rename_links+0x470/0x470 [ 9.366260][ T89] ? find_held_lock+0x2b/0x80 [ 9.366263][ T89] ? __asan_memset+0x27/0x50 [ 9.366271][ T89] do_setlink.isra.0+0x1f7d/0x2a60 [ 9.366275][ T89] ? __lock_acquire+0x518/0xc20 [ 9.366278][ T89] ? rtnl_link_get_size+0x350/0x350 [ 9.366279][ T89] ? mark_usage+0x61/0x170 [ 9.366280][ T89] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.366283][ T89] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.366286][ T89] ? validate_chain+0x38b/0xc20 [ 9.366290][ T89] ? __lock_acquire+0x518/0xc20 [ 9.366295][ T89] ? lock_acquire.part.0+0xd4/0x280 [ 9.366297][ T89] ? rtnl_setlink+0x29d/0x920 [ 9.366300][ T89] ? rcu_is_watching+0x16/0xd0 [ 9.366302][ T89] ? lock_acquire+0x13c/0x160 [ 9.366303][ T89] ? rcu_is_watching+0x16/0xd0 [ 9.366305][ T89] ? rcu_is_watching+0x16/0xd0 [ 9.366307][ T89] ? trace_contention_end+0xb3/0x180 [ 9.366310][ T89] ? __mutex_lock+0x1db/0x1ea0 [ 9.366314][ T89] ? __mutex_lock+0x9a3/0x1ea0 [ 9.366316][ T89] ? __lock_acquire+0x518/0xc20 [ 9.366318][ T89] ? rtnl_setlink+0x29d/0x920 [ 9.366320][ T89] ? mark_usage+0x61/0x170 [ 9.366323][ T89] ? ww_mutex_lock+0x160/0x160 [ 9.366325][ T89] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.366331][ T89] ? mark_usage+0x61/0x170 [ 9.366334][ T89] ? cap_capable+0x1d7/0x3d0 [ 9.366342][ T89] rtnl_setlink+0x527/0x920 [ 9.366345][ T89] ? __rtnl_newlink+0xa50/0xa50 [ 9.366347][ T89] ? __lock_acquire+0x518/0xc20 [ 9.366372][ T89] ? lock_acquire.part.0+0xd4/0x280 [ 9.366373][ T89] ? find_held_lock+0x2b/0x80 [ 9.366377][ T89] ? __lock_release.isra.0+0x69/0x1a0 [ 9.366378][ T89] ? mark_usage+0x61/0x170 [ 9.366380][ T89] ? __lock_acquire+0x518/0xc20 [ 9.366385][ T89] ? lock_acquire.part.0+0xd4/0x280 [ 9.366386][ T89] ? find_held_lock+0x2b/0x80 [ 9.366389][ T89] ? __rtnl_newlink+0xa50/0xa50 [ 9.366391][ T89] ? __lock_release.isra.0+0x69/0x1a0 [ 9.366395][ T89] ? __rtnl_newlink+0xa50/0xa50 [ 9.366397][ T89] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.366401][ T89] ? rtnl_link_fill+0x900/0x900 [ 9.366402][ T89] ? __lock_acquire+0x518/0xc20 [ 9.366407][ T89] ? lock_acquire.part.0+0xd4/0x280 [ 9.366408][ T89] ? find_held_lock+0x2b/0x80 [ 9.366413][ T89] netlink_rcv_skb+0x14e/0x3a0 [ 9.366416][ T89] ? rtnl_link_fill+0x900/0x900 [ 9.366419][ T89] ? netlink_ack+0xcd0/0xcd0 [ 9.366426][ T89] ? netlink_deliver_tap+0xc5/0x330 [ 9.366428][ T89] ? netlink_deliver_tap+0x13c/0x330 [ 9.366433][ T89] netlink_unicast+0x486/0x750 [ 9.366437][ T89] ? netlink_attachskb+0x810/0x810 [ 9.366439][ T89] ? __lock_acquire+0x518/0xc20 [ 9.366443][ T89] netlink_sendmsg+0x735/0xc60 [ 9.366448][ T89] ? netlink_unicast+0x750/0x750 [ 9.366451][ T89] ? __might_fault+0x97/0x140 [ 9.366455][ T89] ? __might_fault+0x97/0x140 [ 9.366458][ T89] __sys_sendto+0x2aa/0x400 [ 9.366463][ T89] ? __ia32_sys_getpeername+0xd0/0xd0 [ 9.366474][ T89] ? exc_page_fault+0x87/0x100 [ 9.366480][ T89] __x64_sys_sendto+0xe4/0x1f0 [ 9.366483][ T89] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.366486][ T89] ? lockdep_hardirqs_on+0x91/0x130 [ 9.366488][ T89] ? do_syscall_64+0xa6/0x530 [ 9.366490][ T89] do_syscall_64+0xff/0x530 [ 9.366492][ T89] ? exc_page_fault+0xee/0x100 [ 9.366495][ T89] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.366497][ T89] RIP: 0033:0x7f50f21f954e [ 9.366501][ T89] 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.366503][ T89] RSP: 002b:00007ffd09514e00 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 9.366505][ T89] RAX: ffffffffffffffda RBX: 000055dedba3af30 RCX: 00007f50f21f954e [ 9.366507][ T89] RDX: 0000000000000030 RSI: 000055dedbbe3550 RDI: 0000000000000020 [ 9.366508][ T89] RBP: 00007ffd09514e10 R08: 00007ffd09514e60 R09: 0000000000000080 [ 9.366508][ T89] R10: 0000000000000000 R11: 0000000000000202 R12: 000055dedbbea880 [ 9.366509][ T89] R13: 00007ffd09514f44 R14: 0000000000000000 R15: 0000000000000000 [ 9.366516][ T89] [ 9.545140][ T138] netdevsim netdevsim1337 nsim0: renamed from eni1337np1 [ 9.588619][ T139] ip (139) used greatest stack depth: 24400 bytes left