[ 10.883470][ T203] ip (203) used greatest stack depth: 23616 bytes left [ 10.883493][ T203] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.883495][ T203] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 203, name: ip [ 10.883497][ T203] preempt_count: 2, expected: 0 [ 10.883499][ T203] RCU nest depth: 0, expected: 0 [ 10.883500][ T203] locks held by ip/203: 5, last CPU#1: [ 10.883503][ T203] #0: ffffffff9f2167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.883517][ T203] #1: ffffffff9f37ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.883524][ T203] #2: ffffffff9f37de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.883530][ T203] #3: ffffffff9f29d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.883536][ T203] #4: ffffffff9f29d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.883543][ T203] irq event stamp: 19168 [ 10.883544][ T203] hardirqs last enabled at (19167): [] __down_trylock_console_sem+0x86/0xa0 [ 10.883548][ T203] hardirqs last disabled at (19168): [] console_emit_next_record+0x3d4/0x4c0 [ 10.883551][ T203] softirqs last enabled at (18870): [] handle_softirqs+0x67c/0x900 [ 10.883555][ T203] softirqs last disabled at (18865): [] __irq_exit_rcu+0x145/0x1c0 [ 10.883558][ T203] Preemption disabled at: [ 10.883559][ T203] [<0000000000000000>] 0x0 [ 10.883568][ T203] CPU: 1 UID: 0 PID: 203 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.883573][ T203] Tainted: [W]=WARN [ 10.883574][ T203] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.883576][ T203] Call Trace: [ 10.883579][ T203] [ 10.883581][ T203] dump_stack_lvl+0x6f/0xa0 [ 10.883589][ T203] __might_resched.cold+0x1fe/0x2c1 [ 10.883595][ T203] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.883601][ T203] ? __kmalloc_noprof+0xdb/0x760 [ 10.883608][ T203] __kmalloc_noprof+0x443/0x760 [ 10.883611][ T203] ? alloc_buf.isra.0+0x4b/0x260 [ 10.883621][ T203] ? do_raw_spin_unlock+0x59/0x250 [ 10.883625][ T203] alloc_buf.isra.0+0x4b/0x260 [ 10.883631][ T203] put_chars+0x1e1/0x2f0 [ 10.883635][ T203] ? __send_to_port+0x420/0x420 [ 10.883637][ T203] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.883642][ T203] ? validate_chain+0x38b/0xc20 [ 10.883651][ T203] hvc_console_print+0x292/0x780 [ 10.883664][ T203] ? hvc_write+0x3a0/0x3a0 [ 10.883668][ T203] ? rcu_is_watching+0x16/0xd0 [ 10.883671][ T203] ? lock_acquire+0x13c/0x160 [ 10.883678][ T203] console_emit_next_record+0x22f/0x4c0 [ 10.883685][ T203] ? devkmsg_read+0x4b0/0x4b0 [ 10.883687][ T203] ? console_flush_one_record+0x106/0x710 [ 10.883693][ T203] ? rcu_is_watching+0x16/0xd0 [ 10.883696][ T203] ? lock_acquire+0x13c/0x160 [ 10.883702][ T203] console_flush_one_record+0x46f/0x710 [ 10.883709][ T203] ? console_emit_next_record+0x4c0/0x4c0 [ 10.883712][ T203] ? __lock_acquire+0x518/0xc20 [ 10.883722][ T203] console_unlock+0xee/0x1f0 [ 10.883726][ T203] ? console_flush_one_record+0x710/0x710 [ 10.883729][ T203] ? rcu_is_watching+0x16/0xd0 [ 10.883732][ T203] ? lock_acquire+0xe0/0x160 [ 10.883738][ T203] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.883741][ T203] ? vprintk_emit+0x320/0x3e0 [ 10.883746][ T203] vprintk_emit+0x37c/0x3e0 [ 10.883751][ T203] ? wake_up_klogd_work_func+0x90/0x90 [ 10.883756][ T203] ? __lock_acquire+0x518/0xc20 [ 10.883763][ T203] _printk+0xc7/0x100 [ 10.883768][ T203] ? snapshot_read.cold+0x21/0x21 [ 10.883772][ T203] ? do_raw_spin_lock+0x131/0x280 [ 10.883777][ T203] ? __rwlock_init+0x150/0x150 [ 10.883783][ T203] ? do_raw_spin_lock+0x131/0x280 [ 10.883788][ T203] do_exit.cold+0x82/0x9c [ 10.883793][ T203] ? exit_notify+0x890/0x890 [ 10.883795][ T203] ? __lock_release.isra.0+0x69/0x1a0 [ 10.883800][ T203] ? rcu_is_watching+0x16/0xd0 [ 10.883806][ T203] do_group_exit+0xb8/0x370 [ 10.883811][ T203] __x64_sys_exit_group+0x3c/0x50 [ 10.883814][ T203] x64_sys_call+0x1567/0x1570 [ 10.883818][ T203] do_syscall_64+0xff/0x530 [ 10.883823][ T203] ? exc_page_fault+0xee/0x100 [ 10.883828][ T203] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.883831][ T203] RIP: 0033:0x7fc3614fd1b8 [ 10.883834][ T203] Code: Unable to access opcode bytes at 0x7fc3614fd18e. [ 10.883835][ T203] RSP: 002b:00007ffc46225e48 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.883838][ T203] RAX: ffffffffffffffda RBX: 00007fc36162df88 RCX: 00007fc3614fd1b8 [ 10.883840][ T203] RDX: 00007fc361247fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.883842][ T203] RBP: 00007ffc46225ea0 R08: 0000000000000000 R09: 0000000000000050 [ 10.883843][ T203] R10: 00007ffc46225c60 R11: 0000000000000246 R12: 0000000000000001 [ 10.883845][ T203] R13: 0000000000000000 R14: 00007fc36162c680 R15: 00007fc36162dfa0 [ 10.883858][ T203] [ 12.612130][ T258] veth0: renamed from veth-rt-1 [ 12.612268][ T258] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.612271][ T258] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 258, name: ip [ 12.612272][ T258] preempt_count: 1, expected: 0 [ 12.612273][ T258] RCU nest depth: 0, expected: 0 [ 12.612274][ T258] locks held by ip/258: 5, last CPU#1: [ 12.612276][ T258] #0: ffffffff9fb1b740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 12.612288][ T258] #1: ffffffff9f37ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.612294][ T258] #2: ffffffff9f37de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.612298][ T258] #3: ffffffff9f29d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.612302][ T258] #4: ffffffff9f29d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.612306][ T258] irq event stamp: 21388 [ 12.612307][ T258] hardirqs last enabled at (21387): [] __down_trylock_console_sem+0x86/0xa0 [ 12.612310][ T258] hardirqs last disabled at (21388): [] console_emit_next_record+0x3d4/0x4c0 [ 12.612312][ T258] softirqs last enabled at (21382): [] netif_change_name+0x216/0x8c0 [ 12.612315][ T258] softirqs last disabled at (21380): [] netif_change_name+0x1ad/0x8c0 [ 12.612318][ T258] Preemption disabled at: [ 12.612319][ T258] [] vprintk_emit+0x31b/0x3e0 [ 12.612324][ T258] CPU: 1 UID: 0 PID: 258 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.612328][ T258] Tainted: [W]=WARN [ 12.612329][ T258] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.612331][ T258] Call Trace: [ 12.612332][ T258] [ 12.612334][ T258] dump_stack_lvl+0x6f/0xa0 [ 12.612340][ T258] ? vprintk_emit+0x31b/0x3e0 [ 12.612342][ T258] __might_resched.cold+0x1fe/0x2c1 [ 12.612346][ T258] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.612350][ T258] ? __kmalloc_noprof+0xdb/0x760 [ 12.612355][ T258] __kmalloc_noprof+0x443/0x760 [ 12.612357][ T258] ? alloc_buf.isra.0+0x4b/0x260 [ 12.612363][ T258] ? do_raw_spin_unlock+0x59/0x250 [ 12.612366][ T258] alloc_buf.isra.0+0x4b/0x260 [ 12.612370][ T258] put_chars+0x1e1/0x2f0 [ 12.612372][ T258] ? __send_to_port+0x420/0x420 [ 12.612379][ T258] hvc_console_print+0x292/0x780 [ 12.612387][ T258] ? hvc_write+0x3a0/0x3a0 [ 12.612390][ T258] ? lock_acquire+0x13c/0x160 [ 12.612395][ T258] console_emit_next_record+0x22f/0x4c0 [ 12.612399][ T258] ? devkmsg_read+0x4b0/0x4b0 [ 12.612401][ T258] ? console_flush_one_record+0x106/0x710 [ 12.612404][ T258] ? rcu_is_watching+0x16/0xd0 [ 12.612407][ T258] ? lock_acquire+0x13c/0x160 [ 12.612411][ T258] console_flush_one_record+0x46f/0x710 [ 12.612415][ T258] ? console_emit_next_record+0x4c0/0x4c0 [ 12.612417][ T258] ? __lock_acquire+0x518/0xc20 [ 12.612423][ T258] console_unlock+0xee/0x1f0 [ 12.612425][ T258] ? console_flush_one_record+0x710/0x710 [ 12.612427][ T258] ? rcu_is_watching+0x16/0xd0 [ 12.612429][ T258] ? lock_acquire+0xe0/0x160 [ 12.612433][ T258] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.612435][ T258] ? vprintk_emit+0x320/0x3e0 [ 12.612438][ T258] vprintk_emit+0x37c/0x3e0 [ 12.612441][ T258] ? wake_up_klogd_work_func+0x90/0x90 [ 12.612443][ T258] ? save_trace+0x68/0x280 [ 12.612447][ T258] _printk+0xc7/0x100 [ 12.612451][ T258] ? snapshot_read.cold+0x21/0x21 [ 12.612455][ T258] ? validate_chain+0x34a/0xc20 [ 12.612457][ T258] ? netdev_name+0x43/0x60 [ 12.612461][ T258] ? __netdev_printk+0x17f/0x1d0 [ 12.612464][ T258] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 12.612466][ T258] netdev_info+0xe2/0x116 [ 12.612469][ T258] ? netdev_notice+0x120/0x120 [ 12.612471][ T258] ? find_held_lock+0x2b/0x80 [ 12.612475][ T258] ? __lock_release.isra.0+0x69/0x1a0 [ 12.612477][ T258] ? mark_held_locks+0x40/0x70 [ 12.612481][ T258] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 12.612483][ T258] netif_change_name.cold+0x4f/0x89 [ 12.612485][ T258] ? is_bpf_text_address+0x68/0x110 [ 12.612491][ T258] ? netdev_adjacent_rename_links+0x470/0x470 [ 12.612493][ T258] ? __kernel_text_address+0x12/0x30 [ 12.612496][ T258] ? write_profile+0xf0/0xf0 [ 12.612500][ T258] ? __asan_memset+0x27/0x50 [ 12.612506][ T258] do_setlink.isra.0+0x1f7d/0x2a60 [ 12.612510][ T258] ? stack_trace_save+0x93/0xc0 [ 12.612512][ T258] ? rtnl_link_get_size+0x350/0x350 [ 12.612513][ T258] ? rcu_read_lock_any_held+0x66/0x90 [ 12.612516][ T258] ? stack_depot_save_flags+0x38e/0x790 [ 12.612520][ T258] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.612522][ T258] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.612524][ T258] ? validate_chain+0x38b/0xc20 [ 12.612526][ T258] ? kasan_save_stack+0x3d/0x50 [ 12.612528][ T258] ? kasan_save_stack+0x2f/0x50 [ 12.612529][ T258] ? kasan_save_track+0x14/0x30 [ 12.612530][ T258] ? __kasan_kmalloc+0x7b/0x90 [ 12.612533][ T258] ? __lock_acquire+0x518/0xc20 [ 12.612535][ T258] ? snd_ac97_proc_read_main+0x4de/0x1f00 [ 12.612538][ T258] ? ___sys_sendmsg+0xd0/0x1d0 [ 12.612542][ T258] ? lock_acquire.part.0+0xd4/0x280 [ 12.612544][ T258] ? rtnl_newlink+0x9a8/0x11b0 [ 12.612547][ T258] ? rcu_is_watching+0x16/0xd0 [ 12.612549][ T258] ? lock_acquire+0x13c/0x160 [ 12.612550][ T258] ? rcu_is_watching+0x16/0xd0 [ 12.612551][ T258] ? rcu_is_watching+0x16/0xd0 [ 12.612553][ T258] ? trace_contention_end+0xb3/0x180 [ 12.612555][ T258] ? __mutex_lock+0x1db/0x1ea0 [ 12.612558][ T258] ? __mutex_lock+0x9a3/0x1ea0 [ 12.612560][ T258] ? rtnl_newlink+0x9a8/0x11b0 [ 12.612564][ T258] ? ww_mutex_lock+0x160/0x160 [ 12.612565][ T258] ? nla_get_range_signed+0x3d0/0x3d0 [ 12.612570][ T258] ? rcu_is_watching+0x16/0xd0 [ 12.612572][ T258] ? __rtnl_newlink+0x3fa/0xa50 [ 12.612578][ T258] rtnl_newlink+0x9f1/0x11b0 [ 12.612583][ T258] ? rtnl_bridge_getlink+0x850/0x850 [ 12.612585][ T258] ? __lock_acquire+0x518/0xc20 [ 12.612590][ T258] ? lock_acquire.part.0+0xd4/0x280 [ 12.612592][ T258] ? find_held_lock+0x2b/0x80 [ 12.612594][ T258] ? rtnl_bridge_getlink+0x850/0x850 [ 12.612596][ T258] ? __lock_release.isra.0+0x69/0x1a0 [ 12.612600][ T258] ? rtnl_bridge_getlink+0x850/0x850 [ 12.612602][ T258] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 12.612605][ T258] ? rtnl_link_fill+0x920/0x920 [ 12.612607][ T258] ? __lock_acquire+0x518/0xc20 [ 12.612611][ T258] ? lock_acquire.part.0+0xd4/0x280 [ 12.612613][ T258] ? find_held_lock+0x2b/0x80 [ 12.612617][ T258] netlink_rcv_skb+0x14e/0x3a0 [ 12.612620][ T258] ? rtnl_link_fill+0x920/0x920 [ 12.612623][ T258] ? netlink_ack+0xcf0/0xcf0 [ 12.612630][ T258] ? netlink_deliver_tap+0xc5/0x330 [ 12.612632][ T258] ? netlink_deliver_tap+0x13c/0x330 [ 12.612637][ T258] netlink_unicast+0x486/0x750 [ 12.612641][ T258] ? netlink_attachskb+0x810/0x810 [ 12.612644][ T258] ? find_held_lock+0x2b/0x80 [ 12.612648][ T258] netlink_sendmsg+0x75b/0xc90 [ 12.612652][ T258] ? netlink_unicast+0x750/0x750 [ 12.612656][ T258] ? __lock_release.isra.0+0x69/0x1a0 [ 12.612658][ T258] ? __import_iovec+0x36c/0x620 [ 12.612663][ T258] __sock_sendmsg+0xce/0x190 [ 12.612666][ T258] ____sys_sendmsg+0x61a/0x860 [ 12.612669][ T258] ? copy_msghdr_from_user+0x279/0x420 [ 12.612671][ T258] ? sock_write_iter+0x400/0x400 [ 12.612673][ T258] ? move_addr_to_kernel+0x40/0x40 [ 12.612680][ T258] ___sys_sendmsg+0x14e/0x1d0 [ 12.612683][ T258] ? copy_msghdr_from_user+0x420/0x420 [ 12.612700][ T258] __sys_sendmsg+0x12c/0x1d0 [ 12.612703][ T258] ? __sys_sendmsg_sock+0x20/0x20 [ 12.612709][ T258] ? fpregs_restore_userregs+0x14b/0x300 [ 12.612713][ T258] ? rcu_is_watching+0x16/0xd0 [ 12.612716][ T258] do_syscall_64+0xff/0x530 [ 12.612719][ T258] ? exc_page_fault+0xee/0x100 [ 12.612722][ T258] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.612724][ T258] RIP: 0033:0x7f5ac1be054e [ 12.612728][ T258] 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.612730][ T258] RSP: 002b:00007ffd59c3adf0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 12.612732][ T258] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f5ac1be054e [ 12.612734][ T258] RDX: 0000000000000000 RSI: 00007ffd59c3aea0 RDI: 0000000000000005 [ 12.612734][ T258] RBP: 00007ffd59c3ae00 R08: 0000000000000000 R09: 0000000000000000 [ 12.612735][ T258] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a915609 [ 12.612736][ T258] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffd59c3b570 [ 12.612743][ T258] [ 12.662586][ T258] ip (258) used greatest stack depth: 23208 bytes left [ 12.977876][ T268] veth0: renamed from veth-rt-2