[ 11.039150][ T219] veth0: renamed from veth-rt-1 [ 11.039230][ T219] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.039232][ T219] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 219, name: ip [ 11.039234][ T219] preempt_count: 1, expected: 0 [ 11.039235][ T219] RCU nest depth: 0, expected: 0 [ 11.039236][ T219] locks held by ip/219: 5, last CPU#1: [ 11.039238][ T219] #0: ffffffff8f31b740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 11.039249][ T219] #1: ffffffff8eb7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.039255][ T219] #2: ffffffff8eb7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.039259][ T219] #3: ffffffff8ea9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.039263][ T219] #4: ffffffff8ea9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.039267][ T219] irq event stamp: 21256 [ 11.039268][ T219] hardirqs last enabled at (21255): [] __down_trylock_console_sem+0x86/0xa0 [ 11.039271][ T219] hardirqs last disabled at (21256): [] console_emit_next_record+0x3d4/0x4c0 [ 11.039273][ T219] softirqs last enabled at (21250): [] netif_change_name+0x216/0x8c0 [ 11.039277][ T219] softirqs last disabled at (21248): [] netif_change_name+0x1ad/0x8c0 [ 11.039279][ T219] Preemption disabled at: [ 11.039280][ T219] [] vprintk_emit+0x31b/0x3e0 [ 11.039285][ T219] CPU: 1 UID: 0 PID: 219 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.039289][ T219] Tainted: [W]=WARN [ 11.039289][ T219] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.039291][ T219] Call Trace: [ 11.039293][ T219] [ 11.039294][ T219] dump_stack_lvl+0x6f/0xa0 [ 11.039300][ T219] ? vprintk_emit+0x31b/0x3e0 [ 11.039301][ T219] __might_resched.cold+0x1fe/0x2c1 [ 11.039311][ T219] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.039315][ T219] ? __kmalloc_noprof+0xdb/0x760 [ 11.039320][ T219] __kmalloc_noprof+0x443/0x760 [ 11.039322][ T219] ? alloc_buf.isra.0+0x4b/0x260 [ 11.039328][ T219] ? do_raw_spin_unlock+0x59/0x250 [ 11.039331][ T219] alloc_buf.isra.0+0x4b/0x260 [ 11.039336][ T219] put_chars+0x1e1/0x2f0 [ 11.039338][ T219] ? __send_to_port+0x420/0x420 [ 11.039345][ T219] hvc_console_print+0x292/0x780 [ 11.039353][ T219] ? hvc_write+0x3a0/0x3a0 [ 11.039356][ T219] ? lock_acquire+0x13c/0x160 [ 11.039361][ T219] console_emit_next_record+0x22f/0x4c0 [ 11.039365][ T219] ? devkmsg_read+0x4b0/0x4b0 [ 11.039367][ T219] ? console_flush_one_record+0x106/0x710 [ 11.039370][ T219] ? rcu_is_watching+0x16/0xd0 [ 11.039373][ T219] ? lock_acquire+0x13c/0x160 [ 11.039377][ T219] console_flush_one_record+0x46f/0x710 [ 11.039381][ T219] ? console_emit_next_record+0x4c0/0x4c0 [ 11.039383][ T219] ? __lock_acquire+0x518/0xc20 [ 11.039389][ T219] console_unlock+0xee/0x1f0 [ 11.039392][ T219] ? console_flush_one_record+0x710/0x710 [ 11.039394][ T219] ? rcu_is_watching+0x16/0xd0 [ 11.039396][ T219] ? lock_acquire+0xe0/0x160 [ 11.039399][ T219] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.039401][ T219] ? vprintk_emit+0x320/0x3e0 [ 11.039404][ T219] vprintk_emit+0x37c/0x3e0 [ 11.039407][ T219] ? wake_up_klogd_work_func+0x90/0x90 [ 11.039410][ T219] ? save_trace+0x68/0x280 [ 11.039414][ T219] _printk+0xc7/0x100 [ 11.039418][ T219] ? snapshot_read.cold+0x21/0x21 [ 11.039421][ T219] ? validate_chain+0x34a/0xc20 [ 11.039424][ T219] ? netdev_name+0x43/0x60 [ 11.039427][ T219] ? __netdev_printk+0x17f/0x1d0 [ 11.039430][ T219] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 11.039433][ T219] netdev_info+0xe2/0x116 [ 11.039435][ T219] ? netdev_notice+0x120/0x120 [ 11.039438][ T219] ? find_held_lock+0x2b/0x80 [ 11.039441][ T219] ? __lock_release.isra.0+0x69/0x1a0 [ 11.039444][ T219] ? mark_held_locks+0x40/0x70 [ 11.039447][ T219] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 11.039450][ T219] netif_change_name.cold+0x4f/0x89 [ 11.039452][ T219] ? is_bpf_text_address+0x68/0x110 [ 11.039457][ T219] ? netdev_adjacent_rename_links+0x470/0x470 [ 11.039460][ T219] ? __kernel_text_address+0x12/0x30 [ 11.039462][ T219] ? write_profile+0xf0/0xf0 [ 11.039466][ T219] ? __asan_memset+0x27/0x50 [ 11.039472][ T219] do_setlink.isra.0+0x1f7d/0x2a60 [ 11.039476][ T219] ? stack_trace_save+0x93/0xc0 [ 11.039478][ T219] ? rtnl_link_get_size+0x350/0x350 [ 11.039479][ T219] ? rcu_read_lock_any_held+0x66/0x90 [ 11.039482][ T219] ? stack_depot_save_flags+0x38e/0x790 [ 11.039486][ T219] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.039488][ T219] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.039490][ T219] ? validate_chain+0x38b/0xc20 [ 11.039492][ T219] ? kasan_save_stack+0x3d/0x50 [ 11.039494][ T219] ? kasan_save_stack+0x2f/0x50 [ 11.039495][ T219] ? kasan_save_track+0x14/0x30 [ 11.039497][ T219] ? __kasan_kmalloc+0x7b/0x90 [ 11.039499][ T219] ? __lock_acquire+0x518/0xc20 [ 11.039501][ T219] ? snd_ac97_proc_read_main+0x4de/0x1f00 [ 11.039504][ T219] ? ___sys_sendmsg+0xd0/0x1d0 [ 11.039508][ T219] ? lock_acquire.part.0+0xd4/0x280 [ 11.039510][ T219] ? rtnl_newlink+0x9a8/0x11b0 [ 11.039513][ T219] ? rcu_is_watching+0x16/0xd0 [ 11.039515][ T219] ? lock_acquire+0x13c/0x160 [ 11.039516][ T219] ? rcu_is_watching+0x16/0xd0 [ 11.039517][ T219] ? rcu_is_watching+0x16/0xd0 [ 11.039519][ T219] ? trace_contention_end+0xb3/0x180 [ 11.039521][ T219] ? __mutex_lock+0x1db/0x1ea0 [ 11.039524][ T219] ? __mutex_lock+0x9a3/0x1ea0 [ 11.039526][ T219] ? rtnl_newlink+0x9a8/0x11b0 [ 11.039530][ T219] ? ww_mutex_lock+0x160/0x160 [ 11.039531][ T219] ? nla_get_range_signed+0x3d0/0x3d0 [ 11.039536][ T219] ? rcu_is_watching+0x16/0xd0 [ 11.039538][ T219] ? __rtnl_newlink+0x3fa/0xa50 [ 11.039544][ T219] rtnl_newlink+0x9f1/0x11b0 [ 11.039549][ T219] ? rtnl_bridge_getlink+0x850/0x850 [ 11.039551][ T219] ? __lock_acquire+0x518/0xc20 [ 11.039556][ T219] ? lock_acquire.part.0+0xd4/0x280 [ 11.039558][ T219] ? find_held_lock+0x2b/0x80 [ 11.039560][ T219] ? rtnl_bridge_getlink+0x850/0x850 [ 11.039562][ T219] ? __lock_release.isra.0+0x69/0x1a0 [ 11.039566][ T219] ? rtnl_bridge_getlink+0x850/0x850 [ 11.039568][ T219] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 11.039571][ T219] ? rtnl_link_fill+0x920/0x920 [ 11.039573][ T219] ? __lock_acquire+0x518/0xc20 [ 11.039577][ T219] ? lock_acquire.part.0+0xd4/0x280 [ 11.039579][ T219] ? find_held_lock+0x2b/0x80 [ 11.039583][ T219] netlink_rcv_skb+0x14e/0x3a0 [ 11.039586][ T219] ? rtnl_link_fill+0x920/0x920 [ 11.039589][ T219] ? netlink_ack+0xcf0/0xcf0 [ 11.039596][ T219] ? netlink_deliver_tap+0xc5/0x330 [ 11.039599][ T219] ? netlink_deliver_tap+0x13c/0x330 [ 11.039603][ T219] netlink_unicast+0x486/0x750 [ 11.039607][ T219] ? netlink_attachskb+0x810/0x810 [ 11.039610][ T219] ? find_held_lock+0x2b/0x80 [ 11.039618][ T219] netlink_sendmsg+0x75b/0xc90 [ 11.039622][ T219] ? netlink_unicast+0x750/0x750 [ 11.039626][ T219] ? __lock_release.isra.0+0x69/0x1a0 [ 11.039628][ T219] ? __import_iovec+0x36c/0x620 [ 11.039634][ T219] __sock_sendmsg+0xce/0x190 [ 11.039637][ T219] ____sys_sendmsg+0x61a/0x860 [ 11.039639][ T219] ? copy_msghdr_from_user+0x279/0x420 [ 11.039641][ T219] ? sock_write_iter+0x400/0x400 [ 11.039643][ T219] ? move_addr_to_kernel+0x40/0x40 [ 11.039650][ T219] ___sys_sendmsg+0x14e/0x1d0 [ 11.039653][ T219] ? copy_msghdr_from_user+0x420/0x420 [ 11.039669][ T219] __sys_sendmsg+0x12c/0x1d0 [ 11.039672][ T219] ? __sys_sendmsg_sock+0x20/0x20 [ 11.039679][ T219] ? rcu_is_watching+0x16/0xd0 [ 11.039682][ T219] do_syscall_64+0xff/0x530 [ 11.039685][ T219] ? exc_page_fault+0xee/0x100 [ 11.039688][ T219] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.039690][ T219] RIP: 0033:0x7f1ce1a5154e [ 11.039694][ T219] 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 [ 11.039696][ T219] RSP: 002b:00007ffdedb98ab0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 11.039698][ T219] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f1ce1a5154e [ 11.039700][ T219] RDX: 0000000000000000 RSI: 00007ffdedb98b60 RDI: 0000000000000005 [ 11.039701][ T219] RBP: 00007ffdedb98ac0 R08: 0000000000000000 R09: 0000000000000000 [ 11.039702][ T219] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a910cf9 [ 11.039702][ T219] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffdedb99230 [ 11.039709][ T219] [ 11.092128][ T219] ip (219) used greatest stack depth: 23208 bytes left [ 11.468819][ T229] veth0: renamed from veth-rt-2