[ 9.259640][ T86] netdevsim netdevsim1337 eni1337np1: renamed from eth0 [ 9.259723][ T86] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.259726][ T86] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 86, name: (udev-worker) [ 9.259728][ T86] preempt_count: 1, expected: 0 [ 9.259729][ T86] RCU nest depth: 0, expected: 0 [ 9.259731][ T86] locks held by (udev-worker)/86: 6, last CPU#1: [ 9.259734][ T86] #0: ffffffff98ecfcc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 9.259748][ T86] #1: ff1100000d51add0 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 9.259755][ T86] #2: ffffffff98769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.259762][ T86] #3: ffffffff98769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.259768][ T86] #4: ffffffff98689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.259773][ T86] #5: ffffffff98689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.259779][ T86] irq event stamp: 331166 [ 9.259780][ T86] hardirqs last enabled at (331165): [] __down_trylock_console_sem+0x86/0xa0 [ 9.259783][ T86] hardirqs last disabled at (331166): [] console_emit_next_record+0x3d4/0x4c0 [ 9.259786][ T86] softirqs last enabled at (331160): [] netif_change_name+0x216/0x8c0 [ 9.259789][ T86] softirqs last disabled at (331158): [] netif_change_name+0x1ad/0x8c0 [ 9.259792][ T86] Preemption disabled at: [ 9.259793][ T86] [] vprintk_emit+0x31b/0x3e0 [ 9.259804][ T86] CPU: 1 UID: 0 PID: 86 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.259809][ T86] Tainted: [W]=WARN [ 9.259810][ T86] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.259813][ T86] Call Trace: [ 9.259815][ T86] [ 9.259817][ T86] dump_stack_lvl+0x6f/0xa0 [ 9.259824][ T86] ? vprintk_emit+0x31b/0x3e0 [ 9.259827][ T86] __might_resched.cold+0x1fe/0x2c1 [ 9.259833][ T86] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.259839][ T86] ? __kmalloc_noprof+0xdb/0x760 [ 9.259846][ T86] __kmalloc_noprof+0x443/0x760 [ 9.259849][ T86] ? alloc_buf.isra.0+0x4b/0x260 [ 9.259859][ T86] ? do_raw_spin_unlock+0x59/0x250 [ 9.259862][ T86] alloc_buf.isra.0+0x4b/0x260 [ 9.259868][ T86] put_chars+0x1e1/0x2f0 [ 9.259873][ T86] ? __send_to_port+0x420/0x420 [ 9.259881][ T86] ? validate_chain+0x34a/0xc20 [ 9.259887][ T86] hvc_console_print+0x292/0x780 [ 9.259892][ T86] ? mark_usage+0x61/0x170 [ 9.259895][ T86] ? __lock_acquire+0x518/0xc20 [ 9.259897][ T86] ? __lock_acquire+0x518/0xc20 [ 9.259904][ T86] ? hvc_write+0x3a0/0x3a0 [ 9.259908][ T86] ? console_emit_next_record+0x1df/0x4c0 [ 9.259913][ T86] ? rcu_is_watching+0x16/0xd0 [ 9.259918][ T86] ? lock_acquire+0x13c/0x160 [ 9.259925][ T86] console_emit_next_record+0x22f/0x4c0 [ 9.259931][ T86] ? devkmsg_read+0x4b0/0x4b0 [ 9.259933][ T86] ? console_flush_one_record+0x106/0x710 [ 9.259938][ T86] ? rcu_is_watching+0x16/0xd0 [ 9.259942][ T86] ? lock_acquire+0x13c/0x160 [ 9.259948][ T86] console_flush_one_record+0x46f/0x710 [ 9.259955][ T86] ? console_emit_next_record+0x4c0/0x4c0 [ 9.259957][ T86] ? __lock_acquire+0x518/0xc20 [ 9.259967][ T86] console_unlock+0xee/0x1f0 [ 9.259971][ T86] ? console_flush_one_record+0x710/0x710 [ 9.259973][ T86] ? rcu_is_watching+0x16/0xd0 [ 9.259977][ T86] ? lock_acquire+0x60/0x160 [ 9.259983][ T86] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.259985][ T86] ? vprintk_emit+0x320/0x3e0 [ 9.259990][ T86] vprintk_emit+0x37c/0x3e0 [ 9.259996][ T86] ? wake_up_klogd_work_func+0x90/0x90 [ 9.260000][ T86] ? write_profile+0xf0/0xf0 [ 9.260003][ T86] ? unwind_get_return_address+0x67/0xd0 [ 9.260014][ T86] dev_vprintk_emit+0x27f/0x2c0 [ 9.260021][ T86] ? device_rename.cold+0xa/0xa [ 9.260028][ T86] ? filter_irq_stacks+0xd0/0xd0 [ 9.260038][ T86] dev_printk_emit+0xb9/0xee [ 9.260042][ T86] ? dev_vprintk_emit+0x2c0/0x2c0 [ 9.260049][ T86] ? check_prev_add+0x316/0xe90 [ 9.260058][ T86] __netdev_printk+0x160/0x1d0 [ 9.260067][ T86] netdev_info+0xe2/0x116 [ 9.260070][ T86] ? netdev_notice+0x120/0x120 [ 9.260074][ T86] ? find_held_lock+0x2b/0x80 [ 9.260081][ T86] ? __lock_release.isra.0+0x69/0x1a0 [ 9.260085][ T86] ? mark_held_locks+0x40/0x70 [ 9.260090][ T86] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 9.260095][ T86] netif_change_name.cold+0x4f/0x89 [ 9.260099][ T86] ? __lock_acquire+0x518/0xc20 [ 9.260102][ T86] ? __lock_acquire+0x7/0xc20 [ 9.260104][ T86] ? find_held_lock+0x2/0x80 [ 9.260110][ T86] ? netdev_adjacent_rename_links+0x470/0x470 [ 9.260115][ T86] ? find_held_lock+0x2b/0x80 [ 9.260120][ T86] ? __asan_memset+0x27/0x50 [ 9.260129][ T86] do_setlink.isra.0+0x1f7d/0x2a60 [ 9.260134][ T86] ? __lock_acquire+0x518/0xc20 [ 9.260139][ T86] ? rtnl_link_get_size+0x350/0x350 [ 9.260141][ T86] ? mark_usage+0x61/0x170 [ 9.260143][ T86] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.260147][ T86] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.260150][ T86] ? validate_chain+0x38b/0xc20 [ 9.260158][ T86] ? __lock_acquire+0x518/0xc20 [ 9.260166][ T86] ? lock_acquire.part.0+0xd4/0x280 [ 9.260169][ T86] ? rtnl_setlink+0x29d/0x920 [ 9.260174][ T86] ? rcu_is_watching+0x16/0xd0 [ 9.260177][ T86] ? lock_acquire+0x13c/0x160 [ 9.260179][ T86] ? rcu_is_watching+0x16/0xd0 [ 9.260181][ T86] ? rcu_is_watching+0x16/0xd0 [ 9.260185][ T86] ? trace_contention_end+0xb3/0x180 [ 9.260189][ T86] ? __mutex_lock+0x1db/0x1ea0 [ 9.260194][ T86] ? __mutex_lock+0x9a3/0x1ea0 [ 9.260197][ T86] ? __lock_acquire+0x518/0xc20 [ 9.260200][ T86] ? rtnl_setlink+0x29d/0x920 [ 9.260203][ T86] ? mark_usage+0x61/0x170 [ 9.260208][ T86] ? ww_mutex_lock+0x160/0x160 [ 9.260211][ T86] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.260220][ T86] ? mark_usage+0x61/0x170 [ 9.260225][ T86] ? cap_capable+0x1d7/0x3d0 [ 9.260237][ T86] rtnl_setlink+0x527/0x920 [ 9.260243][ T86] ? __rtnl_newlink+0xa50/0xa50 [ 9.260245][ T86] ? __lock_acquire+0x518/0xc20 [ 9.260288][ T86] ? lock_acquire.part.0+0xd4/0x280 [ 9.260291][ T86] ? find_held_lock+0x2b/0x80 [ 9.260296][ T86] ? __lock_release.isra.0+0x69/0x1a0 [ 9.260299][ T86] ? mark_usage+0x61/0x170 [ 9.260302][ T86] ? __lock_acquire+0x518/0xc20 [ 9.260310][ T86] ? lock_acquire.part.0+0xd4/0x280 [ 9.260312][ T86] ? find_held_lock+0x2b/0x80 [ 9.260316][ T86] ? __rtnl_newlink+0xa50/0xa50 [ 9.260319][ T86] ? __lock_release.isra.0+0x69/0x1a0 [ 9.260326][ T86] ? __rtnl_newlink+0xa50/0xa50 [ 9.260330][ T86] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.260335][ T86] ? rtnl_link_fill+0x900/0x900 [ 9.260338][ T86] ? __lock_acquire+0x518/0xc20 [ 9.260346][ T86] ? lock_acquire.part.0+0xd4/0x280 [ 9.260348][ T86] ? find_held_lock+0x2b/0x80 [ 9.260355][ T86] netlink_rcv_skb+0x14e/0x3a0 [ 9.260359][ T86] ? rtnl_link_fill+0x900/0x900 [ 9.260364][ T86] ? netlink_ack+0xcd0/0xcd0 [ 9.260376][ T86] ? netlink_deliver_tap+0xc5/0x330 [ 9.260379][ T86] ? netlink_deliver_tap+0x13c/0x330 [ 9.260387][ T86] netlink_unicast+0x486/0x750 [ 9.260394][ T86] ? netlink_attachskb+0x810/0x810 [ 9.260397][ T86] ? __lock_acquire+0x518/0xc20 [ 9.260406][ T86] netlink_sendmsg+0x735/0xc60 [ 9.260413][ T86] ? netlink_unicast+0x750/0x750 [ 9.260419][ T86] ? __might_fault+0x97/0x140 [ 9.260423][ T86] ? __might_fault+0x97/0x140 [ 9.260430][ T86] __sys_sendto+0x2aa/0x400 [ 9.260436][ T86] ? __ia32_sys_getpeername+0xd0/0xd0 [ 9.260463][ T86] __x64_sys_sendto+0xe4/0x1f0 [ 9.260467][ T86] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.260472][ T86] ? lockdep_hardirqs_on+0x91/0x130 [ 9.260475][ T86] ? do_syscall_64+0xa6/0x530 [ 9.260478][ T86] do_syscall_64+0xff/0x530 [ 9.260481][ T86] ? exc_page_fault+0xee/0x100 [ 9.260485][ T86] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.260489][ T86] RIP: 0033:0x7f6422c7f54e [ 9.260495][ T86] 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.260497][ T86] RSP: 002b:00007ffc5e1d2820 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 9.260501][ T86] RAX: ffffffffffffffda RBX: 00005645d29b3f50 RCX: 00007f6422c7f54e [ 9.260503][ T86] RDX: 0000000000000030 RSI: 00005645d2b59920 RDI: 000000000000001a [ 9.260504][ T86] RBP: 00007ffc5e1d2830 R08: 00007ffc5e1d2880 R09: 0000000000000080 [ 9.260506][ T86] R10: 0000000000000000 R11: 0000000000000202 R12: 00005645d2b62300 [ 9.260507][ T86] R13: 00007ffc5e1d2964 R14: 0000000000000000 R15: 0000000000000000 [ 9.260521][ T86] [ 9.491896][ T138] netdevsim netdevsim1337 nsim0: renamed from eni1337np1 [ 9.532133][ T139] ip (139) used greatest stack depth: 24752 bytes left