[ 10.084590][ T186] ip (186) used greatest stack depth: 24000 bytes left [ 10.084606][ T186] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.084608][ T186] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 186, name: ip [ 10.084610][ T186] preempt_count: 2, expected: 0 [ 10.084611][ T186] RCU nest depth: 0, expected: 0 [ 10.084612][ T186] locks held by ip/186: 5, last CPU#2: [ 10.084614][ T186] #0: ffffffffa26027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.084630][ T186] #1: ffffffffa2769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.084636][ T186] #2: ffffffffa2769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.084640][ T186] #3: ffffffffa2689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.084644][ T186] #4: ffffffffa2689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.084648][ T186] irq event stamp: 33106 [ 10.084649][ T186] hardirqs last enabled at (33105): [] __down_trylock_console_sem+0x86/0xa0 [ 10.084651][ T186] hardirqs last disabled at (33106): [] console_emit_next_record+0x3d4/0x4c0 [ 10.084653][ T186] softirqs last enabled at (32556): [] handle_softirqs+0x67c/0x900 [ 10.084655][ T186] softirqs last disabled at (32549): [] __irq_exit_rcu+0x145/0x1c0 [ 10.084657][ T186] Preemption disabled at: [ 10.084658][ T186] [<0000000000000000>] 0x0 [ 10.084666][ T186] CPU: 2 UID: 0 PID: 186 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.084670][ T186] Tainted: [W]=WARN [ 10.084670][ T186] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.084672][ T186] Call Trace: [ 10.084674][ T186] [ 10.084675][ T186] dump_stack_lvl+0x6f/0xa0 [ 10.084681][ T186] __might_resched.cold+0x1fe/0x2c1 [ 10.084686][ T186] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.084690][ T186] ? __kmalloc_noprof+0xdb/0x760 [ 10.084695][ T186] __kmalloc_noprof+0x443/0x760 [ 10.084697][ T186] ? alloc_buf.isra.0+0x4b/0x260 [ 10.084703][ T186] ? do_raw_spin_unlock+0x59/0x250 [ 10.084706][ T186] alloc_buf.isra.0+0x4b/0x260 [ 10.084709][ T186] put_chars+0x1e1/0x2f0 [ 10.084712][ T186] ? __send_to_port+0x420/0x420 [ 10.084713][ T186] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.084718][ T186] ? validate_chain+0x38b/0xc20 [ 10.084723][ T186] hvc_console_print+0x292/0x780 [ 10.084729][ T186] ? hvc_write+0x3a0/0x3a0 [ 10.084731][ T186] ? rcu_is_watching+0x16/0xd0 [ 10.084734][ T186] ? lock_acquire+0x13c/0x160 [ 10.084738][ T186] console_emit_next_record+0x22f/0x4c0 [ 10.084742][ T186] ? devkmsg_read+0x4b0/0x4b0 [ 10.084743][ T186] ? console_flush_one_record+0x106/0x710 [ 10.084747][ T186] ? rcu_is_watching+0x16/0xd0 [ 10.084749][ T186] ? lock_acquire+0x13c/0x160 [ 10.084753][ T186] console_flush_one_record+0x46f/0x710 [ 10.084757][ T186] ? console_emit_next_record+0x4c0/0x4c0 [ 10.084759][ T186] ? __lock_acquire+0x518/0xc20 [ 10.084764][ T186] console_unlock+0xee/0x1f0 [ 10.084766][ T186] ? console_flush_one_record+0x710/0x710 [ 10.084768][ T186] ? rcu_is_watching+0x16/0xd0 [ 10.084770][ T186] ? lock_acquire+0x60/0x160 [ 10.084774][ T186] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.084776][ T186] ? vprintk_emit+0x320/0x3e0 [ 10.084779][ T186] vprintk_emit+0x37c/0x3e0 [ 10.084783][ T186] ? wake_up_klogd_work_func+0x90/0x90 [ 10.084786][ T186] ? __lock_acquire+0x518/0xc20 [ 10.084790][ T186] _printk+0xc7/0x100 [ 10.084794][ T186] ? snapshot_read.cold+0x21/0x21 [ 10.084796][ T186] ? do_raw_spin_lock+0x131/0x280 [ 10.084799][ T186] ? __rwlock_init+0x150/0x150 [ 10.084803][ T186] ? do_raw_spin_lock+0x131/0x280 [ 10.084805][ T186] do_exit.cold+0x82/0x9c [ 10.084809][ T186] ? exit_notify+0x890/0x890 [ 10.084811][ T186] ? __lock_release.isra.0+0x69/0x1a0 [ 10.084814][ T186] ? rcu_is_watching+0x16/0xd0 [ 10.084818][ T186] do_group_exit+0xb8/0x370 [ 10.084821][ T186] __x64_sys_exit_group+0x3c/0x50 [ 10.084823][ T186] x64_sys_call+0x1567/0x1570 [ 10.084825][ T186] do_syscall_64+0xff/0x530 [ 10.084828][ T186] ? exc_page_fault+0xee/0x100 [ 10.084831][ T186] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.084833][ T186] RIP: 0033:0x7f15dc67b1b8 [ 10.084835][ T186] Code: Unable to access opcode bytes at 0x7f15dc67b18e. [ 10.084836][ T186] RSP: 002b:00007ffcf7bdad88 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.084839][ T186] RAX: ffffffffffffffda RBX: 00007f15dc7abf88 RCX: 00007f15dc67b1b8 [ 10.084840][ T186] RDX: 00007f15dc3c5fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.084841][ T186] RBP: 00007ffcf7bdade0 R08: 0000000000000000 R09: 0000000000008010 [ 10.084842][ T186] R10: 00007ffcf7bdaba0 R11: 0000000000000246 R12: 0000000000000001 [ 10.084843][ T186] R13: 0000000000000000 R14: 00007f15dc7aa680 R15: 00007f15dc7abfa0 [ 10.084850][ T186] [ 28.836438][ T361] Initializing XFRM netlink socket [ 28.836459][ T361] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 28.836462][ T361] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 361, name: modprobe [ 28.836464][ T361] preempt_count: 1, expected: 0 [ 28.836466][ T361] RCU nest depth: 0, expected: 0 [ 28.836467][ T361] locks held by modprobe/361: 4, last CPU#0: [ 28.836470][ T361] #0: ffffffffa2769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 28.836486][ T361] #1: ffffffffa2769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 28.836492][ T361] #2: ffffffffa2689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 28.836498][ T361] #3: ffffffffa2689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 28.836504][ T361] irq event stamp: 28882 [ 28.836505][ T361] hardirqs last enabled at (28881): [] __down_trylock_console_sem+0x86/0xa0 [ 28.836508][ T361] hardirqs last disabled at (28882): [] console_emit_next_record+0x3d4/0x4c0 [ 28.836511][ T361] softirqs last enabled at (22754): [] handle_softirqs+0x67c/0x900 [ 28.836515][ T361] softirqs last disabled at (22749): [] __irq_exit_rcu+0x145/0x1c0 [ 28.836518][ T361] Preemption disabled at: [ 28.836519][ T361] [] vprintk_emit+0x31b/0x3e0 [ 28.836526][ T361] CPU: 0 UID: 0 PID: 361 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 28.836531][ T361] Tainted: [W]=WARN [ 28.836532][ T361] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 28.836534][ T361] Call Trace: [ 28.836537][ T361] [ 28.836539][ T361] dump_stack_lvl+0x6f/0xa0 [ 28.836546][ T361] ? vprintk_emit+0x31b/0x3e0 [ 28.836549][ T361] __might_resched.cold+0x1fe/0x2c1 [ 28.836556][ T361] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 28.836561][ T361] ? __kmalloc_noprof+0xdb/0x760 [ 28.836569][ T361] __kmalloc_noprof+0x443/0x760 [ 28.836572][ T361] ? alloc_buf.isra.0+0x4b/0x260 [ 28.836581][ T361] ? do_raw_spin_unlock+0x59/0x250 [ 28.836584][ T361] alloc_buf.isra.0+0x4b/0x260 [ 28.836589][ T361] put_chars+0x1e1/0x2f0 [ 28.836592][ T361] ? desc_read_finalized_seq+0x79/0x120 [ 28.836595][ T361] ? __send_to_port+0x420/0x420 [ 28.836600][ T361] ? rcu_read_lock_any_held+0x3c/0x90 [ 28.836604][ T361] ? validate_chain+0x38b/0xc20 [ 28.836611][ T361] hvc_console_print+0x292/0x780 [ 28.836615][ T361] ? __lock_acquire+0x518/0xc20 [ 28.836617][ T361] ? __lock_acquire+0x518/0xc20 [ 28.836625][ T361] ? hvc_write+0x3a0/0x3a0 [ 28.836627][ T361] ? console_emit_next_record+0x1df/0x4c0 [ 28.836632][ T361] ? rcu_is_watching+0x16/0xd0 [ 28.836637][ T361] ? lock_acquire+0x13c/0x160 [ 28.836643][ T361] console_emit_next_record+0x22f/0x4c0 [ 28.836650][ T361] ? devkmsg_read+0x4b0/0x4b0 [ 28.836652][ T361] ? console_flush_one_record+0x106/0x710 [ 28.836657][ T361] ? rcu_is_watching+0x16/0xd0 [ 28.836661][ T361] ? lock_acquire+0x13c/0x160 [ 28.836670][ T361] console_flush_one_record+0x46f/0x710 [ 28.836676][ T361] ? console_emit_next_record+0x4c0/0x4c0 [ 28.836679][ T361] ? __lock_acquire+0x518/0xc20 [ 28.836688][ T361] console_unlock+0xee/0x1f0 [ 28.836692][ T361] ? console_flush_one_record+0x710/0x710 [ 28.836695][ T361] ? rcu_is_watching+0x16/0xd0 [ 28.836698][ T361] ? lock_acquire+0x60/0x160 [ 28.836708][ T361] ? __down_trylock_console_sem+0x5e/0xa0 [ 28.836711][ T361] ? vprintk_emit+0x320/0x3e0 [ 28.836716][ T361] vprintk_emit+0x37c/0x3e0 [ 28.836723][ T361] ? wake_up_klogd_work_func+0x90/0x90 [ 28.836732][ T361] ? xfrm_user_exit+0xd90/0xd90 [xfrm_user] [ 28.836738][ T361] _printk+0xc7/0x100 [ 28.836743][ T361] ? snapshot_read.cold+0x21/0x21 [ 28.836753][ T361] ? do_one_initcall+0x113/0x4f0 [ 28.836758][ T361] xfrm_user_init+0x15/0x1000 [xfrm_user] [ 28.836762][ T361] do_one_initcall+0x124/0x4f0 [ 28.836766][ T361] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 28.836774][ T361] ? do_init_module+0xae/0x8a0 [ 28.836778][ T361] ? kasan_unpoison+0x44/0x70 [ 28.836785][ T361] do_init_module+0x2ad/0x8a0 [ 28.836791][ T361] ? lockdep_hardirqs_on+0x91/0x130 [ 28.836797][ T361] ? free_module+0x470/0x470 [ 28.836802][ T361] ? kfree+0x123/0x590 [ 28.836808][ T361] load_module+0x1424/0x1bb0 [ 28.836821][ T361] ? layout_and_allocate.isra.0+0x680/0x680 [ 28.836828][ T361] ? find_held_lock+0x2b/0x80 [ 28.836831][ T361] ? backing_file_read_iter+0x541/0x790 [ 28.836836][ T361] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 28.836842][ T361] init_module_from_file+0x11f/0x1a0 [ 28.836847][ T361] ? __do_sys_init_module+0x220/0x220 [ 28.836861][ T361] ? __rwlock_init+0x150/0x150 [ 28.836867][ T361] ? do_raw_spin_unlock+0x59/0x250 [ 28.836871][ T361] idempotent_init_module+0x37b/0x7c0 [ 28.836877][ T361] ? init_module_from_file+0x1a0/0x1a0 [ 28.836888][ T361] ? rcu_is_watching+0x16/0xd0 [ 28.836891][ T361] ? cap_capable+0x1d7/0x3d0 [ 28.836901][ T361] __x64_sys_finit_module+0xdf/0x190 [ 28.836904][ T361] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 28.836909][ T361] do_syscall_64+0xff/0x530 [ 28.836911][ T361] ? exc_page_fault+0xee/0x100 [ 28.836916][ T361] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 28.836919][ T361] RIP: 0033:0x7fd12bc6c37d [ 28.836924][ T361] 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 [ 28.836926][ T361] RSP: 002b:00007ffe25f0d3f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 28.836930][ T361] RAX: ffffffffffffffda RBX: 0000557493f0a810 RCX: 00007fd12bc6c37d [ 28.836932][ T361] RDX: 0000000000000000 RSI: 00005574797baffd RDI: 0000000000000000 [ 28.836934][ T361] RBP: 00007ffe25f0d490 R08: 0000000000000000 R09: 0000000000000000 [ 28.836935][ T361] R10: 0000000000000000 R11: 0000000000000246 R12: 00005574797baffd [ 28.836936][ T361] R13: 0000557493f0a960 R14: 0000000000040000 R15: 0000000000000000 [ 28.836949][ T361]