[ 11.199921][ T208] ip (208) used greatest stack depth: 24240 bytes left [ 11.199939][ T208] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.199941][ T208] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 208, name: ip [ 11.199942][ T208] preempt_count: 2, expected: 0 [ 11.199943][ T208] RCU nest depth: 0, expected: 0 [ 11.199944][ T208] locks held by ip/208: 5, last CPU#2: [ 11.199946][ T208] #0: ffffffff8f6167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.199958][ T208] #1: ffffffff8f77ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.199963][ T208] #2: ffffffff8f77de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.199967][ T208] #3: ffffffff8f69d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.199971][ T208] #4: ffffffff8f69d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.199975][ T208] irq event stamp: 41992 [ 11.199976][ T208] hardirqs last enabled at (41991): [] __down_trylock_console_sem+0x86/0xa0 [ 11.199979][ T208] hardirqs last disabled at (41992): [] console_emit_next_record+0x3d4/0x4c0 [ 11.199981][ T208] softirqs last enabled at (41268): [] handle_softirqs+0x67c/0x900 [ 11.199983][ T208] softirqs last disabled at (41263): [] __irq_exit_rcu+0x145/0x1c0 [ 11.199986][ T208] Preemption disabled at: [ 11.199986][ T208] [<0000000000000000>] 0x0 [ 11.199994][ T208] CPU: 2 UID: 0 PID: 208 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.199998][ T208] Tainted: [W]=WARN [ 11.199999][ T208] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.200001][ T208] Call Trace: [ 11.200002][ T208] [ 11.200004][ T208] dump_stack_lvl+0x6f/0xa0 [ 11.200011][ T208] __might_resched.cold+0x1fe/0x2c1 [ 11.200015][ T208] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.200020][ T208] ? __kmalloc_noprof+0xdb/0x760 [ 11.200024][ T208] __kmalloc_noprof+0x443/0x760 [ 11.200026][ T208] ? alloc_buf.isra.0+0x4b/0x260 [ 11.200033][ T208] ? do_raw_spin_unlock+0x59/0x250 [ 11.200036][ T208] alloc_buf.isra.0+0x4b/0x260 [ 11.200040][ T208] put_chars+0x1e1/0x2f0 [ 11.200042][ T208] ? __send_to_port+0x420/0x420 [ 11.200044][ T208] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.200047][ T208] ? validate_chain+0x38b/0xc20 [ 11.200053][ T208] hvc_console_print+0x292/0x780 [ 11.200061][ T208] ? hvc_write+0x3a0/0x3a0 [ 11.200063][ T208] ? rcu_is_watching+0x16/0xd0 [ 11.200065][ T208] ? lock_acquire+0x13c/0x160 [ 11.200070][ T208] console_emit_next_record+0x22f/0x4c0 [ 11.200074][ T208] ? devkmsg_read+0x4b0/0x4b0 [ 11.200076][ T208] ? console_flush_one_record+0x106/0x710 [ 11.200079][ T208] ? rcu_is_watching+0x16/0xd0 [ 11.200081][ T208] ? lock_acquire+0x13c/0x160 [ 11.200085][ T208] console_flush_one_record+0x46f/0x710 [ 11.200089][ T208] ? console_emit_next_record+0x4c0/0x4c0 [ 11.200091][ T208] ? __lock_acquire+0x518/0xc20 [ 11.200097][ T208] console_unlock+0xee/0x1f0 [ 11.200100][ T208] ? console_flush_one_record+0x710/0x710 [ 11.200102][ T208] ? rcu_is_watching+0x16/0xd0 [ 11.200103][ T208] ? lock_acquire+0xe0/0x160 [ 11.200107][ T208] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.200109][ T208] ? vprintk_emit+0x320/0x3e0 [ 11.200112][ T208] vprintk_emit+0x37c/0x3e0 [ 11.200115][ T208] ? wake_up_klogd_work_func+0x90/0x90 [ 11.200118][ T208] ? __lock_acquire+0x518/0xc20 [ 11.200122][ T208] _printk+0xc7/0x100 [ 11.200126][ T208] ? snapshot_read.cold+0x21/0x21 [ 11.200129][ T208] ? do_raw_spin_lock+0x131/0x280 [ 11.200131][ T208] ? __rwlock_init+0x150/0x150 [ 11.200136][ T208] ? do_raw_spin_lock+0x131/0x280 [ 11.200138][ T208] do_exit.cold+0x82/0x9c [ 11.200142][ T208] ? exit_notify+0x890/0x890 [ 11.200143][ T208] ? __lock_release.isra.0+0x69/0x1a0 [ 11.200146][ T208] ? rcu_is_watching+0x16/0xd0 [ 11.200150][ T208] do_group_exit+0xb8/0x370 [ 11.200153][ T208] __x64_sys_exit_group+0x3c/0x50 [ 11.200155][ T208] x64_sys_call+0x1567/0x1570 [ 11.200157][ T208] do_syscall_64+0xff/0x530 [ 11.200161][ T208] ? exc_page_fault+0xee/0x100 [ 11.200164][ T208] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.200167][ T208] RIP: 0033:0x7f3700e101b8 [ 11.200169][ T208] Code: Unable to access opcode bytes at 0x7f3700e1018e. [ 11.200170][ T208] RSP: 002b:00007ffeaf40e198 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.200173][ T208] RAX: ffffffffffffffda RBX: 00007f3700f40f88 RCX: 00007f3700e101b8 [ 11.200174][ T208] RDX: 00007f3700b5afc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.200175][ T208] RBP: 00007ffeaf40e1f0 R08: 0000000000000000 R09: 0000000000008010 [ 11.200176][ T208] R10: 00007ffeaf40dfb0 R11: 0000000000000246 R12: 0000000000000001 [ 11.200177][ T208] R13: 0000000000000000 R14: 00007f3700f3f680 R15: 00007f3700f40fa0 [ 11.200184][ T208] [ 11.899462][ T230] veth0: renamed from veth-rt-1 [ 12.352342][ T239] veth0: renamed from veth-rt-2 [ 12.352367][ T239] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.352371][ T239] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 239, name: ip [ 12.352373][ T239] preempt_count: 1, expected: 0 [ 12.352374][ T239] RCU nest depth: 0, expected: 0 [ 12.352376][ T239] locks held by ip/239: 5, last CPU#3: [ 12.352378][ T239] #0: ffffffff8ff1b740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 12.352394][ T239] #1: ffffffff8f77ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.352402][ T239] #2: ffffffff8f77de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.352408][ T239] #3: ffffffff8f69d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.352414][ T239] #4: ffffffff8f69d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.352421][ T239] irq event stamp: 30144 [ 12.352422][ T239] hardirqs last enabled at (30143): [] __down_trylock_console_sem+0x86/0xa0 [ 12.352426][ T239] hardirqs last disabled at (30144): [] console_emit_next_record+0x3d4/0x4c0 [ 12.352429][ T239] softirqs last enabled at (30138): [] netif_change_name+0x216/0x8c0 [ 12.352434][ T239] softirqs last disabled at (30136): [] netif_change_name+0x1ad/0x8c0 [ 12.352438][ T239] Preemption disabled at: [ 12.352439][ T239] [] vprintk_emit+0x31b/0x3e0 [ 12.352446][ T239] CPU: 3 UID: 0 PID: 239 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.352451][ T239] Tainted: [W]=WARN [ 12.352452][ T239] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.352454][ T239] Call Trace: [ 12.352457][ T239] [ 12.352459][ T239] dump_stack_lvl+0x6f/0xa0 [ 12.352467][ T239] ? vprintk_emit+0x31b/0x3e0 [ 12.352470][ T239] __might_resched.cold+0x1fe/0x2c1 [ 12.352476][ T239] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.352482][ T239] ? __kmalloc_noprof+0xdb/0x760 [ 12.352489][ T239] __kmalloc_noprof+0x443/0x760 [ 12.352492][ T239] ? alloc_buf.isra.0+0x4b/0x260 [ 12.352502][ T239] ? do_raw_spin_unlock+0x59/0x250 [ 12.352506][ T239] alloc_buf.isra.0+0x4b/0x260 [ 12.352512][ T239] put_chars+0x1e1/0x2f0 [ 12.352516][ T239] ? __send_to_port+0x420/0x420 [ 12.352528][ T239] hvc_console_print+0x292/0x780 [ 12.352540][ T239] ? hvc_write+0x3a0/0x3a0 [ 12.352546][ T239] ? lock_acquire+0x13c/0x160 [ 12.352554][ T239] console_emit_next_record+0x22f/0x4c0 [ 12.352566][ T239] ? devkmsg_read+0x4b0/0x4b0 [ 12.352568][ T239] ? console_flush_one_record+0x106/0x710 [ 12.352574][ T239] ? rcu_is_watching+0x16/0xd0 [ 12.352578][ T239] ? lock_acquire+0x13c/0x160 [ 12.352587][ T239] console_flush_one_record+0x46f/0x710 [ 12.352594][ T239] ? console_emit_next_record+0x4c0/0x4c0 [ 12.352597][ T239] ? __lock_acquire+0x518/0xc20 [ 12.352607][ T239] console_unlock+0xee/0x1f0 [ 12.352611][ T239] ? console_flush_one_record+0x710/0x710 [ 12.352614][ T239] ? rcu_is_watching+0x16/0xd0 [ 12.352617][ T239] ? lock_acquire+0xe0/0x160 [ 12.352624][ T239] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.352627][ T239] ? vprintk_emit+0x320/0x3e0 [ 12.352632][ T239] vprintk_emit+0x37c/0x3e0 [ 12.352637][ T239] ? wake_up_klogd_work_func+0x90/0x90 [ 12.352640][ T239] ? __lock_acquire+0x518/0xc20 [ 12.352643][ T239] ? lock_pin_lock+0x87/0x180 [ 12.352646][ T239] ? __print_lock_name+0x2/0x80 [ 12.352653][ T239] _printk+0xc7/0x100 [ 12.352658][ T239] ? snapshot_read.cold+0x21/0x21 [ 12.352660][ T239] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.352665][ T239] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.352669][ T239] ? validate_chain+0x38b/0xc20 [ 12.352673][ T239] ? netdev_name+0x43/0x60 [ 12.352678][ T239] ? __netdev_printk+0x17f/0x1d0 [ 12.352682][ T239] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 12.352686][ T239] netdev_info+0xe2/0x116 [ 12.352691][ T239] ? netdev_notice+0x120/0x120 [ 12.352695][ T239] ? find_held_lock+0x2b/0x80 [ 12.352700][ T239] ? __lock_release.isra.0+0x69/0x1a0 [ 12.352704][ T239] ? mark_held_locks+0x40/0x70 [ 12.352710][ T239] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 12.352714][ T239] netif_change_name.cold+0x4f/0x89 [ 12.352718][ T239] ? is_bpf_text_address+0x68/0x110 [ 12.352726][ T239] ? netdev_adjacent_rename_links+0x470/0x470 [ 12.352730][ T239] ? __kernel_text_address+0x12/0x30 [ 12.352734][ T239] ? write_profile+0xf0/0xf0 [ 12.352740][ T239] ? __asan_memset+0x27/0x50 [ 12.352750][ T239] do_setlink.isra.0+0x1f7d/0x2a60 [ 12.352756][ T239] ? stack_trace_save+0x93/0xc0 [ 12.352760][ T239] ? rtnl_link_get_size+0x350/0x350 [ 12.352762][ T239] ? rcu_read_lock_any_held+0x66/0x90 [ 12.352766][ T239] ? stack_depot_save_flags+0x38e/0x790 [ 12.352771][ T239] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.352774][ T239] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.352777][ T239] ? validate_chain+0x38b/0xc20 [ 12.352781][ T239] ? kasan_save_stack+0x3d/0x50 [ 12.352784][ T239] ? kasan_save_stack+0x2f/0x50 [ 12.352786][ T239] ? kasan_save_track+0x14/0x30 [ 12.352788][ T239] ? __kasan_kmalloc+0x7b/0x90 [ 12.352792][ T239] ? __lock_acquire+0x518/0xc20 [ 12.352796][ T239] ? snd_ac97_proc_read_main+0x4de/0x1f00 [ 12.352800][ T239] ? ___sys_sendmsg+0xd0/0x1d0 [ 12.352807][ T239] ? lock_acquire.part.0+0xd4/0x280 [ 12.352810][ T239] ? rtnl_newlink+0x9a8/0x11b0 [ 12.352815][ T239] ? rcu_is_watching+0x16/0xd0 [ 12.352818][ T239] ? lock_acquire+0x13c/0x160 [ 12.352820][ T239] ? rcu_is_watching+0x16/0xd0 [ 12.352822][ T239] ? rcu_is_watching+0x16/0xd0 [ 12.352825][ T239] ? trace_contention_end+0xb3/0x180 [ 12.352829][ T239] ? __mutex_lock+0x1db/0x1ea0 [ 12.352833][ T239] ? __mutex_lock+0x9a3/0x1ea0 [ 12.352837][ T239] ? rtnl_newlink+0x9a8/0x11b0 [ 12.352843][ T239] ? ww_mutex_lock+0x160/0x160 [ 12.352845][ T239] ? nla_get_range_signed+0x3d0/0x3d0 [ 12.352853][ T239] ? rcu_is_watching+0x16/0xd0 [ 12.352857][ T239] ? __rtnl_newlink+0x3fa/0xa50 [ 12.352867][ T239] rtnl_newlink+0x9f1/0x11b0 [ 12.352877][ T239] ? rtnl_bridge_getlink+0x850/0x850 [ 12.352880][ T239] ? __lock_acquire+0x518/0xc20 [ 12.352889][ T239] ? lock_acquire.part.0+0xd4/0x280 [ 12.352892][ T239] ? find_held_lock+0x2b/0x80 [ 12.352895][ T239] ? rtnl_bridge_getlink+0x850/0x850 [ 12.352898][ T239] ? __lock_release.isra.0+0x69/0x1a0 [ 12.352905][ T239] ? rtnl_bridge_getlink+0x850/0x850 [ 12.352908][ T239] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 12.352914][ T239] ? rtnl_link_fill+0x920/0x920 [ 12.352916][ T239] ? __lock_acquire+0x518/0xc20 [ 12.352924][ T239] ? lock_acquire.part.0+0xd4/0x280 [ 12.352927][ T239] ? find_held_lock+0x2b/0x80 [ 12.352934][ T239] netlink_rcv_skb+0x14e/0x3a0 [ 12.352938][ T239] ? rtnl_link_fill+0x920/0x920 [ 12.352943][ T239] ? netlink_ack+0xcf0/0xcf0 [ 12.352955][ T239] ? netlink_deliver_tap+0xc5/0x330 [ 12.352958][ T239] ? netlink_deliver_tap+0x13c/0x330 [ 12.352966][ T239] netlink_unicast+0x486/0x750 [ 12.352973][ T239] ? netlink_attachskb+0x810/0x810 [ 12.352978][ T239] ? find_held_lock+0x2b/0x80 [ 12.352985][ T239] netlink_sendmsg+0x75b/0xc90 [ 12.352993][ T239] ? netlink_unicast+0x750/0x750 [ 12.352999][ T239] ? __lock_release.isra.0+0x69/0x1a0 [ 12.353002][ T239] ? __import_iovec+0x36c/0x620 [ 12.353010][ T239] __sock_sendmsg+0xce/0x190 [ 12.353015][ T239] ____sys_sendmsg+0x61a/0x860 [ 12.353019][ T239] ? copy_msghdr_from_user+0x279/0x420 [ 12.353023][ T239] ? sock_write_iter+0x400/0x400 [ 12.353025][ T239] ? move_addr_to_kernel+0x40/0x40 [ 12.353039][ T239] ___sys_sendmsg+0x14e/0x1d0 [ 12.353044][ T239] ? copy_msghdr_from_user+0x420/0x420 [ 12.353074][ T239] __sys_sendmsg+0x12c/0x1d0 [ 12.353079][ T239] ? __sys_sendmsg_sock+0x20/0x20 [ 12.353090][ T239] ? rcu_is_watching+0x16/0xd0 [ 12.353096][ T239] do_syscall_64+0xff/0x530 [ 12.353100][ T239] ? exc_page_fault+0xee/0x100 [ 12.353105][ T239] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.353109][ T239] RIP: 0033:0x7fc7c923b54e [ 12.353114][ T239] 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 [ 12.353116][ T239] RSP: 002b:00007fffe3c95300 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 12.353120][ T239] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fc7c923b54e [ 12.353122][ T239] RDX: 0000000000000000 RSI: 00007fffe3c953b0 RDI: 0000000000000005 [ 12.353124][ T239] RBP: 00007fffe3c95310 R08: 0000000000000000 R09: 0000000000000000 [ 12.353125][ T239] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91066b [ 12.353127][ T239] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007fffe3c95a80 [ 12.353140][ T239] [ 12.430452][ T239] ip (239) used greatest stack depth: 23208 bytes left