[ 10.077448][ T84] netdevsim netdevsim1337 eni1337np1: renamed from eth0 [ 10.077506][ T84] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.077508][ T84] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 84, name: (udev-worker) [ 10.077510][ T84] preempt_count: 1, expected: 0 [ 10.077511][ T84] RCU nest depth: 0, expected: 0 [ 10.077512][ T84] locks held by (udev-worker)/84: 6, last CPU#0: [ 10.077514][ T84] #0: ffffffff906cfcc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 10.077526][ T84] #1: ff11000008dcadd0 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 10.077531][ T84] #2: ffffffff8ff69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.077539][ T84] #3: ffffffff8ff69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.077542][ T84] #4: ffffffff8fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.077546][ T84] #5: ffffffff8fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.077549][ T84] irq event stamp: 448382 [ 10.077550][ T84] hardirqs last enabled at (448381): [] __down_trylock_console_sem+0x86/0xa0 [ 10.077553][ T84] hardirqs last disabled at (448382): [] console_emit_next_record+0x3d4/0x4c0 [ 10.077555][ T84] softirqs last enabled at (448376): [] netif_change_name+0x216/0x8c0 [ 10.077557][ T84] softirqs last disabled at (448374): [] netif_change_name+0x1ad/0x8c0 [ 10.077559][ T84] Preemption disabled at: [ 10.077560][ T84] [] vprintk_emit+0x31b/0x3e0 [ 10.077566][ T84] CPU: 0 UID: 0 PID: 84 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.077569][ T84] Tainted: [W]=WARN [ 10.077570][ T84] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.077572][ T84] Call Trace: [ 10.077573][ T84] [ 10.077575][ T84] dump_stack_lvl+0x6f/0xa0 [ 10.077581][ T84] ? vprintk_emit+0x31b/0x3e0 [ 10.077583][ T84] __might_resched.cold+0x1fe/0x2c1 [ 10.077588][ T84] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.077592][ T84] ? __kmalloc_noprof+0xdb/0x760 [ 10.077597][ T84] __kmalloc_noprof+0x443/0x760 [ 10.077599][ T84] ? alloc_buf.isra.0+0x4b/0x260 [ 10.077605][ T84] ? do_raw_spin_unlock+0x59/0x250 [ 10.077608][ T84] alloc_buf.isra.0+0x4b/0x260 [ 10.077611][ T84] put_chars+0x1e1/0x2f0 [ 10.077615][ T84] ? __send_to_port+0x420/0x420 [ 10.077620][ T84] ? validate_chain+0x34a/0xc20 [ 10.077623][ T84] hvc_console_print+0x292/0x780 [ 10.077627][ T84] ? mark_usage+0x61/0x170 [ 10.077629][ T84] ? __lock_acquire+0x518/0xc20 [ 10.077630][ T84] ? __lock_acquire+0x518/0xc20 [ 10.077634][ T84] ? hvc_write+0x3a0/0x3a0 [ 10.077636][ T84] ? console_emit_next_record+0x1df/0x4c0 [ 10.077639][ T84] ? rcu_is_watching+0x16/0xd0 [ 10.077643][ T84] ? lock_acquire+0x13c/0x160 [ 10.077647][ T84] console_emit_next_record+0x22f/0x4c0 [ 10.077650][ T84] ? devkmsg_read+0x4b0/0x4b0 [ 10.077652][ T84] ? console_flush_one_record+0x106/0x710 [ 10.077655][ T84] ? rcu_is_watching+0x16/0xd0 [ 10.077657][ T84] ? lock_acquire+0x13c/0x160 [ 10.077661][ T84] console_flush_one_record+0x46f/0x710 [ 10.077665][ T84] ? console_emit_next_record+0x4c0/0x4c0 [ 10.077666][ T84] ? __lock_acquire+0x518/0xc20 [ 10.077671][ T84] console_unlock+0xee/0x1f0 [ 10.077674][ T84] ? console_flush_one_record+0x710/0x710 [ 10.077675][ T84] ? rcu_is_watching+0x16/0xd0 [ 10.077677][ T84] ? lock_acquire+0x60/0x160 [ 10.077681][ T84] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.077682][ T84] ? vprintk_emit+0x320/0x3e0 [ 10.077686][ T84] vprintk_emit+0x37c/0x3e0 [ 10.077689][ T84] ? wake_up_klogd_work_func+0x90/0x90 [ 10.077691][ T84] ? write_profile+0xf0/0xf0 [ 10.077694][ T84] ? unwind_get_return_address+0x67/0xd0 [ 10.077701][ T84] dev_vprintk_emit+0x27f/0x2c0 [ 10.077706][ T84] ? device_rename.cold+0xa/0xa [ 10.077710][ T84] ? filter_irq_stacks+0xd0/0xd0 [ 10.077716][ T84] dev_printk_emit+0xb9/0xee [ 10.077719][ T84] ? dev_vprintk_emit+0x2c0/0x2c0 [ 10.077723][ T84] ? check_prev_add+0x316/0xe90 [ 10.077728][ T84] __netdev_printk+0x160/0x1d0 [ 10.077733][ T84] netdev_info+0xe2/0x116 [ 10.077735][ T84] ? netdev_notice+0x120/0x120 [ 10.077738][ T84] ? find_held_lock+0x2b/0x80 [ 10.077742][ T84] ? __lock_release.isra.0+0x69/0x1a0 [ 10.077744][ T84] ? mark_held_locks+0x40/0x70 [ 10.077747][ T84] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.077750][ T84] netif_change_name.cold+0x4f/0x89 [ 10.077753][ T84] ? __lock_acquire+0x518/0xc20 [ 10.077754][ T84] ? __lock_acquire+0x7/0xc20 [ 10.077756][ T84] ? find_held_lock+0x2/0x80 [ 10.077759][ T84] ? netdev_adjacent_rename_links+0x470/0x470 [ 10.077762][ T84] ? find_held_lock+0x2b/0x80 [ 10.077765][ T84] ? __asan_memset+0x27/0x50 [ 10.077770][ T84] do_setlink.isra.0+0x1f7d/0x2a60 [ 10.077773][ T84] ? __lock_acquire+0x518/0xc20 [ 10.077776][ T84] ? rtnl_link_get_size+0x350/0x350 [ 10.077777][ T84] ? mark_usage+0x61/0x170 [ 10.077779][ T84] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.077781][ T84] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.077784][ T84] ? validate_chain+0x38b/0xc20 [ 10.077793][ T84] ? __lock_acquire+0x518/0xc20 [ 10.077795][ T84] ? __lock_acquire+0x6e/0xc20 [ 10.077796][ T84] ? __print_lock_name+0x80/0x80 [ 10.077800][ T84] ? lock_acquire.part.0+0xd4/0x280 [ 10.077802][ T84] ? rtnl_setlink+0x29d/0x920 [ 10.077805][ T84] ? rcu_is_watching+0x16/0xd0 [ 10.077807][ T84] ? lock_acquire+0x13c/0x160 [ 10.077809][ T84] ? rcu_is_watching+0x16/0xd0 [ 10.077810][ T84] ? rcu_is_watching+0x16/0xd0 [ 10.077812][ T84] ? trace_contention_end+0xb3/0x180 [ 10.077815][ T84] ? __mutex_lock+0x1db/0x1ea0 [ 10.077819][ T84] ? __mutex_lock+0x9a3/0x1ea0 [ 10.077821][ T84] ? __lock_acquire+0x518/0xc20 [ 10.077823][ T84] ? rtnl_setlink+0x29d/0x920 [ 10.077825][ T84] ? mark_usage+0x61/0x170 [ 10.077828][ T84] ? ww_mutex_lock+0x160/0x160 [ 10.077830][ T84] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.077836][ T84] ? mark_usage+0x61/0x170 [ 10.077839][ T84] ? cap_capable+0x1d7/0x3d0 [ 10.077846][ T84] rtnl_setlink+0x527/0x920 [ 10.077850][ T84] ? __rtnl_newlink+0xa50/0xa50 [ 10.077851][ T84] ? __lock_acquire+0x518/0xc20 [ 10.077874][ T84] ? lock_acquire.part.0+0xd4/0x280 [ 10.077875][ T84] ? find_held_lock+0x2b/0x80 [ 10.077879][ T84] ? __lock_release.isra.0+0x69/0x1a0 [ 10.077880][ T84] ? mark_usage+0x61/0x170 [ 10.077882][ T84] ? __lock_acquire+0x518/0xc20 [ 10.077887][ T84] ? lock_acquire.part.0+0xd4/0x280 [ 10.077888][ T84] ? find_held_lock+0x2b/0x80 [ 10.077891][ T84] ? __rtnl_newlink+0xa50/0xa50 [ 10.077893][ T84] ? __lock_release.isra.0+0x69/0x1a0 [ 10.077896][ T84] ? __rtnl_newlink+0xa50/0xa50 [ 10.077899][ T84] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.077902][ T84] ? rtnl_link_fill+0x900/0x900 [ 10.077904][ T84] ? __lock_acquire+0x518/0xc20 [ 10.077908][ T84] ? lock_acquire.part.0+0xd4/0x280 [ 10.077909][ T84] ? find_held_lock+0x2b/0x80 [ 10.077913][ T84] netlink_rcv_skb+0x14e/0x3a0 [ 10.077917][ T84] ? rtnl_link_fill+0x900/0x900 [ 10.077920][ T84] ? netlink_ack+0xcd0/0xcd0 [ 10.077927][ T84] ? netlink_deliver_tap+0xc5/0x330 [ 10.077928][ T84] ? netlink_deliver_tap+0x13c/0x330 [ 10.077933][ T84] netlink_unicast+0x486/0x750 [ 10.077937][ T84] ? netlink_attachskb+0x810/0x810 [ 10.077939][ T84] ? __lock_acquire+0x518/0xc20 [ 10.077941][ T84] ? do_raw_spin_trylock+0x161/0x180 [ 10.077945][ T84] netlink_sendmsg+0x735/0xc60 [ 10.077949][ T84] ? netlink_unicast+0x750/0x750 [ 10.077952][ T84] ? __might_fault+0x97/0x140 [ 10.077956][ T84] ? __might_fault+0x97/0x140 [ 10.077959][ T84] __sys_sendto+0x2aa/0x400 [ 10.077964][ T84] ? __ia32_sys_getpeername+0xd0/0xd0 [ 10.077975][ T84] ? exc_page_fault+0x87/0x100 [ 10.077980][ T84] __x64_sys_sendto+0xe4/0x1f0 [ 10.077983][ T84] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.077986][ T84] ? lockdep_hardirqs_on+0x91/0x130 [ 10.077988][ T84] ? do_syscall_64+0xa6/0x530 [ 10.077990][ T84] do_syscall_64+0xff/0x530 [ 10.077992][ T84] ? exc_page_fault+0xee/0x100 [ 10.077995][ T84] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.077997][ T84] RIP: 0033:0x7f7d8269454e [ 10.078001][ T84] 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.078003][ T84] RSP: 002b:00007ffe637bc4e0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 10.078006][ T84] RAX: ffffffffffffffda RBX: 0000555dcee01f30 RCX: 00007f7d8269454e [ 10.078007][ T84] RDX: 0000000000000030 RSI: 0000555dcef5f430 RDI: 0000000000000018 [ 10.078008][ T84] RBP: 00007ffe637bc4f0 R08: 00007ffe637bc540 R09: 0000000000000080 [ 10.078009][ T84] R10: 0000000000000000 R11: 0000000000000202 R12: 0000555dcef608e0 [ 10.078010][ T84] R13: 00007ffe637bc624 R14: 0000000000000000 R15: 0000000000000000 [ 10.078017][ T84] [ 10.403783][ T139] netdevsim netdevsim1337 nsim0: renamed from eni1337np1