[ 9.723609][ T228] veth0: renamed from veth-rt-1 [ 9.723668][ T228] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.723670][ T228] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 228, name: ip [ 9.723671][ T228] preempt_count: 1, expected: 0 [ 9.723672][ T228] RCU nest depth: 0, expected: 0 [ 9.723673][ T228] locks held by ip/228: 5, last CPU#3: [ 9.723675][ T228] #0: ffffffff94b1b740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 9.723686][ T228] #1: ffffffff9437ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.723692][ T228] #2: ffffffff9437de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.723696][ T228] #3: ffffffff9429d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.723699][ T228] #4: ffffffff9429d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.723703][ T228] irq event stamp: 15704 [ 9.723704][ T228] hardirqs last enabled at (15703): [] __down_trylock_console_sem+0x86/0xa0 [ 9.723707][ T228] hardirqs last disabled at (15704): [] console_emit_next_record+0x3d4/0x4c0 [ 9.723709][ T228] softirqs last enabled at (15698): [] netif_change_name+0x216/0x8c0 [ 9.723712][ T228] softirqs last disabled at (15696): [] netif_change_name+0x1ad/0x8c0 [ 9.723715][ T228] Preemption disabled at: [ 9.723715][ T228] [] vprintk_emit+0x31b/0x3e0 [ 9.723721][ T228] CPU: 3 UID: 0 PID: 228 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.723724][ T228] Tainted: [W]=WARN [ 9.723725][ T228] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.723726][ T228] Call Trace: [ 9.723728][ T228] [ 9.723729][ T228] dump_stack_lvl+0x6f/0xa0 [ 9.723735][ T228] ? vprintk_emit+0x31b/0x3e0 [ 9.723736][ T228] __might_resched.cold+0x1fe/0x2c1 [ 9.723741][ T228] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.723745][ T228] ? __kmalloc_noprof+0xdb/0x760 [ 9.723749][ T228] __kmalloc_noprof+0x443/0x760 [ 9.723751][ T228] ? alloc_buf.isra.0+0x4b/0x260 [ 9.723757][ T228] ? do_raw_spin_unlock+0x59/0x250 [ 9.723760][ T228] alloc_buf.isra.0+0x4b/0x260 [ 9.723764][ T228] put_chars+0x1e1/0x2f0 [ 9.723766][ T228] ? __send_to_port+0x420/0x420 [ 9.723772][ T228] hvc_console_print+0x292/0x780 [ 9.723780][ T228] ? hvc_write+0x3a0/0x3a0 [ 9.723783][ T228] ? lock_acquire+0x13c/0x160 [ 9.723787][ T228] console_emit_next_record+0x22f/0x4c0 [ 9.723791][ T228] ? devkmsg_read+0x4b0/0x4b0 [ 9.723793][ T228] ? console_flush_one_record+0x106/0x710 [ 9.723796][ T228] ? rcu_is_watching+0x16/0xd0 [ 9.723799][ T228] ? lock_acquire+0x13c/0x160 [ 9.723802][ T228] console_flush_one_record+0x46f/0x710 [ 9.723806][ T228] ? console_emit_next_record+0x4c0/0x4c0 [ 9.723808][ T228] ? __lock_acquire+0x518/0xc20 [ 9.723814][ T228] console_unlock+0xee/0x1f0 [ 9.723816][ T228] ? console_flush_one_record+0x710/0x710 [ 9.723818][ T228] ? rcu_is_watching+0x16/0xd0 [ 9.723820][ T228] ? lock_acquire+0xe0/0x160 [ 9.723823][ T228] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.723825][ T228] ? vprintk_emit+0x320/0x3e0 [ 9.723828][ T228] vprintk_emit+0x37c/0x3e0 [ 9.723830][ T228] ? wake_up_klogd_work_func+0x90/0x90 [ 9.723833][ T228] ? save_trace+0x68/0x280 [ 9.723837][ T228] _printk+0xc7/0x100 [ 9.723841][ T228] ? snapshot_read.cold+0x21/0x21 [ 9.723844][ T228] ? validate_chain+0x34a/0xc20 [ 9.723846][ T228] ? netdev_name+0x43/0x60 [ 9.723850][ T228] ? __netdev_printk+0x17f/0x1d0 [ 9.723853][ T228] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 9.723855][ T228] netdev_info+0xe2/0x116 [ 9.723857][ T228] ? netdev_notice+0x120/0x120 [ 9.723860][ T228] ? find_held_lock+0x2b/0x80 [ 9.723863][ T228] ? __lock_release.isra.0+0x69/0x1a0 [ 9.723865][ T228] ? mark_held_locks+0x40/0x70 [ 9.723869][ T228] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 9.723871][ T228] netif_change_name.cold+0x4f/0x89 [ 9.723873][ T228] ? is_bpf_text_address+0x68/0x110 [ 9.723878][ T228] ? netdev_adjacent_rename_links+0x470/0x470 [ 9.723881][ T228] ? __kernel_text_address+0x12/0x30 [ 9.723883][ T228] ? write_profile+0xf0/0xf0 [ 9.723887][ T228] ? __asan_memset+0x27/0x50 [ 9.723893][ T228] do_setlink.isra.0+0x1f7d/0x2a60 [ 9.723896][ T228] ? stack_trace_save+0x93/0xc0 [ 9.723898][ T228] ? rtnl_link_get_size+0x350/0x350 [ 9.723900][ T228] ? rcu_read_lock_any_held+0x66/0x90 [ 9.723902][ T228] ? stack_depot_save_flags+0x38e/0x790 [ 9.723905][ T228] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.723907][ T228] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.723909][ T228] ? validate_chain+0x38b/0xc20 [ 9.723911][ T228] ? kasan_save_stack+0x3d/0x50 [ 9.723913][ T228] ? kasan_save_stack+0x2f/0x50 [ 9.723914][ T228] ? kasan_save_track+0x14/0x30 [ 9.723916][ T228] ? __kasan_kmalloc+0x7b/0x90 [ 9.723918][ T228] ? __lock_acquire+0x518/0xc20 [ 9.723920][ T228] ? snd_ac97_proc_read_main+0x4de/0x1f00 [ 9.723923][ T228] ? ___sys_sendmsg+0xd0/0x1d0 [ 9.723926][ T228] ? lock_acquire.part.0+0xd4/0x280 [ 9.723928][ T228] ? rtnl_newlink+0x9a8/0x11b0 [ 9.723931][ T228] ? rcu_is_watching+0x16/0xd0 [ 9.723933][ T228] ? lock_acquire+0x13c/0x160 [ 9.723934][ T228] ? rcu_is_watching+0x16/0xd0 [ 9.723935][ T228] ? rcu_is_watching+0x16/0xd0 [ 9.723937][ T228] ? trace_contention_end+0xb3/0x180 [ 9.723939][ T228] ? __mutex_lock+0x1db/0x1ea0 [ 9.723941][ T228] ? __mutex_lock+0x9a3/0x1ea0 [ 9.723943][ T228] ? rtnl_newlink+0x9a8/0x11b0 [ 9.723947][ T228] ? ww_mutex_lock+0x160/0x160 [ 9.723948][ T228] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.723953][ T228] ? rcu_is_watching+0x16/0xd0 [ 9.723955][ T228] ? __rtnl_newlink+0x3fa/0xa50 [ 9.723960][ T228] rtnl_newlink+0x9f1/0x11b0 [ 9.723965][ T228] ? rtnl_bridge_getlink+0x850/0x850 [ 9.723967][ T228] ? __lock_acquire+0x518/0xc20 [ 9.723972][ T228] ? lock_acquire.part.0+0xd4/0x280 [ 9.723974][ T228] ? find_held_lock+0x2b/0x80 [ 9.723975][ T228] ? rtnl_bridge_getlink+0x850/0x850 [ 9.723977][ T228] ? __lock_release.isra.0+0x69/0x1a0 [ 9.723981][ T228] ? rtnl_bridge_getlink+0x850/0x850 [ 9.723983][ T228] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.723986][ T228] ? rtnl_link_fill+0x920/0x920 [ 9.723987][ T228] ? __lock_acquire+0x518/0xc20 [ 9.723992][ T228] ? lock_acquire.part.0+0xd4/0x280 [ 9.723993][ T228] ? find_held_lock+0x2b/0x80 [ 9.723997][ T228] netlink_rcv_skb+0x14e/0x3a0 [ 9.724000][ T228] ? rtnl_link_fill+0x920/0x920 [ 9.724003][ T228] ? netlink_ack+0xcf0/0xcf0 [ 9.724009][ T228] ? netlink_deliver_tap+0xc5/0x330 [ 9.724011][ T228] ? netlink_deliver_tap+0x13c/0x330 [ 9.724016][ T228] netlink_unicast+0x486/0x750 [ 9.724019][ T228] ? netlink_attachskb+0x810/0x810 [ 9.724022][ T228] ? find_held_lock+0x2b/0x80 [ 9.724026][ T228] netlink_sendmsg+0x75b/0xc90 [ 9.724030][ T228] ? netlink_unicast+0x750/0x750 [ 9.724034][ T228] ? __lock_release.isra.0+0x69/0x1a0 [ 9.724035][ T228] ? __import_iovec+0x36c/0x620 [ 9.724040][ T228] __sock_sendmsg+0xce/0x190 [ 9.724043][ T228] ____sys_sendmsg+0x61a/0x860 [ 9.724045][ T228] ? copy_msghdr_from_user+0x279/0x420 [ 9.724048][ T228] ? sock_write_iter+0x400/0x400 [ 9.724049][ T228] ? move_addr_to_kernel+0x40/0x40 [ 9.724056][ T228] ___sys_sendmsg+0x14e/0x1d0 [ 9.724059][ T228] ? copy_msghdr_from_user+0x420/0x420 [ 9.724079][ T228] __sys_sendmsg+0x12c/0x1d0 [ 9.724082][ T228] ? __sys_sendmsg_sock+0x20/0x20 [ 9.724088][ T228] ? rcu_is_watching+0x16/0xd0 [ 9.724091][ T228] do_syscall_64+0xff/0x530 [ 9.724094][ T228] ? exc_page_fault+0xee/0x100 [ 9.724097][ T228] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.724100][ T228] RIP: 0033:0x7fc7e3e7954e [ 9.724103][ T228] 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.724105][ T228] RSP: 002b:00007ffc1160e930 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 9.724107][ T228] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fc7e3e7954e [ 9.724109][ T228] RDX: 0000000000000000 RSI: 00007ffc1160e9e0 RDI: 0000000000000005 [ 9.724110][ T228] RBP: 00007ffc1160e940 R08: 0000000000000000 R09: 0000000000000000 [ 9.724110][ T228] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a9143f7 [ 9.724111][ T228] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffc1160f0b0 [ 9.724118][ T228] [ 9.768989][ T228] ip (228) used greatest stack depth: 23208 bytes left [ 10.028796][ T236] veth0: renamed from veth-rt-2