[ 12.225237][ T224] eth0: renamed from tmp [ 12.225313][ T224] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.225316][ T224] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 224, name: ip [ 12.225318][ T224] preempt_count: 1, expected: 0 [ 12.225319][ T224] RCU nest depth: 0, expected: 0 [ 12.225321][ T224] locks held by ip/224: 5, last CPU#1: [ 12.225324][ T224] #0: ffffffff9f11b740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 12.225338][ T224] #1: ffffffff9e97ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.225345][ T224] #2: ffffffff9e97de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.225352][ T224] #3: ffffffff9e89d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.225357][ T224] #4: ffffffff9e89d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.225364][ T224] irq event stamp: 26210 [ 12.225365][ T224] hardirqs last enabled at (26209): [] __down_trylock_console_sem+0x86/0xa0 [ 12.225369][ T224] hardirqs last disabled at (26210): [] console_emit_next_record+0x3d4/0x4c0 [ 12.225372][ T224] softirqs last enabled at (26204): [] netif_change_name+0x216/0x8c0 [ 12.225376][ T224] softirqs last disabled at (26202): [] netif_change_name+0x1ad/0x8c0 [ 12.225380][ T224] Preemption disabled at: [ 12.225381][ T224] [] vprintk_emit+0x31b/0x3e0 [ 12.225388][ T224] CPU: 1 UID: 0 PID: 224 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.225392][ T224] Tainted: [W]=WARN [ 12.225393][ T224] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.225395][ T224] Call Trace: [ 12.225397][ T224] [ 12.225399][ T224] dump_stack_lvl+0x6f/0xa0 [ 12.225407][ T224] ? vprintk_emit+0x31b/0x3e0 [ 12.225409][ T224] __might_resched.cold+0x1fe/0x2c1 [ 12.225416][ T224] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.225422][ T224] ? __kmalloc_noprof+0xdb/0x760 [ 12.225428][ T224] __kmalloc_noprof+0x443/0x760 [ 12.225431][ T224] ? alloc_buf.isra.0+0x4b/0x260 [ 12.225441][ T224] ? do_raw_spin_unlock+0x59/0x250 [ 12.225445][ T224] alloc_buf.isra.0+0x4b/0x260 [ 12.225451][ T224] put_chars+0x1e1/0x2f0 [ 12.225455][ T224] ? __send_to_port+0x420/0x420 [ 12.225466][ T224] hvc_console_print+0x292/0x780 [ 12.225478][ T224] ? hvc_write+0x3a0/0x3a0 [ 12.225483][ T224] ? lock_acquire+0x13c/0x160 [ 12.225491][ T224] console_emit_next_record+0x22f/0x4c0 [ 12.225497][ T224] ? devkmsg_read+0x4b0/0x4b0 [ 12.225499][ T224] ? console_flush_one_record+0x106/0x710 [ 12.225505][ T224] ? rcu_is_watching+0x16/0xd0 [ 12.225509][ T224] ? lock_acquire+0x13c/0x160 [ 12.225516][ T224] console_flush_one_record+0x46f/0x710 [ 12.225523][ T224] ? console_emit_next_record+0x4c0/0x4c0 [ 12.225525][ T224] ? __lock_acquire+0x518/0xc20 [ 12.225534][ T224] console_unlock+0xee/0x1f0 [ 12.225539][ T224] ? console_flush_one_record+0x710/0x710 [ 12.225542][ T224] ? rcu_is_watching+0x16/0xd0 [ 12.225544][ T224] ? lock_acquire+0xe0/0x160 [ 12.225551][ T224] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.225553][ T224] ? vprintk_emit+0x320/0x3e0 [ 12.225558][ T224] vprintk_emit+0x37c/0x3e0 [ 12.225563][ T224] ? wake_up_klogd_work_func+0x90/0x90 [ 12.225567][ T224] ? save_trace+0x68/0x280 [ 12.225574][ T224] _printk+0xc7/0x100 [ 12.225579][ T224] ? snapshot_read.cold+0x21/0x21 [ 12.225585][ T224] ? validate_chain+0x34a/0xc20 [ 12.225589][ T224] ? netdev_name+0x43/0x60 [ 12.225594][ T224] ? __netdev_printk+0x17f/0x1d0 [ 12.225598][ T224] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 12.225602][ T224] netdev_info+0xe2/0x116 [ 12.225606][ T224] ? netdev_notice+0x120/0x120 [ 12.225611][ T224] ? find_held_lock+0x2b/0x80 [ 12.225616][ T224] ? __lock_release.isra.0+0x69/0x1a0 [ 12.225620][ T224] ? mark_held_locks+0x40/0x70 [ 12.225625][ T224] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 12.225629][ T224] netif_change_name.cold+0x4f/0x89 [ 12.225632][ T224] ? register_netdev+0x40/0x40 [ 12.225635][ T224] ? is_bpf_text_address+0x68/0x110 [ 12.225643][ T224] ? netdev_adjacent_rename_links+0x470/0x470 [ 12.225647][ T224] ? __kernel_text_address+0x12/0x30 [ 12.225650][ T224] ? write_profile+0xf0/0xf0 [ 12.225656][ T224] ? __asan_memset+0x27/0x50 [ 12.225665][ T224] do_setlink.isra.0+0x1f7d/0x2a60 [ 12.225671][ T224] ? stack_trace_save+0x93/0xc0 [ 12.225675][ T224] ? rtnl_link_get_size+0x350/0x350 [ 12.225677][ T224] ? rcu_read_lock_any_held+0x66/0x90 [ 12.225681][ T224] ? stack_depot_save_flags+0x38e/0x790 [ 12.225686][ T224] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.225689][ T224] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.225692][ T224] ? validate_chain+0x38b/0xc20 [ 12.225696][ T224] ? kasan_save_stack+0x3d/0x50 [ 12.225699][ T224] ? kasan_save_stack+0x2f/0x50 [ 12.225701][ T224] ? kasan_save_track+0x14/0x30 [ 12.225703][ T224] ? __kasan_kmalloc+0x7b/0x90 [ 12.225707][ T224] ? __lock_acquire+0x518/0xc20 [ 12.225710][ T224] ? snd_ac97_proc_read_main+0x4de/0x1f00 [ 12.225715][ T224] ? ___sys_sendmsg+0xd0/0x1d0 [ 12.225721][ T224] ? lock_acquire.part.0+0xd4/0x280 [ 12.225724][ T224] ? rtnl_newlink+0x9a8/0x11b0 [ 12.225728][ T224] ? rcu_is_watching+0x16/0xd0 [ 12.225732][ T224] ? lock_acquire+0x13c/0x160 [ 12.225734][ T224] ? rcu_is_watching+0x16/0xd0 [ 12.225736][ T224] ? rcu_is_watching+0x16/0xd0 [ 12.225739][ T224] ? trace_contention_end+0xb3/0x180 [ 12.225743][ T224] ? __mutex_lock+0x1db/0x1ea0 [ 12.225747][ T224] ? __mutex_lock+0x9a3/0x1ea0 [ 12.225750][ T224] ? rtnl_newlink+0x9a8/0x11b0 [ 12.225756][ T224] ? ww_mutex_lock+0x160/0x160 [ 12.225758][ T224] ? nla_get_range_signed+0x3d0/0x3d0 [ 12.225766][ T224] ? rcu_is_watching+0x16/0xd0 [ 12.225770][ T224] ? __rtnl_newlink+0x3fa/0xa50 [ 12.225779][ T224] rtnl_newlink+0x9f1/0x11b0 [ 12.225789][ T224] ? rtnl_bridge_getlink+0x850/0x850 [ 12.225793][ T224] ? __lock_acquire+0x518/0xc20 [ 12.225801][ T224] ? lock_acquire.part.0+0xd4/0x280 [ 12.225804][ T224] ? find_held_lock+0x2b/0x80 [ 12.225807][ T224] ? rtnl_bridge_getlink+0x850/0x850 [ 12.225810][ T224] ? __lock_release.isra.0+0x69/0x1a0 [ 12.225817][ T224] ? rtnl_bridge_getlink+0x850/0x850 [ 12.225820][ T224] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 12.225826][ T224] ? rtnl_link_fill+0x920/0x920 [ 12.225828][ T224] ? __lock_acquire+0x518/0xc20 [ 12.225836][ T224] ? lock_acquire.part.0+0xd4/0x280 [ 12.225839][ T224] ? find_held_lock+0x2b/0x80 [ 12.225845][ T224] netlink_rcv_skb+0x14e/0x3a0 [ 12.225849][ T224] ? rtnl_link_fill+0x920/0x920 [ 12.225855][ T224] ? netlink_ack+0xcf0/0xcf0 [ 12.225866][ T224] ? netlink_deliver_tap+0xc5/0x330 [ 12.225869][ T224] ? netlink_deliver_tap+0x13c/0x330 [ 12.225877][ T224] netlink_unicast+0x486/0x750 [ 12.225884][ T224] ? netlink_attachskb+0x810/0x810 [ 12.225888][ T224] ? find_held_lock+0x2b/0x80 [ 12.225896][ T224] netlink_sendmsg+0x75b/0xc90 [ 12.225902][ T224] ? netlink_unicast+0x750/0x750 [ 12.225909][ T224] ? __lock_release.isra.0+0x69/0x1a0 [ 12.225912][ T224] ? __import_iovec+0x36c/0x620 [ 12.225920][ T224] __sock_sendmsg+0xce/0x190 [ 12.225925][ T224] ____sys_sendmsg+0x61a/0x860 [ 12.225928][ T224] ? copy_msghdr_from_user+0x279/0x420 [ 12.225932][ T224] ? sock_write_iter+0x400/0x400 [ 12.225934][ T224] ? move_addr_to_kernel+0x40/0x40 [ 12.225948][ T224] ___sys_sendmsg+0x14e/0x1d0 [ 12.225952][ T224] ? copy_msghdr_from_user+0x420/0x420 [ 12.225982][ T224] __sys_sendmsg+0x12c/0x1d0 [ 12.225987][ T224] ? __sys_sendmsg_sock+0x20/0x20 [ 12.225998][ T224] ? rcu_is_watching+0x16/0xd0 [ 12.226004][ T224] do_syscall_64+0xff/0x530 [ 12.226008][ T224] ? exc_page_fault+0xee/0x100 [ 12.226012][ T224] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.226016][ T224] RIP: 0033:0x7f5a9412e54e [ 12.226021][ 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 [ 12.226023][ T224] RSP: 002b:00007ffccf8013a0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 12.226027][ T224] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f5a9412e54e [ 12.226029][ T224] RDX: 0000000000000000 RSI: 00007ffccf801450 RDI: 0000000000000005 [ 12.226031][ T224] RBP: 00007ffccf8013b0 R08: 0000000000000000 R09: 0000000000000000 [ 12.226032][ T224] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a915fd5 [ 12.226034][ T224] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffccf801b20 [ 12.226046][ T224] [ 12.288240][ T224] ip (224) used greatest stack depth: 23208 bytes left [ 12.930339][ T242] Initializing XFRM netlink socket [ 14.991715][ T300] IPsec XFRM device driver [ 14.991736][ T300] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.991739][ T300] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 300, name: modprobe [ 14.991740][ T300] preempt_count: 1, expected: 0 [ 14.991741][ T300] RCU nest depth: 0, expected: 0 [ 14.991742][ T300] locks held by modprobe/300: 4, last CPU#0: [ 14.991745][ T300] #0: ffffffff9e97ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.991756][ T300] #1: ffffffff9e97de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.991761][ T300] #2: ffffffff9e89d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.991765][ T300] #3: ffffffff9e89d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 14.991769][ T300] irq event stamp: 18930 [ 14.991770][ T300] hardirqs last enabled at (18929): [] __down_trylock_console_sem+0x86/0xa0 [ 14.991773][ T300] hardirqs last disabled at (18930): [] console_emit_next_record+0x3d4/0x4c0 [ 14.991775][ T300] softirqs last enabled at (17236): [] handle_softirqs+0x67c/0x900 [ 14.991779][ T300] softirqs last disabled at (17229): [] __irq_exit_rcu+0x145/0x1c0 [ 14.991781][ T300] Preemption disabled at: [ 14.991782][ T300] [] vprintk_emit+0x31b/0x3e0 [ 14.991787][ T300] CPU: 0 UID: 0 PID: 300 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.991791][ T300] Tainted: [W]=WARN [ 14.991792][ T300] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.991794][ T300] Call Trace: [ 14.991795][ T300] [ 14.991797][ T300] dump_stack_lvl+0x6f/0xa0 [ 14.991803][ T300] ? vprintk_emit+0x31b/0x3e0 [ 14.991805][ T300] __might_resched.cold+0x1fe/0x2c1 [ 14.991809][ T300] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.991814][ T300] ? __kmalloc_noprof+0xdb/0x760 [ 14.991819][ T300] __kmalloc_noprof+0x443/0x760 [ 14.991820][ T300] ? alloc_buf.isra.0+0x4b/0x260 [ 14.991827][ T300] ? do_raw_spin_unlock+0x59/0x250 [ 14.991830][ T300] alloc_buf.isra.0+0x4b/0x260 [ 14.991834][ T300] put_chars+0x1e1/0x2f0 [ 14.991837][ T300] ? __send_to_port+0x420/0x420 [ 14.991840][ T300] ? validate_chain+0x38b/0xc20 [ 14.991845][ T300] hvc_console_print+0x292/0x780 [ 14.991853][ T300] ? hvc_write+0x3a0/0x3a0 [ 14.991856][ T300] ? rcu_is_watching+0x16/0xd0 [ 14.991858][ T300] ? lock_acquire+0x13c/0x160 [ 14.991863][ T300] console_emit_next_record+0x22f/0x4c0 [ 14.991867][ T300] ? devkmsg_read+0x4b0/0x4b0 [ 14.991869][ T300] ? console_flush_one_record+0x106/0x710 [ 14.991872][ T300] ? rcu_is_watching+0x16/0xd0 [ 14.991874][ T300] ? lock_acquire+0x13c/0x160 [ 14.991878][ T300] console_flush_one_record+0x46f/0x710 [ 14.991882][ T300] ? console_emit_next_record+0x4c0/0x4c0 [ 14.991884][ T300] ? __lock_acquire+0x518/0xc20 [ 14.991890][ T300] console_unlock+0xee/0x1f0 [ 14.991892][ T300] ? console_flush_one_record+0x710/0x710 [ 14.991894][ T300] ? rcu_is_watching+0x16/0xd0 [ 14.991896][ T300] ? lock_acquire+0xe0/0x160 [ 14.991900][ T300] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.991902][ T300] ? vprintk_emit+0x320/0x3e0 [ 14.991904][ T300] vprintk_emit+0x37c/0x3e0 [ 14.991908][ T300] ? wake_up_klogd_work_func+0x90/0x90 [ 14.991913][ T300] ? xfrmi_fini+0x6a0/0x6a0 [xfrm_interface] [ 14.991917][ T300] _printk+0xc7/0x100 [ 14.991921][ T300] ? snapshot_read.cold+0x21/0x21 [ 14.991927][ T300] ? do_one_initcall+0x113/0x4f0 [ 14.991930][ T300] xfrmi_init+0x17/0x1000 [xfrm_interface] [ 14.991933][ T300] do_one_initcall+0x124/0x4f0 [ 14.991936][ T300] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 14.991941][ T300] ? do_init_module+0xae/0x8a0 [ 14.991943][ T300] ? kasan_unpoison+0x44/0x70 [ 14.991949][ T300] do_init_module+0x2ad/0x8a0 [ 14.991952][ T300] ? lockdep_hardirqs_on+0x91/0x130 [ 14.991956][ T300] ? free_module+0x470/0x470 [ 14.991959][ T300] ? kfree+0x123/0x590 [ 14.991962][ T300] load_module+0x1424/0x1bb0 [ 14.991967][ T300] ? security_kernel_post_read_file+0x2f/0x60 [ 14.991972][ T300] ? layout_and_allocate.isra.0+0x680/0x680 [ 14.991975][ T300] ? __ia32_sys_fsconfig+0x180/0x180 [ 14.991980][ T300] ? backing_file_read_iter+0x541/0x790 [ 14.991983][ T300] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 14.991987][ T300] init_module_from_file+0x11f/0x1a0 [ 14.991989][ T300] ? __do_sys_init_module+0x270/0x270 [ 14.991997][ T300] ? __rwlock_init+0x150/0x150 [ 14.992000][ T300] ? do_raw_spin_unlock+0x59/0x250 [ 14.992003][ T300] idempotent_init_module+0x37b/0x7c0 [ 14.992006][ T300] ? init_module_from_file+0x1a0/0x1a0 [ 14.992012][ T300] ? cap_capable+0x1d7/0x3d0 [ 14.992014][ T300] ? __x64_sys_pread64+0x18d/0x250 [ 14.992019][ T300] __x64_sys_finit_module+0xdf/0x190 [ 14.992021][ T300] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 14.992025][ T300] do_syscall_64+0xff/0x530 [ 14.992028][ T300] ? exc_page_fault+0xee/0x100 [ 14.992031][ T300] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.992033][ T300] RIP: 0033:0x7f5a0478d37d [ 14.992037][ T300] 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.992039][ T300] RSP: 002b:00007ffef91487b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 14.992041][ T300] RAX: ffffffffffffffda RBX: 000055c6e0496810 RCX: 00007f5a0478d37d [ 14.992043][ T300] RDX: 0000000000000000 RSI: 000055c6de34affd RDI: 0000000000000000 [ 14.992044][ T300] RBP: 00007ffef9148850 R08: 0000000000000000 R09: 0000000000000000 [ 14.992045][ T300] R10: 0000000000000000 R11: 0000000000000246 R12: 000055c6de34affd [ 14.992045][ T300] R13: 000055c6e0496970 R14: 0000000000040000 R15: 0000000000000000 [ 14.992052][ T300]