[ 10.142920][ T229] veth0: renamed from veth-rt-1 [ 10.142991][ T229] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.142993][ T229] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 229, name: ip [ 10.142995][ T229] preempt_count: 1, expected: 0 [ 10.142996][ T229] RCU nest depth: 0, expected: 0 [ 10.142997][ T229] locks held by ip/229: 5, last CPU#0: [ 10.142999][ T229] #0: ffffffff91d1b740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 10.143011][ T229] #1: ffffffff9157ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.143016][ T229] #2: ffffffff9157de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.143021][ T229] #3: ffffffff9149d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.143025][ T229] #4: ffffffff9149d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.143029][ T229] irq event stamp: 15466 [ 10.143029][ T229] hardirqs last enabled at (15465): [] __down_trylock_console_sem+0x86/0xa0 [ 10.143032][ T229] hardirqs last disabled at (15466): [] console_emit_next_record+0x3d4/0x4c0 [ 10.143035][ T229] softirqs last enabled at (15460): [] netif_change_name+0x216/0x8c0 [ 10.143038][ T229] softirqs last disabled at (15458): [] netif_change_name+0x1ad/0x8c0 [ 10.143041][ T229] Preemption disabled at: [ 10.143042][ T229] [] vprintk_emit+0x31b/0x3e0 [ 10.143047][ T229] CPU: 0 UID: 0 PID: 229 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.143050][ T229] Tainted: [W]=WARN [ 10.143051][ T229] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.143053][ T229] Call Trace: [ 10.143055][ T229] [ 10.143056][ T229] dump_stack_lvl+0x6f/0xa0 [ 10.143062][ T229] ? vprintk_emit+0x31b/0x3e0 [ 10.143064][ T229] __might_resched.cold+0x1fe/0x2c1 [ 10.143068][ T229] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.143072][ T229] ? __kmalloc_noprof+0xdb/0x760 [ 10.143077][ T229] __kmalloc_noprof+0x443/0x760 [ 10.143079][ T229] ? alloc_buf.isra.0+0x4b/0x260 [ 10.143085][ T229] ? do_raw_spin_unlock+0x59/0x250 [ 10.143088][ T229] alloc_buf.isra.0+0x4b/0x260 [ 10.143092][ T229] put_chars+0x1e1/0x2f0 [ 10.143094][ T229] ? __send_to_port+0x420/0x420 [ 10.143100][ T229] hvc_console_print+0x292/0x780 [ 10.143108][ T229] ? hvc_write+0x3a0/0x3a0 [ 10.143111][ T229] ? lock_acquire+0x13c/0x160 [ 10.143115][ T229] console_emit_next_record+0x22f/0x4c0 [ 10.143119][ T229] ? devkmsg_read+0x4b0/0x4b0 [ 10.143121][ T229] ? console_flush_one_record+0x106/0x710 [ 10.143124][ T229] ? rcu_is_watching+0x16/0xd0 [ 10.143127][ T229] ? lock_acquire+0x13c/0x160 [ 10.143131][ T229] console_flush_one_record+0x46f/0x710 [ 10.143135][ T229] ? console_emit_next_record+0x4c0/0x4c0 [ 10.143137][ T229] ? __lock_acquire+0x518/0xc20 [ 10.143142][ T229] console_unlock+0xee/0x1f0 [ 10.143145][ T229] ? console_flush_one_record+0x710/0x710 [ 10.143146][ T229] ? rcu_is_watching+0x16/0xd0 [ 10.143148][ T229] ? lock_acquire+0xe0/0x160 [ 10.143152][ T229] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.143153][ T229] ? vprintk_emit+0x320/0x3e0 [ 10.143156][ T229] vprintk_emit+0x37c/0x3e0 [ 10.143159][ T229] ? wake_up_klogd_work_func+0x90/0x90 [ 10.143161][ T229] ? save_trace+0x68/0x280 [ 10.143166][ T229] _printk+0xc7/0x100 [ 10.143169][ T229] ? snapshot_read.cold+0x21/0x21 [ 10.143173][ T229] ? validate_chain+0x34a/0xc20 [ 10.143175][ T229] ? netdev_name+0x43/0x60 [ 10.143178][ T229] ? __netdev_printk+0x17f/0x1d0 [ 10.143181][ T229] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.143183][ T229] netdev_info+0xe2/0x116 [ 10.143186][ T229] ? netdev_notice+0x120/0x120 [ 10.143188][ T229] ? find_held_lock+0x2b/0x80 [ 10.143191][ T229] ? __lock_release.isra.0+0x69/0x1a0 [ 10.143194][ T229] ? mark_held_locks+0x40/0x70 [ 10.143197][ T229] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.143199][ T229] netif_change_name.cold+0x4f/0x89 [ 10.143201][ T229] ? is_bpf_text_address+0x68/0x110 [ 10.143207][ T229] ? netdev_adjacent_rename_links+0x470/0x470 [ 10.143209][ T229] ? __kernel_text_address+0x12/0x30 [ 10.143212][ T229] ? write_profile+0xf0/0xf0 [ 10.143216][ T229] ? __asan_memset+0x27/0x50 [ 10.143222][ T229] do_setlink.isra.0+0x1f7d/0x2a60 [ 10.143225][ T229] ? stack_trace_save+0x93/0xc0 [ 10.143227][ T229] ? rtnl_link_get_size+0x350/0x350 [ 10.143228][ T229] ? rcu_read_lock_any_held+0x66/0x90 [ 10.143231][ T229] ? stack_depot_save_flags+0x38e/0x790 [ 10.143234][ T229] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.143236][ T229] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.143238][ T229] ? validate_chain+0x38b/0xc20 [ 10.143241][ T229] ? kasan_save_stack+0x3d/0x50 [ 10.143242][ T229] ? kasan_save_stack+0x2f/0x50 [ 10.143244][ T229] ? kasan_save_track+0x14/0x30 [ 10.143245][ T229] ? __kasan_kmalloc+0x7b/0x90 [ 10.143247][ T229] ? __lock_acquire+0x518/0xc20 [ 10.143249][ T229] ? snd_ac97_proc_read_main+0x4de/0x1f00 [ 10.143252][ T229] ? ___sys_sendmsg+0xd0/0x1d0 [ 10.143255][ T229] ? lock_acquire.part.0+0xd4/0x280 [ 10.143257][ T229] ? rtnl_newlink+0x9a8/0x11b0 [ 10.143260][ T229] ? rcu_is_watching+0x16/0xd0 [ 10.143261][ T229] ? lock_acquire+0x13c/0x160 [ 10.143263][ T229] ? rcu_is_watching+0x16/0xd0 [ 10.143264][ T229] ? rcu_is_watching+0x16/0xd0 [ 10.143266][ T229] ? trace_contention_end+0xb3/0x180 [ 10.143268][ T229] ? __mutex_lock+0x1db/0x1ea0 [ 10.143270][ T229] ? __mutex_lock+0x9a3/0x1ea0 [ 10.143272][ T229] ? rtnl_newlink+0x9a8/0x11b0 [ 10.143276][ T229] ? ww_mutex_lock+0x160/0x160 [ 10.143277][ T229] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.143282][ T229] ? rcu_is_watching+0x16/0xd0 [ 10.143284][ T229] ? __rtnl_newlink+0x3fa/0xa50 [ 10.143289][ T229] rtnl_newlink+0x9f1/0x11b0 [ 10.143294][ T229] ? rtnl_bridge_getlink+0x850/0x850 [ 10.143296][ T229] ? __lock_acquire+0x518/0xc20 [ 10.143300][ T229] ? lock_acquire.part.0+0xd4/0x280 [ 10.143302][ T229] ? find_held_lock+0x2b/0x80 [ 10.143304][ T229] ? rtnl_bridge_getlink+0x850/0x850 [ 10.143306][ T229] ? __lock_release.isra.0+0x69/0x1a0 [ 10.143310][ T229] ? rtnl_bridge_getlink+0x850/0x850 [ 10.143312][ T229] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.143315][ T229] ? rtnl_link_fill+0x920/0x920 [ 10.143316][ T229] ? __lock_acquire+0x518/0xc20 [ 10.143321][ T229] ? lock_acquire.part.0+0xd4/0x280 [ 10.143322][ T229] ? find_held_lock+0x2b/0x80 [ 10.143326][ T229] netlink_rcv_skb+0x14e/0x3a0 [ 10.143329][ T229] ? rtnl_link_fill+0x920/0x920 [ 10.143332][ T229] ? netlink_ack+0xcf0/0xcf0 [ 10.143338][ T229] ? netlink_deliver_tap+0xc5/0x330 [ 10.143340][ T229] ? netlink_deliver_tap+0x13c/0x330 [ 10.143344][ T229] netlink_unicast+0x486/0x750 [ 10.143348][ T229] ? netlink_attachskb+0x810/0x810 [ 10.143351][ T229] ? find_held_lock+0x2b/0x80 [ 10.143355][ T229] netlink_sendmsg+0x75b/0xc90 [ 10.143359][ T229] ? netlink_unicast+0x750/0x750 [ 10.143362][ T229] ? __lock_release.isra.0+0x69/0x1a0 [ 10.143364][ T229] ? __import_iovec+0x36c/0x620 [ 10.143369][ T229] __sock_sendmsg+0xce/0x190 [ 10.143372][ T229] ____sys_sendmsg+0x61a/0x860 [ 10.143374][ T229] ? copy_msghdr_from_user+0x279/0x420 [ 10.143379][ T229] ? sock_write_iter+0x400/0x400 [ 10.143380][ T229] ? move_addr_to_kernel+0x40/0x40 [ 10.143387][ T229] ___sys_sendmsg+0x14e/0x1d0 [ 10.143390][ T229] ? copy_msghdr_from_user+0x420/0x420 [ 10.143405][ T229] __sys_sendmsg+0x12c/0x1d0 [ 10.143408][ T229] ? __sys_sendmsg_sock+0x20/0x20 [ 10.143414][ T229] ? rcu_is_watching+0x16/0xd0 [ 10.143417][ T229] do_syscall_64+0xff/0x530 [ 10.143420][ T229] ? exc_page_fault+0xee/0x100 [ 10.143423][ T229] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.143425][ T229] RIP: 0033:0x7f98bbb6054e [ 10.143428][ T229] 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 [ 10.143430][ T229] RSP: 002b:00007ffd0599e7e0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 10.143432][ T229] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f98bbb6054e [ 10.143434][ T229] RDX: 0000000000000000 RSI: 00007ffd0599e890 RDI: 0000000000000005 [ 10.143435][ T229] RBP: 00007ffd0599e7f0 R08: 0000000000000000 R09: 0000000000000000 [ 10.143435][ T229] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91c295 [ 10.143436][ T229] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffd0599ef60 [ 10.143443][ T229] [ 10.193938][ T229] ip (229) used greatest stack depth: 23208 bytes left [ 10.465924][ T237] veth0: renamed from veth-rt-2