[ 9.612699][ T220] veth0: renamed from veth-rt-1 [ 9.612757][ T220] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.612760][ T220] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 220, name: ip [ 9.612761][ T220] preempt_count: 1, expected: 0 [ 9.612762][ T220] RCU nest depth: 0, expected: 0 [ 9.612763][ T220] locks held by ip/220: 5, last CPU#0: [ 9.612765][ T220] #0: ffffffffbc91b740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 9.612776][ T220] #1: ffffffffbc17ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.612782][ T220] #2: ffffffffbc17de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.612786][ T220] #3: ffffffffbc09d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.612790][ T220] #4: ffffffffbc09d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.612794][ T220] irq event stamp: 23702 [ 9.612794][ T220] hardirqs last enabled at (23701): [] __down_trylock_console_sem+0x86/0xa0 [ 9.612797][ T220] hardirqs last disabled at (23702): [] console_emit_next_record+0x3d4/0x4c0 [ 9.612799][ T220] softirqs last enabled at (23696): [] netif_change_name+0x216/0x8c0 [ 9.612803][ T220] softirqs last disabled at (23694): [] netif_change_name+0x1ad/0x8c0 [ 9.612806][ T220] Preemption disabled at: [ 9.612806][ T220] [] vprintk_emit+0x31b/0x3e0 [ 9.612811][ T220] CPU: 0 UID: 0 PID: 220 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.612815][ T220] Tainted: [W]=WARN [ 9.612815][ T220] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.612817][ T220] Call Trace: [ 9.612818][ T220] [ 9.612820][ T220] dump_stack_lvl+0x6f/0xa0 [ 9.612826][ T220] ? vprintk_emit+0x31b/0x3e0 [ 9.612827][ T220] __might_resched.cold+0x1fe/0x2c1 [ 9.612832][ T220] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.612836][ T220] ? __kmalloc_noprof+0xdb/0x760 [ 9.612841][ T220] __kmalloc_noprof+0x443/0x760 [ 9.612843][ T220] ? alloc_buf.isra.0+0x4b/0x260 [ 9.612849][ T220] ? do_raw_spin_unlock+0x59/0x250 [ 9.612852][ T220] alloc_buf.isra.0+0x4b/0x260 [ 9.612856][ T220] put_chars+0x1e1/0x2f0 [ 9.612858][ T220] ? __send_to_port+0x420/0x420 [ 9.612864][ T220] hvc_console_print+0x292/0x780 [ 9.612872][ T220] ? hvc_write+0x3a0/0x3a0 [ 9.612876][ T220] ? lock_acquire+0x13c/0x160 [ 9.612880][ T220] console_emit_next_record+0x22f/0x4c0 [ 9.612884][ T220] ? devkmsg_read+0x4b0/0x4b0 [ 9.612885][ T220] ? console_flush_one_record+0x106/0x710 [ 9.612889][ T220] ? rcu_is_watching+0x16/0xd0 [ 9.612891][ T220] ? lock_acquire+0x13c/0x160 [ 9.612895][ T220] console_flush_one_record+0x46f/0x710 [ 9.612899][ T220] ? console_emit_next_record+0x4c0/0x4c0 [ 9.612901][ T220] ? __lock_acquire+0x518/0xc20 [ 9.612907][ T220] console_unlock+0xee/0x1f0 [ 9.612909][ T220] ? console_flush_one_record+0x710/0x710 [ 9.612911][ T220] ? rcu_is_watching+0x16/0xd0 [ 9.612913][ T220] ? lock_acquire+0xe0/0x160 [ 9.612917][ T220] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.612919][ T220] ? vprintk_emit+0x320/0x3e0 [ 9.612921][ T220] vprintk_emit+0x37c/0x3e0 [ 9.612924][ T220] ? wake_up_klogd_work_func+0x90/0x90 [ 9.612927][ T220] ? save_trace+0x68/0x280 [ 9.612931][ T220] _printk+0xc7/0x100 [ 9.612934][ T220] ? snapshot_read.cold+0x21/0x21 [ 9.612938][ T220] ? validate_chain+0x34a/0xc20 [ 9.612940][ T220] ? netdev_name+0x43/0x60 [ 9.612944][ T220] ? __netdev_printk+0x17f/0x1d0 [ 9.612947][ T220] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 9.612949][ T220] netdev_info+0xe2/0x116 [ 9.612951][ T220] ? netdev_notice+0x120/0x120 [ 9.612954][ T220] ? find_held_lock+0x2b/0x80 [ 9.612957][ T220] ? __lock_release.isra.0+0x69/0x1a0 [ 9.612960][ T220] ? mark_held_locks+0x40/0x70 [ 9.612963][ T220] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 9.612965][ T220] netif_change_name.cold+0x4f/0x89 [ 9.612967][ T220] ? is_bpf_text_address+0x68/0x110 [ 9.612973][ T220] ? netdev_adjacent_rename_links+0x470/0x470 [ 9.612975][ T220] ? __kernel_text_address+0x12/0x30 [ 9.612978][ T220] ? write_profile+0xf0/0xf0 [ 9.612982][ T220] ? __asan_memset+0x27/0x50 [ 9.612988][ T220] do_setlink.isra.0+0x1f7d/0x2a60 [ 9.612991][ T220] ? stack_trace_save+0x93/0xc0 [ 9.612993][ T220] ? rtnl_link_get_size+0x350/0x350 [ 9.612994][ T220] ? rcu_read_lock_any_held+0x66/0x90 [ 9.612997][ T220] ? stack_depot_save_flags+0x38e/0x790 [ 9.613000][ T220] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.613002][ T220] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.613004][ T220] ? validate_chain+0x38b/0xc20 [ 9.613007][ T220] ? kasan_save_stack+0x3d/0x50 [ 9.613009][ T220] ? kasan_save_stack+0x2f/0x50 [ 9.613010][ T220] ? kasan_save_track+0x14/0x30 [ 9.613011][ T220] ? __kasan_kmalloc+0x7b/0x90 [ 9.613013][ T220] ? __lock_acquire+0x518/0xc20 [ 9.613015][ T220] ? snd_ac97_proc_read_main+0x4de/0x1f00 [ 9.613018][ T220] ? ___sys_sendmsg+0xd0/0x1d0 [ 9.613022][ T220] ? lock_acquire.part.0+0xd4/0x280 [ 9.613024][ T220] ? rtnl_newlink+0x9a8/0x11b0 [ 9.613027][ T220] ? rcu_is_watching+0x16/0xd0 [ 9.613028][ T220] ? lock_acquire+0x13c/0x160 [ 9.613030][ T220] ? rcu_is_watching+0x16/0xd0 [ 9.613031][ T220] ? rcu_is_watching+0x16/0xd0 [ 9.613033][ T220] ? trace_contention_end+0xb3/0x180 [ 9.613035][ T220] ? __mutex_lock+0x1db/0x1ea0 [ 9.613038][ T220] ? __mutex_lock+0x9a3/0x1ea0 [ 9.613040][ T220] ? rtnl_newlink+0x9a8/0x11b0 [ 9.613043][ T220] ? ww_mutex_lock+0x160/0x160 [ 9.613044][ T220] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.613049][ T220] ? rcu_is_watching+0x16/0xd0 [ 9.613051][ T220] ? __rtnl_newlink+0x3fa/0xa50 [ 9.613057][ T220] rtnl_newlink+0x9f1/0x11b0 [ 9.613062][ T220] ? rtnl_bridge_getlink+0x850/0x850 [ 9.613064][ T220] ? __lock_acquire+0x518/0xc20 [ 9.613069][ T220] ? lock_acquire.part.0+0xd4/0x280 [ 9.613070][ T220] ? find_held_lock+0x2b/0x80 [ 9.613072][ T220] ? rtnl_bridge_getlink+0x850/0x850 [ 9.613074][ T220] ? __lock_release.isra.0+0x69/0x1a0 [ 9.613078][ T220] ? rtnl_bridge_getlink+0x850/0x850 [ 9.613080][ T220] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.613083][ T220] ? rtnl_link_fill+0x920/0x920 [ 9.613085][ T220] ? __lock_acquire+0x518/0xc20 [ 9.613089][ T220] ? lock_acquire.part.0+0xd4/0x280 [ 9.613091][ T220] ? find_held_lock+0x2b/0x80 [ 9.613095][ T220] netlink_rcv_skb+0x14e/0x3a0 [ 9.613097][ T220] ? rtnl_link_fill+0x920/0x920 [ 9.613100][ T220] ? netlink_ack+0xcf0/0xcf0 [ 9.613107][ T220] ? netlink_deliver_tap+0xc5/0x330 [ 9.613109][ T220] ? netlink_deliver_tap+0x13c/0x330 [ 9.613114][ T220] netlink_unicast+0x486/0x750 [ 9.613117][ T220] ? netlink_attachskb+0x810/0x810 [ 9.613120][ T220] ? find_held_lock+0x2b/0x80 [ 9.613124][ T220] netlink_sendmsg+0x75b/0xc90 [ 9.613128][ T220] ? netlink_unicast+0x750/0x750 [ 9.613132][ T220] ? __lock_release.isra.0+0x69/0x1a0 [ 9.613134][ T220] ? __import_iovec+0x36c/0x620 [ 9.613139][ T220] __sock_sendmsg+0xce/0x190 [ 9.613142][ T220] ____sys_sendmsg+0x61a/0x860 [ 9.613144][ T220] ? copy_msghdr_from_user+0x279/0x420 [ 9.613146][ T220] ? sock_write_iter+0x400/0x400 [ 9.613148][ T220] ? move_addr_to_kernel+0x40/0x40 [ 9.613155][ T220] ___sys_sendmsg+0x14e/0x1d0 [ 9.613158][ T220] ? copy_msghdr_from_user+0x420/0x420 [ 9.613174][ T220] __sys_sendmsg+0x12c/0x1d0 [ 9.613177][ T220] ? __sys_sendmsg_sock+0x20/0x20 [ 9.613183][ T220] ? rcu_is_watching+0x16/0xd0 [ 9.613186][ T220] do_syscall_64+0xff/0x530 [ 9.613189][ T220] ? exc_page_fault+0xee/0x100 [ 9.613197][ T220] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.613199][ T220] RIP: 0033:0x7ff9ebbf154e [ 9.613202][ T220] 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.613204][ T220] RSP: 002b:00007ffc4a62fa40 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 9.613206][ T220] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007ff9ebbf154e [ 9.613208][ T220] RDX: 0000000000000000 RSI: 00007ffc4a62faf0 RDI: 0000000000000005 [ 9.613209][ T220] RBP: 00007ffc4a62fa50 R08: 0000000000000000 R09: 0000000000000000 [ 9.613209][ T220] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91489a [ 9.613210][ T220] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffc4a6301c0 [ 9.613217][ T220] [ 9.672532][ T220] ip (220) used greatest stack depth: 23208 bytes left [ 10.006131][ T230] veth0: renamed from veth-rt-2