[ 11.972941][ T224] eth0: renamed from tmp [ 11.972999][ T224] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.973002][ T224] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 224, name: ip [ 11.973003][ T224] preempt_count: 1, expected: 0 [ 11.973004][ T224] RCU nest depth: 0, expected: 0 [ 11.973005][ T224] locks held by ip/224: 5, last CPU#3: [ 11.973007][ T224] #0: ffffffffa291b740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 11.973018][ T224] #1: ffffffffa217ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.973024][ T224] #2: ffffffffa217de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.973028][ T224] #3: ffffffffa209d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.973031][ T224] #4: ffffffffa209d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.973035][ T224] irq event stamp: 19734 [ 11.973036][ T224] hardirqs last enabled at (19733): [] __down_trylock_console_sem+0x86/0xa0 [ 11.973039][ T224] hardirqs last disabled at (19734): [] console_emit_next_record+0x3d4/0x4c0 [ 11.973041][ T224] softirqs last enabled at (19728): [] netif_change_name+0x216/0x8c0 [ 11.973045][ T224] softirqs last disabled at (19726): [] netif_change_name+0x1ad/0x8c0 [ 11.973047][ T224] Preemption disabled at: [ 11.973048][ T224] [] vprintk_emit+0x31b/0x3e0 [ 11.973053][ T224] CPU: 3 UID: 0 PID: 224 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.973057][ T224] Tainted: [W]=WARN [ 11.973058][ T224] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.973059][ T224] Call Trace: [ 11.973061][ T224] [ 11.973062][ T224] dump_stack_lvl+0x6f/0xa0 [ 11.973068][ T224] ? vprintk_emit+0x31b/0x3e0 [ 11.973070][ T224] __might_resched.cold+0x1fe/0x2c1 [ 11.973075][ T224] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.973082][ T224] ? __kmalloc_noprof+0xdb/0x760 [ 11.973087][ T224] __kmalloc_noprof+0x443/0x760 [ 11.973089][ T224] ? alloc_buf.isra.0+0x4b/0x260 [ 11.973095][ T224] ? do_raw_spin_unlock+0x59/0x250 [ 11.973098][ T224] alloc_buf.isra.0+0x4b/0x260 [ 11.973102][ T224] put_chars+0x1e1/0x2f0 [ 11.973105][ T224] ? __send_to_port+0x420/0x420 [ 11.973111][ T224] hvc_console_print+0x292/0x780 [ 11.973118][ T224] ? hvc_write+0x3a0/0x3a0 [ 11.973121][ T224] ? lock_acquire+0x13c/0x160 [ 11.973126][ T224] console_emit_next_record+0x22f/0x4c0 [ 11.973129][ T224] ? devkmsg_read+0x4b0/0x4b0 [ 11.973131][ T224] ? console_flush_one_record+0x106/0x710 [ 11.973134][ T224] ? rcu_is_watching+0x16/0xd0 [ 11.973137][ T224] ? lock_acquire+0x13c/0x160 [ 11.973141][ T224] console_flush_one_record+0x46f/0x710 [ 11.973145][ T224] ? console_emit_next_record+0x4c0/0x4c0 [ 11.973147][ T224] ? __lock_acquire+0x518/0xc20 [ 11.973152][ T224] console_unlock+0xee/0x1f0 [ 11.973155][ T224] ? console_flush_one_record+0x710/0x710 [ 11.973157][ T224] ? rcu_is_watching+0x16/0xd0 [ 11.973159][ T224] ? lock_acquire+0xe0/0x160 [ 11.973162][ T224] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.973164][ T224] ? vprintk_emit+0x320/0x3e0 [ 11.973167][ T224] vprintk_emit+0x37c/0x3e0 [ 11.973170][ T224] ? wake_up_klogd_work_func+0x90/0x90 [ 11.973172][ T224] ? save_trace+0x68/0x280 [ 11.973176][ T224] _printk+0xc7/0x100 [ 11.973180][ T224] ? snapshot_read.cold+0x21/0x21 [ 11.973183][ T224] ? validate_chain+0x34a/0xc20 [ 11.973185][ T224] ? netdev_name+0x43/0x60 [ 11.973189][ T224] ? __netdev_printk+0x17f/0x1d0 [ 11.973192][ T224] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 11.973194][ T224] netdev_info+0xe2/0x116 [ 11.973197][ T224] ? netdev_notice+0x120/0x120 [ 11.973199][ T224] ? find_held_lock+0x2b/0x80 [ 11.973202][ T224] ? __lock_release.isra.0+0x69/0x1a0 [ 11.973205][ T224] ? mark_held_locks+0x40/0x70 [ 11.973208][ T224] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 11.973210][ T224] netif_change_name.cold+0x4f/0x89 [ 11.973212][ T224] ? register_netdev+0x40/0x40 [ 11.973213][ T224] ? is_bpf_text_address+0x68/0x110 [ 11.973219][ T224] ? netdev_adjacent_rename_links+0x470/0x470 [ 11.973221][ T224] ? __kernel_text_address+0x12/0x30 [ 11.973224][ T224] ? write_profile+0xf0/0xf0 [ 11.973228][ T224] ? __asan_memset+0x27/0x50 [ 11.973233][ T224] do_setlink.isra.0+0x1f7d/0x2a60 [ 11.973237][ T224] ? stack_trace_save+0x93/0xc0 [ 11.973239][ T224] ? rtnl_link_get_size+0x350/0x350 [ 11.973240][ T224] ? rcu_read_lock_any_held+0x66/0x90 [ 11.973243][ T224] ? stack_depot_save_flags+0x38e/0x790 [ 11.973246][ T224] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.973248][ T224] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.973250][ T224] ? validate_chain+0x38b/0xc20 [ 11.973252][ T224] ? kasan_save_stack+0x3d/0x50 [ 11.973254][ T224] ? kasan_save_stack+0x2f/0x50 [ 11.973255][ T224] ? kasan_save_track+0x14/0x30 [ 11.973257][ T224] ? __kasan_kmalloc+0x7b/0x90 [ 11.973259][ T224] ? __lock_acquire+0x518/0xc20 [ 11.973261][ T224] ? snd_ac97_proc_read_main+0x4de/0x1f00 [ 11.973264][ T224] ? ___sys_sendmsg+0xd0/0x1d0 [ 11.973267][ T224] ? lock_acquire.part.0+0xd4/0x280 [ 11.973269][ T224] ? rtnl_newlink+0x9a8/0x11b0 [ 11.973272][ T224] ? rcu_is_watching+0x16/0xd0 [ 11.973274][ T224] ? lock_acquire+0x13c/0x160 [ 11.973275][ T224] ? rcu_is_watching+0x16/0xd0 [ 11.973276][ T224] ? rcu_is_watching+0x16/0xd0 [ 11.973278][ T224] ? trace_contention_end+0xb3/0x180 [ 11.973280][ T224] ? __mutex_lock+0x1db/0x1ea0 [ 11.973283][ T224] ? __mutex_lock+0x9a3/0x1ea0 [ 11.973285][ T224] ? rtnl_newlink+0x9a8/0x11b0 [ 11.973288][ T224] ? ww_mutex_lock+0x160/0x160 [ 11.973290][ T224] ? nla_get_range_signed+0x3d0/0x3d0 [ 11.973294][ T224] ? rcu_is_watching+0x16/0xd0 [ 11.973296][ T224] ? __rtnl_newlink+0x3fa/0xa50 [ 11.973302][ T224] rtnl_newlink+0x9f1/0x11b0 [ 11.973307][ T224] ? rtnl_bridge_getlink+0x850/0x850 [ 11.973309][ T224] ? __lock_acquire+0x518/0xc20 [ 11.973313][ T224] ? lock_acquire.part.0+0xd4/0x280 [ 11.973315][ T224] ? find_held_lock+0x2b/0x80 [ 11.973317][ T224] ? rtnl_bridge_getlink+0x850/0x850 [ 11.973319][ T224] ? __lock_release.isra.0+0x69/0x1a0 [ 11.973323][ T224] ? rtnl_bridge_getlink+0x850/0x850 [ 11.973325][ T224] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 11.973328][ T224] ? rtnl_link_fill+0x920/0x920 [ 11.973329][ T224] ? __lock_acquire+0x518/0xc20 [ 11.973334][ T224] ? lock_acquire.part.0+0xd4/0x280 [ 11.973336][ T224] ? find_held_lock+0x2b/0x80 [ 11.973339][ T224] netlink_rcv_skb+0x14e/0x3a0 [ 11.973342][ T224] ? rtnl_link_fill+0x920/0x920 [ 11.973345][ T224] ? netlink_ack+0xcf0/0xcf0 [ 11.973351][ T224] ? netlink_deliver_tap+0xc5/0x330 [ 11.973353][ T224] ? netlink_deliver_tap+0x13c/0x330 [ 11.973358][ T224] netlink_unicast+0x486/0x750 [ 11.973362][ T224] ? netlink_attachskb+0x810/0x810 [ 11.973364][ T224] ? find_held_lock+0x2b/0x80 [ 11.973369][ T224] netlink_sendmsg+0x75b/0xc90 [ 11.973372][ T224] ? netlink_unicast+0x750/0x750 [ 11.973376][ T224] ? __lock_release.isra.0+0x69/0x1a0 [ 11.973378][ T224] ? __import_iovec+0x36c/0x620 [ 11.973383][ T224] __sock_sendmsg+0xce/0x190 [ 11.973386][ T224] ____sys_sendmsg+0x61a/0x860 [ 11.973388][ T224] ? copy_msghdr_from_user+0x279/0x420 [ 11.973390][ T224] ? sock_write_iter+0x400/0x400 [ 11.973392][ T224] ? move_addr_to_kernel+0x40/0x40 [ 11.973399][ T224] ___sys_sendmsg+0x14e/0x1d0 [ 11.973402][ T224] ? copy_msghdr_from_user+0x420/0x420 [ 11.973418][ T224] __sys_sendmsg+0x12c/0x1d0 [ 11.973421][ T224] ? __sys_sendmsg_sock+0x20/0x20 [ 11.973427][ T224] ? rcu_is_watching+0x16/0xd0 [ 11.973430][ T224] do_syscall_64+0xff/0x530 [ 11.973433][ T224] ? exc_page_fault+0xee/0x100 [ 11.973435][ T224] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.973438][ T224] RIP: 0033:0x7f4c4b20654e [ 11.973442][ T224] 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.973443][ T224] RSP: 002b:00007fff2d188960 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 11.973446][ T224] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f4c4b20654e [ 11.973447][ T224] RDX: 0000000000000000 RSI: 00007fff2d188a10 RDI: 0000000000000005 [ 11.973448][ T224] RBP: 00007fff2d188970 R08: 0000000000000000 R09: 0000000000000000 [ 11.973449][ T224] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a918949 [ 11.973450][ T224] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007fff2d1890e0 [ 11.973457][ T224] [ 12.021694][ T224] ip (224) used greatest stack depth: 23208 bytes left [ 12.663493][ T242] Initializing XFRM netlink socket [ 14.766948][ T302] IPsec XFRM device driver [ 14.766967][ T302] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.766970][ T302] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 302, name: modprobe [ 14.766971][ T302] preempt_count: 1, expected: 0 [ 14.766972][ T302] RCU nest depth: 0, expected: 0 [ 14.766973][ T302] locks held by modprobe/302: 4, last CPU#3: [ 14.766975][ T302] #0: ffffffffa217ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.766987][ T302] #1: ffffffffa217de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.766992][ T302] #2: ffffffffa209d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.766996][ T302] #3: ffffffffa209d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 14.767000][ T302] irq event stamp: 18194 [ 14.767001][ T302] hardirqs last enabled at (18193): [] __down_trylock_console_sem+0x86/0xa0 [ 14.767004][ T302] hardirqs last disabled at (18194): [] console_emit_next_record+0x3d4/0x4c0 [ 14.767006][ T302] softirqs last enabled at (13126): [] handle_softirqs+0x67c/0x900 [ 14.767010][ T302] softirqs last disabled at (13117): [] __irq_exit_rcu+0x145/0x1c0 [ 14.767012][ T302] Preemption disabled at: [ 14.767013][ T302] [] vprintk_emit+0x31b/0x3e0 [ 14.767018][ T302] CPU: 3 UID: 0 PID: 302 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.767021][ T302] Tainted: [W]=WARN [ 14.767022][ T302] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.767024][ T302] Call Trace: [ 14.767025][ T302] [ 14.767027][ T302] dump_stack_lvl+0x6f/0xa0 [ 14.767033][ T302] ? vprintk_emit+0x31b/0x3e0 [ 14.767035][ T302] __might_resched.cold+0x1fe/0x2c1 [ 14.767039][ T302] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.767043][ T302] ? __kmalloc_noprof+0xdb/0x760 [ 14.767048][ T302] __kmalloc_noprof+0x443/0x760 [ 14.767050][ T302] ? alloc_buf.isra.0+0x4b/0x260 [ 14.767056][ T302] ? do_raw_spin_unlock+0x59/0x250 [ 14.767059][ T302] alloc_buf.isra.0+0x4b/0x260 [ 14.767063][ T302] put_chars+0x1e1/0x2f0 [ 14.767065][ T302] ? __send_to_port+0x420/0x420 [ 14.767068][ T302] ? validate_chain+0x38b/0xc20 [ 14.767073][ T302] hvc_console_print+0x292/0x780 [ 14.767083][ T302] ? hvc_write+0x3a0/0x3a0 [ 14.767086][ T302] ? rcu_is_watching+0x16/0xd0 [ 14.767089][ T302] ? lock_acquire+0x13c/0x160 [ 14.767093][ T302] console_emit_next_record+0x22f/0x4c0 [ 14.767097][ T302] ? devkmsg_read+0x4b0/0x4b0 [ 14.767099][ T302] ? console_flush_one_record+0x106/0x710 [ 14.767102][ T302] ? rcu_is_watching+0x16/0xd0 [ 14.767104][ T302] ? lock_acquire+0x13c/0x160 [ 14.767107][ T302] console_flush_one_record+0x46f/0x710 [ 14.767112][ T302] ? console_emit_next_record+0x4c0/0x4c0 [ 14.767113][ T302] ? __lock_acquire+0x518/0xc20 [ 14.767119][ T302] console_unlock+0xee/0x1f0 [ 14.767121][ T302] ? console_flush_one_record+0x710/0x710 [ 14.767123][ T302] ? rcu_is_watching+0x16/0xd0 [ 14.767125][ T302] ? lock_acquire+0xe0/0x160 [ 14.767129][ T302] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.767130][ T302] ? vprintk_emit+0x320/0x3e0 [ 14.767133][ T302] vprintk_emit+0x37c/0x3e0 [ 14.767137][ T302] ? wake_up_klogd_work_func+0x90/0x90 [ 14.767141][ T302] ? xfrmi_fini+0x6a0/0x6a0 [xfrm_interface] [ 14.767145][ T302] _printk+0xc7/0x100 [ 14.767149][ T302] ? snapshot_read.cold+0x21/0x21 [ 14.767155][ T302] ? do_one_initcall+0x113/0x4f0 [ 14.767159][ T302] xfrmi_init+0x17/0x1000 [xfrm_interface] [ 14.767162][ T302] do_one_initcall+0x124/0x4f0 [ 14.767164][ T302] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 14.767169][ T302] ? do_init_module+0xae/0x8a0 [ 14.767172][ T302] ? kasan_unpoison+0x44/0x70 [ 14.767177][ T302] do_init_module+0x2ad/0x8a0 [ 14.767180][ T302] ? lockdep_hardirqs_on+0x91/0x130 [ 14.767184][ T302] ? free_module+0x470/0x470 [ 14.767187][ T302] ? kfree+0x123/0x590 [ 14.767190][ T302] load_module+0x1424/0x1bb0 [ 14.767195][ T302] ? security_kernel_post_read_file+0x2f/0x60 [ 14.767200][ T302] ? layout_and_allocate.isra.0+0x680/0x680 [ 14.767203][ T302] ? __ia32_sys_fsconfig+0x180/0x180 [ 14.767207][ T302] ? find_held_lock+0x2b/0x80 [ 14.767210][ T302] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 14.767213][ T302] init_module_from_file+0x11f/0x1a0 [ 14.767216][ T302] ? __do_sys_init_module+0x270/0x270 [ 14.767223][ T302] ? __rwlock_init+0x150/0x150 [ 14.767227][ T302] ? do_raw_spin_unlock+0x59/0x250 [ 14.767230][ T302] idempotent_init_module+0x37b/0x7c0 [ 14.767232][ T302] ? init_module_from_file+0x1a0/0x1a0 [ 14.767238][ T302] ? cap_capable+0x1d7/0x3d0 [ 14.767240][ T302] ? exc_page_fault+0x87/0x100 [ 14.767246][ T302] __x64_sys_finit_module+0xdf/0x190 [ 14.767247][ T302] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 14.767251][ T302] do_syscall_64+0xff/0x530 [ 14.767254][ T302] ? exc_page_fault+0xee/0x100 [ 14.767257][ T302] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.767259][ T302] RIP: 0033:0x7fee719b837d [ 14.767262][ T302] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 4b aa 0f 00 f7 d8 64 89 01 48 [ 14.767264][ T302] RSP: 002b:00007ffcd350c958 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 14.767267][ T302] RAX: ffffffffffffffda RBX: 0000556239217810 RCX: 00007fee719b837d [ 14.767268][ T302] RDX: 0000000000000000 RSI: 0000556230789ffd RDI: 0000000000000000 [ 14.767269][ T302] RBP: 00007ffcd350c9f0 R08: 0000000000000000 R09: 0000000000000000 [ 14.767270][ T302] R10: 0000000000000000 R11: 0000000000000246 R12: 0000556230789ffd [ 14.767271][ T302] R13: 0000556239217970 R14: 0000000000040000 R15: 0000000000000000 [ 14.767277][ T302]