[ 9.809112][ T220] veth0: renamed from veth-rt-1 [ 9.809184][ T220] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.809186][ T220] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 220, name: ip [ 9.809187][ T220] preempt_count: 1, expected: 0 [ 9.809188][ T220] RCU nest depth: 0, expected: 0 [ 9.809189][ T220] locks held by ip/220: 5, last CPU#2: [ 9.809191][ T220] #0: ffffffff9ed1b740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 9.809203][ T220] #1: ffffffff9e57ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.809208][ T220] #2: ffffffff9e57de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.809212][ T220] #3: ffffffff9e49d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.809216][ T220] #4: ffffffff9e49d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.809220][ T220] irq event stamp: 33512 [ 9.809220][ T220] hardirqs last enabled at (33511): [] __down_trylock_console_sem+0x86/0xa0 [ 9.809224][ T220] hardirqs last disabled at (33512): [] console_emit_next_record+0x3d4/0x4c0 [ 9.809225][ T220] softirqs last enabled at (33506): [] netif_change_name+0x216/0x8c0 [ 9.809229][ T220] softirqs last disabled at (33504): [] netif_change_name+0x1ad/0x8c0 [ 9.809231][ T220] Preemption disabled at: [ 9.809232][ T220] [] vprintk_emit+0x31b/0x3e0 [ 9.809237][ T220] CPU: 2 UID: 0 PID: 220 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.809240][ T220] Tainted: [W]=WARN [ 9.809241][ T220] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.809243][ T220] Call Trace: [ 9.809244][ T220] [ 9.809246][ T220] dump_stack_lvl+0x6f/0xa0 [ 9.809251][ T220] ? vprintk_emit+0x31b/0x3e0 [ 9.809253][ T220] __might_resched.cold+0x1fe/0x2c1 [ 9.809257][ T220] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.809261][ T220] ? __kmalloc_noprof+0xdb/0x760 [ 9.809266][ T220] __kmalloc_noprof+0x443/0x760 [ 9.809268][ T220] ? alloc_buf.isra.0+0x4b/0x260 [ 9.809274][ T220] ? do_raw_spin_unlock+0x59/0x250 [ 9.809277][ T220] alloc_buf.isra.0+0x4b/0x260 [ 9.809281][ T220] put_chars+0x1e1/0x2f0 [ 9.809283][ T220] ? __send_to_port+0x420/0x420 [ 9.809289][ T220] hvc_console_print+0x292/0x780 [ 9.809297][ T220] ? hvc_write+0x3a0/0x3a0 [ 9.809300][ T220] ? lock_acquire+0x13c/0x160 [ 9.809304][ T220] console_emit_next_record+0x22f/0x4c0 [ 9.809308][ T220] ? devkmsg_read+0x4b0/0x4b0 [ 9.809310][ T220] ? console_flush_one_record+0x106/0x710 [ 9.809313][ T220] ? rcu_is_watching+0x16/0xd0 [ 9.809315][ T220] ? lock_acquire+0x13c/0x160 [ 9.809319][ T220] console_flush_one_record+0x46f/0x710 [ 9.809323][ T220] ? console_emit_next_record+0x4c0/0x4c0 [ 9.809325][ T220] ? __lock_acquire+0x518/0xc20 [ 9.809330][ T220] console_unlock+0xee/0x1f0 [ 9.809333][ T220] ? console_flush_one_record+0x710/0x710 [ 9.809335][ T220] ? rcu_is_watching+0x16/0xd0 [ 9.809336][ T220] ? lock_acquire+0xe0/0x160 [ 9.809340][ T220] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.809342][ T220] ? vprintk_emit+0x320/0x3e0 [ 9.809345][ T220] vprintk_emit+0x37c/0x3e0 [ 9.809348][ T220] ? wake_up_klogd_work_func+0x90/0x90 [ 9.809350][ T220] ? save_trace+0x68/0x280 [ 9.809354][ T220] _printk+0xc7/0x100 [ 9.809357][ T220] ? snapshot_read.cold+0x21/0x21 [ 9.809361][ T220] ? validate_chain+0x34a/0xc20 [ 9.809363][ T220] ? netdev_name+0x43/0x60 [ 9.809367][ T220] ? __netdev_printk+0x17f/0x1d0 [ 9.809370][ T220] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 9.809372][ T220] netdev_info+0xe2/0x116 [ 9.809374][ T220] ? netdev_notice+0x120/0x120 [ 9.809377][ T220] ? find_held_lock+0x2b/0x80 [ 9.809380][ T220] ? __lock_release.isra.0+0x69/0x1a0 [ 9.809383][ T220] ? mark_held_locks+0x40/0x70 [ 9.809386][ T220] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 9.809388][ T220] netif_change_name.cold+0x4f/0x89 [ 9.809390][ T220] ? is_bpf_text_address+0x68/0x110 [ 9.809395][ T220] ? netdev_adjacent_rename_links+0x470/0x470 [ 9.809398][ T220] ? __kernel_text_address+0x12/0x30 [ 9.809400][ T220] ? write_profile+0xf0/0xf0 [ 9.809404][ T220] ? __asan_memset+0x27/0x50 [ 9.809410][ T220] do_setlink.isra.0+0x1f7d/0x2a60 [ 9.809413][ T220] ? stack_trace_save+0x93/0xc0 [ 9.809415][ T220] ? rtnl_link_get_size+0x350/0x350 [ 9.809417][ T220] ? rcu_read_lock_any_held+0x66/0x90 [ 9.809419][ T220] ? stack_depot_save_flags+0x38e/0x790 [ 9.809422][ T220] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.809424][ T220] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.809426][ T220] ? validate_chain+0x38b/0xc20 [ 9.809429][ T220] ? kasan_save_stack+0x3d/0x50 [ 9.809430][ T220] ? kasan_save_stack+0x2f/0x50 [ 9.809431][ T220] ? kasan_save_track+0x14/0x30 [ 9.809433][ T220] ? __kasan_kmalloc+0x7b/0x90 [ 9.809435][ T220] ? __lock_acquire+0x518/0xc20 [ 9.809437][ T220] ? snd_ac97_proc_read_main+0x4de/0x1f00 [ 9.809440][ T220] ? ___sys_sendmsg+0xd0/0x1d0 [ 9.809443][ T220] ? lock_acquire.part.0+0xd4/0x280 [ 9.809445][ T220] ? rtnl_newlink+0x9a8/0x11b0 [ 9.809448][ T220] ? rcu_is_watching+0x16/0xd0 [ 9.809450][ T220] ? lock_acquire+0x13c/0x160 [ 9.809451][ T220] ? rcu_is_watching+0x16/0xd0 [ 9.809452][ T220] ? rcu_is_watching+0x16/0xd0 [ 9.809454][ T220] ? trace_contention_end+0xb3/0x180 [ 9.809456][ T220] ? __mutex_lock+0x1db/0x1ea0 [ 9.809459][ T220] ? __mutex_lock+0x9a3/0x1ea0 [ 9.809461][ T220] ? rtnl_newlink+0x9a8/0x11b0 [ 9.809464][ T220] ? ww_mutex_lock+0x160/0x160 [ 9.809465][ T220] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.809470][ T220] ? rcu_is_watching+0x16/0xd0 [ 9.809472][ T220] ? __rtnl_newlink+0x3fa/0xa50 [ 9.809478][ T220] rtnl_newlink+0x9f1/0x11b0 [ 9.809483][ T220] ? rtnl_bridge_getlink+0x850/0x850 [ 9.809486][ T220] ? __lock_acquire+0x518/0xc20 [ 9.809491][ T220] ? lock_acquire.part.0+0xd4/0x280 [ 9.809493][ T220] ? find_held_lock+0x2b/0x80 [ 9.809495][ T220] ? rtnl_bridge_getlink+0x850/0x850 [ 9.809497][ T220] ? __lock_release.isra.0+0x69/0x1a0 [ 9.809501][ T220] ? rtnl_bridge_getlink+0x850/0x850 [ 9.809503][ T220] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.809506][ T220] ? rtnl_link_fill+0x920/0x920 [ 9.809507][ T220] ? __lock_acquire+0x518/0xc20 [ 9.809512][ T220] ? lock_acquire.part.0+0xd4/0x280 [ 9.809513][ T220] ? find_held_lock+0x2b/0x80 [ 9.809517][ T220] netlink_rcv_skb+0x14e/0x3a0 [ 9.809520][ T220] ? rtnl_link_fill+0x920/0x920 [ 9.809523][ T220] ? netlink_ack+0xcf0/0xcf0 [ 9.809529][ T220] ? netlink_deliver_tap+0xc5/0x330 [ 9.809531][ T220] ? netlink_deliver_tap+0x13c/0x330 [ 9.809536][ T220] netlink_unicast+0x486/0x750 [ 9.809540][ T220] ? netlink_attachskb+0x810/0x810 [ 9.809542][ T220] ? find_held_lock+0x2b/0x80 [ 9.809546][ T220] netlink_sendmsg+0x75b/0xc90 [ 9.809550][ T220] ? netlink_unicast+0x750/0x750 [ 9.809554][ T220] ? __lock_release.isra.0+0x69/0x1a0 [ 9.809556][ T220] ? __import_iovec+0x36c/0x620 [ 9.809561][ T220] __sock_sendmsg+0xce/0x190 [ 9.809564][ T220] ____sys_sendmsg+0x61a/0x860 [ 9.809566][ T220] ? copy_msghdr_from_user+0x279/0x420 [ 9.809568][ T220] ? sock_write_iter+0x400/0x400 [ 9.809570][ T220] ? move_addr_to_kernel+0x40/0x40 [ 9.809577][ T220] ___sys_sendmsg+0x14e/0x1d0 [ 9.809580][ T220] ? copy_msghdr_from_user+0x420/0x420 [ 9.809596][ T220] __sys_sendmsg+0x12c/0x1d0 [ 9.809599][ T220] ? __sys_sendmsg_sock+0x20/0x20 [ 9.809605][ T220] ? rcu_is_watching+0x16/0xd0 [ 9.809608][ T220] do_syscall_64+0xff/0x530 [ 9.809611][ T220] ? exc_page_fault+0xee/0x100 [ 9.809614][ T220] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.809616][ T220] RIP: 0033:0x7f6a27ec254e [ 9.809620][ 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.809622][ T220] RSP: 002b:00007ffcbdc10b20 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 9.809624][ T220] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f6a27ec254e [ 9.809626][ T220] RDX: 0000000000000000 RSI: 00007ffcbdc10bd0 RDI: 0000000000000005 [ 9.809626][ T220] RBP: 00007ffcbdc10b30 R08: 0000000000000000 R09: 0000000000000000 [ 9.809627][ T220] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a911fa7 [ 9.809628][ T220] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffcbdc112a0 [ 9.809635][ T220] [ 9.867316][ T220] ip (220) used greatest stack depth: 23208 bytes left [ 10.186657][ T229] veth0: renamed from veth-rt-2