[ 10.933800][ T182] netdevsim netdevsim29385 eni29385np1: renamed from eth0 [ 10.933862][ T182] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.933864][ T182] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 182, name: (udev-worker) [ 10.933866][ T182] preempt_count: 1, expected: 0 [ 10.933867][ T182] RCU nest depth: 0, expected: 0 [ 10.933868][ T182] locks held by (udev-worker)/182: 6, last CPU#3: [ 10.933870][ T182] #0: ffffffffbb905fc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 10.933882][ T182] #1: ff1100000c07ade8 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 10.933886][ T182] #2: ffffffffbb199cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.933891][ T182] #3: ffffffffbb199d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.933896][ T182] #4: ffffffffbb089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.933899][ T182] #5: ffffffffbb089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.933903][ T182] irq event stamp: 23030 [ 10.933904][ T182] hardirqs last enabled at (23029): [] __down_trylock_console_sem+0x86/0xa0 [ 10.933907][ T182] hardirqs last disabled at (23030): [] console_emit_next_record+0x3f8/0x4f0 [ 10.933909][ T182] softirqs last enabled at (23024): [] netif_change_name+0x216/0x8c0 [ 10.933912][ T182] softirqs last disabled at (23022): [] netif_change_name+0x1ad/0x8c0 [ 10.933915][ T182] Preemption disabled at: [ 10.933915][ T182] [] vprintk_emit+0x31b/0x3e0 [ 10.933920][ T182] CPU: 3 UID: 0 PID: 182 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.933924][ T182] Tainted: [W]=WARN [ 10.933924][ T182] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.933926][ T182] Call Trace: [ 10.933928][ T182] [ 10.933930][ T182] dump_stack_lvl+0x6f/0xa0 [ 10.933936][ T182] ? vprintk_emit+0x31b/0x3e0 [ 10.933937][ T182] __might_resched.cold+0x1fe/0x2c1 [ 10.933942][ T182] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.933946][ T182] ? __kmalloc_noprof+0xdb/0x760 [ 10.933952][ T182] __kmalloc_noprof+0x443/0x760 [ 10.933954][ T182] ? alloc_buf.isra.0+0x4b/0x260 [ 10.933960][ T182] ? do_raw_spin_unlock+0x59/0x250 [ 10.933963][ T182] alloc_buf.isra.0+0x4b/0x260 [ 10.933967][ T182] put_chars+0x1e1/0x2f0 [ 10.933970][ T182] ? __send_to_port+0x420/0x420 [ 10.933974][ T182] ? validate_chain+0x34a/0xc20 [ 10.933979][ T182] hvc_console_print+0x292/0x780 [ 10.933982][ T182] ? __lock_acquire+0x518/0xc20 [ 10.933988][ T182] ? hvc_write+0x3a0/0x3a0 [ 10.933991][ T182] ? rcu_is_watching+0x16/0xd0 [ 10.933996][ T182] console_emit_next_record+0x252/0x4f0 [ 10.934000][ T182] ? devkmsg_read+0x4e0/0x4e0 [ 10.934005][ T182] ? rcu_is_watching+0x16/0xd0 [ 10.934007][ T182] ? lock_acquire+0x13c/0x160 [ 10.934011][ T182] console_flush_one_record+0x46f/0x710 [ 10.934015][ T182] ? console_emit_next_record+0x4f0/0x4f0 [ 10.934017][ T182] ? __lock_acquire+0x518/0xc20 [ 10.934022][ T182] console_unlock+0xee/0x1f0 [ 10.934025][ T182] ? console_flush_one_record+0x710/0x710 [ 10.934027][ T182] ? rcu_is_watching+0x16/0xd0 [ 10.934029][ T182] ? lock_acquire+0x60/0x160 [ 10.934033][ T182] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.934035][ T182] ? vprintk_emit+0x320/0x3e0 [ 10.934038][ T182] vprintk_emit+0x37c/0x3e0 [ 10.934041][ T182] ? wake_up_klogd_work_func+0x90/0x90 [ 10.934042][ T182] ? write_profile+0xf0/0xf0 [ 10.934045][ T182] ? unwind_get_return_address+0x67/0xd0 [ 10.934051][ T182] dev_vprintk_emit+0x27f/0x2c0 [ 10.934057][ T182] ? device_rename.cold+0xa/0xa [ 10.934061][ T182] ? filter_irq_stacks+0xd0/0xd0 [ 10.934066][ T182] dev_printk_emit+0xb9/0xee [ 10.934069][ T182] ? dev_vprintk_emit+0x2c0/0x2c0 [ 10.934073][ T182] ? check_prev_add+0x316/0xe90 [ 10.934078][ T182] __netdev_printk+0x160/0x1d0 [ 10.934084][ T182] netdev_info+0xe2/0x116 [ 10.934086][ T182] ? netdev_notice+0x120/0x120 [ 10.934089][ T182] ? find_held_lock+0x2b/0x80 [ 10.934092][ T182] ? __lock_release.isra.0+0x69/0x1a0 [ 10.934094][ T182] ? mark_held_locks+0x40/0x70 [ 10.934098][ T182] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.934101][ T182] netif_change_name.cold+0x4f/0x89 [ 10.934103][ T182] ? __lock_acquire+0x518/0xc20 [ 10.934105][ T182] ? mark_lock_irq+0x747/0x9c0 [ 10.934107][ T182] ? find_held_lock+0x2/0x80 [ 10.934110][ T182] ? netdev_adjacent_rename_links+0x470/0x470 [ 10.934113][ T182] ? find_held_lock+0x2b/0x80 [ 10.934115][ T182] ? __asan_memset+0x27/0x50 [ 10.934121][ T182] do_setlink.isra.0+0x1f7d/0x2a60 [ 10.934123][ T182] ? __lock_acquire+0x518/0xc20 [ 10.934127][ T182] ? rtnl_link_get_size+0x350/0x350 [ 10.934128][ T182] ? mark_usage+0x61/0x170 [ 10.934130][ T182] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.934132][ T182] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.934135][ T182] ? validate_chain+0x38b/0xc20 [ 10.934145][ T182] ? __lock_acquire+0x518/0xc20 [ 10.934151][ T182] ? lock_acquire.part.0+0xd4/0x280 [ 10.934153][ T182] ? rtnl_setlink+0x29d/0x920 [ 10.934156][ T182] ? rcu_is_watching+0x16/0xd0 [ 10.934158][ T182] ? lock_acquire+0x13c/0x160 [ 10.934160][ T182] ? rcu_is_watching+0x16/0xd0 [ 10.934161][ T182] ? rcu_is_watching+0x16/0xd0 [ 10.934163][ T182] ? trace_contention_end+0xb3/0x180 [ 10.934165][ T182] ? __mutex_lock+0x1db/0x1ea0 [ 10.934169][ T182] ? __mutex_lock+0x9a3/0x1ea0 [ 10.934171][ T182] ? __lock_acquire+0x518/0xc20 [ 10.934173][ T182] ? rtnl_setlink+0x29d/0x920 [ 10.934175][ T182] ? mark_usage+0x61/0x170 [ 10.934178][ T182] ? ww_mutex_lock+0x160/0x160 [ 10.934180][ T182] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.934186][ T182] ? mark_usage+0x61/0x170 [ 10.934189][ T182] ? cap_capable+0x1d7/0x3d0 [ 10.934196][ T182] rtnl_setlink+0x527/0x920 [ 10.934200][ T182] ? __rtnl_newlink+0xa50/0xa50 [ 10.934201][ T182] ? __lock_acquire+0x518/0xc20 [ 10.934223][ T182] ? lock_acquire.part.0+0xd4/0x280 [ 10.934225][ T182] ? find_held_lock+0x2b/0x80 [ 10.934228][ T182] ? __lock_release.isra.0+0x69/0x1a0 [ 10.934230][ T182] ? mark_usage+0x61/0x170 [ 10.934232][ T182] ? __lock_acquire+0x518/0xc20 [ 10.934237][ T182] ? lock_acquire.part.0+0xd4/0x280 [ 10.934239][ T182] ? find_held_lock+0x2b/0x80 [ 10.934241][ T182] ? __rtnl_newlink+0xa50/0xa50 [ 10.934243][ T182] ? __lock_release.isra.0+0x69/0x1a0 [ 10.934247][ T182] ? __rtnl_newlink+0xa50/0xa50 [ 10.934249][ T182] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.934253][ T182] ? rtnl_link_fill+0x900/0x900 [ 10.934254][ T182] ? __lock_acquire+0x518/0xc20 [ 10.934259][ T182] ? lock_acquire.part.0+0xd4/0x280 [ 10.934261][ T182] ? find_held_lock+0x2b/0x80 [ 10.934264][ T182] netlink_rcv_skb+0x14e/0x3a0 [ 10.934268][ T182] ? rtnl_link_fill+0x900/0x900 [ 10.934271][ T182] ? netlink_ack+0xcd0/0xcd0 [ 10.934277][ T182] ? netlink_deliver_tap+0xc5/0x330 [ 10.934279][ T182] ? netlink_deliver_tap+0x13c/0x330 [ 10.934284][ T182] netlink_unicast+0x486/0x750 [ 10.934288][ T182] ? netlink_attachskb+0x810/0x810 [ 10.934291][ T182] ? __lock_acquire+0x518/0xc20 [ 10.934296][ T182] netlink_sendmsg+0x735/0xc60 [ 10.934300][ T182] ? netlink_unicast+0x750/0x750 [ 10.934304][ T182] ? __might_fault+0x97/0x140 [ 10.934308][ T182] ? __might_fault+0x97/0x140 [ 10.934312][ T182] __sys_sendto+0x2aa/0x400 [ 10.934315][ T182] ? __ia32_sys_getpeername+0xd0/0xd0 [ 10.934325][ T182] ? exc_page_fault+0x87/0x100 [ 10.934330][ T182] __x64_sys_sendto+0xe4/0x1f0 [ 10.934332][ T182] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.934335][ T182] ? lockdep_hardirqs_on+0x91/0x130 [ 10.934337][ T182] ? do_syscall_64+0xa6/0x530 [ 10.934339][ T182] do_syscall_64+0xff/0x530 [ 10.934341][ T182] ? exc_page_fault+0xee/0x100 [ 10.934344][ T182] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.934346][ T182] RIP: 0033:0x7f43ded2854e [ 10.934350][ T182] 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.934352][ T182] RSP: 002b:00007fffd8fa1980 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 10.934354][ T182] RAX: ffffffffffffffda RBX: 0000558b60f2aec0 RCX: 00007f43ded2854e [ 10.934356][ T182] RDX: 0000000000000030 RSI: 0000558b60da99d0 RDI: 0000000000000014 [ 10.934356][ T182] RBP: 00007fffd8fa1990 R08: 00007fffd8fa19e0 R09: 0000000000000080 [ 10.934357][ T182] R10: 0000000000000000 R11: 0000000000000202 R12: 0000558b60f23a00 [ 10.934358][ T182] R13: 00007fffd8fa1ac4 R14: 0000000000000000 R15: 0000000000000000 [ 10.934365][ T182] [ 11.156265][ T182] netdevsim netdevsim26505 eni26505np1: renamed from eth0 [ 14.594293][ T223] iperf3 (223) used greatest stack depth: 23256 bytes left [ 14.594314][ T223] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.594317][ T223] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 223, name: iperf3 [ 14.594319][ T223] preempt_count: 2, expected: 0 [ 14.594319][ T223] RCU nest depth: 0, expected: 0 [ 14.594320][ T223] locks held by iperf3/223: 5, last CPU#1: [ 14.594323][ T223] #0: ffffffffbb0027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 14.594335][ T223] #1: ffffffffbb199cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.594340][ T223] #2: ffffffffbb199d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.594344][ T223] #3: ffffffffbb089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.594348][ T223] #4: ffffffffbb089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 14.594353][ T223] irq event stamp: 28440 [ 14.594354][ T223] hardirqs last enabled at (28439): [] __down_trylock_console_sem+0x86/0xa0 [ 14.594357][ T223] hardirqs last disabled at (28440): [] console_emit_next_record+0x3f8/0x4f0 [ 14.594359][ T223] softirqs last enabled at (28390): [] tcp_recvmsg+0x114/0x4f0 [ 14.594363][ T223] softirqs last disabled at (28388): [] release_sock+0x21/0x240 [ 14.594367][ T223] Preemption disabled at: [ 14.594368][ T223] [<0000000000000000>] 0x0 [ 14.594374][ T223] CPU: 1 UID: 0 PID: 223 Comm: iperf3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.594378][ T223] Tainted: [W]=WARN [ 14.594379][ T223] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.594381][ T223] Call Trace: [ 14.594382][ T223] [ 14.594384][ T223] dump_stack_lvl+0x6f/0xa0 [ 14.594390][ T223] __might_resched.cold+0x1fe/0x2c1 [ 14.594395][ T223] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.594399][ T223] ? __kmalloc_noprof+0xdb/0x760 [ 14.594405][ T223] __kmalloc_noprof+0x443/0x760 [ 14.594408][ T223] ? alloc_buf.isra.0+0x4b/0x260 [ 14.594414][ T223] ? do_raw_spin_unlock+0x59/0x250 [ 14.594417][ T223] alloc_buf.isra.0+0x4b/0x260 [ 14.594421][ T223] put_chars+0x1e1/0x2f0 [ 14.594424][ T223] ? __send_to_port+0x420/0x420 [ 14.594427][ T223] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 14.594430][ T223] ? rcu_read_lock_any_held+0x3c/0x90 [ 14.594433][ T223] ? validate_chain+0x38b/0xc20 [ 14.594437][ T223] hvc_console_print+0x292/0x780 [ 14.594441][ T223] ? mark_usage+0x61/0x170 [ 14.594443][ T223] ? __lock_acquire+0x518/0xc20 [ 14.594444][ T223] ? __lock_acquire+0x518/0xc20 [ 14.594449][ T223] ? hvc_write+0x3a0/0x3a0 [ 14.594450][ T223] ? lock_acquire.part.0+0xd4/0x280 [ 14.594455][ T223] ? lock_acquire+0x13c/0x160 [ 14.594459][ T223] console_emit_next_record+0x252/0x4f0 [ 14.594463][ T223] ? devkmsg_read+0x4e0/0x4e0 [ 14.594467][ T223] ? rcu_is_watching+0x16/0xd0 [ 14.594470][ T223] ? lock_acquire+0x13c/0x160 [ 14.594474][ T223] console_flush_one_record+0x46f/0x710 [ 14.594478][ T223] ? console_emit_next_record+0x4f0/0x4f0 [ 14.594480][ T223] ? __lock_acquire+0x518/0xc20 [ 14.594485][ T223] console_unlock+0xee/0x1f0 [ 14.594488][ T223] ? console_flush_one_record+0x710/0x710 [ 14.594490][ T223] ? rcu_is_watching+0x16/0xd0 [ 14.594491][ T223] ? lock_acquire+0x60/0x160 [ 14.594495][ T223] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.594497][ T223] ? vprintk_emit+0x320/0x3e0 [ 14.594500][ T223] vprintk_emit+0x37c/0x3e0 [ 14.594503][ T223] ? wake_up_klogd_work_func+0x90/0x90 [ 14.594506][ T223] ? __lock_acquire+0x518/0xc20 [ 14.594509][ T223] _printk+0xc7/0x100 [ 14.594513][ T223] ? snapshot_read.cold+0x21/0x21 [ 14.594516][ T223] ? do_raw_spin_lock+0x131/0x280 [ 14.594518][ T223] ? __rwlock_init+0x150/0x150 [ 14.594522][ T223] ? do_raw_spin_lock+0x131/0x280 [ 14.594525][ T223] do_exit.cold+0x82/0x9c [ 14.594529][ T223] ? exit_notify+0x890/0x890 [ 14.594530][ T223] ? find_held_lock+0x2b/0x80 [ 14.594533][ T223] ? __lock_release.isra.0+0x69/0x1a0 [ 14.594535][ T223] ? __rwlock_init+0x150/0x150 [ 14.594539][ T223] do_group_exit+0xb8/0x370 [ 14.594540][ T223] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 14.594542][ T223] ? lockdep_hardirqs_on+0x91/0x130 [ 14.594545][ T223] ? _raw_spin_unlock_irq+0x28/0x50 [ 14.594547][ T223] ? _raw_spin_unlock_irq+0x33/0x50 [ 14.594549][ T223] get_signal+0x1886/0x1980 [ 14.594553][ T223] ? new_sync_read+0x3fb/0x750 [ 14.594559][ T223] ? ptrace_signal+0x600/0x600 [ 14.594562][ T223] ? __lock_release.isra.0+0x69/0x1a0 [ 14.594566][ T223] arch_do_signal_or_restart+0xc2/0x3a0 [ 14.594570][ T223] ? __fget_files+0x1e3/0x460 [ 14.594573][ T223] ? get_sigframe_size+0x20/0x20 [ 14.594578][ T223] ? rcu_is_watching+0x16/0xd0 [ 14.594580][ T223] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 14.594584][ T223] exit_to_user_mode_loop+0xd5/0x5a0 [ 14.594587][ T223] ? rcu_is_watching+0x16/0xd0 [ 14.594590][ T223] do_syscall_64+0x3e3/0x530 [ 14.594592][ T223] ? irq_exit_rcu+0x1a/0x30 [ 14.594595][ T223] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.594598][ T223] RIP: 0033:0x7f4b1c5ce312 [ 14.594600][ T223] Code: Unable to access opcode bytes at 0x7f4b1c5ce2e8. [ 14.594601][ T223] RSP: 002b:00007f4b1a3a1c98 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 [ 14.594603][ T223] RAX: fffffffffffffe00 RBX: 000000000001387c RCX: 00007f4b1c5ce312 [ 14.594605][ T223] RDX: 000000000001387c RSI: 00007f4b1bd32784 RDI: 000000000000000c [ 14.594606][ T223] RBP: 00007f4b1a3a1cc0 R08: 0000000000000000 R09: 0000000000000000 [ 14.594606][ T223] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000020000 [ 14.594607][ T223] R13: 000000000000000c R14: 0000000000000000 R15: 00007f4b1bd32784 [ 14.594614][ T223] [ 15.592573][ T182] (udev-worker) (182) used greatest stack depth: 22696 bytes left