[ 9.794082][ T218] veth0: renamed from veth-rt-1 [ 9.794141][ T218] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.794143][ T218] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 218, name: ip [ 9.794145][ T218] preempt_count: 1, expected: 0 [ 9.794145][ T218] RCU nest depth: 0, expected: 0 [ 9.794146][ T218] locks held by ip/218: 5, last CPU#3: [ 9.794148][ T218] #0: ffffffff8a31b740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 9.794160][ T218] #1: ffffffff89b7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.794165][ T218] #2: ffffffff89b7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.794169][ T218] #3: ffffffff89a9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.794173][ T218] #4: ffffffff89a9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.794177][ T218] irq event stamp: 21886 [ 9.794178][ T218] hardirqs last enabled at (21885): [] __down_trylock_console_sem+0x86/0xa0 [ 9.794180][ T218] hardirqs last disabled at (21886): [] console_emit_next_record+0x3d4/0x4c0 [ 9.794182][ T218] softirqs last enabled at (21880): [] netif_change_name+0x216/0x8c0 [ 9.794186][ T218] softirqs last disabled at (21878): [] netif_change_name+0x1ad/0x8c0 [ 9.794188][ T218] Preemption disabled at: [ 9.794189][ T218] [] vprintk_emit+0x31b/0x3e0 [ 9.794194][ T218] CPU: 3 UID: 0 PID: 218 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.794197][ T218] Tainted: [W]=WARN [ 9.794198][ T218] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.794200][ T218] Call Trace: [ 9.794202][ T218] [ 9.794203][ T218] dump_stack_lvl+0x6f/0xa0 [ 9.794209][ T218] ? vprintk_emit+0x31b/0x3e0 [ 9.794210][ T218] __might_resched.cold+0x1fe/0x2c1 [ 9.794215][ T218] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.794219][ T218] ? __kmalloc_noprof+0xdb/0x760 [ 9.794224][ T218] __kmalloc_noprof+0x443/0x760 [ 9.794225][ T218] ? alloc_buf.isra.0+0x4b/0x260 [ 9.794232][ T218] ? do_raw_spin_unlock+0x59/0x250 [ 9.794235][ T218] alloc_buf.isra.0+0x4b/0x260 [ 9.794238][ T218] put_chars+0x1e1/0x2f0 [ 9.794241][ T218] ? __send_to_port+0x420/0x420 [ 9.794247][ T218] hvc_console_print+0x292/0x780 [ 9.794255][ T218] ? hvc_write+0x3a0/0x3a0 [ 9.794258][ T218] ? lock_acquire+0x13c/0x160 [ 9.794262][ T218] console_emit_next_record+0x22f/0x4c0 [ 9.794266][ T218] ? devkmsg_read+0x4b0/0x4b0 [ 9.794268][ T218] ? console_flush_one_record+0x106/0x710 [ 9.794271][ T218] ? rcu_is_watching+0x16/0xd0 [ 9.794274][ T218] ? lock_acquire+0x13c/0x160 [ 9.794278][ T218] console_flush_one_record+0x46f/0x710 [ 9.794282][ T218] ? console_emit_next_record+0x4c0/0x4c0 [ 9.794284][ T218] ? __lock_acquire+0x518/0xc20 [ 9.794289][ T218] console_unlock+0xee/0x1f0 [ 9.794292][ T218] ? console_flush_one_record+0x710/0x710 [ 9.794294][ T218] ? rcu_is_watching+0x16/0xd0 [ 9.794295][ T218] ? lock_acquire+0xe0/0x160 [ 9.794299][ T218] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.794301][ T218] ? vprintk_emit+0x320/0x3e0 [ 9.794304][ T218] vprintk_emit+0x37c/0x3e0 [ 9.794307][ T218] ? wake_up_klogd_work_func+0x90/0x90 [ 9.794309][ T218] ? save_trace+0x68/0x280 [ 9.794313][ T218] _printk+0xc7/0x100 [ 9.794317][ T218] ? snapshot_read.cold+0x21/0x21 [ 9.794320][ T218] ? validate_chain+0x34a/0xc20 [ 9.794322][ T218] ? netdev_name+0x43/0x60 [ 9.794326][ T218] ? __netdev_printk+0x17f/0x1d0 [ 9.794329][ T218] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 9.794331][ T218] netdev_info+0xe2/0x116 [ 9.794334][ T218] ? netdev_notice+0x120/0x120 [ 9.794336][ T218] ? find_held_lock+0x2b/0x80 [ 9.794339][ T218] ? __lock_release.isra.0+0x69/0x1a0 [ 9.794342][ T218] ? mark_held_locks+0x40/0x70 [ 9.794345][ T218] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 9.794347][ T218] netif_change_name.cold+0x4f/0x89 [ 9.794350][ T218] ? is_bpf_text_address+0x68/0x110 [ 9.794355][ T218] ? netdev_adjacent_rename_links+0x470/0x470 [ 9.794358][ T218] ? __kernel_text_address+0x12/0x30 [ 9.794364][ T218] ? write_profile+0xf0/0xf0 [ 9.794368][ T218] ? __asan_memset+0x27/0x50 [ 9.794373][ T218] do_setlink.isra.0+0x1f7d/0x2a60 [ 9.794377][ T218] ? stack_trace_save+0x93/0xc0 [ 9.794379][ T218] ? rtnl_link_get_size+0x350/0x350 [ 9.794380][ T218] ? rcu_read_lock_any_held+0x66/0x90 [ 9.794383][ T218] ? stack_depot_save_flags+0x38e/0x790 [ 9.794386][ T218] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.794388][ T218] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.794390][ T218] ? validate_chain+0x38b/0xc20 [ 9.794393][ T218] ? kasan_save_stack+0x3d/0x50 [ 9.794395][ T218] ? kasan_save_stack+0x2f/0x50 [ 9.794396][ T218] ? kasan_save_track+0x14/0x30 [ 9.794397][ T218] ? __kasan_kmalloc+0x7b/0x90 [ 9.794399][ T218] ? __lock_acquire+0x518/0xc20 [ 9.794401][ T218] ? snd_ac97_proc_read_main+0x4de/0x1f00 [ 9.794404][ T218] ? ___sys_sendmsg+0xd0/0x1d0 [ 9.794408][ T218] ? lock_acquire.part.0+0xd4/0x280 [ 9.794410][ T218] ? rtnl_newlink+0x9a8/0x11b0 [ 9.794412][ T218] ? rcu_is_watching+0x16/0xd0 [ 9.794414][ T218] ? lock_acquire+0x13c/0x160 [ 9.794415][ T218] ? rcu_is_watching+0x16/0xd0 [ 9.794416][ T218] ? rcu_is_watching+0x16/0xd0 [ 9.794418][ T218] ? trace_contention_end+0xb3/0x180 [ 9.794420][ T218] ? __mutex_lock+0x1db/0x1ea0 [ 9.794423][ T218] ? __mutex_lock+0x9a3/0x1ea0 [ 9.794425][ T218] ? rtnl_newlink+0x9a8/0x11b0 [ 9.794428][ T218] ? ww_mutex_lock+0x160/0x160 [ 9.794429][ T218] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.794434][ T218] ? rcu_is_watching+0x16/0xd0 [ 9.794437][ T218] ? __rtnl_newlink+0x3fa/0xa50 [ 9.794442][ T218] rtnl_newlink+0x9f1/0x11b0 [ 9.794447][ T218] ? rtnl_bridge_getlink+0x850/0x850 [ 9.794449][ T218] ? __lock_acquire+0x518/0xc20 [ 9.794455][ T218] ? lock_acquire.part.0+0xd4/0x280 [ 9.794457][ T218] ? find_held_lock+0x2b/0x80 [ 9.794459][ T218] ? rtnl_bridge_getlink+0x850/0x850 [ 9.794461][ T218] ? __lock_release.isra.0+0x69/0x1a0 [ 9.794465][ T218] ? rtnl_bridge_getlink+0x850/0x850 [ 9.794467][ T218] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.794470][ T218] ? rtnl_link_fill+0x920/0x920 [ 9.794471][ T218] ? __lock_acquire+0x518/0xc20 [ 9.794475][ T218] ? lock_acquire.part.0+0xd4/0x280 [ 9.794477][ T218] ? find_held_lock+0x2b/0x80 [ 9.794481][ T218] netlink_rcv_skb+0x14e/0x3a0 [ 9.794484][ T218] ? rtnl_link_fill+0x920/0x920 [ 9.794487][ T218] ? netlink_ack+0xcf0/0xcf0 [ 9.794493][ T218] ? netlink_deliver_tap+0xc5/0x330 [ 9.794495][ T218] ? netlink_deliver_tap+0x13c/0x330 [ 9.794500][ T218] netlink_unicast+0x486/0x750 [ 9.794504][ T218] ? netlink_attachskb+0x810/0x810 [ 9.794506][ T218] ? find_held_lock+0x2b/0x80 [ 9.794510][ T218] netlink_sendmsg+0x75b/0xc90 [ 9.794514][ T218] ? netlink_unicast+0x750/0x750 [ 9.794518][ T218] ? __lock_release.isra.0+0x69/0x1a0 [ 9.794519][ T218] ? __import_iovec+0x36c/0x620 [ 9.794525][ T218] __sock_sendmsg+0xce/0x190 [ 9.794527][ T218] ____sys_sendmsg+0x61a/0x860 [ 9.794530][ T218] ? copy_msghdr_from_user+0x279/0x420 [ 9.794532][ T218] ? sock_write_iter+0x400/0x400 [ 9.794533][ T218] ? move_addr_to_kernel+0x40/0x40 [ 9.794541][ T218] ___sys_sendmsg+0x14e/0x1d0 [ 9.794543][ T218] ? copy_msghdr_from_user+0x420/0x420 [ 9.794559][ T218] __sys_sendmsg+0x12c/0x1d0 [ 9.794561][ T218] ? __sys_sendmsg_sock+0x20/0x20 [ 9.794567][ T218] ? rcu_is_watching+0x16/0xd0 [ 9.794570][ T218] do_syscall_64+0xff/0x530 [ 9.794573][ T218] ? exc_page_fault+0xee/0x100 [ 9.794576][ T218] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.794578][ T218] RIP: 0033:0x7fcd466f254e [ 9.794582][ T218] 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.794583][ T218] RSP: 002b:00007fff5d656d90 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 9.794586][ T218] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fcd466f254e [ 9.794587][ T218] RDX: 0000000000000000 RSI: 00007fff5d656e40 RDI: 0000000000000005 [ 9.794588][ T218] RBP: 00007fff5d656da0 R08: 0000000000000000 R09: 0000000000000000 [ 9.794589][ T218] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a90f6c2 [ 9.794590][ T218] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007fff5d657510 [ 9.794596][ T218] [ 9.834425][ T218] ip (218) used greatest stack depth: 23208 bytes left [ 10.208211][ T235] veth0: renamed from veth-rt-2