[ 13.039918][ T221] ip (221) used greatest stack depth: 24008 bytes left [ 13.039937][ T221] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.039940][ T221] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 221, name: ip [ 13.039942][ T221] preempt_count: 2, expected: 0 [ 13.039944][ T221] RCU nest depth: 0, expected: 0 [ 13.039945][ T221] locks held by ip/221: 5, last CPU#0: [ 13.039948][ T221] #0: ffffffffa9a167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 13.039961][ T221] #1: ffffffffa9b7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.039968][ T221] #2: ffffffffa9b7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.039975][ T221] #3: ffffffffa9a9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.039981][ T221] #4: ffffffffa9a9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 13.039987][ T221] irq event stamp: 22668 [ 13.039988][ T221] hardirqs last enabled at (22667): [] __down_trylock_console_sem+0x86/0xa0 [ 13.039992][ T221] hardirqs last disabled at (22668): [] console_emit_next_record+0x3d4/0x4c0 [ 13.039996][ T221] softirqs last enabled at (22134): [] handle_softirqs+0x67c/0x900 [ 13.039999][ T221] softirqs last disabled at (22127): [] __irq_exit_rcu+0x145/0x1c0 [ 13.040003][ T221] Preemption disabled at: [ 13.040004][ T221] [<0000000000000000>] 0x0 [ 13.040012][ T221] CPU: 0 UID: 0 PID: 221 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.040021][ T221] Tainted: [W]=WARN [ 13.040023][ T221] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.040025][ T221] Call Trace: [ 13.040027][ T221] [ 13.040029][ T221] dump_stack_lvl+0x6f/0xa0 [ 13.040038][ T221] __might_resched.cold+0x1fe/0x2c1 [ 13.040044][ T221] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.040050][ T221] ? __kmalloc_noprof+0xdb/0x760 [ 13.040057][ T221] __kmalloc_noprof+0x443/0x760 [ 13.040060][ T221] ? alloc_buf.isra.0+0x4b/0x260 [ 13.040070][ T221] ? do_raw_spin_unlock+0x59/0x250 [ 13.040074][ T221] alloc_buf.isra.0+0x4b/0x260 [ 13.040079][ T221] put_chars+0x1e1/0x2f0 [ 13.040083][ T221] ? __send_to_port+0x420/0x420 [ 13.040086][ T221] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.040091][ T221] ? validate_chain+0x38b/0xc20 [ 13.040101][ T221] hvc_console_print+0x292/0x780 [ 13.040113][ T221] ? hvc_write+0x3a0/0x3a0 [ 13.040117][ T221] ? rcu_is_watching+0x16/0xd0 [ 13.040120][ T221] ? lock_acquire+0x13c/0x160 [ 13.040127][ T221] console_emit_next_record+0x22f/0x4c0 [ 13.040134][ T221] ? devkmsg_read+0x4b0/0x4b0 [ 13.040137][ T221] ? console_flush_one_record+0x106/0x710 [ 13.040142][ T221] ? rcu_is_watching+0x16/0xd0 [ 13.040145][ T221] ? lock_acquire+0x13c/0x160 [ 13.040152][ T221] console_flush_one_record+0x46f/0x710 [ 13.040159][ T221] ? console_emit_next_record+0x4c0/0x4c0 [ 13.040162][ T221] ? __lock_acquire+0x518/0xc20 [ 13.040174][ T221] console_unlock+0xee/0x1f0 [ 13.040178][ T221] ? console_flush_one_record+0x710/0x710 [ 13.040181][ T221] ? rcu_is_watching+0x16/0xd0 [ 13.040184][ T221] ? lock_acquire+0xe0/0x160 [ 13.040190][ T221] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.040193][ T221] ? vprintk_emit+0x320/0x3e0 [ 13.040198][ T221] vprintk_emit+0x37c/0x3e0 [ 13.040204][ T221] ? wake_up_klogd_work_func+0x90/0x90 [ 13.040209][ T221] ? __lock_acquire+0x518/0xc20 [ 13.040216][ T221] _printk+0xc7/0x100 [ 13.040221][ T221] ? snapshot_read.cold+0x21/0x21 [ 13.040226][ T221] ? do_raw_spin_lock+0x131/0x280 [ 13.040230][ T221] ? __rwlock_init+0x150/0x150 [ 13.040237][ T221] ? do_raw_spin_lock+0x131/0x280 [ 13.040241][ T221] do_exit.cold+0x82/0x9c [ 13.040247][ T221] ? exit_notify+0x890/0x890 [ 13.040249][ T221] ? __lock_release.isra.0+0x69/0x1a0 [ 13.040254][ T221] ? rcu_is_watching+0x16/0xd0 [ 13.040260][ T221] do_group_exit+0xb8/0x370 [ 13.040265][ T221] __x64_sys_exit_group+0x3c/0x50 [ 13.040268][ T221] x64_sys_call+0x1567/0x1570 [ 13.040272][ T221] do_syscall_64+0xff/0x530 [ 13.040277][ T221] ? exc_page_fault+0xee/0x100 [ 13.040282][ T221] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 13.040285][ T221] RIP: 0033:0x7f75f7f271b8 [ 13.040289][ T221] Code: Unable to access opcode bytes at 0x7f75f7f2718e. [ 13.040290][ T221] RSP: 002b:00007ffef30eadd8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 13.040293][ T221] RAX: ffffffffffffffda RBX: 00007f75f8057f88 RCX: 00007f75f7f271b8 [ 13.040295][ T221] RDX: 00007f75f7c71fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 13.040297][ T221] RBP: 00007ffef30eae30 R08: 0000000000000000 R09: 0000000000000050 [ 13.040298][ T221] R10: 00007ffef30eabf0 R11: 0000000000000246 R12: 0000000000000001 [ 13.040300][ T221] R13: 0000000000000000 R14: 00007f75f8056680 R15: 00007f75f8057fa0 [ 13.040313][ T221] [ 13.986998][ T257] veth0: renamed from veth-rt-1 [ 14.344805][ T267] veth0: renamed from veth-rt-2 [ 14.344824][ T267] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.344827][ T267] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 267, name: ip [ 14.344829][ T267] preempt_count: 1, expected: 0 [ 14.344831][ T267] RCU nest depth: 0, expected: 0 [ 14.344832][ T267] locks held by ip/267: 5, last CPU#0: [ 14.344835][ T267] #0: ffffffffaa31b740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 14.344850][ T267] #1: ffffffffa9b7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.344858][ T267] #2: ffffffffa9b7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.344864][ T267] #3: ffffffffa9a9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.344871][ T267] #4: ffffffffa9a9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 14.344877][ T267] irq event stamp: 16282 [ 14.344878][ T267] hardirqs last enabled at (16281): [] __down_trylock_console_sem+0x86/0xa0 [ 14.344883][ T267] hardirqs last disabled at (16282): [] console_emit_next_record+0x3d4/0x4c0 [ 14.344886][ T267] softirqs last enabled at (16276): [] netif_change_name+0x216/0x8c0 [ 14.344891][ T267] softirqs last disabled at (16274): [] netif_change_name+0x1ad/0x8c0 [ 14.344895][ T267] Preemption disabled at: [ 14.344896][ T267] [] vprintk_emit+0x31b/0x3e0 [ 14.344902][ T267] CPU: 0 UID: 0 PID: 267 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.344907][ T267] Tainted: [W]=WARN [ 14.344909][ T267] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.344911][ T267] Call Trace: [ 14.344913][ T267] [ 14.344916][ T267] dump_stack_lvl+0x6f/0xa0 [ 14.344924][ T267] ? vprintk_emit+0x31b/0x3e0 [ 14.344926][ T267] __might_resched.cold+0x1fe/0x2c1 [ 14.344933][ T267] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.344939][ T267] ? __kmalloc_noprof+0xdb/0x760 [ 14.344946][ T267] __kmalloc_noprof+0x443/0x760 [ 14.344950][ T267] ? alloc_buf.isra.0+0x4b/0x260 [ 14.344960][ T267] ? do_raw_spin_unlock+0x59/0x250 [ 14.344964][ T267] alloc_buf.isra.0+0x4b/0x260 [ 14.344970][ T267] put_chars+0x1e1/0x2f0 [ 14.344974][ T267] ? __send_to_port+0x420/0x420 [ 14.344986][ T267] hvc_console_print+0x292/0x780 [ 14.344999][ T267] ? hvc_write+0x3a0/0x3a0 [ 14.345005][ T267] ? lock_acquire+0x13c/0x160 [ 14.345012][ T267] console_emit_next_record+0x22f/0x4c0 [ 14.345025][ T267] ? devkmsg_read+0x4b0/0x4b0 [ 14.345028][ T267] ? console_flush_one_record+0x106/0x710 [ 14.345034][ T267] ? rcu_is_watching+0x16/0xd0 [ 14.345038][ T267] ? lock_acquire+0x13c/0x160 [ 14.345045][ T267] console_flush_one_record+0x46f/0x710 [ 14.345053][ T267] ? console_emit_next_record+0x4c0/0x4c0 [ 14.345056][ T267] ? __lock_acquire+0x518/0xc20 [ 14.345066][ T267] console_unlock+0xee/0x1f0 [ 14.345071][ T267] ? console_flush_one_record+0x710/0x710 [ 14.345074][ T267] ? rcu_is_watching+0x16/0xd0 [ 14.345077][ T267] ? lock_acquire+0xe0/0x160 [ 14.345084][ T267] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.345087][ T267] ? vprintk_emit+0x320/0x3e0 [ 14.345092][ T267] vprintk_emit+0x37c/0x3e0 [ 14.345098][ T267] ? wake_up_klogd_work_func+0x90/0x90 [ 14.345101][ T267] ? __lock_acquire+0x518/0xc20 [ 14.345104][ T267] ? lock_pin_lock+0x87/0x180 [ 14.345107][ T267] ? __print_lock_name+0x2/0x80 [ 14.345114][ T267] _printk+0xc7/0x100 [ 14.345120][ T267] ? snapshot_read.cold+0x21/0x21 [ 14.345122][ T267] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 14.345127][ T267] ? rcu_read_lock_any_held+0x3c/0x90 [ 14.345131][ T267] ? validate_chain+0x38b/0xc20 [ 14.345135][ T267] ? netdev_name+0x43/0x60 [ 14.345141][ T267] ? __netdev_printk+0x17f/0x1d0 [ 14.345146][ T267] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 14.345150][ T267] netdev_info+0xe2/0x116 [ 14.345154][ T267] ? netdev_notice+0x120/0x120 [ 14.345159][ T267] ? find_held_lock+0x2b/0x80 [ 14.345164][ T267] ? __lock_release.isra.0+0x69/0x1a0 [ 14.345171][ T267] ? mark_held_locks+0x40/0x70 [ 14.345178][ T267] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 14.345182][ T267] netif_change_name.cold+0x4f/0x89 [ 14.345186][ T267] ? is_bpf_text_address+0x68/0x110 [ 14.345195][ T267] ? netdev_adjacent_rename_links+0x470/0x470 [ 14.345199][ T267] ? __kernel_text_address+0x12/0x30 [ 14.345203][ T267] ? write_profile+0xf0/0xf0 [ 14.345209][ T267] ? __asan_memset+0x27/0x50 [ 14.345219][ T267] do_setlink.isra.0+0x1f7d/0x2a60 [ 14.345225][ T267] ? stack_trace_save+0x93/0xc0 [ 14.345229][ T267] ? rtnl_link_get_size+0x350/0x350 [ 14.345231][ T267] ? rcu_read_lock_any_held+0x66/0x90 [ 14.345235][ T267] ? stack_depot_save_flags+0x38e/0x790 [ 14.345240][ T267] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 14.345243][ T267] ? rcu_read_lock_any_held+0x3c/0x90 [ 14.345247][ T267] ? validate_chain+0x38b/0xc20 [ 14.345251][ T267] ? kasan_save_stack+0x3d/0x50 [ 14.345254][ T267] ? kasan_save_stack+0x2f/0x50 [ 14.345256][ T267] ? kasan_save_track+0x14/0x30 [ 14.345259][ T267] ? __kasan_kmalloc+0x7b/0x90 [ 14.345263][ T267] ? __lock_acquire+0x518/0xc20 [ 14.345266][ T267] ? snd_ac97_proc_read_main+0x4de/0x1f00 [ 14.345271][ T267] ? ___sys_sendmsg+0xd0/0x1d0 [ 14.345277][ T267] ? lock_acquire.part.0+0xd4/0x280 [ 14.345281][ T267] ? rtnl_newlink+0x9a8/0x11b0 [ 14.345285][ T267] ? rcu_is_watching+0x16/0xd0 [ 14.345288][ T267] ? lock_acquire+0x13c/0x160 [ 14.345291][ T267] ? rcu_is_watching+0x16/0xd0 [ 14.345293][ T267] ? rcu_is_watching+0x16/0xd0 [ 14.345297][ T267] ? trace_contention_end+0xb3/0x180 [ 14.345300][ T267] ? __mutex_lock+0x1db/0x1ea0 [ 14.345305][ T267] ? __mutex_lock+0x9a3/0x1ea0 [ 14.345308][ T267] ? rtnl_newlink+0x9a8/0x11b0 [ 14.345314][ T267] ? ww_mutex_lock+0x160/0x160 [ 14.345317][ T267] ? nla_get_range_signed+0x3d0/0x3d0 [ 14.345325][ T267] ? rcu_is_watching+0x16/0xd0 [ 14.345329][ T267] ? __rtnl_newlink+0x3fa/0xa50 [ 14.345339][ T267] rtnl_newlink+0x9f1/0x11b0 [ 14.345350][ T267] ? rtnl_bridge_getlink+0x850/0x850 [ 14.345353][ T267] ? __lock_acquire+0x518/0xc20 [ 14.345361][ T267] ? lock_acquire.part.0+0xd4/0x280 [ 14.345365][ T267] ? find_held_lock+0x2b/0x80 [ 14.345368][ T267] ? rtnl_bridge_getlink+0x850/0x850 [ 14.345372][ T267] ? __lock_release.isra.0+0x69/0x1a0 [ 14.345379][ T267] ? rtnl_bridge_getlink+0x850/0x850 [ 14.345383][ T267] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 14.345389][ T267] ? rtnl_link_fill+0x920/0x920 [ 14.345391][ T267] ? __lock_acquire+0x518/0xc20 [ 14.345399][ T267] ? lock_acquire.part.0+0xd4/0x280 [ 14.345403][ T267] ? find_held_lock+0x2b/0x80 [ 14.345409][ T267] netlink_rcv_skb+0x14e/0x3a0 [ 14.345414][ T267] ? rtnl_link_fill+0x920/0x920 [ 14.345420][ T267] ? netlink_ack+0xcf0/0xcf0 [ 14.345432][ T267] ? netlink_deliver_tap+0xc5/0x330 [ 14.345435][ T267] ? netlink_deliver_tap+0x13c/0x330 [ 14.345443][ T267] netlink_unicast+0x486/0x750 [ 14.345450][ T267] ? netlink_attachskb+0x810/0x810 [ 14.345455][ T267] ? find_held_lock+0x2b/0x80 [ 14.345463][ T267] netlink_sendmsg+0x75b/0xc90 [ 14.345470][ T267] ? netlink_unicast+0x750/0x750 [ 14.345477][ T267] ? __lock_release.isra.0+0x69/0x1a0 [ 14.345480][ T267] ? __import_iovec+0x36c/0x620 [ 14.345489][ T267] __sock_sendmsg+0xce/0x190 [ 14.345494][ T267] ____sys_sendmsg+0x61a/0x860 [ 14.345498][ T267] ? copy_msghdr_from_user+0x279/0x420 [ 14.345502][ T267] ? sock_write_iter+0x400/0x400 [ 14.345504][ T267] ? move_addr_to_kernel+0x40/0x40 [ 14.345518][ T267] ___sys_sendmsg+0x14e/0x1d0 [ 14.345524][ T267] ? copy_msghdr_from_user+0x420/0x420 [ 14.345554][ T267] __sys_sendmsg+0x12c/0x1d0 [ 14.345559][ T267] ? __sys_sendmsg_sock+0x20/0x20 [ 14.345571][ T267] ? rcu_is_watching+0x16/0xd0 [ 14.345577][ T267] do_syscall_64+0xff/0x530 [ 14.345582][ T267] ? exc_page_fault+0xee/0x100 [ 14.345587][ T267] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.345590][ T267] RIP: 0033:0x7fa40cdad54e [ 14.345596][ T267] 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 [ 14.345598][ T267] RSP: 002b:00007ffe6bf35b00 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 14.345602][ T267] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fa40cdad54e [ 14.345604][ T267] RDX: 0000000000000000 RSI: 00007ffe6bf35bb0 RDI: 0000000000000005 [ 14.345606][ T267] RBP: 00007ffe6bf35b10 R08: 0000000000000000 R09: 0000000000000000 [ 14.345607][ T267] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a9101a8 [ 14.345609][ T267] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffe6bf36280 [ 14.345622][ T267] [ 14.425885][ T267] ip (267) used greatest stack depth: 23208 bytes left