[ 10.321060][ T229] veth0: renamed from veth-rt-1 [ 10.321119][ T229] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.321121][ T229] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 229, name: ip [ 10.321123][ T229] preempt_count: 1, expected: 0 [ 10.321124][ T229] RCU nest depth: 0, expected: 0 [ 10.321125][ T229] locks held by ip/229: 5, last CPU#0: [ 10.321126][ T229] #0: ffffffff8cf1b740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 10.321141][ T229] #1: ffffffff8c77ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.321146][ T229] #2: ffffffff8c77de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.321151][ T229] #3: ffffffff8c69d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.321154][ T229] #4: ffffffff8c69d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.321158][ T229] irq event stamp: 22852 [ 10.321159][ T229] hardirqs last enabled at (22851): [] __down_trylock_console_sem+0x86/0xa0 [ 10.321162][ T229] hardirqs last disabled at (22852): [] console_emit_next_record+0x3d4/0x4c0 [ 10.321164][ T229] softirqs last enabled at (22846): [] netif_change_name+0x216/0x8c0 [ 10.321167][ T229] softirqs last disabled at (22844): [] netif_change_name+0x1ad/0x8c0 [ 10.321170][ T229] Preemption disabled at: [ 10.321170][ T229] [] vprintk_emit+0x31b/0x3e0 [ 10.321175][ T229] CPU: 0 UID: 0 PID: 229 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.321179][ T229] Tainted: [W]=WARN [ 10.321180][ T229] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.321181][ T229] Call Trace: [ 10.321183][ T229] [ 10.321184][ T229] dump_stack_lvl+0x6f/0xa0 [ 10.321190][ T229] ? vprintk_emit+0x31b/0x3e0 [ 10.321192][ T229] __might_resched.cold+0x1fe/0x2c1 [ 10.321196][ T229] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.321200][ T229] ? __kmalloc_noprof+0xdb/0x760 [ 10.321205][ T229] __kmalloc_noprof+0x443/0x760 [ 10.321206][ T229] ? alloc_buf.isra.0+0x4b/0x260 [ 10.321212][ T229] ? do_raw_spin_unlock+0x59/0x250 [ 10.321215][ T229] alloc_buf.isra.0+0x4b/0x260 [ 10.321219][ T229] put_chars+0x1e1/0x2f0 [ 10.321221][ T229] ? __send_to_port+0x420/0x420 [ 10.321227][ T229] hvc_console_print+0x292/0x780 [ 10.321234][ T229] ? hvc_write+0x3a0/0x3a0 [ 10.321237][ T229] ? lock_acquire+0x13c/0x160 [ 10.321242][ T229] console_emit_next_record+0x22f/0x4c0 [ 10.321246][ T229] ? devkmsg_read+0x4b0/0x4b0 [ 10.321247][ T229] ? console_flush_one_record+0x106/0x710 [ 10.321250][ T229] ? rcu_is_watching+0x16/0xd0 [ 10.321253][ T229] ? lock_acquire+0x13c/0x160 [ 10.321257][ T229] console_flush_one_record+0x46f/0x710 [ 10.321261][ T229] ? console_emit_next_record+0x4c0/0x4c0 [ 10.321263][ T229] ? __lock_acquire+0x518/0xc20 [ 10.321268][ T229] console_unlock+0xee/0x1f0 [ 10.321270][ T229] ? console_flush_one_record+0x710/0x710 [ 10.321272][ T229] ? rcu_is_watching+0x16/0xd0 [ 10.321274][ T229] ? lock_acquire+0xe0/0x160 [ 10.321277][ T229] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.321279][ T229] ? vprintk_emit+0x320/0x3e0 [ 10.321282][ T229] vprintk_emit+0x37c/0x3e0 [ 10.321285][ T229] ? wake_up_klogd_work_func+0x90/0x90 [ 10.321287][ T229] ? save_trace+0x68/0x280 [ 10.321291][ T229] _printk+0xc7/0x100 [ 10.321294][ T229] ? snapshot_read.cold+0x21/0x21 [ 10.321298][ T229] ? validate_chain+0x34a/0xc20 [ 10.321300][ T229] ? netdev_name+0x43/0x60 [ 10.321304][ T229] ? __netdev_printk+0x17f/0x1d0 [ 10.321307][ T229] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.321309][ T229] netdev_info+0xe2/0x116 [ 10.321311][ T229] ? netdev_notice+0x120/0x120 [ 10.321314][ T229] ? find_held_lock+0x2b/0x80 [ 10.321317][ T229] ? __lock_release.isra.0+0x69/0x1a0 [ 10.321319][ T229] ? mark_held_locks+0x40/0x70 [ 10.321323][ T229] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.321325][ T229] netif_change_name.cold+0x4f/0x89 [ 10.321327][ T229] ? is_bpf_text_address+0x68/0x110 [ 10.321332][ T229] ? netdev_adjacent_rename_links+0x470/0x470 [ 10.321335][ T229] ? __kernel_text_address+0x12/0x30 [ 10.321337][ T229] ? write_profile+0xf0/0xf0 [ 10.321341][ T229] ? __asan_memset+0x27/0x50 [ 10.321347][ T229] do_setlink.isra.0+0x1f7d/0x2a60 [ 10.321350][ T229] ? stack_trace_save+0x93/0xc0 [ 10.321352][ T229] ? rtnl_link_get_size+0x350/0x350 [ 10.321353][ T229] ? rcu_read_lock_any_held+0x66/0x90 [ 10.321356][ T229] ? stack_depot_save_flags+0x38e/0x790 [ 10.321359][ T229] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.321361][ T229] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.321363][ T229] ? validate_chain+0x38b/0xc20 [ 10.321365][ T229] ? kasan_save_stack+0x3d/0x50 [ 10.321367][ T229] ? kasan_save_stack+0x2f/0x50 [ 10.321368][ T229] ? kasan_save_track+0x14/0x30 [ 10.321375][ T229] ? __kasan_kmalloc+0x7b/0x90 [ 10.321377][ T229] ? __lock_acquire+0x518/0xc20 [ 10.321379][ T229] ? snd_ac97_proc_read_main+0x4de/0x1f00 [ 10.321382][ T229] ? ___sys_sendmsg+0xd0/0x1d0 [ 10.321385][ T229] ? lock_acquire.part.0+0xd4/0x280 [ 10.321387][ T229] ? rtnl_newlink+0x9a8/0x11b0 [ 10.321390][ T229] ? rcu_is_watching+0x16/0xd0 [ 10.321391][ T229] ? lock_acquire+0x13c/0x160 [ 10.321393][ T229] ? rcu_is_watching+0x16/0xd0 [ 10.321394][ T229] ? rcu_is_watching+0x16/0xd0 [ 10.321396][ T229] ? trace_contention_end+0xb3/0x180 [ 10.321398][ T229] ? __mutex_lock+0x1db/0x1ea0 [ 10.321401][ T229] ? __mutex_lock+0x9a3/0x1ea0 [ 10.321403][ T229] ? rtnl_newlink+0x9a8/0x11b0 [ 10.321406][ T229] ? ww_mutex_lock+0x160/0x160 [ 10.321407][ T229] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.321412][ T229] ? rcu_is_watching+0x16/0xd0 [ 10.321414][ T229] ? __rtnl_newlink+0x3fa/0xa50 [ 10.321419][ T229] rtnl_newlink+0x9f1/0x11b0 [ 10.321424][ T229] ? rtnl_bridge_getlink+0x850/0x850 [ 10.321426][ T229] ? __lock_acquire+0x518/0xc20 [ 10.321430][ T229] ? lock_acquire.part.0+0xd4/0x280 [ 10.321432][ T229] ? find_held_lock+0x2b/0x80 [ 10.321434][ T229] ? rtnl_bridge_getlink+0x850/0x850 [ 10.321436][ T229] ? __lock_release.isra.0+0x69/0x1a0 [ 10.321439][ T229] ? rtnl_bridge_getlink+0x850/0x850 [ 10.321441][ T229] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.321444][ T229] ? rtnl_link_fill+0x920/0x920 [ 10.321446][ T229] ? __lock_acquire+0x518/0xc20 [ 10.321450][ T229] ? lock_acquire.part.0+0xd4/0x280 [ 10.321452][ T229] ? find_held_lock+0x2b/0x80 [ 10.321455][ T229] netlink_rcv_skb+0x14e/0x3a0 [ 10.321458][ T229] ? rtnl_link_fill+0x920/0x920 [ 10.321461][ T229] ? netlink_ack+0xcf0/0xcf0 [ 10.321467][ T229] ? netlink_deliver_tap+0xc5/0x330 [ 10.321469][ T229] ? netlink_deliver_tap+0x13c/0x330 [ 10.321474][ T229] netlink_unicast+0x486/0x750 [ 10.321478][ T229] ? netlink_attachskb+0x810/0x810 [ 10.321480][ T229] ? find_held_lock+0x2b/0x80 [ 10.321484][ T229] netlink_sendmsg+0x75b/0xc90 [ 10.321488][ T229] ? netlink_unicast+0x750/0x750 [ 10.321492][ T229] ? __lock_release.isra.0+0x69/0x1a0 [ 10.321494][ T229] ? __import_iovec+0x36c/0x620 [ 10.321499][ T229] __sock_sendmsg+0xce/0x190 [ 10.321502][ T229] ____sys_sendmsg+0x61a/0x860 [ 10.321504][ T229] ? copy_msghdr_from_user+0x279/0x420 [ 10.321506][ T229] ? sock_write_iter+0x400/0x400 [ 10.321508][ T229] ? move_addr_to_kernel+0x40/0x40 [ 10.321515][ T229] ___sys_sendmsg+0x14e/0x1d0 [ 10.321518][ T229] ? copy_msghdr_from_user+0x420/0x420 [ 10.321533][ T229] __sys_sendmsg+0x12c/0x1d0 [ 10.321536][ T229] ? __sys_sendmsg_sock+0x20/0x20 [ 10.321542][ T229] ? rcu_is_watching+0x16/0xd0 [ 10.321545][ T229] do_syscall_64+0xff/0x530 [ 10.321548][ T229] ? exc_page_fault+0xee/0x100 [ 10.321551][ T229] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.321553][ T229] RIP: 0033:0x7f0c1adb954e [ 10.321556][ T229] 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.321558][ T229] RSP: 002b:00007ffcbf79d330 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 10.321561][ T229] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f0c1adb954e [ 10.321562][ T229] RDX: 0000000000000000 RSI: 00007ffcbf79d3e0 RDI: 0000000000000005 [ 10.321563][ T229] RBP: 00007ffcbf79d340 R08: 0000000000000000 R09: 0000000000000000 [ 10.321564][ T229] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a9185fa [ 10.321565][ T229] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffcbf79dab0 [ 10.321571][ T229] [ 10.359997][ T229] ip (229) used greatest stack depth: 23208 bytes left [ 10.660079][ T238] veth0: renamed from veth-rt-2