[ 10.032528][ T226] eth0: renamed from tmp [ 10.032582][ T226] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.032584][ T226] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 226, name: ip [ 10.032586][ T226] preempt_count: 1, expected: 0 [ 10.032587][ T226] RCU nest depth: 0, expected: 0 [ 10.032588][ T226] locks held by ip/226: 5, last CPU#3: [ 10.032590][ T226] #0: ffffffffa151b740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 10.032601][ T226] #1: ffffffffa0d7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.032606][ T226] #2: ffffffffa0d7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.032611][ T226] #3: ffffffffa0c9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.032614][ T226] #4: ffffffffa0c9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.032618][ T226] irq event stamp: 25714 [ 10.032619][ T226] hardirqs last enabled at (25713): [] __down_trylock_console_sem+0x86/0xa0 [ 10.032622][ T226] hardirqs last disabled at (25714): [] console_emit_next_record+0x3d4/0x4c0 [ 10.032624][ T226] softirqs last enabled at (25708): [] netif_change_name+0x216/0x8c0 [ 10.032627][ T226] softirqs last disabled at (25706): [] netif_change_name+0x1ad/0x8c0 [ 10.032630][ T226] Preemption disabled at: [ 10.032630][ T226] [] vprintk_emit+0x31b/0x3e0 [ 10.032636][ T226] CPU: 3 UID: 0 PID: 226 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.032639][ T226] Tainted: [W]=WARN [ 10.032640][ T226] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.032641][ T226] Call Trace: [ 10.032643][ T226] [ 10.032644][ T226] dump_stack_lvl+0x6f/0xa0 [ 10.032650][ T226] ? vprintk_emit+0x31b/0x3e0 [ 10.032651][ T226] __might_resched.cold+0x1fe/0x2c1 [ 10.032655][ T226] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.032660][ T226] ? __kmalloc_noprof+0xdb/0x760 [ 10.032664][ T226] __kmalloc_noprof+0x443/0x760 [ 10.032666][ T226] ? alloc_buf.isra.0+0x4b/0x260 [ 10.032672][ T226] ? do_raw_spin_unlock+0x59/0x250 [ 10.032675][ T226] alloc_buf.isra.0+0x4b/0x260 [ 10.032678][ T226] put_chars+0x1e1/0x2f0 [ 10.032681][ T226] ? __send_to_port+0x420/0x420 [ 10.032687][ T226] hvc_console_print+0x292/0x780 [ 10.032695][ T226] ? hvc_write+0x3a0/0x3a0 [ 10.032698][ T226] ? lock_acquire+0x13c/0x160 [ 10.032702][ T226] console_emit_next_record+0x22f/0x4c0 [ 10.032706][ T226] ? devkmsg_read+0x4b0/0x4b0 [ 10.032708][ T226] ? console_flush_one_record+0x106/0x710 [ 10.032711][ T226] ? rcu_is_watching+0x16/0xd0 [ 10.032714][ T226] ? lock_acquire+0x13c/0x160 [ 10.032717][ T226] console_flush_one_record+0x46f/0x710 [ 10.032721][ T226] ? console_emit_next_record+0x4c0/0x4c0 [ 10.032723][ T226] ? __lock_acquire+0x518/0xc20 [ 10.032728][ T226] console_unlock+0xee/0x1f0 [ 10.032731][ T226] ? console_flush_one_record+0x710/0x710 [ 10.032733][ T226] ? rcu_is_watching+0x16/0xd0 [ 10.032735][ T226] ? lock_acquire+0xe0/0x160 [ 10.032738][ T226] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.032740][ T226] ? vprintk_emit+0x320/0x3e0 [ 10.032743][ T226] vprintk_emit+0x37c/0x3e0 [ 10.032746][ T226] ? wake_up_klogd_work_func+0x90/0x90 [ 10.032748][ T226] ? save_trace+0x68/0x280 [ 10.032752][ T226] _printk+0xc7/0x100 [ 10.032755][ T226] ? snapshot_read.cold+0x21/0x21 [ 10.032759][ T226] ? validate_chain+0x34a/0xc20 [ 10.032761][ T226] ? netdev_name+0x43/0x60 [ 10.032765][ T226] ? __netdev_printk+0x17f/0x1d0 [ 10.032767][ T226] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.032769][ T226] netdev_info+0xe2/0x116 [ 10.032772][ T226] ? netdev_notice+0x120/0x120 [ 10.032775][ T226] ? find_held_lock+0x2b/0x80 [ 10.032778][ T226] ? __lock_release.isra.0+0x69/0x1a0 [ 10.032780][ T226] ? mark_held_locks+0x40/0x70 [ 10.032784][ T226] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.032786][ T226] netif_change_name.cold+0x4f/0x89 [ 10.032787][ T226] ? register_netdev+0x40/0x40 [ 10.032789][ T226] ? is_bpf_text_address+0x68/0x110 [ 10.032798][ T226] ? netdev_adjacent_rename_links+0x470/0x470 [ 10.032800][ T226] ? __kernel_text_address+0x12/0x30 [ 10.032803][ T226] ? write_profile+0xf0/0xf0 [ 10.032807][ T226] ? __asan_memset+0x27/0x50 [ 10.032812][ T226] do_setlink.isra.0+0x1f7d/0x2a60 [ 10.032816][ T226] ? stack_trace_save+0x93/0xc0 [ 10.032818][ T226] ? rtnl_link_get_size+0x350/0x350 [ 10.032819][ T226] ? rcu_read_lock_any_held+0x66/0x90 [ 10.032822][ T226] ? stack_depot_save_flags+0x38e/0x790 [ 10.032825][ T226] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.032827][ T226] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.032829][ T226] ? validate_chain+0x38b/0xc20 [ 10.032831][ T226] ? kasan_save_stack+0x3d/0x50 [ 10.032833][ T226] ? kasan_save_stack+0x2f/0x50 [ 10.032834][ T226] ? kasan_save_track+0x14/0x30 [ 10.032835][ T226] ? __kasan_kmalloc+0x7b/0x90 [ 10.032838][ T226] ? __lock_acquire+0x518/0xc20 [ 10.032840][ T226] ? snd_ac97_proc_read_main+0x4de/0x1f00 [ 10.032842][ T226] ? ___sys_sendmsg+0xd0/0x1d0 [ 10.032846][ T226] ? lock_acquire.part.0+0xd4/0x280 [ 10.032848][ T226] ? rtnl_newlink+0x9a8/0x11b0 [ 10.032850][ T226] ? rcu_is_watching+0x16/0xd0 [ 10.032852][ T226] ? lock_acquire+0x13c/0x160 [ 10.032854][ T226] ? rcu_is_watching+0x16/0xd0 [ 10.032855][ T226] ? rcu_is_watching+0x16/0xd0 [ 10.032856][ T226] ? trace_contention_end+0xb3/0x180 [ 10.032859][ T226] ? __mutex_lock+0x1db/0x1ea0 [ 10.032861][ T226] ? __mutex_lock+0x9a3/0x1ea0 [ 10.032863][ T226] ? rtnl_newlink+0x9a8/0x11b0 [ 10.032867][ T226] ? ww_mutex_lock+0x160/0x160 [ 10.032868][ T226] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.032873][ T226] ? rcu_is_watching+0x16/0xd0 [ 10.032875][ T226] ? __rtnl_newlink+0x3fa/0xa50 [ 10.032880][ T226] rtnl_newlink+0x9f1/0x11b0 [ 10.032885][ T226] ? rtnl_bridge_getlink+0x850/0x850 [ 10.032887][ T226] ? __lock_acquire+0x518/0xc20 [ 10.032891][ T226] ? lock_acquire.part.0+0xd4/0x280 [ 10.032893][ T226] ? find_held_lock+0x2b/0x80 [ 10.032895][ T226] ? rtnl_bridge_getlink+0x850/0x850 [ 10.032897][ T226] ? __lock_release.isra.0+0x69/0x1a0 [ 10.032900][ T226] ? rtnl_bridge_getlink+0x850/0x850 [ 10.032902][ T226] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.032906][ T226] ? rtnl_link_fill+0x920/0x920 [ 10.032907][ T226] ? __lock_acquire+0x518/0xc20 [ 10.032911][ T226] ? lock_acquire.part.0+0xd4/0x280 [ 10.032913][ T226] ? find_held_lock+0x2b/0x80 [ 10.032916][ T226] netlink_rcv_skb+0x14e/0x3a0 [ 10.032919][ T226] ? rtnl_link_fill+0x920/0x920 [ 10.032922][ T226] ? netlink_ack+0xcf0/0xcf0 [ 10.032928][ T226] ? netlink_deliver_tap+0xc5/0x330 [ 10.032930][ T226] ? netlink_deliver_tap+0x13c/0x330 [ 10.032935][ T226] netlink_unicast+0x486/0x750 [ 10.032939][ T226] ? netlink_attachskb+0x810/0x810 [ 10.032941][ T226] ? find_held_lock+0x2b/0x80 [ 10.032945][ T226] netlink_sendmsg+0x75b/0xc90 [ 10.032949][ T226] ? netlink_unicast+0x750/0x750 [ 10.032953][ T226] ? __lock_release.isra.0+0x69/0x1a0 [ 10.032954][ T226] ? __import_iovec+0x36c/0x620 [ 10.032960][ T226] __sock_sendmsg+0xce/0x190 [ 10.032962][ T226] ____sys_sendmsg+0x61a/0x860 [ 10.032965][ T226] ? copy_msghdr_from_user+0x279/0x420 [ 10.032967][ T226] ? sock_write_iter+0x400/0x400 [ 10.032968][ T226] ? move_addr_to_kernel+0x40/0x40 [ 10.032976][ T226] ___sys_sendmsg+0x14e/0x1d0 [ 10.032978][ T226] ? copy_msghdr_from_user+0x420/0x420 [ 10.032994][ T226] __sys_sendmsg+0x12c/0x1d0 [ 10.032997][ T226] ? __sys_sendmsg_sock+0x20/0x20 [ 10.033003][ T226] ? rcu_is_watching+0x16/0xd0 [ 10.033006][ T226] do_syscall_64+0xff/0x530 [ 10.033008][ T226] ? exc_page_fault+0xee/0x100 [ 10.033011][ T226] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.033013][ T226] RIP: 0033:0x7f73bb4a954e [ 10.033017][ T226] 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.033019][ T226] RSP: 002b:00007ffdae35c7b0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 10.033021][ T226] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f73bb4a954e [ 10.033023][ T226] RDX: 0000000000000000 RSI: 00007ffdae35c860 RDI: 0000000000000005 [ 10.033023][ T226] RBP: 00007ffdae35c7c0 R08: 0000000000000000 R09: 0000000000000000 [ 10.033024][ T226] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a919cbb [ 10.033025][ T226] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffdae35cf30 [ 10.033032][ T226] [ 10.075314][ T226] ip (226) used greatest stack depth: 23208 bytes left [ 10.639549][ T244] Initializing XFRM netlink socket [ 12.359642][ T302] IPsec XFRM device driver [ 12.359659][ T302] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.359662][ T302] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 302, name: modprobe [ 12.359663][ T302] preempt_count: 1, expected: 0 [ 12.359664][ T302] RCU nest depth: 0, expected: 0 [ 12.359665][ T302] locks held by modprobe/302: 4, last CPU#3: [ 12.359667][ T302] #0: ffffffffa0d7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.359678][ T302] #1: ffffffffa0d7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.359683][ T302] #2: ffffffffa0c9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.359687][ T302] #3: ffffffffa0c9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.359691][ T302] irq event stamp: 19606 [ 12.359692][ T302] hardirqs last enabled at (19605): [] __down_trylock_console_sem+0x86/0xa0 [ 12.359695][ T302] hardirqs last disabled at (19606): [] console_emit_next_record+0x3d4/0x4c0 [ 12.359697][ T302] softirqs last enabled at (16594): [] handle_softirqs+0x67c/0x900 [ 12.359701][ T302] softirqs last disabled at (15509): [] __irq_exit_rcu+0x145/0x1c0 [ 12.359703][ T302] Preemption disabled at: [ 12.359704][ T302] [] vprintk_emit+0x31b/0x3e0 [ 12.359709][ T302] CPU: 3 UID: 0 PID: 302 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.359713][ T302] Tainted: [W]=WARN [ 12.359713][ T302] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.359715][ T302] Call Trace: [ 12.359716][ T302] [ 12.359718][ T302] dump_stack_lvl+0x6f/0xa0 [ 12.359723][ T302] ? vprintk_emit+0x31b/0x3e0 [ 12.359725][ T302] __might_resched.cold+0x1fe/0x2c1 [ 12.359729][ T302] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.359733][ T302] ? __kmalloc_noprof+0xdb/0x760 [ 12.359737][ T302] __kmalloc_noprof+0x443/0x760 [ 12.359739][ T302] ? alloc_buf.isra.0+0x4b/0x260 [ 12.359746][ T302] ? do_raw_spin_unlock+0x59/0x250 [ 12.359749][ T302] alloc_buf.isra.0+0x4b/0x260 [ 12.359752][ T302] put_chars+0x1e1/0x2f0 [ 12.359755][ T302] ? __send_to_port+0x420/0x420 [ 12.359758][ T302] ? validate_chain+0x38b/0xc20 [ 12.359763][ T302] hvc_console_print+0x292/0x780 [ 12.359770][ T302] ? hvc_write+0x3a0/0x3a0 [ 12.359773][ T302] ? rcu_is_watching+0x16/0xd0 [ 12.359775][ T302] ? lock_acquire+0x13c/0x160 [ 12.359779][ T302] console_emit_next_record+0x22f/0x4c0 [ 12.359783][ T302] ? devkmsg_read+0x4b0/0x4b0 [ 12.359785][ T302] ? console_flush_one_record+0x106/0x710 [ 12.359788][ T302] ? rcu_is_watching+0x16/0xd0 [ 12.359790][ T302] ? lock_acquire+0x13c/0x160 [ 12.359793][ T302] console_flush_one_record+0x46f/0x710 [ 12.359797][ T302] ? console_emit_next_record+0x4c0/0x4c0 [ 12.359799][ T302] ? __lock_acquire+0x518/0xc20 [ 12.359804][ T302] console_unlock+0xee/0x1f0 [ 12.359807][ T302] ? console_flush_one_record+0x710/0x710 [ 12.359812][ T302] ? rcu_is_watching+0x16/0xd0 [ 12.359813][ T302] ? lock_acquire+0xe0/0x160 [ 12.359817][ T302] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.359819][ T302] ? vprintk_emit+0x320/0x3e0 [ 12.359821][ T302] vprintk_emit+0x37c/0x3e0 [ 12.359824][ T302] ? wake_up_klogd_work_func+0x90/0x90 [ 12.359829][ T302] ? xfrmi_fini+0x6a0/0x6a0 [xfrm_interface] [ 12.359832][ T302] _printk+0xc7/0x100 [ 12.359836][ T302] ? snapshot_read.cold+0x21/0x21 [ 12.359841][ T302] ? do_one_initcall+0x113/0x4f0 [ 12.359845][ T302] xfrmi_init+0x17/0x1000 [xfrm_interface] [ 12.359848][ T302] do_one_initcall+0x124/0x4f0 [ 12.359850][ T302] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 12.359855][ T302] ? do_init_module+0xae/0x8a0 [ 12.359857][ T302] ? kasan_unpoison+0x44/0x70 [ 12.359863][ T302] do_init_module+0x2ad/0x8a0 [ 12.359866][ T302] ? lockdep_hardirqs_on+0x91/0x130 [ 12.359870][ T302] ? free_module+0x470/0x470 [ 12.359872][ T302] ? kfree+0x123/0x590 [ 12.359875][ T302] load_module+0x1424/0x1bb0 [ 12.359880][ T302] ? security_kernel_post_read_file+0x2f/0x60 [ 12.359885][ T302] ? layout_and_allocate.isra.0+0x680/0x680 [ 12.359888][ T302] ? __ia32_sys_fsconfig+0x180/0x180 [ 12.359892][ T302] ? backing_file_read_iter+0x541/0x790 [ 12.359896][ T302] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.359899][ T302] init_module_from_file+0x11f/0x1a0 [ 12.359902][ T302] ? __do_sys_init_module+0x270/0x270 [ 12.359909][ T302] ? __rwlock_init+0x150/0x150 [ 12.359913][ T302] ? do_raw_spin_unlock+0x59/0x250 [ 12.359916][ T302] idempotent_init_module+0x37b/0x7c0 [ 12.359918][ T302] ? init_module_from_file+0x1a0/0x1a0 [ 12.359923][ T302] ? cap_capable+0x1d7/0x3d0 [ 12.359926][ T302] ? __x64_sys_pread64+0x18d/0x250 [ 12.359931][ T302] __x64_sys_finit_module+0xdf/0x190 [ 12.359932][ T302] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.359936][ T302] do_syscall_64+0xff/0x530 [ 12.359939][ T302] ? exc_page_fault+0xee/0x100 [ 12.359941][ T302] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.359943][ T302] RIP: 0033:0x7f445c88d37d [ 12.359946][ 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 [ 12.359948][ T302] RSP: 002b:00007ffd4b64e348 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 12.359950][ T302] RAX: ffffffffffffffda RBX: 000055b6456d0810 RCX: 00007f445c88d37d [ 12.359952][ T302] RDX: 0000000000000000 RSI: 000055b6359ecffd RDI: 0000000000000000 [ 12.359953][ T302] RBP: 00007ffd4b64e3e0 R08: 0000000000000000 R09: 0000000000000000 [ 12.359954][ T302] R10: 0000000000000000 R11: 0000000000000246 R12: 000055b6359ecffd [ 12.359954][ T302] R13: 000055b6456d0970 R14: 0000000000040000 R15: 0000000000000000 [ 12.359961][ T302]