[ 9.605109][ T206] ip (206) used greatest stack depth: 23344 bytes left [ 9.605125][ T206] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.605127][ T206] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 206, name: ip [ 9.605128][ T206] preempt_count: 2, expected: 0 [ 9.605129][ T206] RCU nest depth: 0, expected: 0 [ 9.605130][ T206] locks held by ip/206: 5, last CPU#2: [ 9.605132][ T206] #0: ffffffff894167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.605143][ T206] #1: ffffffff8957ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.605148][ T206] #2: ffffffff8957de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.605152][ T206] #3: ffffffff8949d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.605156][ T206] #4: ffffffff8949d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.605160][ T206] irq event stamp: 22570 [ 9.605160][ T206] hardirqs last enabled at (22569): [] __down_trylock_console_sem+0x86/0xa0 [ 9.605163][ T206] hardirqs last disabled at (22570): [] console_emit_next_record+0x3d4/0x4c0 [ 9.605165][ T206] softirqs last enabled at (20992): [] netlink_release+0x17b/0xcf0 [ 9.605170][ T206] softirqs last disabled at (20990): [] netlink_release+0xd2/0xcf0 [ 9.605172][ T206] Preemption disabled at: [ 9.605173][ T206] [<0000000000000000>] 0x0 [ 9.605179][ T206] CPU: 2 UID: 0 PID: 206 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.605182][ T206] Tainted: [W]=WARN [ 9.605183][ T206] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.605185][ T206] Call Trace: [ 9.605187][ T206] [ 9.605188][ T206] dump_stack_lvl+0x6f/0xa0 [ 9.605194][ T206] __might_resched.cold+0x1fe/0x2c1 [ 9.605199][ T206] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.605203][ T206] ? __kmalloc_noprof+0xdb/0x760 [ 9.605207][ T206] __kmalloc_noprof+0x443/0x760 [ 9.605209][ T206] ? alloc_buf.isra.0+0x4b/0x260 [ 9.605216][ T206] ? do_raw_spin_unlock+0x59/0x250 [ 9.605218][ T206] alloc_buf.isra.0+0x4b/0x260 [ 9.605222][ T206] put_chars+0x1e1/0x2f0 [ 9.605225][ T206] ? __send_to_port+0x420/0x420 [ 9.605226][ T206] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.605229][ T206] ? validate_chain+0x38b/0xc20 [ 9.605235][ T206] hvc_console_print+0x292/0x780 [ 9.605242][ T206] ? hvc_write+0x3a0/0x3a0 [ 9.605245][ T206] ? rcu_is_watching+0x16/0xd0 [ 9.605247][ T206] ? lock_acquire+0x13c/0x160 [ 9.605251][ T206] console_emit_next_record+0x22f/0x4c0 [ 9.605255][ T206] ? devkmsg_read+0x4b0/0x4b0 [ 9.605257][ T206] ? console_flush_one_record+0x106/0x710 [ 9.605260][ T206] ? rcu_is_watching+0x16/0xd0 [ 9.605261][ T206] ? lock_acquire+0x13c/0x160 [ 9.605265][ T206] console_flush_one_record+0x46f/0x710 [ 9.605269][ T206] ? console_emit_next_record+0x4c0/0x4c0 [ 9.605271][ T206] ? __lock_acquire+0x518/0xc20 [ 9.605276][ T206] console_unlock+0xee/0x1f0 [ 9.605279][ T206] ? console_flush_one_record+0x710/0x710 [ 9.605281][ T206] ? rcu_is_watching+0x16/0xd0 [ 9.605283][ T206] ? lock_acquire+0xe0/0x160 [ 9.605286][ T206] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.605288][ T206] ? vprintk_emit+0x320/0x3e0 [ 9.605291][ T206] vprintk_emit+0x37c/0x3e0 [ 9.605294][ T206] ? wake_up_klogd_work_func+0x90/0x90 [ 9.605297][ T206] ? __lock_acquire+0x518/0xc20 [ 9.605300][ T206] _printk+0xc7/0x100 [ 9.605304][ T206] ? snapshot_read.cold+0x21/0x21 [ 9.605307][ T206] ? do_raw_spin_lock+0x131/0x280 [ 9.605310][ T206] ? __rwlock_init+0x150/0x150 [ 9.605313][ T206] ? do_raw_spin_lock+0x131/0x280 [ 9.605316][ T206] do_exit.cold+0x82/0x9c [ 9.605320][ T206] ? exit_notify+0x890/0x890 [ 9.605321][ T206] ? __lock_release.isra.0+0x69/0x1a0 [ 9.605324][ T206] ? rcu_is_watching+0x16/0xd0 [ 9.605327][ T206] do_group_exit+0xb8/0x370 [ 9.605330][ T206] __x64_sys_exit_group+0x3c/0x50 [ 9.605332][ T206] x64_sys_call+0x1567/0x1570 [ 9.605334][ T206] do_syscall_64+0xff/0x530 [ 9.605338][ T206] ? exc_page_fault+0xee/0x100 [ 9.605341][ T206] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.605343][ T206] RIP: 0033:0x7f19148821b8 [ 9.605345][ T206] Code: Unable to access opcode bytes at 0x7f191488218e. [ 9.605346][ T206] RSP: 002b:00007ffd79b17d28 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.605349][ T206] RAX: ffffffffffffffda RBX: 00007f19149b2f88 RCX: 00007f19148821b8 [ 9.605350][ T206] RDX: 00007f19145ccfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.605351][ T206] RBP: 00007ffd79b17d80 R08: 0000000000000000 R09: 0000000000000050 [ 9.605352][ T206] R10: 00007ffd79b17b40 R11: 0000000000000246 R12: 0000000000000001 [ 9.605352][ T206] R13: 0000000000000000 R14: 00007f19149b1680 R15: 00007f19149b2fa0 [ 9.605360][ T206] [ 11.663921][ T268] Initializing XFRM netlink socket [ 11.663937][ T268] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.663939][ T268] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 268, name: modprobe [ 11.663941][ T268] preempt_count: 1, expected: 0 [ 11.663942][ T268] RCU nest depth: 0, expected: 0 [ 11.663943][ T268] locks held by modprobe/268: 4, last CPU#0: [ 11.663945][ T268] #0: ffffffff8957ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.663956][ T268] #1: ffffffff8957de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.663961][ T268] #2: ffffffff8949d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.663965][ T268] #3: ffffffff8949d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.663969][ T268] irq event stamp: 30206 [ 11.663970][ T268] hardirqs last enabled at (30205): [] __down_trylock_console_sem+0x86/0xa0 [ 11.663973][ T268] hardirqs last disabled at (30206): [] console_emit_next_record+0x3d4/0x4c0 [ 11.663975][ T268] softirqs last enabled at (28234): [] handle_softirqs+0x67c/0x900 [ 11.663978][ T268] softirqs last disabled at (27333): [] __irq_exit_rcu+0x145/0x1c0 [ 11.663981][ T268] Preemption disabled at: [ 11.663981][ T268] [] vprintk_emit+0x31b/0x3e0 [ 11.663986][ T268] CPU: 0 UID: 0 PID: 268 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.663990][ T268] Tainted: [W]=WARN [ 11.663991][ T268] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.663992][ T268] Call Trace: [ 11.663994][ T268] [ 11.663995][ T268] dump_stack_lvl+0x6f/0xa0 [ 11.664001][ T268] ? vprintk_emit+0x31b/0x3e0 [ 11.664003][ T268] __might_resched.cold+0x1fe/0x2c1 [ 11.664008][ T268] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.664012][ T268] ? __kmalloc_noprof+0xdb/0x760 [ 11.664017][ T268] __kmalloc_noprof+0x443/0x760 [ 11.664018][ T268] ? alloc_buf.isra.0+0x4b/0x260 [ 11.664025][ T268] ? do_raw_spin_unlock+0x59/0x250 [ 11.664028][ T268] alloc_buf.isra.0+0x4b/0x260 [ 11.664031][ T268] put_chars+0x1e1/0x2f0 [ 11.664033][ T268] ? desc_read_finalized_seq+0x79/0x120 [ 11.664035][ T268] ? __send_to_port+0x420/0x420 [ 11.664038][ T268] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.664041][ T268] ? validate_chain+0x38b/0xc20 [ 11.664046][ T268] hvc_console_print+0x292/0x780 [ 11.664050][ T268] ? __lock_acquire+0x518/0xc20 [ 11.664051][ T268] ? __lock_acquire+0x518/0xc20 [ 11.664056][ T268] ? hvc_write+0x3a0/0x3a0 [ 11.664058][ T268] ? console_emit_next_record+0x1df/0x4c0 [ 11.664061][ T268] ? rcu_is_watching+0x16/0xd0 [ 11.664063][ T268] ? lock_acquire+0x13c/0x160 [ 11.664067][ T268] console_emit_next_record+0x22f/0x4c0 [ 11.664071][ T268] ? devkmsg_read+0x4b0/0x4b0 [ 11.664073][ T268] ? console_flush_one_record+0x106/0x710 [ 11.664076][ T268] ? rcu_is_watching+0x16/0xd0 [ 11.664078][ T268] ? lock_acquire+0x13c/0x160 [ 11.664082][ T268] console_flush_one_record+0x46f/0x710 [ 11.664086][ T268] ? console_emit_next_record+0x4c0/0x4c0 [ 11.664088][ T268] ? __lock_acquire+0x518/0xc20 [ 11.664093][ T268] console_unlock+0xee/0x1f0 [ 11.664095][ T268] ? console_flush_one_record+0x710/0x710 [ 11.664097][ T268] ? rcu_is_watching+0x16/0xd0 [ 11.664099][ T268] ? lock_acquire+0xe0/0x160 [ 11.664103][ T268] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.664104][ T268] ? vprintk_emit+0x320/0x3e0 [ 11.664107][ T268] vprintk_emit+0x37c/0x3e0 [ 11.664111][ T268] ? wake_up_klogd_work_func+0x90/0x90 [ 11.664115][ T268] ? xfrm_user_exit+0x8a0/0x8a0 [xfrm_user] [ 11.664119][ T268] _printk+0xc7/0x100 [ 11.664123][ T268] ? snapshot_read.cold+0x21/0x21 [ 11.664129][ T268] ? do_one_initcall+0x113/0x4f0 [ 11.664132][ T268] xfrm_user_init+0x15/0x1000 [xfrm_user] [ 11.664135][ T268] do_one_initcall+0x124/0x4f0 [ 11.664138][ T268] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 11.664142][ T268] ? do_init_module+0xae/0x8a0 [ 11.664145][ T268] ? kasan_unpoison+0x44/0x70 [ 11.664150][ T268] do_init_module+0x2ad/0x8a0 [ 11.664153][ T268] ? lockdep_hardirqs_on+0x91/0x130 [ 11.664158][ T268] ? free_module+0x470/0x470 [ 11.664160][ T268] ? kfree+0x123/0x590 [ 11.664164][ T268] load_module+0x1424/0x1bb0 [ 11.664169][ T268] ? security_kernel_post_read_file+0x2f/0x60 [ 11.664173][ T268] ? layout_and_allocate.isra.0+0x680/0x680 [ 11.664177][ T268] ? find_held_lock+0x2b/0x80 [ 11.664180][ T268] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.664184][ T268] init_module_from_file+0x11f/0x1a0 [ 11.664186][ T268] ? __do_sys_init_module+0x270/0x270 [ 11.664193][ T268] ? __rwlock_init+0x150/0x150 [ 11.664197][ T268] ? do_raw_spin_unlock+0x59/0x250 [ 11.664200][ T268] idempotent_init_module+0x37b/0x7c0 [ 11.664203][ T268] ? init_module_from_file+0x1a0/0x1a0 [ 11.664208][ T268] ? cap_capable+0x1d7/0x3d0 [ 11.664210][ T268] ? exc_page_fault+0x87/0x100 [ 11.664215][ T268] __x64_sys_finit_module+0xdf/0x190 [ 11.664216][ T268] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.664220][ T268] do_syscall_64+0xff/0x530 [ 11.664223][ T268] ? exc_page_fault+0xee/0x100 [ 11.664226][ T268] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.664228][ T268] RIP: 0033:0x7f57cc39937d [ 11.664231][ T268] 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 [ 11.664232][ T268] RSP: 002b:00007ffc90211be8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 11.664235][ T268] RAX: ffffffffffffffda RBX: 0000555bf10ec810 RCX: 00007f57cc39937d [ 11.664236][ T268] RDX: 0000000000000000 RSI: 0000555be34f7ffd RDI: 0000000000000000 [ 11.664237][ T268] RBP: 00007ffc90211c80 R08: 0000000000000000 R09: 0000000000000000 [ 11.664238][ T268] R10: 0000000000000000 R11: 0000000000000246 R12: 0000555be34f7ffd [ 11.664239][ T268] R13: 0000555bf10ec960 R14: 0000000000040000 R15: 0000000000000000 [ 11.664245][ T268]