[ 12.666580][ T224] eth0: renamed from tmp [ 12.666657][ T224] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.666660][ T224] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 224, name: ip [ 12.666662][ T224] preempt_count: 1, expected: 0 [ 12.666664][ T224] RCU nest depth: 0, expected: 0 [ 12.666665][ T224] locks held by ip/224: 5, last CPU#0: [ 12.666668][ T224] #0: ffffffff9ed1b740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 12.666682][ T224] #1: ffffffff9e57ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.666689][ T224] #2: ffffffff9e57de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.666696][ T224] #3: ffffffff9e49d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.666702][ T224] #4: ffffffff9e49d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.666708][ T224] irq event stamp: 32304 [ 12.666709][ T224] hardirqs last enabled at (32303): [] __down_trylock_console_sem+0x86/0xa0 [ 12.666713][ T224] hardirqs last disabled at (32304): [] console_emit_next_record+0x3d4/0x4c0 [ 12.666716][ T224] softirqs last enabled at (32298): [] netif_change_name+0x216/0x8c0 [ 12.666721][ T224] softirqs last disabled at (32296): [] netif_change_name+0x1ad/0x8c0 [ 12.666725][ T224] Preemption disabled at: [ 12.666726][ T224] [] vprintk_emit+0x31b/0x3e0 [ 12.666733][ T224] CPU: 0 UID: 0 PID: 224 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.666738][ T224] Tainted: [W]=WARN [ 12.666739][ T224] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.666742][ T224] Call Trace: [ 12.666744][ T224] [ 12.666746][ T224] dump_stack_lvl+0x6f/0xa0 [ 12.666754][ T224] ? vprintk_emit+0x31b/0x3e0 [ 12.666757][ T224] __might_resched.cold+0x1fe/0x2c1 [ 12.666763][ T224] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.666769][ T224] ? __kmalloc_noprof+0xdb/0x760 [ 12.666776][ T224] __kmalloc_noprof+0x443/0x760 [ 12.666779][ T224] ? alloc_buf.isra.0+0x4b/0x260 [ 12.666788][ T224] ? do_raw_spin_unlock+0x59/0x250 [ 12.666792][ T224] alloc_buf.isra.0+0x4b/0x260 [ 12.666798][ T224] put_chars+0x1e1/0x2f0 [ 12.666802][ T224] ? __send_to_port+0x420/0x420 [ 12.666814][ T224] hvc_console_print+0x292/0x780 [ 12.666826][ T224] ? hvc_write+0x3a0/0x3a0 [ 12.666831][ T224] ? lock_acquire+0x13c/0x160 [ 12.666838][ T224] console_emit_next_record+0x22f/0x4c0 [ 12.666844][ T224] ? devkmsg_read+0x4b0/0x4b0 [ 12.666847][ T224] ? console_flush_one_record+0x106/0x710 [ 12.666852][ T224] ? rcu_is_watching+0x16/0xd0 [ 12.666856][ T224] ? lock_acquire+0x13c/0x160 [ 12.666863][ T224] console_flush_one_record+0x46f/0x710 [ 12.666870][ T224] ? console_emit_next_record+0x4c0/0x4c0 [ 12.666873][ T224] ? __lock_acquire+0x518/0xc20 [ 12.666882][ T224] console_unlock+0xee/0x1f0 [ 12.666887][ T224] ? console_flush_one_record+0x710/0x710 [ 12.666889][ T224] ? rcu_is_watching+0x16/0xd0 [ 12.666892][ T224] ? lock_acquire+0xe0/0x160 [ 12.666899][ T224] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.666901][ T224] ? vprintk_emit+0x320/0x3e0 [ 12.666906][ T224] vprintk_emit+0x37c/0x3e0 [ 12.666911][ T224] ? wake_up_klogd_work_func+0x90/0x90 [ 12.666915][ T224] ? save_trace+0x68/0x280 [ 12.666923][ T224] _printk+0xc7/0x100 [ 12.666928][ T224] ? snapshot_read.cold+0x21/0x21 [ 12.666934][ T224] ? validate_chain+0x34a/0xc20 [ 12.666937][ T224] ? netdev_name+0x43/0x60 [ 12.666942][ T224] ? __netdev_printk+0x17f/0x1d0 [ 12.666947][ T224] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 12.666951][ T224] netdev_info+0xe2/0x116 [ 12.666955][ T224] ? netdev_notice+0x120/0x120 [ 12.666959][ T224] ? find_held_lock+0x2b/0x80 [ 12.666964][ T224] ? __lock_release.isra.0+0x69/0x1a0 [ 12.666968][ T224] ? mark_held_locks+0x40/0x70 [ 12.666974][ T224] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 12.666978][ T224] netif_change_name.cold+0x4f/0x89 [ 12.666981][ T224] ? register_netdev+0x40/0x40 [ 12.666983][ T224] ? is_bpf_text_address+0x68/0x110 [ 12.666992][ T224] ? netdev_adjacent_rename_links+0x470/0x470 [ 12.666995][ T224] ? __kernel_text_address+0x12/0x30 [ 12.666999][ T224] ? write_profile+0xf0/0xf0 [ 12.667005][ T224] ? __asan_memset+0x27/0x50 [ 12.667014][ T224] do_setlink.isra.0+0x1f7d/0x2a60 [ 12.667020][ T224] ? stack_trace_save+0x93/0xc0 [ 12.667023][ T224] ? rtnl_link_get_size+0x350/0x350 [ 12.667025][ T224] ? rcu_read_lock_any_held+0x66/0x90 [ 12.667029][ T224] ? stack_depot_save_flags+0x38e/0x790 [ 12.667034][ T224] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.667037][ T224] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.667040][ T224] ? validate_chain+0x38b/0xc20 [ 12.667044][ T224] ? kasan_save_stack+0x3d/0x50 [ 12.667047][ T224] ? kasan_save_stack+0x2f/0x50 [ 12.667049][ T224] ? kasan_save_track+0x14/0x30 [ 12.667051][ T224] ? __kasan_kmalloc+0x7b/0x90 [ 12.667055][ T224] ? __lock_acquire+0x518/0xc20 [ 12.667058][ T224] ? snd_ac97_proc_read_main+0x4de/0x1f00 [ 12.667062][ T224] ? ___sys_sendmsg+0xd0/0x1d0 [ 12.667068][ T224] ? lock_acquire.part.0+0xd4/0x280 [ 12.667070][ T224] ? rtnl_newlink+0x9a8/0x11b0 [ 12.667074][ T224] ? rcu_is_watching+0x16/0xd0 [ 12.667077][ T224] ? lock_acquire+0x13c/0x160 [ 12.667079][ T224] ? rcu_is_watching+0x16/0xd0 [ 12.667081][ T224] ? rcu_is_watching+0x16/0xd0 [ 12.667084][ T224] ? trace_contention_end+0xb3/0x180 [ 12.667088][ T224] ? __mutex_lock+0x1db/0x1ea0 [ 12.667091][ T224] ? __mutex_lock+0x9a3/0x1ea0 [ 12.667095][ T224] ? rtnl_newlink+0x9a8/0x11b0 [ 12.667100][ T224] ? ww_mutex_lock+0x160/0x160 [ 12.667102][ T224] ? nla_get_range_signed+0x3d0/0x3d0 [ 12.667110][ T224] ? rcu_is_watching+0x16/0xd0 [ 12.667113][ T224] ? __rtnl_newlink+0x3fa/0xa50 [ 12.667123][ T224] rtnl_newlink+0x9f1/0x11b0 [ 12.667132][ T224] ? rtnl_bridge_getlink+0x850/0x850 [ 12.667135][ T224] ? __lock_acquire+0x518/0xc20 [ 12.667143][ T224] ? lock_acquire.part.0+0xd4/0x280 [ 12.667146][ T224] ? find_held_lock+0x2b/0x80 [ 12.667149][ T224] ? rtnl_bridge_getlink+0x850/0x850 [ 12.667152][ T224] ? __lock_release.isra.0+0x69/0x1a0 [ 12.667159][ T224] ? rtnl_bridge_getlink+0x850/0x850 [ 12.667162][ T224] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 12.667168][ T224] ? rtnl_link_fill+0x920/0x920 [ 12.667170][ T224] ? __lock_acquire+0x518/0xc20 [ 12.667178][ T224] ? lock_acquire.part.0+0xd4/0x280 [ 12.667181][ T224] ? find_held_lock+0x2b/0x80 [ 12.667187][ T224] netlink_rcv_skb+0x14e/0x3a0 [ 12.667191][ T224] ? rtnl_link_fill+0x920/0x920 [ 12.667196][ T224] ? netlink_ack+0xcf0/0xcf0 [ 12.667207][ T224] ? netlink_deliver_tap+0xc5/0x330 [ 12.667211][ T224] ? netlink_deliver_tap+0x13c/0x330 [ 12.667218][ T224] netlink_unicast+0x486/0x750 [ 12.667225][ T224] ? netlink_attachskb+0x810/0x810 [ 12.667229][ T224] ? find_held_lock+0x2b/0x80 [ 12.667237][ T224] netlink_sendmsg+0x75b/0xc90 [ 12.667244][ T224] ? netlink_unicast+0x750/0x750 [ 12.667250][ T224] ? __lock_release.isra.0+0x69/0x1a0 [ 12.667257][ T224] ? __import_iovec+0x36c/0x620 [ 12.667265][ T224] __sock_sendmsg+0xce/0x190 [ 12.667270][ T224] ____sys_sendmsg+0x61a/0x860 [ 12.667274][ T224] ? copy_msghdr_from_user+0x279/0x420 [ 12.667277][ T224] ? sock_write_iter+0x400/0x400 [ 12.667279][ T224] ? move_addr_to_kernel+0x40/0x40 [ 12.667296][ T224] ___sys_sendmsg+0x14e/0x1d0 [ 12.667301][ T224] ? copy_msghdr_from_user+0x420/0x420 [ 12.667331][ T224] __sys_sendmsg+0x12c/0x1d0 [ 12.667335][ T224] ? __sys_sendmsg_sock+0x20/0x20 [ 12.667346][ T224] ? rcu_is_watching+0x16/0xd0 [ 12.667352][ T224] do_syscall_64+0xff/0x530 [ 12.667356][ T224] ? exc_page_fault+0xee/0x100 [ 12.667360][ T224] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.667364][ T224] RIP: 0033:0x7fb42e57254e [ 12.667370][ 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.667372][ T224] RSP: 002b:00007ffc20e4bbb0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 12.667376][ T224] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007fb42e57254e [ 12.667378][ T224] RDX: 0000000000000000 RSI: 00007ffc20e4bc60 RDI: 0000000000000005 [ 12.667380][ T224] RBP: 00007ffc20e4bbc0 R08: 0000000000000000 R09: 0000000000000000 [ 12.667381][ T224] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a90e32f [ 12.667383][ T224] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffc20e4c330 [ 12.667395][ T224] [ 12.747199][ T224] ip (224) used greatest stack depth: 23208 bytes left [ 13.386199][ T242] Initializing XFRM netlink socket [ 15.738195][ T301] IPsec XFRM device driver [ 15.738216][ T301] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 15.738219][ T301] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 301, name: modprobe [ 15.738221][ T301] preempt_count: 1, expected: 0 [ 15.738222][ T301] RCU nest depth: 0, expected: 0 [ 15.738223][ T301] locks held by modprobe/301: 4, last CPU#3: [ 15.738225][ T301] #0: ffffffff9e57ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 15.738236][ T301] #1: ffffffff9e57de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 15.738242][ T301] #2: ffffffff9e49d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 15.738246][ T301] #3: ffffffff9e49d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 15.738251][ T301] irq event stamp: 18420 [ 15.738251][ T301] hardirqs last enabled at (18419): [] __down_trylock_console_sem+0x86/0xa0 [ 15.738255][ T301] hardirqs last disabled at (18420): [] console_emit_next_record+0x3d4/0x4c0 [ 15.738257][ T301] softirqs last enabled at (15508): [] handle_softirqs+0x67c/0x900 [ 15.738266][ T301] softirqs last disabled at (15503): [] __irq_exit_rcu+0x145/0x1c0 [ 15.738268][ T301] Preemption disabled at: [ 15.738269][ T301] [] vprintk_emit+0x31b/0x3e0 [ 15.738275][ T301] CPU: 3 UID: 0 PID: 301 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 15.738278][ T301] Tainted: [W]=WARN [ 15.738279][ T301] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.738281][ T301] Call Trace: [ 15.738283][ T301] [ 15.738284][ T301] dump_stack_lvl+0x6f/0xa0 [ 15.738290][ T301] ? vprintk_emit+0x31b/0x3e0 [ 15.738292][ T301] __might_resched.cold+0x1fe/0x2c1 [ 15.738299][ T301] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 15.738304][ T301] ? __kmalloc_noprof+0xdb/0x760 [ 15.738308][ T301] __kmalloc_noprof+0x443/0x760 [ 15.738310][ T301] ? alloc_buf.isra.0+0x4b/0x260 [ 15.738317][ T301] ? do_raw_spin_unlock+0x59/0x250 [ 15.738320][ T301] alloc_buf.isra.0+0x4b/0x260 [ 15.738324][ T301] put_chars+0x1e1/0x2f0 [ 15.738326][ T301] ? __send_to_port+0x420/0x420 [ 15.738329][ T301] ? validate_chain+0x38b/0xc20 [ 15.738335][ T301] hvc_console_print+0x292/0x780 [ 15.738342][ T301] ? hvc_write+0x3a0/0x3a0 [ 15.738345][ T301] ? rcu_is_watching+0x16/0xd0 [ 15.738348][ T301] ? lock_acquire+0x13c/0x160 [ 15.738352][ T301] console_emit_next_record+0x22f/0x4c0 [ 15.738356][ T301] ? devkmsg_read+0x4b0/0x4b0 [ 15.738358][ T301] ? console_flush_one_record+0x106/0x710 [ 15.738361][ T301] ? rcu_is_watching+0x16/0xd0 [ 15.738363][ T301] ? lock_acquire+0x13c/0x160 [ 15.738367][ T301] console_flush_one_record+0x46f/0x710 [ 15.738371][ T301] ? console_emit_next_record+0x4c0/0x4c0 [ 15.738373][ T301] ? __lock_acquire+0x518/0xc20 [ 15.738378][ T301] console_unlock+0xee/0x1f0 [ 15.738381][ T301] ? console_flush_one_record+0x710/0x710 [ 15.738383][ T301] ? rcu_is_watching+0x16/0xd0 [ 15.738385][ T301] ? lock_acquire+0xe0/0x160 [ 15.738388][ T301] ? __down_trylock_console_sem+0x5e/0xa0 [ 15.738390][ T301] ? vprintk_emit+0x320/0x3e0 [ 15.738393][ T301] vprintk_emit+0x37c/0x3e0 [ 15.738397][ T301] ? wake_up_klogd_work_func+0x90/0x90 [ 15.738402][ T301] ? xfrmi_fini+0x6a0/0x6a0 [xfrm_interface] [ 15.738405][ T301] _printk+0xc7/0x100 [ 15.738409][ T301] ? snapshot_read.cold+0x21/0x21 [ 15.738416][ T301] ? do_one_initcall+0x113/0x4f0 [ 15.738419][ T301] xfrmi_init+0x17/0x1000 [xfrm_interface] [ 15.738422][ T301] do_one_initcall+0x124/0x4f0 [ 15.738425][ T301] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 15.738430][ T301] ? do_init_module+0xae/0x8a0 [ 15.738432][ T301] ? kasan_unpoison+0x44/0x70 [ 15.738438][ T301] do_init_module+0x2ad/0x8a0 [ 15.738441][ T301] ? lockdep_hardirqs_on+0x91/0x130 [ 15.738445][ T301] ? free_module+0x470/0x470 [ 15.738448][ T301] ? kfree+0x123/0x590 [ 15.738451][ T301] load_module+0x1424/0x1bb0 [ 15.738457][ T301] ? security_kernel_post_read_file+0x2f/0x60 [ 15.738462][ T301] ? layout_and_allocate.isra.0+0x680/0x680 [ 15.738465][ T301] ? __ia32_sys_fsconfig+0x180/0x180 [ 15.738469][ T301] ? backing_file_read_iter+0x541/0x790 [ 15.738473][ T301] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.738476][ T301] init_module_from_file+0x11f/0x1a0 [ 15.738479][ T301] ? __do_sys_init_module+0x270/0x270 [ 15.738486][ T301] ? __rwlock_init+0x150/0x150 [ 15.738490][ T301] ? do_raw_spin_unlock+0x59/0x250 [ 15.738493][ T301] idempotent_init_module+0x37b/0x7c0 [ 15.738496][ T301] ? init_module_from_file+0x1a0/0x1a0 [ 15.738502][ T301] ? cap_capable+0x1d7/0x3d0 [ 15.738504][ T301] ? __x64_sys_pread64+0x18d/0x250 [ 15.738509][ T301] __x64_sys_finit_module+0xdf/0x190 [ 15.738511][ T301] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 15.738515][ T301] do_syscall_64+0xff/0x530 [ 15.738518][ T301] ? exc_page_fault+0xee/0x100 [ 15.738521][ T301] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 15.738524][ T301] RIP: 0033:0x7f7d27c8437d [ 15.738527][ T301] 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 [ 15.738529][ T301] RSP: 002b:00007fffdc8e2e58 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 15.738532][ T301] RAX: ffffffffffffffda RBX: 0000557e54938810 RCX: 00007f7d27c8437d [ 15.738533][ T301] RDX: 0000000000000000 RSI: 0000557e3e1afffd RDI: 0000000000000000 [ 15.738534][ T301] RBP: 00007fffdc8e2ef0 R08: 0000000000000000 R09: 0000000000000000 [ 15.738535][ T301] R10: 0000000000000000 R11: 0000000000000246 R12: 0000557e3e1afffd [ 15.738536][ T301] R13: 0000557e54938970 R14: 0000000000040000 R15: 0000000000000000 [ 15.738543][ T301]