[ 11.483446][ T225] eth0: renamed from tmp [ 11.483505][ T225] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.483507][ T225] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 225, name: ip [ 11.483508][ T225] preempt_count: 1, expected: 0 [ 11.483509][ T225] RCU nest depth: 0, expected: 0 [ 11.483510][ T225] locks held by ip/225: 5, last CPU#0: [ 11.483512][ T225] #0: ffffffffa431b740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 11.483523][ T225] #1: ffffffffa3b7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.483529][ T225] #2: ffffffffa3b7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.483533][ T225] #3: ffffffffa3a9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.483537][ T225] #4: ffffffffa3a9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.483541][ T225] irq event stamp: 23484 [ 11.483541][ T225] hardirqs last enabled at (23483): [] __down_trylock_console_sem+0x86/0xa0 [ 11.483545][ T225] hardirqs last disabled at (23484): [] console_emit_next_record+0x3d4/0x4c0 [ 11.483547][ T225] softirqs last enabled at (23478): [] netif_change_name+0x216/0x8c0 [ 11.483550][ T225] softirqs last disabled at (23476): [] netif_change_name+0x1ad/0x8c0 [ 11.483553][ T225] Preemption disabled at: [ 11.483554][ T225] [] vprintk_emit+0x31b/0x3e0 [ 11.483559][ T225] CPU: 0 UID: 0 PID: 225 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.483562][ T225] Tainted: [W]=WARN [ 11.483563][ T225] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.483565][ T225] Call Trace: [ 11.483567][ T225] [ 11.483568][ T225] dump_stack_lvl+0x6f/0xa0 [ 11.483574][ T225] ? vprintk_emit+0x31b/0x3e0 [ 11.483576][ T225] __might_resched.cold+0x1fe/0x2c1 [ 11.483580][ T225] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.483585][ T225] ? __kmalloc_noprof+0xdb/0x760 [ 11.483589][ T225] __kmalloc_noprof+0x443/0x760 [ 11.483591][ T225] ? alloc_buf.isra.0+0x4b/0x260 [ 11.483597][ T225] ? do_raw_spin_unlock+0x59/0x250 [ 11.483600][ T225] alloc_buf.isra.0+0x4b/0x260 [ 11.483604][ T225] put_chars+0x1e1/0x2f0 [ 11.483606][ T225] ? __send_to_port+0x420/0x420 [ 11.483613][ T225] hvc_console_print+0x292/0x780 [ 11.483620][ T225] ? hvc_write+0x3a0/0x3a0 [ 11.483624][ T225] ? lock_acquire+0x13c/0x160 [ 11.483628][ T225] console_emit_next_record+0x22f/0x4c0 [ 11.483632][ T225] ? devkmsg_read+0x4b0/0x4b0 [ 11.483633][ T225] ? console_flush_one_record+0x106/0x710 [ 11.483637][ T225] ? rcu_is_watching+0x16/0xd0 [ 11.483639][ T225] ? lock_acquire+0x13c/0x160 [ 11.483643][ T225] console_flush_one_record+0x46f/0x710 [ 11.483647][ T225] ? console_emit_next_record+0x4c0/0x4c0 [ 11.483649][ T225] ? __lock_acquire+0x518/0xc20 [ 11.483654][ T225] console_unlock+0xee/0x1f0 [ 11.483657][ T225] ? console_flush_one_record+0x710/0x710 [ 11.483659][ T225] ? rcu_is_watching+0x16/0xd0 [ 11.483661][ T225] ? lock_acquire+0xe0/0x160 [ 11.483664][ T225] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.483666][ T225] ? vprintk_emit+0x320/0x3e0 [ 11.483669][ T225] vprintk_emit+0x37c/0x3e0 [ 11.483672][ T225] ? wake_up_klogd_work_func+0x90/0x90 [ 11.483674][ T225] ? save_trace+0x68/0x280 [ 11.483678][ T225] _printk+0xc7/0x100 [ 11.483682][ T225] ? snapshot_read.cold+0x21/0x21 [ 11.483685][ T225] ? validate_chain+0x34a/0xc20 [ 11.483687][ T225] ? netdev_name+0x43/0x60 [ 11.483691][ T225] ? __netdev_printk+0x17f/0x1d0 [ 11.483694][ T225] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 11.483696][ T225] netdev_info+0xe2/0x116 [ 11.483699][ T225] ? netdev_notice+0x120/0x120 [ 11.483701][ T225] ? find_held_lock+0x2b/0x80 [ 11.483704][ T225] ? __lock_release.isra.0+0x69/0x1a0 [ 11.483707][ T225] ? mark_held_locks+0x40/0x70 [ 11.483710][ T225] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 11.483712][ T225] netif_change_name.cold+0x4f/0x89 [ 11.483714][ T225] ? register_netdev+0x40/0x40 [ 11.483715][ T225] ? is_bpf_text_address+0x68/0x110 [ 11.483721][ T225] ? netdev_adjacent_rename_links+0x470/0x470 [ 11.483723][ T225] ? __kernel_text_address+0x12/0x30 [ 11.483726][ T225] ? write_profile+0xf0/0xf0 [ 11.483730][ T225] ? __asan_memset+0x27/0x50 [ 11.483735][ T225] do_setlink.isra.0+0x1f7d/0x2a60 [ 11.483739][ T225] ? stack_trace_save+0x93/0xc0 [ 11.483741][ T225] ? rtnl_link_get_size+0x350/0x350 [ 11.483742][ T225] ? rcu_read_lock_any_held+0x66/0x90 [ 11.483744][ T225] ? stack_depot_save_flags+0x38e/0x790 [ 11.483748][ T225] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.483750][ T225] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.483752][ T225] ? validate_chain+0x38b/0xc20 [ 11.483754][ T225] ? kasan_save_stack+0x3d/0x50 [ 11.483756][ T225] ? kasan_save_stack+0x2f/0x50 [ 11.483757][ T225] ? kasan_save_track+0x14/0x30 [ 11.483758][ T225] ? __kasan_kmalloc+0x7b/0x90 [ 11.483761][ T225] ? __lock_acquire+0x518/0xc20 [ 11.483762][ T225] ? snd_ac97_proc_read_main+0x4de/0x1f00 [ 11.483766][ T225] ? ___sys_sendmsg+0xd0/0x1d0 [ 11.483769][ T225] ? lock_acquire.part.0+0xd4/0x280 [ 11.483771][ T225] ? rtnl_newlink+0x9a8/0x11b0 [ 11.483774][ T225] ? rcu_is_watching+0x16/0xd0 [ 11.483776][ T225] ? lock_acquire+0x13c/0x160 [ 11.483777][ T225] ? rcu_is_watching+0x16/0xd0 [ 11.483778][ T225] ? rcu_is_watching+0x16/0xd0 [ 11.483780][ T225] ? trace_contention_end+0xb3/0x180 [ 11.483782][ T225] ? __mutex_lock+0x1db/0x1ea0 [ 11.483784][ T225] ? __mutex_lock+0x9a3/0x1ea0 [ 11.483786][ T225] ? rtnl_newlink+0x9a8/0x11b0 [ 11.483790][ T225] ? ww_mutex_lock+0x160/0x160 [ 11.483791][ T225] ? nla_get_range_signed+0x3d0/0x3d0 [ 11.483796][ T225] ? rcu_is_watching+0x16/0xd0 [ 11.483798][ T225] ? __rtnl_newlink+0x3fa/0xa50 [ 11.483803][ T225] rtnl_newlink+0x9f1/0x11b0 [ 11.483809][ T225] ? rtnl_bridge_getlink+0x850/0x850 [ 11.483811][ T225] ? __lock_acquire+0x518/0xc20 [ 11.483815][ T225] ? lock_acquire.part.0+0xd4/0x280 [ 11.483817][ T225] ? find_held_lock+0x2b/0x80 [ 11.483819][ T225] ? rtnl_bridge_getlink+0x850/0x850 [ 11.483821][ T225] ? __lock_release.isra.0+0x69/0x1a0 [ 11.483825][ T225] ? rtnl_bridge_getlink+0x850/0x850 [ 11.483827][ T225] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 11.483830][ T225] ? rtnl_link_fill+0x920/0x920 [ 11.483831][ T225] ? __lock_acquire+0x518/0xc20 [ 11.483835][ T225] ? lock_acquire.part.0+0xd4/0x280 [ 11.483837][ T225] ? find_held_lock+0x2b/0x80 [ 11.483841][ T225] netlink_rcv_skb+0x14e/0x3a0 [ 11.483844][ T225] ? rtnl_link_fill+0x920/0x920 [ 11.483847][ T225] ? netlink_ack+0xcf0/0xcf0 [ 11.483853][ T225] ? netlink_deliver_tap+0xc5/0x330 [ 11.483855][ T225] ? netlink_deliver_tap+0x13c/0x330 [ 11.483860][ T225] netlink_unicast+0x486/0x750 [ 11.483864][ T225] ? netlink_attachskb+0x810/0x810 [ 11.483867][ T225] ? find_held_lock+0x2b/0x80 [ 11.483871][ T225] netlink_sendmsg+0x75b/0xc90 [ 11.483875][ T225] ? netlink_unicast+0x750/0x750 [ 11.483879][ T225] ? __lock_release.isra.0+0x69/0x1a0 [ 11.483881][ T225] ? __import_iovec+0x36c/0x620 [ 11.483886][ T225] __sock_sendmsg+0xce/0x190 [ 11.483889][ T225] ____sys_sendmsg+0x61a/0x860 [ 11.483891][ T225] ? copy_msghdr_from_user+0x279/0x420 [ 11.483893][ T225] ? sock_write_iter+0x400/0x400 [ 11.483895][ T225] ? move_addr_to_kernel+0x40/0x40 [ 11.483902][ T225] ___sys_sendmsg+0x14e/0x1d0 [ 11.483905][ T225] ? copy_msghdr_from_user+0x420/0x420 [ 11.483921][ T225] __sys_sendmsg+0x12c/0x1d0 [ 11.483924][ T225] ? __sys_sendmsg_sock+0x20/0x20 [ 11.483930][ T225] ? rcu_is_watching+0x16/0xd0 [ 11.483933][ T225] do_syscall_64+0xff/0x530 [ 11.483936][ T225] ? exc_page_fault+0xee/0x100 [ 11.483939][ T225] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.483941][ T225] RIP: 0033:0x7fed4c90654e [ 11.483945][ 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 [ 11.483946][ T225] RSP: 002b:00007ffce3c11930 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 11.483949][ T225] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007fed4c90654e [ 11.483950][ T225] RDX: 0000000000000000 RSI: 00007ffce3c119e0 RDI: 0000000000000005 [ 11.483951][ T225] RBP: 00007ffce3c11940 R08: 0000000000000000 R09: 0000000000000000 [ 11.483952][ T225] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a910ae5 [ 11.483953][ T225] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffce3c120b0 [ 11.483959][ T225] [ 12.101998][ T243] Initializing XFRM netlink socket [ 14.091923][ T302] IPsec XFRM device driver [ 14.091942][ T302] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.091944][ T302] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 302, name: modprobe [ 14.091946][ T302] preempt_count: 1, expected: 0 [ 14.091947][ T302] RCU nest depth: 0, expected: 0 [ 14.091947][ T302] locks held by modprobe/302: 4, last CPU#2: [ 14.091949][ T302] #0: ffffffffa3b7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.091961][ T302] #1: ffffffffa3b7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.091966][ T302] #2: ffffffffa3a9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.091970][ T302] #3: ffffffffa3a9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 14.091974][ T302] irq event stamp: 24614 [ 14.091975][ T302] hardirqs last enabled at (24613): [] __down_trylock_console_sem+0x86/0xa0 [ 14.091978][ T302] hardirqs last disabled at (24614): [] console_emit_next_record+0x3d4/0x4c0 [ 14.091980][ T302] softirqs last enabled at (22916): [] handle_softirqs+0x67c/0x900 [ 14.091984][ T302] softirqs last disabled at (22909): [] __irq_exit_rcu+0x145/0x1c0 [ 14.091986][ T302] Preemption disabled at: [ 14.091987][ T302] [] vprintk_emit+0x31b/0x3e0 [ 14.091992][ T302] CPU: 2 UID: 0 PID: 302 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.091996][ T302] Tainted: [W]=WARN [ 14.091997][ T302] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.091999][ T302] Call Trace: [ 14.092000][ T302] [ 14.092002][ T302] dump_stack_lvl+0x6f/0xa0 [ 14.092008][ T302] ? vprintk_emit+0x31b/0x3e0 [ 14.092009][ T302] __might_resched.cold+0x1fe/0x2c1 [ 14.092014][ T302] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.092018][ T302] ? __kmalloc_noprof+0xdb/0x760 [ 14.092022][ T302] __kmalloc_noprof+0x443/0x760 [ 14.092024][ T302] ? alloc_buf.isra.0+0x4b/0x260 [ 14.092031][ T302] ? do_raw_spin_unlock+0x59/0x250 [ 14.092034][ T302] alloc_buf.isra.0+0x4b/0x260 [ 14.092038][ T302] put_chars+0x1e1/0x2f0 [ 14.092040][ T302] ? __send_to_port+0x420/0x420 [ 14.092043][ T302] ? validate_chain+0x38b/0xc20 [ 14.092048][ T302] hvc_console_print+0x292/0x780 [ 14.092055][ T302] ? hvc_write+0x3a0/0x3a0 [ 14.092058][ T302] ? rcu_is_watching+0x16/0xd0 [ 14.092061][ T302] ? lock_acquire+0x13c/0x160 [ 14.092065][ T302] console_emit_next_record+0x22f/0x4c0 [ 14.092069][ T302] ? devkmsg_read+0x4b0/0x4b0 [ 14.092071][ T302] ? console_flush_one_record+0x106/0x710 [ 14.092074][ T302] ? rcu_is_watching+0x16/0xd0 [ 14.092076][ T302] ? lock_acquire+0x13c/0x160 [ 14.092080][ T302] console_flush_one_record+0x46f/0x710 [ 14.092084][ T302] ? console_emit_next_record+0x4c0/0x4c0 [ 14.092086][ T302] ? __lock_acquire+0x518/0xc20 [ 14.092091][ T302] console_unlock+0xee/0x1f0 [ 14.092094][ T302] ? console_flush_one_record+0x710/0x710 [ 14.092096][ T302] ? rcu_is_watching+0x16/0xd0 [ 14.092098][ T302] ? lock_acquire+0xe0/0x160 [ 14.092101][ T302] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.092103][ T302] ? vprintk_emit+0x320/0x3e0 [ 14.092106][ T302] vprintk_emit+0x37c/0x3e0 [ 14.092109][ T302] ? wake_up_klogd_work_func+0x90/0x90 [ 14.092115][ T302] ? xfrmi_fini+0x6a0/0x6a0 [xfrm_interface] [ 14.092118][ T302] _printk+0xc7/0x100 [ 14.092122][ T302] ? snapshot_read.cold+0x21/0x21 [ 14.092130][ T302] ? do_one_initcall+0x113/0x4f0 [ 14.092134][ T302] xfrmi_init+0x17/0x1000 [xfrm_interface] [ 14.092137][ T302] do_one_initcall+0x124/0x4f0 [ 14.092140][ T302] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 14.092144][ T302] ? do_init_module+0xae/0x8a0 [ 14.092147][ T302] ? kasan_unpoison+0x44/0x70 [ 14.092153][ T302] do_init_module+0x2ad/0x8a0 [ 14.092156][ T302] ? lockdep_hardirqs_on+0x91/0x130 [ 14.092160][ T302] ? free_module+0x470/0x470 [ 14.092162][ T302] ? kfree+0x123/0x590 [ 14.092166][ T302] load_module+0x1424/0x1bb0 [ 14.092171][ T302] ? security_kernel_post_read_file+0x2f/0x60 [ 14.092176][ T302] ? layout_and_allocate.isra.0+0x680/0x680 [ 14.092179][ T302] ? __ia32_sys_fsconfig+0x180/0x180 [ 14.092183][ T302] ? backing_file_read_iter+0x541/0x790 [ 14.092187][ T302] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 14.092190][ T302] init_module_from_file+0x11f/0x1a0 [ 14.092193][ T302] ? __do_sys_init_module+0x270/0x270 [ 14.092200][ T302] ? __rwlock_init+0x150/0x150 [ 14.092204][ T302] ? do_raw_spin_unlock+0x59/0x250 [ 14.092207][ T302] idempotent_init_module+0x37b/0x7c0 [ 14.092210][ T302] ? init_module_from_file+0x1a0/0x1a0 [ 14.092215][ T302] ? cap_capable+0x1d7/0x3d0 [ 14.092218][ T302] ? __x64_sys_pread64+0x18d/0x250 [ 14.092223][ T302] __x64_sys_finit_module+0xdf/0x190 [ 14.092225][ T302] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 14.092229][ T302] do_syscall_64+0xff/0x530 [ 14.092231][ T302] ? exc_page_fault+0xee/0x100 [ 14.092234][ T302] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.092236][ T302] RIP: 0033:0x7fcacc7ec37d [ 14.092240][ 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.092241][ T302] RSP: 002b:00007fffadcf4048 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 14.092244][ T302] RAX: ffffffffffffffda RBX: 000055cffb692810 RCX: 00007fcacc7ec37d [ 14.092245][ T302] RDX: 0000000000000000 RSI: 000055cfc17a9ffd RDI: 0000000000000000 [ 14.092246][ T302] RBP: 00007fffadcf40e0 R08: 0000000000000000 R09: 0000000000000000 [ 14.092247][ T302] R10: 0000000000000000 R11: 0000000000000246 R12: 000055cfc17a9ffd [ 14.092248][ T302] R13: 000055cffb692970 R14: 0000000000040000 R15: 0000000000000000 [ 14.092255][ T302]