[ 10.125826][ T89] netdevsim netdevsim1337 eni1337np1: renamed from eth0 [ 10.125934][ T89] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.125937][ T89] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 89, name: (udev-worker) [ 10.125938][ T89] preempt_count: 1, expected: 0 [ 10.125939][ T89] RCU nest depth: 0, expected: 0 [ 10.125940][ T89] locks held by (udev-worker)/89: 6, last CPU#0: [ 10.125943][ T89] #0: ffffffff8f2cfcc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 10.125955][ T89] #1: ff1100000cb2add0 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 10.125960][ T89] #2: ffffffff8eb69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.125965][ T89] #3: ffffffff8eb69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.125969][ T89] #4: ffffffff8ea89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.125972][ T89] #5: ffffffff8ea89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.125976][ T89] irq event stamp: 387420 [ 10.125977][ T89] hardirqs last enabled at (387419): [] __down_trylock_console_sem+0x86/0xa0 [ 10.125979][ T89] hardirqs last disabled at (387420): [] console_emit_next_record+0x3d4/0x4c0 [ 10.125981][ T89] softirqs last enabled at (387414): [] netif_change_name+0x216/0x8c0 [ 10.125984][ T89] softirqs last disabled at (387412): [] netif_change_name+0x1ad/0x8c0 [ 10.125986][ T89] Preemption disabled at: [ 10.125987][ T89] [] vprintk_emit+0x31b/0x3e0 [ 10.125993][ T89] CPU: 0 UID: 0 PID: 89 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.125996][ T89] Tainted: [W]=WARN [ 10.125997][ T89] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.125999][ T89] Call Trace: [ 10.126001][ T89] [ 10.126003][ T89] dump_stack_lvl+0x6f/0xa0 [ 10.126009][ T89] ? vprintk_emit+0x31b/0x3e0 [ 10.126011][ T89] __might_resched.cold+0x1fe/0x2c1 [ 10.126015][ T89] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.126019][ T89] ? __kmalloc_noprof+0xdb/0x760 [ 10.126024][ T89] __kmalloc_noprof+0x443/0x760 [ 10.126026][ T89] ? alloc_buf.isra.0+0x4b/0x260 [ 10.126033][ T89] ? do_raw_spin_unlock+0x59/0x250 [ 10.126035][ T89] alloc_buf.isra.0+0x4b/0x260 [ 10.126039][ T89] put_chars+0x1e1/0x2f0 [ 10.126043][ T89] ? __send_to_port+0x420/0x420 [ 10.126048][ T89] ? validate_chain+0x34a/0xc20 [ 10.126051][ T89] hvc_console_print+0x292/0x780 [ 10.126055][ T89] ? mark_usage+0x61/0x170 [ 10.126057][ T89] ? __lock_acquire+0x518/0xc20 [ 10.126058][ T89] ? __lock_acquire+0x518/0xc20 [ 10.126062][ T89] ? hvc_write+0x3a0/0x3a0 [ 10.126065][ T89] ? console_emit_next_record+0x1df/0x4c0 [ 10.126068][ T89] ? rcu_is_watching+0x16/0xd0 [ 10.126072][ T89] ? lock_acquire+0x13c/0x160 [ 10.126076][ T89] console_emit_next_record+0x22f/0x4c0 [ 10.126079][ T89] ? devkmsg_read+0x4b0/0x4b0 [ 10.126081][ T89] ? console_flush_one_record+0x106/0x710 [ 10.126084][ T89] ? rcu_is_watching+0x16/0xd0 [ 10.126086][ T89] ? lock_acquire+0x13c/0x160 [ 10.126092][ T89] console_flush_one_record+0x46f/0x710 [ 10.126096][ T89] ? console_emit_next_record+0x4c0/0x4c0 [ 10.126098][ T89] ? __lock_acquire+0x518/0xc20 [ 10.126103][ T89] console_unlock+0xee/0x1f0 [ 10.126106][ T89] ? console_flush_one_record+0x710/0x710 [ 10.126107][ T89] ? rcu_is_watching+0x16/0xd0 [ 10.126110][ T89] ? lock_acquire+0x60/0x160 [ 10.126113][ T89] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.126115][ T89] ? vprintk_emit+0x320/0x3e0 [ 10.126118][ T89] vprintk_emit+0x37c/0x3e0 [ 10.126121][ T89] ? wake_up_klogd_work_func+0x90/0x90 [ 10.126124][ T89] ? write_profile+0xf0/0xf0 [ 10.126127][ T89] ? unwind_get_return_address+0x67/0xd0 [ 10.126134][ T89] dev_vprintk_emit+0x27f/0x2c0 [ 10.126139][ T89] ? device_rename.cold+0xa/0xa [ 10.126143][ T89] ? filter_irq_stacks+0xd0/0xd0 [ 10.126149][ T89] dev_printk_emit+0xb9/0xee [ 10.126152][ T89] ? dev_vprintk_emit+0x2c0/0x2c0 [ 10.126156][ T89] ? check_prev_add+0x316/0xe90 [ 10.126161][ T89] __netdev_printk+0x160/0x1d0 [ 10.126166][ T89] netdev_info+0xe2/0x116 [ 10.126168][ T89] ? netdev_notice+0x120/0x120 [ 10.126171][ T89] ? find_held_lock+0x2b/0x80 [ 10.126175][ T89] ? __lock_release.isra.0+0x69/0x1a0 [ 10.126177][ T89] ? mark_held_locks+0x40/0x70 [ 10.126180][ T89] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.126183][ T89] netif_change_name.cold+0x4f/0x89 [ 10.126186][ T89] ? __lock_acquire+0x518/0xc20 [ 10.126188][ T89] ? __lock_acquire+0x7/0xc20 [ 10.126189][ T89] ? find_held_lock+0x2/0x80 [ 10.126193][ T89] ? netdev_adjacent_rename_links+0x470/0x470 [ 10.126195][ T89] ? find_held_lock+0x2b/0x80 [ 10.126198][ T89] ? __asan_memset+0x27/0x50 [ 10.126204][ T89] do_setlink.isra.0+0x1f7d/0x2a60 [ 10.126207][ T89] ? __lock_acquire+0x518/0xc20 [ 10.126210][ T89] ? rtnl_link_get_size+0x350/0x350 [ 10.126211][ T89] ? mark_usage+0x61/0x170 [ 10.126212][ T89] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.126215][ T89] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.126217][ T89] ? validate_chain+0x38b/0xc20 [ 10.126222][ T89] ? __lock_acquire+0x518/0xc20 [ 10.126226][ T89] ? lock_acquire.part.0+0xd4/0x280 [ 10.126228][ T89] ? rtnl_setlink+0x29d/0x920 [ 10.126231][ T89] ? rcu_is_watching+0x16/0xd0 [ 10.126233][ T89] ? lock_acquire+0x13c/0x160 [ 10.126234][ T89] ? rcu_is_watching+0x16/0xd0 [ 10.126236][ T89] ? rcu_is_watching+0x16/0xd0 [ 10.126238][ T89] ? trace_contention_end+0xb3/0x180 [ 10.126241][ T89] ? __mutex_lock+0x1db/0x1ea0 [ 10.126245][ T89] ? __mutex_lock+0x9a3/0x1ea0 [ 10.126246][ T89] ? __lock_acquire+0x518/0xc20 [ 10.126248][ T89] ? rtnl_setlink+0x29d/0x920 [ 10.126251][ T89] ? mark_usage+0x61/0x170 [ 10.126253][ T89] ? ww_mutex_lock+0x160/0x160 [ 10.126255][ T89] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.126261][ T89] ? mark_usage+0x61/0x170 [ 10.126264][ T89] ? cap_capable+0x1d7/0x3d0 [ 10.126271][ T89] rtnl_setlink+0x527/0x920 [ 10.126275][ T89] ? __rtnl_newlink+0xa50/0xa50 [ 10.126276][ T89] ? __lock_acquire+0x518/0xc20 [ 10.126299][ T89] ? lock_acquire.part.0+0xd4/0x280 [ 10.126300][ T89] ? find_held_lock+0x2b/0x80 [ 10.126303][ T89] ? __lock_release.isra.0+0x69/0x1a0 [ 10.126305][ T89] ? mark_usage+0x61/0x170 [ 10.126307][ T89] ? __lock_acquire+0x518/0xc20 [ 10.126311][ T89] ? lock_acquire.part.0+0xd4/0x280 [ 10.126313][ T89] ? find_held_lock+0x2b/0x80 [ 10.126315][ T89] ? __rtnl_newlink+0xa50/0xa50 [ 10.126317][ T89] ? __lock_release.isra.0+0x69/0x1a0 [ 10.126321][ T89] ? __rtnl_newlink+0xa50/0xa50 [ 10.126323][ T89] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.126326][ T89] ? rtnl_link_fill+0x900/0x900 [ 10.126328][ T89] ? __lock_acquire+0x518/0xc20 [ 10.126332][ T89] ? lock_acquire.part.0+0xd4/0x280 [ 10.126334][ T89] ? find_held_lock+0x2b/0x80 [ 10.126338][ T89] netlink_rcv_skb+0x14e/0x3a0 [ 10.126341][ T89] ? rtnl_link_fill+0x900/0x900 [ 10.126344][ T89] ? netlink_ack+0xcd0/0xcd0 [ 10.126350][ T89] ? netlink_deliver_tap+0xc5/0x330 [ 10.126352][ T89] ? netlink_deliver_tap+0x13c/0x330 [ 10.126357][ T89] netlink_unicast+0x486/0x750 [ 10.126361][ T89] ? netlink_attachskb+0x810/0x810 [ 10.126363][ T89] ? __lock_acquire+0x518/0xc20 [ 10.126368][ T89] netlink_sendmsg+0x735/0xc60 [ 10.126372][ T89] ? netlink_unicast+0x750/0x750 [ 10.126375][ T89] ? __might_fault+0x97/0x140 [ 10.126379][ T89] ? __might_fault+0x97/0x140 [ 10.126382][ T89] __sys_sendto+0x2aa/0x400 [ 10.126387][ T89] ? __ia32_sys_getpeername+0xd0/0xd0 [ 10.126398][ T89] ? exc_page_fault+0x87/0x100 [ 10.126403][ T89] __x64_sys_sendto+0xe4/0x1f0 [ 10.126405][ T89] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.126409][ T89] ? lockdep_hardirqs_on+0x91/0x130 [ 10.126411][ T89] ? do_syscall_64+0xa6/0x530 [ 10.126413][ T89] do_syscall_64+0xff/0x530 [ 10.126415][ T89] ? exc_page_fault+0xee/0x100 [ 10.126418][ T89] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.126421][ T89] RIP: 0033:0x7f4db9cb554e [ 10.126425][ 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 [ 10.126427][ T89] RSP: 002b:00007ffe290680c0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 10.126429][ T89] RAX: ffffffffffffffda RBX: 000055c9ead21f40 RCX: 00007f4db9cb554e [ 10.126431][ T89] RDX: 0000000000000030 RSI: 000055c9eae77160 RDI: 0000000000000020 [ 10.126432][ T89] RBP: 00007ffe290680d0 R08: 00007ffe29068120 R09: 0000000000000080 [ 10.126433][ T89] R10: 0000000000000000 R11: 0000000000000202 R12: 000055c9eae7bd60 [ 10.126433][ T89] R13: 00007ffe29068204 R14: 0000000000000000 R15: 0000000000000000 [ 10.126440][ T89] [ 10.339278][ T139] netdevsim netdevsim1337 nsim0: renamed from eni1337np1