[ 10.017207][ T225] eth0: renamed from tmp [ 10.017262][ T225] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.017264][ T225] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 225, name: ip [ 10.017265][ T225] preempt_count: 1, expected: 0 [ 10.017266][ T225] RCU nest depth: 0, expected: 0 [ 10.017267][ T225] locks held by ip/225: 5, last CPU#2: [ 10.017269][ T225] #0: ffffffffaff1b740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 10.017280][ T225] #1: ffffffffaf77ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.017286][ T225] #2: ffffffffaf77de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.017290][ T225] #3: ffffffffaf69d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.017293][ T225] #4: ffffffffaf69d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.017297][ T225] irq event stamp: 26580 [ 10.017298][ T225] hardirqs last enabled at (26579): [] __down_trylock_console_sem+0x86/0xa0 [ 10.017301][ T225] hardirqs last disabled at (26580): [] console_emit_next_record+0x3d4/0x4c0 [ 10.017303][ T225] softirqs last enabled at (26574): [] netif_change_name+0x216/0x8c0 [ 10.017306][ T225] softirqs last disabled at (26572): [] netif_change_name+0x1ad/0x8c0 [ 10.017309][ T225] Preemption disabled at: [ 10.017309][ T225] [] vprintk_emit+0x31b/0x3e0 [ 10.017314][ T225] CPU: 2 UID: 0 PID: 225 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.017318][ T225] Tainted: [W]=WARN [ 10.017319][ T225] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.017321][ T225] Call Trace: [ 10.017322][ T225] [ 10.017323][ T225] dump_stack_lvl+0x6f/0xa0 [ 10.017329][ T225] ? vprintk_emit+0x31b/0x3e0 [ 10.017330][ T225] __might_resched.cold+0x1fe/0x2c1 [ 10.017335][ T225] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.017339][ T225] ? __kmalloc_noprof+0xdb/0x760 [ 10.017344][ T225] __kmalloc_noprof+0x443/0x760 [ 10.017346][ T225] ? alloc_buf.isra.0+0x4b/0x260 [ 10.017352][ T225] ? do_raw_spin_unlock+0x59/0x250 [ 10.017355][ T225] alloc_buf.isra.0+0x4b/0x260 [ 10.017358][ T225] put_chars+0x1e1/0x2f0 [ 10.017361][ T225] ? __send_to_port+0x420/0x420 [ 10.017367][ T225] hvc_console_print+0x292/0x780 [ 10.017374][ T225] ? hvc_write+0x3a0/0x3a0 [ 10.017377][ T225] ? lock_acquire+0x13c/0x160 [ 10.017382][ T225] console_emit_next_record+0x22f/0x4c0 [ 10.017385][ T225] ? devkmsg_read+0x4b0/0x4b0 [ 10.017387][ T225] ? console_flush_one_record+0x106/0x710 [ 10.017390][ T225] ? rcu_is_watching+0x16/0xd0 [ 10.017393][ T225] ? lock_acquire+0x13c/0x160 [ 10.017397][ T225] console_flush_one_record+0x46f/0x710 [ 10.017401][ T225] ? console_emit_next_record+0x4c0/0x4c0 [ 10.017402][ T225] ? __lock_acquire+0x518/0xc20 [ 10.017407][ T225] console_unlock+0xee/0x1f0 [ 10.017410][ T225] ? console_flush_one_record+0x710/0x710 [ 10.017412][ T225] ? rcu_is_watching+0x16/0xd0 [ 10.017414][ T225] ? lock_acquire+0xe0/0x160 [ 10.017417][ T225] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.017419][ T225] ? vprintk_emit+0x320/0x3e0 [ 10.017421][ T225] vprintk_emit+0x37c/0x3e0 [ 10.017424][ T225] ? wake_up_klogd_work_func+0x90/0x90 [ 10.017427][ T225] ? save_trace+0x68/0x280 [ 10.017431][ T225] _printk+0xc7/0x100 [ 10.017434][ T225] ? snapshot_read.cold+0x21/0x21 [ 10.017438][ T225] ? validate_chain+0x34a/0xc20 [ 10.017440][ T225] ? netdev_name+0x43/0x60 [ 10.017443][ T225] ? __netdev_printk+0x17f/0x1d0 [ 10.017446][ T225] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.017449][ T225] netdev_info+0xe2/0x116 [ 10.017451][ T225] ? netdev_notice+0x120/0x120 [ 10.017454][ T225] ? find_held_lock+0x2b/0x80 [ 10.017457][ T225] ? __lock_release.isra.0+0x69/0x1a0 [ 10.017459][ T225] ? mark_held_locks+0x40/0x70 [ 10.017462][ T225] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.017464][ T225] netif_change_name.cold+0x4f/0x89 [ 10.017466][ T225] ? register_netdev+0x40/0x40 [ 10.017468][ T225] ? is_bpf_text_address+0x68/0x110 [ 10.017473][ T225] ? netdev_adjacent_rename_links+0x470/0x470 [ 10.017475][ T225] ? __kernel_text_address+0x12/0x30 [ 10.017478][ T225] ? write_profile+0xf0/0xf0 [ 10.017482][ T225] ? __asan_memset+0x27/0x50 [ 10.017487][ T225] do_setlink.isra.0+0x1f7d/0x2a60 [ 10.017490][ T225] ? stack_trace_save+0x93/0xc0 [ 10.017492][ T225] ? rtnl_link_get_size+0x350/0x350 [ 10.017494][ T225] ? rcu_read_lock_any_held+0x66/0x90 [ 10.017496][ T225] ? stack_depot_save_flags+0x38e/0x790 [ 10.017500][ T225] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.017502][ T225] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.017503][ T225] ? validate_chain+0x38b/0xc20 [ 10.017506][ T225] ? kasan_save_stack+0x3d/0x50 [ 10.017507][ T225] ? kasan_save_stack+0x2f/0x50 [ 10.017508][ T225] ? kasan_save_track+0x14/0x30 [ 10.017510][ T225] ? __kasan_kmalloc+0x7b/0x90 [ 10.017512][ T225] ? __lock_acquire+0x518/0xc20 [ 10.017514][ T225] ? snd_ac97_proc_read_main+0x4de/0x1f00 [ 10.017517][ T225] ? ___sys_sendmsg+0xd0/0x1d0 [ 10.017521][ T225] ? lock_acquire.part.0+0xd4/0x280 [ 10.017522][ T225] ? rtnl_newlink+0x9a8/0x11b0 [ 10.017525][ T225] ? rcu_is_watching+0x16/0xd0 [ 10.017527][ T225] ? lock_acquire+0x13c/0x160 [ 10.017528][ T225] ? rcu_is_watching+0x16/0xd0 [ 10.017529][ T225] ? rcu_is_watching+0x16/0xd0 [ 10.017531][ T225] ? trace_contention_end+0xb3/0x180 [ 10.017533][ T225] ? __mutex_lock+0x1db/0x1ea0 [ 10.017536][ T225] ? __mutex_lock+0x9a3/0x1ea0 [ 10.017537][ T225] ? rtnl_newlink+0x9a8/0x11b0 [ 10.017541][ T225] ? ww_mutex_lock+0x160/0x160 [ 10.017542][ T225] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.017547][ T225] ? rcu_is_watching+0x16/0xd0 [ 10.017549][ T225] ? __rtnl_newlink+0x3fa/0xa50 [ 10.017554][ T225] rtnl_newlink+0x9f1/0x11b0 [ 10.017559][ T225] ? rtnl_bridge_getlink+0x850/0x850 [ 10.017561][ T225] ? __lock_acquire+0x518/0xc20 [ 10.017565][ T225] ? lock_acquire.part.0+0xd4/0x280 [ 10.017567][ T225] ? find_held_lock+0x2b/0x80 [ 10.017569][ T225] ? rtnl_bridge_getlink+0x850/0x850 [ 10.017571][ T225] ? __lock_release.isra.0+0x69/0x1a0 [ 10.017574][ T225] ? rtnl_bridge_getlink+0x850/0x850 [ 10.017576][ T225] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.017579][ T225] ? rtnl_link_fill+0x920/0x920 [ 10.017581][ T225] ? __lock_acquire+0x518/0xc20 [ 10.017585][ T225] ? lock_acquire.part.0+0xd4/0x280 [ 10.017587][ T225] ? find_held_lock+0x2b/0x80 [ 10.017593][ T225] netlink_rcv_skb+0x14e/0x3a0 [ 10.017596][ T225] ? rtnl_link_fill+0x920/0x920 [ 10.017599][ T225] ? netlink_ack+0xcf0/0xcf0 [ 10.017606][ T225] ? netlink_deliver_tap+0xc5/0x330 [ 10.017608][ T225] ? netlink_deliver_tap+0x13c/0x330 [ 10.017612][ T225] netlink_unicast+0x486/0x750 [ 10.017616][ T225] ? netlink_attachskb+0x810/0x810 [ 10.017618][ T225] ? find_held_lock+0x2b/0x80 [ 10.017622][ T225] netlink_sendmsg+0x75b/0xc90 [ 10.017626][ T225] ? netlink_unicast+0x750/0x750 [ 10.017630][ T225] ? __lock_release.isra.0+0x69/0x1a0 [ 10.017632][ T225] ? __import_iovec+0x36c/0x620 [ 10.017637][ T225] __sock_sendmsg+0xce/0x190 [ 10.017639][ T225] ____sys_sendmsg+0x61a/0x860 [ 10.017641][ T225] ? copy_msghdr_from_user+0x279/0x420 [ 10.017644][ T225] ? sock_write_iter+0x400/0x400 [ 10.017645][ T225] ? move_addr_to_kernel+0x40/0x40 [ 10.017652][ T225] ___sys_sendmsg+0x14e/0x1d0 [ 10.017655][ T225] ? copy_msghdr_from_user+0x420/0x420 [ 10.017670][ T225] __sys_sendmsg+0x12c/0x1d0 [ 10.017673][ T225] ? __sys_sendmsg_sock+0x20/0x20 [ 10.017679][ T225] ? rcu_is_watching+0x16/0xd0 [ 10.017682][ T225] do_syscall_64+0xff/0x530 [ 10.017685][ T225] ? exc_page_fault+0xee/0x100 [ 10.017688][ T225] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.017689][ T225] RIP: 0033:0x7f4d1d74a54e [ 10.017693][ T225] 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.017695][ T225] RSP: 002b:00007fffa27818e0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 10.017698][ T225] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f4d1d74a54e [ 10.017699][ T225] RDX: 0000000000000000 RSI: 00007fffa2781990 RDI: 0000000000000005 [ 10.017700][ T225] RBP: 00007fffa27818f0 R08: 0000000000000000 R09: 0000000000000000 [ 10.017701][ T225] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a911dfb [ 10.017701][ T225] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007fffa2782060 [ 10.017708][ T225] [ 10.066853][ T225] ip (225) used greatest stack depth: 23208 bytes left [ 10.631725][ T243] Initializing XFRM netlink socket [ 12.383806][ T301] IPsec XFRM device driver [ 12.383823][ T301] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.383825][ T301] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 301, name: modprobe [ 12.383827][ T301] preempt_count: 1, expected: 0 [ 12.383828][ T301] RCU nest depth: 0, expected: 0 [ 12.383829][ T301] locks held by modprobe/301: 4, last CPU#0: [ 12.383831][ T301] #0: ffffffffaf77ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.383842][ T301] #1: ffffffffaf77de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.383847][ T301] #2: ffffffffaf69d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.383851][ T301] #3: ffffffffaf69d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.383855][ T301] irq event stamp: 19140 [ 12.383856][ T301] hardirqs last enabled at (19139): [] __down_trylock_console_sem+0x86/0xa0 [ 12.383859][ T301] hardirqs last disabled at (19140): [] console_emit_next_record+0x3d4/0x4c0 [ 12.383861][ T301] softirqs last enabled at (16646): [] handle_softirqs+0x67c/0x900 [ 12.383864][ T301] softirqs last disabled at (16641): [] __irq_exit_rcu+0x145/0x1c0 [ 12.383866][ T301] Preemption disabled at: [ 12.383867][ T301] [] vprintk_emit+0x31b/0x3e0 [ 12.383872][ T301] CPU: 0 UID: 0 PID: 301 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.383875][ T301] Tainted: [W]=WARN [ 12.383876][ T301] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.383878][ T301] Call Trace: [ 12.383879][ T301] [ 12.383880][ T301] dump_stack_lvl+0x6f/0xa0 [ 12.383886][ T301] ? vprintk_emit+0x31b/0x3e0 [ 12.383888][ T301] __might_resched.cold+0x1fe/0x2c1 [ 12.383892][ T301] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.383896][ T301] ? __kmalloc_noprof+0xdb/0x760 [ 12.383900][ T301] __kmalloc_noprof+0x443/0x760 [ 12.383902][ T301] ? alloc_buf.isra.0+0x4b/0x260 [ 12.383909][ T301] ? do_raw_spin_unlock+0x59/0x250 [ 12.383912][ T301] alloc_buf.isra.0+0x4b/0x260 [ 12.383916][ T301] put_chars+0x1e1/0x2f0 [ 12.383918][ T301] ? __send_to_port+0x420/0x420 [ 12.383921][ T301] ? validate_chain+0x38b/0xc20 [ 12.383926][ T301] hvc_console_print+0x292/0x780 [ 12.383933][ T301] ? hvc_write+0x3a0/0x3a0 [ 12.383936][ T301] ? rcu_is_watching+0x16/0xd0 [ 12.383939][ T301] ? lock_acquire+0x13c/0x160 [ 12.383942][ T301] console_emit_next_record+0x22f/0x4c0 [ 12.383946][ T301] ? devkmsg_read+0x4b0/0x4b0 [ 12.383948][ T301] ? console_flush_one_record+0x106/0x710 [ 12.383952][ T301] ? rcu_is_watching+0x16/0xd0 [ 12.383953][ T301] ? lock_acquire+0x13c/0x160 [ 12.383957][ T301] console_flush_one_record+0x46f/0x710 [ 12.383961][ T301] ? console_emit_next_record+0x4c0/0x4c0 [ 12.383963][ T301] ? __lock_acquire+0x518/0xc20 [ 12.383968][ T301] console_unlock+0xee/0x1f0 [ 12.383971][ T301] ? console_flush_one_record+0x710/0x710 [ 12.383973][ T301] ? rcu_is_watching+0x16/0xd0 [ 12.383975][ T301] ? lock_acquire+0xe0/0x160 [ 12.383978][ T301] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.383980][ T301] ? vprintk_emit+0x320/0x3e0 [ 12.383983][ T301] vprintk_emit+0x37c/0x3e0 [ 12.383986][ T301] ? wake_up_klogd_work_func+0x90/0x90 [ 12.383991][ T301] ? xfrmi_fini+0x6a0/0x6a0 [xfrm_interface] [ 12.383994][ T301] _printk+0xc7/0x100 [ 12.383997][ T301] ? snapshot_read.cold+0x21/0x21 [ 12.384003][ T301] ? do_one_initcall+0x113/0x4f0 [ 12.384007][ T301] xfrmi_init+0x17/0x1000 [xfrm_interface] [ 12.384013][ T301] do_one_initcall+0x124/0x4f0 [ 12.384016][ T301] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 12.384021][ T301] ? do_init_module+0xae/0x8a0 [ 12.384023][ T301] ? kasan_unpoison+0x44/0x70 [ 12.384029][ T301] do_init_module+0x2ad/0x8a0 [ 12.384031][ T301] ? lockdep_hardirqs_on+0x91/0x130 [ 12.384035][ T301] ? free_module+0x470/0x470 [ 12.384038][ T301] ? kfree+0x123/0x590 [ 12.384041][ T301] load_module+0x1424/0x1bb0 [ 12.384046][ T301] ? security_kernel_post_read_file+0x2f/0x60 [ 12.384051][ T301] ? layout_and_allocate.isra.0+0x680/0x680 [ 12.384054][ T301] ? __ia32_sys_fsconfig+0x180/0x180 [ 12.384058][ T301] ? backing_file_read_iter+0x541/0x790 [ 12.384061][ T301] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.384065][ T301] init_module_from_file+0x11f/0x1a0 [ 12.384067][ T301] ? __do_sys_init_module+0x270/0x270 [ 12.384074][ T301] ? __rwlock_init+0x150/0x150 [ 12.384078][ T301] ? do_raw_spin_unlock+0x59/0x250 [ 12.384081][ T301] idempotent_init_module+0x37b/0x7c0 [ 12.384083][ T301] ? init_module_from_file+0x1a0/0x1a0 [ 12.384089][ T301] ? cap_capable+0x1d7/0x3d0 [ 12.384091][ T301] ? __x64_sys_pread64+0x18d/0x250 [ 12.384096][ T301] __x64_sys_finit_module+0xdf/0x190 [ 12.384097][ T301] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.384101][ T301] do_syscall_64+0xff/0x530 [ 12.384104][ T301] ? exc_page_fault+0xee/0x100 [ 12.384106][ T301] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.384109][ T301] RIP: 0033:0x7f939e33b37d [ 12.384112][ 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 [ 12.384114][ T301] RSP: 002b:00007ffd144f9928 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 12.384116][ T301] RAX: ffffffffffffffda RBX: 000055b55a6f7810 RCX: 00007f939e33b37d [ 12.384118][ T301] RDX: 0000000000000000 RSI: 000055b54bea7ffd RDI: 0000000000000000 [ 12.384118][ T301] RBP: 00007ffd144f99c0 R08: 0000000000000000 R09: 0000000000000000 [ 12.384119][ T301] R10: 0000000000000000 R11: 0000000000000246 R12: 000055b54bea7ffd [ 12.384120][ T301] R13: 000055b55a6f7970 R14: 0000000000040000 R15: 0000000000000000 [ 12.384127][ T301]