[ 10.313220][ T224] eth0: renamed from tmp [ 10.313274][ T224] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.313276][ T224] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 224, name: ip [ 10.313278][ T224] preempt_count: 1, expected: 0 [ 10.313279][ T224] RCU nest depth: 0, expected: 0 [ 10.313280][ T224] locks held by ip/224: 5, last CPU#2: [ 10.313282][ T224] #0: ffffffffb791b740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 10.313293][ T224] #1: ffffffffb717ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.313299][ T224] #2: ffffffffb717de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.313303][ T224] #3: ffffffffb709d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.313306][ T224] #4: ffffffffb709d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.313310][ T224] irq event stamp: 27142 [ 10.313311][ T224] hardirqs last enabled at (27141): [] __down_trylock_console_sem+0x86/0xa0 [ 10.313314][ T224] hardirqs last disabled at (27142): [] console_emit_next_record+0x3d4/0x4c0 [ 10.313315][ T224] softirqs last enabled at (27136): [] netif_change_name+0x216/0x8c0 [ 10.313319][ T224] softirqs last disabled at (27134): [] netif_change_name+0x1ad/0x8c0 [ 10.313321][ T224] Preemption disabled at: [ 10.313322][ T224] [] vprintk_emit+0x31b/0x3e0 [ 10.313327][ T224] CPU: 2 UID: 0 PID: 224 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.313330][ T224] Tainted: [W]=WARN [ 10.313331][ T224] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.313332][ T224] Call Trace: [ 10.313334][ T224] [ 10.313335][ T224] dump_stack_lvl+0x6f/0xa0 [ 10.313341][ T224] ? vprintk_emit+0x31b/0x3e0 [ 10.313342][ T224] __might_resched.cold+0x1fe/0x2c1 [ 10.313351][ T224] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.313356][ T224] ? __kmalloc_noprof+0xdb/0x760 [ 10.313360][ T224] __kmalloc_noprof+0x443/0x760 [ 10.313362][ T224] ? alloc_buf.isra.0+0x4b/0x260 [ 10.313368][ T224] ? do_raw_spin_unlock+0x59/0x250 [ 10.313371][ T224] alloc_buf.isra.0+0x4b/0x260 [ 10.313375][ T224] put_chars+0x1e1/0x2f0 [ 10.313377][ T224] ? __send_to_port+0x420/0x420 [ 10.313383][ T224] hvc_console_print+0x292/0x780 [ 10.313391][ T224] ? hvc_write+0x3a0/0x3a0 [ 10.313394][ T224] ? lock_acquire+0x13c/0x160 [ 10.313398][ T224] console_emit_next_record+0x22f/0x4c0 [ 10.313402][ T224] ? devkmsg_read+0x4b0/0x4b0 [ 10.313403][ T224] ? console_flush_one_record+0x106/0x710 [ 10.313407][ T224] ? rcu_is_watching+0x16/0xd0 [ 10.313409][ T224] ? lock_acquire+0x13c/0x160 [ 10.313413][ T224] console_flush_one_record+0x46f/0x710 [ 10.313417][ T224] ? console_emit_next_record+0x4c0/0x4c0 [ 10.313419][ T224] ? __lock_acquire+0x518/0xc20 [ 10.313424][ T224] console_unlock+0xee/0x1f0 [ 10.313427][ T224] ? console_flush_one_record+0x710/0x710 [ 10.313429][ T224] ? rcu_is_watching+0x16/0xd0 [ 10.313430][ T224] ? lock_acquire+0xe0/0x160 [ 10.313434][ T224] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.313435][ T224] ? vprintk_emit+0x320/0x3e0 [ 10.313438][ T224] vprintk_emit+0x37c/0x3e0 [ 10.313441][ T224] ? wake_up_klogd_work_func+0x90/0x90 [ 10.313443][ T224] ? save_trace+0x68/0x280 [ 10.313447][ T224] _printk+0xc7/0x100 [ 10.313451][ T224] ? snapshot_read.cold+0x21/0x21 [ 10.313454][ T224] ? validate_chain+0x34a/0xc20 [ 10.313456][ T224] ? netdev_name+0x43/0x60 [ 10.313460][ T224] ? __netdev_printk+0x17f/0x1d0 [ 10.313463][ T224] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.313465][ T224] netdev_info+0xe2/0x116 [ 10.313467][ T224] ? netdev_notice+0x120/0x120 [ 10.313470][ T224] ? find_held_lock+0x2b/0x80 [ 10.313473][ T224] ? __lock_release.isra.0+0x69/0x1a0 [ 10.313475][ T224] ? mark_held_locks+0x40/0x70 [ 10.313479][ T224] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.313481][ T224] netif_change_name.cold+0x4f/0x89 [ 10.313483][ T224] ? register_netdev+0x40/0x40 [ 10.313484][ T224] ? is_bpf_text_address+0x68/0x110 [ 10.313489][ T224] ? netdev_adjacent_rename_links+0x470/0x470 [ 10.313491][ T224] ? __kernel_text_address+0x12/0x30 [ 10.313494][ T224] ? write_profile+0xf0/0xf0 [ 10.313498][ T224] ? __asan_memset+0x27/0x50 [ 10.313503][ T224] do_setlink.isra.0+0x1f7d/0x2a60 [ 10.313506][ T224] ? stack_trace_save+0x93/0xc0 [ 10.313509][ T224] ? rtnl_link_get_size+0x350/0x350 [ 10.313510][ T224] ? rcu_read_lock_any_held+0x66/0x90 [ 10.313512][ T224] ? stack_depot_save_flags+0x38e/0x790 [ 10.313516][ T224] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.313518][ T224] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.313519][ T224] ? validate_chain+0x38b/0xc20 [ 10.313522][ T224] ? kasan_save_stack+0x3d/0x50 [ 10.313524][ T224] ? kasan_save_stack+0x2f/0x50 [ 10.313525][ T224] ? kasan_save_track+0x14/0x30 [ 10.313526][ T224] ? __kasan_kmalloc+0x7b/0x90 [ 10.313528][ T224] ? __lock_acquire+0x518/0xc20 [ 10.313530][ T224] ? snd_ac97_proc_read_main+0x4de/0x1f00 [ 10.313533][ T224] ? ___sys_sendmsg+0xd0/0x1d0 [ 10.313537][ T224] ? lock_acquire.part.0+0xd4/0x280 [ 10.313539][ T224] ? rtnl_newlink+0x9a8/0x11b0 [ 10.313541][ T224] ? rcu_is_watching+0x16/0xd0 [ 10.313543][ T224] ? lock_acquire+0x13c/0x160 [ 10.313544][ T224] ? rcu_is_watching+0x16/0xd0 [ 10.313545][ T224] ? rcu_is_watching+0x16/0xd0 [ 10.313547][ T224] ? trace_contention_end+0xb3/0x180 [ 10.313552][ T224] ? __mutex_lock+0x1db/0x1ea0 [ 10.313554][ T224] ? __mutex_lock+0x9a3/0x1ea0 [ 10.313556][ T224] ? rtnl_newlink+0x9a8/0x11b0 [ 10.313559][ T224] ? ww_mutex_lock+0x160/0x160 [ 10.313561][ T224] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.313566][ T224] ? rcu_is_watching+0x16/0xd0 [ 10.313568][ T224] ? __rtnl_newlink+0x3fa/0xa50 [ 10.313573][ T224] rtnl_newlink+0x9f1/0x11b0 [ 10.313578][ T224] ? rtnl_bridge_getlink+0x850/0x850 [ 10.313580][ T224] ? __lock_acquire+0x518/0xc20 [ 10.313584][ T224] ? lock_acquire.part.0+0xd4/0x280 [ 10.313586][ T224] ? find_held_lock+0x2b/0x80 [ 10.313588][ T224] ? rtnl_bridge_getlink+0x850/0x850 [ 10.313590][ T224] ? __lock_release.isra.0+0x69/0x1a0 [ 10.313593][ T224] ? rtnl_bridge_getlink+0x850/0x850 [ 10.313595][ T224] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.313598][ T224] ? rtnl_link_fill+0x920/0x920 [ 10.313600][ T224] ? __lock_acquire+0x518/0xc20 [ 10.313604][ T224] ? lock_acquire.part.0+0xd4/0x280 [ 10.313606][ T224] ? find_held_lock+0x2b/0x80 [ 10.313609][ T224] netlink_rcv_skb+0x14e/0x3a0 [ 10.313612][ T224] ? rtnl_link_fill+0x920/0x920 [ 10.313615][ T224] ? netlink_ack+0xcf0/0xcf0 [ 10.313621][ T224] ? netlink_deliver_tap+0xc5/0x330 [ 10.313623][ T224] ? netlink_deliver_tap+0x13c/0x330 [ 10.313628][ T224] netlink_unicast+0x486/0x750 [ 10.313632][ T224] ? netlink_attachskb+0x810/0x810 [ 10.313634][ T224] ? find_held_lock+0x2b/0x80 [ 10.313638][ T224] netlink_sendmsg+0x75b/0xc90 [ 10.313642][ T224] ? netlink_unicast+0x750/0x750 [ 10.313646][ T224] ? __lock_release.isra.0+0x69/0x1a0 [ 10.313647][ T224] ? __import_iovec+0x36c/0x620 [ 10.313652][ T224] __sock_sendmsg+0xce/0x190 [ 10.313655][ T224] ____sys_sendmsg+0x61a/0x860 [ 10.313657][ T224] ? copy_msghdr_from_user+0x279/0x420 [ 10.313660][ T224] ? sock_write_iter+0x400/0x400 [ 10.313661][ T224] ? move_addr_to_kernel+0x40/0x40 [ 10.313668][ T224] ___sys_sendmsg+0x14e/0x1d0 [ 10.313671][ T224] ? copy_msghdr_from_user+0x420/0x420 [ 10.313686][ T224] __sys_sendmsg+0x12c/0x1d0 [ 10.313689][ T224] ? __sys_sendmsg_sock+0x20/0x20 [ 10.313695][ T224] ? rcu_is_watching+0x16/0xd0 [ 10.313698][ T224] do_syscall_64+0xff/0x530 [ 10.313701][ T224] ? exc_page_fault+0xee/0x100 [ 10.313704][ T224] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.313706][ T224] RIP: 0033:0x7f042aa6254e [ 10.313710][ 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 [ 10.313711][ T224] RSP: 002b:00007ffc8e23f7a0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 10.313714][ T224] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f042aa6254e [ 10.313715][ T224] RDX: 0000000000000000 RSI: 00007ffc8e23f850 RDI: 0000000000000005 [ 10.313716][ T224] RBP: 00007ffc8e23f7b0 R08: 0000000000000000 R09: 0000000000000000 [ 10.313717][ T224] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91472f [ 10.313718][ T224] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffc8e23ff20 [ 10.313724][ T224] [ 10.363745][ T224] ip (224) used greatest stack depth: 23208 bytes left [ 10.942906][ T242] Initializing XFRM netlink socket [ 12.684308][ T301] IPsec XFRM device driver [ 12.684325][ T301] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.684327][ T301] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 301, name: modprobe [ 12.684329][ T301] preempt_count: 1, expected: 0 [ 12.684330][ T301] RCU nest depth: 0, expected: 0 [ 12.684331][ T301] locks held by modprobe/301: 4, last CPU#0: [ 12.684333][ T301] #0: ffffffffb717ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.684344][ T301] #1: ffffffffb717de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.684348][ T301] #2: ffffffffb709d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.684352][ T301] #3: ffffffffb709d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.684356][ T301] irq event stamp: 19092 [ 12.684357][ T301] hardirqs last enabled at (19091): [] __down_trylock_console_sem+0x86/0xa0 [ 12.684364][ T301] hardirqs last disabled at (19092): [] console_emit_next_record+0x3d4/0x4c0 [ 12.684366][ T301] softirqs last enabled at (15560): [] handle_softirqs+0x67c/0x900 [ 12.684370][ T301] softirqs last disabled at (15553): [] __irq_exit_rcu+0x145/0x1c0 [ 12.684372][ T301] Preemption disabled at: [ 12.684373][ T301] [] vprintk_emit+0x31b/0x3e0 [ 12.684378][ T301] CPU: 0 UID: 0 PID: 301 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.684381][ T301] Tainted: [W]=WARN [ 12.684382][ T301] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.684383][ T301] Call Trace: [ 12.684385][ T301] [ 12.684386][ T301] dump_stack_lvl+0x6f/0xa0 [ 12.684392][ T301] ? vprintk_emit+0x31b/0x3e0 [ 12.684394][ T301] __might_resched.cold+0x1fe/0x2c1 [ 12.684399][ T301] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.684403][ T301] ? __kmalloc_noprof+0xdb/0x760 [ 12.684407][ T301] __kmalloc_noprof+0x443/0x760 [ 12.684409][ T301] ? alloc_buf.isra.0+0x4b/0x260 [ 12.684416][ T301] ? do_raw_spin_unlock+0x59/0x250 [ 12.684419][ T301] alloc_buf.isra.0+0x4b/0x260 [ 12.684422][ T301] put_chars+0x1e1/0x2f0 [ 12.684424][ T301] ? __send_to_port+0x420/0x420 [ 12.684427][ T301] ? validate_chain+0x38b/0xc20 [ 12.684432][ T301] hvc_console_print+0x292/0x780 [ 12.684439][ T301] ? hvc_write+0x3a0/0x3a0 [ 12.684442][ T301] ? rcu_is_watching+0x16/0xd0 [ 12.684445][ T301] ? lock_acquire+0x13c/0x160 [ 12.684448][ T301] console_emit_next_record+0x22f/0x4c0 [ 12.684452][ T301] ? devkmsg_read+0x4b0/0x4b0 [ 12.684454][ T301] ? console_flush_one_record+0x106/0x710 [ 12.684457][ T301] ? rcu_is_watching+0x16/0xd0 [ 12.684459][ T301] ? lock_acquire+0x13c/0x160 [ 12.684463][ T301] console_flush_one_record+0x46f/0x710 [ 12.684467][ T301] ? console_emit_next_record+0x4c0/0x4c0 [ 12.684468][ T301] ? __lock_acquire+0x518/0xc20 [ 12.684474][ T301] console_unlock+0xee/0x1f0 [ 12.684476][ T301] ? console_flush_one_record+0x710/0x710 [ 12.684478][ T301] ? rcu_is_watching+0x16/0xd0 [ 12.684480][ T301] ? lock_acquire+0xe0/0x160 [ 12.684483][ T301] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.684485][ T301] ? vprintk_emit+0x320/0x3e0 [ 12.684487][ T301] vprintk_emit+0x37c/0x3e0 [ 12.684491][ T301] ? wake_up_klogd_work_func+0x90/0x90 [ 12.684495][ T301] ? xfrmi_fini+0x6a0/0x6a0 [xfrm_interface] [ 12.684498][ T301] _printk+0xc7/0x100 [ 12.684502][ T301] ? snapshot_read.cold+0x21/0x21 [ 12.684508][ T301] ? do_one_initcall+0x113/0x4f0 [ 12.684511][ T301] xfrmi_init+0x17/0x1000 [xfrm_interface] [ 12.684514][ T301] do_one_initcall+0x124/0x4f0 [ 12.684516][ T301] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 12.684521][ T301] ? do_init_module+0xae/0x8a0 [ 12.684523][ T301] ? kasan_unpoison+0x44/0x70 [ 12.684529][ T301] do_init_module+0x2ad/0x8a0 [ 12.684532][ T301] ? lockdep_hardirqs_on+0x91/0x130 [ 12.684536][ T301] ? free_module+0x470/0x470 [ 12.684538][ T301] ? kfree+0x123/0x590 [ 12.684542][ T301] load_module+0x1424/0x1bb0 [ 12.684547][ T301] ? security_kernel_post_read_file+0x2f/0x60 [ 12.684553][ T301] ? layout_and_allocate.isra.0+0x680/0x680 [ 12.684557][ T301] ? __ia32_sys_fsconfig+0x180/0x180 [ 12.684560][ T301] ? backing_file_read_iter+0x541/0x790 [ 12.684564][ T301] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.684567][ T301] init_module_from_file+0x11f/0x1a0 [ 12.684570][ T301] ? __do_sys_init_module+0x270/0x270 [ 12.684577][ T301] ? __rwlock_init+0x150/0x150 [ 12.684581][ T301] ? do_raw_spin_unlock+0x59/0x250 [ 12.684583][ T301] idempotent_init_module+0x37b/0x7c0 [ 12.684586][ T301] ? init_module_from_file+0x1a0/0x1a0 [ 12.684591][ T301] ? cap_capable+0x1d7/0x3d0 [ 12.684594][ T301] ? __x64_sys_pread64+0x18d/0x250 [ 12.684599][ T301] __x64_sys_finit_module+0xdf/0x190 [ 12.684600][ T301] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.684604][ T301] do_syscall_64+0xff/0x530 [ 12.684607][ T301] ? exc_page_fault+0xee/0x100 [ 12.684609][ T301] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.684611][ T301] RIP: 0033:0x7f832a48b37d [ 12.684615][ 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.684616][ T301] RSP: 002b:00007fff9dc97418 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 12.684619][ T301] RAX: ffffffffffffffda RBX: 0000558d8478d810 RCX: 00007f832a48b37d [ 12.684620][ T301] RDX: 0000000000000000 RSI: 0000558d4e3adffd RDI: 0000000000000000 [ 12.684621][ T301] RBP: 00007fff9dc974b0 R08: 0000000000000000 R09: 0000000000000000 [ 12.684622][ T301] R10: 0000000000000000 R11: 0000000000000246 R12: 0000558d4e3adffd [ 12.684623][ T301] R13: 0000558d8478d970 R14: 0000000000040000 R15: 0000000000000000 [ 12.684629][ T301]