[ 9.943345][ T227] veth0: renamed from veth-rt-1 [ 9.943422][ T227] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.943424][ T227] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 227, name: ip [ 9.943425][ T227] preempt_count: 1, expected: 0 [ 9.943427][ T227] RCU nest depth: 0, expected: 0 [ 9.943428][ T227] locks held by ip/227: 5, last CPU#3: [ 9.943429][ T227] #0: ffffffffa991b740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 9.943441][ T227] #1: ffffffffa917ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.943447][ T227] #2: ffffffffa917de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.943452][ T227] #3: ffffffffa909d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.943455][ T227] #4: ffffffffa909d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.943459][ T227] irq event stamp: 13590 [ 9.943460][ T227] hardirqs last enabled at (13589): [] __down_trylock_console_sem+0x86/0xa0 [ 9.943463][ T227] hardirqs last disabled at (13590): [] console_emit_next_record+0x3d4/0x4c0 [ 9.943465][ T227] softirqs last enabled at (13582): [] netif_change_name+0x216/0x8c0 [ 9.943468][ T227] softirqs last disabled at (13580): [] netif_change_name+0x1ad/0x8c0 [ 9.943471][ T227] Preemption disabled at: [ 9.943472][ T227] [] vprintk_emit+0x31b/0x3e0 [ 9.943477][ T227] CPU: 3 UID: 0 PID: 227 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.943481][ T227] Tainted: [W]=WARN [ 9.943482][ T227] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.943483][ T227] Call Trace: [ 9.943485][ T227] [ 9.943486][ T227] dump_stack_lvl+0x6f/0xa0 [ 9.943492][ T227] ? vprintk_emit+0x31b/0x3e0 [ 9.943494][ T227] __might_resched.cold+0x1fe/0x2c1 [ 9.943499][ T227] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.943504][ T227] ? __kmalloc_noprof+0xdb/0x760 [ 9.943508][ T227] __kmalloc_noprof+0x443/0x760 [ 9.943510][ T227] ? alloc_buf.isra.0+0x4b/0x260 [ 9.943516][ T227] ? do_raw_spin_unlock+0x59/0x250 [ 9.943519][ T227] alloc_buf.isra.0+0x4b/0x260 [ 9.943523][ T227] put_chars+0x1e1/0x2f0 [ 9.943525][ T227] ? __send_to_port+0x420/0x420 [ 9.943532][ T227] hvc_console_print+0x292/0x780 [ 9.943540][ T227] ? hvc_write+0x3a0/0x3a0 [ 9.943543][ T227] ? lock_acquire+0x13c/0x160 [ 9.943547][ T227] console_emit_next_record+0x22f/0x4c0 [ 9.943551][ T227] ? devkmsg_read+0x4b0/0x4b0 [ 9.943553][ T227] ? console_flush_one_record+0x106/0x710 [ 9.943557][ T227] ? rcu_is_watching+0x16/0xd0 [ 9.943559][ T227] ? lock_acquire+0x13c/0x160 [ 9.943563][ T227] console_flush_one_record+0x46f/0x710 [ 9.943568][ T227] ? console_emit_next_record+0x4c0/0x4c0 [ 9.943569][ T227] ? __lock_acquire+0x518/0xc20 [ 9.943575][ T227] console_unlock+0xee/0x1f0 [ 9.943578][ T227] ? console_flush_one_record+0x710/0x710 [ 9.943580][ T227] ? rcu_is_watching+0x16/0xd0 [ 9.943581][ T227] ? lock_acquire+0xe0/0x160 [ 9.943585][ T227] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.943587][ T227] ? vprintk_emit+0x320/0x3e0 [ 9.943590][ T227] vprintk_emit+0x37c/0x3e0 [ 9.943593][ T227] ? wake_up_klogd_work_func+0x90/0x90 [ 9.943595][ T227] ? save_trace+0x68/0x280 [ 9.943600][ T227] _printk+0xc7/0x100 [ 9.943603][ T227] ? snapshot_read.cold+0x21/0x21 [ 9.943606][ T227] ? validate_chain+0x34a/0xc20 [ 9.943609][ T227] ? netdev_name+0x43/0x60 [ 9.943613][ T227] ? __netdev_printk+0x17f/0x1d0 [ 9.943616][ T227] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 9.943618][ T227] netdev_info+0xe2/0x116 [ 9.943621][ T227] ? netdev_notice+0x120/0x120 [ 9.943624][ T227] ? find_held_lock+0x2b/0x80 [ 9.943627][ T227] ? __lock_release.isra.0+0x69/0x1a0 [ 9.943629][ T227] ? mark_held_locks+0x40/0x70 [ 9.943633][ T227] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 9.943635][ T227] netif_change_name.cold+0x4f/0x89 [ 9.943637][ T227] ? is_bpf_text_address+0x68/0x110 [ 9.943643][ T227] ? netdev_adjacent_rename_links+0x470/0x470 [ 9.943645][ T227] ? __kernel_text_address+0x12/0x30 [ 9.943648][ T227] ? write_profile+0xf0/0xf0 [ 9.943652][ T227] ? __asan_memset+0x27/0x50 [ 9.943658][ T227] do_setlink.isra.0+0x1f7d/0x2a60 [ 9.943661][ T227] ? stack_trace_save+0x93/0xc0 [ 9.943663][ T227] ? rtnl_link_get_size+0x350/0x350 [ 9.943665][ T227] ? rcu_read_lock_any_held+0x66/0x90 [ 9.943667][ T227] ? stack_depot_save_flags+0x38e/0x790 [ 9.943671][ T227] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.943673][ T227] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.943675][ T227] ? validate_chain+0x38b/0xc20 [ 9.943678][ T227] ? kasan_save_stack+0x3d/0x50 [ 9.943679][ T227] ? kasan_save_stack+0x2f/0x50 [ 9.943681][ T227] ? kasan_save_track+0x14/0x30 [ 9.943682][ T227] ? __kasan_kmalloc+0x7b/0x90 [ 9.943684][ T227] ? __lock_acquire+0x518/0xc20 [ 9.943686][ T227] ? snd_ac97_proc_read_main+0x4de/0x1f00 [ 9.943689][ T227] ? ___sys_sendmsg+0xd0/0x1d0 [ 9.943693][ T227] ? lock_acquire.part.0+0xd4/0x280 [ 9.943695][ T227] ? rtnl_newlink+0x9a8/0x11b0 [ 9.943697][ T227] ? rcu_is_watching+0x16/0xd0 [ 9.943699][ T227] ? lock_acquire+0x13c/0x160 [ 9.943701][ T227] ? rcu_is_watching+0x16/0xd0 [ 9.943702][ T227] ? rcu_is_watching+0x16/0xd0 [ 9.943704][ T227] ? trace_contention_end+0xb3/0x180 [ 9.943706][ T227] ? __mutex_lock+0x1db/0x1ea0 [ 9.943709][ T227] ? __mutex_lock+0x9a3/0x1ea0 [ 9.943711][ T227] ? rtnl_newlink+0x9a8/0x11b0 [ 9.943714][ T227] ? ww_mutex_lock+0x160/0x160 [ 9.943715][ T227] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.943720][ T227] ? rcu_is_watching+0x16/0xd0 [ 9.943722][ T227] ? __rtnl_newlink+0x3fa/0xa50 [ 9.943728][ T227] rtnl_newlink+0x9f1/0x11b0 [ 9.943733][ T227] ? rtnl_bridge_getlink+0x850/0x850 [ 9.943735][ T227] ? __lock_acquire+0x518/0xc20 [ 9.943740][ T227] ? lock_acquire.part.0+0xd4/0x280 [ 9.943742][ T227] ? find_held_lock+0x2b/0x80 [ 9.943744][ T227] ? rtnl_bridge_getlink+0x850/0x850 [ 9.943745][ T227] ? __lock_release.isra.0+0x69/0x1a0 [ 9.943749][ T227] ? rtnl_bridge_getlink+0x850/0x850 [ 9.943751][ T227] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.943754][ T227] ? rtnl_link_fill+0x920/0x920 [ 9.943756][ T227] ? __lock_acquire+0x518/0xc20 [ 9.943760][ T227] ? lock_acquire.part.0+0xd4/0x280 [ 9.943762][ T227] ? find_held_lock+0x2b/0x80 [ 9.943766][ T227] netlink_rcv_skb+0x14e/0x3a0 [ 9.943769][ T227] ? rtnl_link_fill+0x920/0x920 [ 9.943772][ T227] ? netlink_ack+0xcf0/0xcf0 [ 9.943778][ T227] ? netlink_deliver_tap+0xc5/0x330 [ 9.943780][ T227] ? netlink_deliver_tap+0x13c/0x330 [ 9.943785][ T227] netlink_unicast+0x486/0x750 [ 9.943789][ T227] ? netlink_attachskb+0x810/0x810 [ 9.943792][ T227] ? find_held_lock+0x2b/0x80 [ 9.943796][ T227] netlink_sendmsg+0x75b/0xc90 [ 9.943800][ T227] ? netlink_unicast+0x750/0x750 [ 9.943804][ T227] ? __lock_release.isra.0+0x69/0x1a0 [ 9.943806][ T227] ? __import_iovec+0x36c/0x620 [ 9.943811][ T227] __sock_sendmsg+0xce/0x190 [ 9.943814][ T227] ____sys_sendmsg+0x61a/0x860 [ 9.943816][ T227] ? copy_msghdr_from_user+0x279/0x420 [ 9.943818][ T227] ? sock_write_iter+0x400/0x400 [ 9.943820][ T227] ? move_addr_to_kernel+0x40/0x40 [ 9.943828][ T227] ___sys_sendmsg+0x14e/0x1d0 [ 9.943830][ T227] ? copy_msghdr_from_user+0x420/0x420 [ 9.943847][ T227] __sys_sendmsg+0x12c/0x1d0 [ 9.943849][ T227] ? __sys_sendmsg_sock+0x20/0x20 [ 9.943856][ T227] ? rcu_is_watching+0x16/0xd0 [ 9.943859][ T227] do_syscall_64+0xff/0x530 [ 9.943862][ T227] ? exc_page_fault+0xee/0x100 [ 9.943865][ T227] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.943867][ T227] RIP: 0033:0x7ff1a054b54e [ 9.943871][ T227] 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.943873][ T227] RSP: 002b:00007ffdbaa7e350 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 9.943875][ T227] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007ff1a054b54e [ 9.943877][ T227] RDX: 0000000000000000 RSI: 00007ffdbaa7e400 RDI: 0000000000000005 [ 9.943878][ T227] RBP: 00007ffdbaa7e360 R08: 0000000000000000 R09: 0000000000000000 [ 9.943878][ T227] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a90f2f6 [ 9.943879][ T227] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffdbaa7ead0 [ 9.943886][ T227] [ 9.992379][ T227] ip (227) used greatest stack depth: 23208 bytes left [ 10.265509][ T235] veth0: renamed from veth-rt-2