[ 10.375572][ T188] ip (188) used greatest stack depth: 23728 bytes left [ 10.375592][ T188] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.375594][ T188] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 188, name: ip [ 10.375597][ T188] preempt_count: 2, expected: 0 [ 10.375598][ T188] RCU nest depth: 0, expected: 0 [ 10.375599][ T188] locks held by ip/188: 5, last CPU#0: [ 10.375602][ T188] #0: ffffffffa56027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.375620][ T188] #1: ffffffffa5769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.375627][ T188] #2: ffffffffa5769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.375633][ T188] #3: ffffffffa5689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.375639][ T188] #4: ffffffffa5689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.375645][ T188] irq event stamp: 27534 [ 10.375647][ T188] hardirqs last enabled at (27533): [] __down_trylock_console_sem+0x86/0xa0 [ 10.375650][ T188] hardirqs last disabled at (27534): [] console_emit_next_record+0x3d4/0x4c0 [ 10.375653][ T188] softirqs last enabled at (27092): [] handle_softirqs+0x67c/0x900 [ 10.375656][ T188] softirqs last disabled at (27087): [] __irq_exit_rcu+0x145/0x1c0 [ 10.375659][ T188] Preemption disabled at: [ 10.375660][ T188] [<0000000000000000>] 0x0 [ 10.375668][ T188] CPU: 0 UID: 0 PID: 188 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.375673][ T188] Tainted: [W]=WARN [ 10.375674][ T188] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.375677][ T188] Call Trace: [ 10.375679][ T188] [ 10.375681][ T188] dump_stack_lvl+0x6f/0xa0 [ 10.375689][ T188] __might_resched.cold+0x1fe/0x2c1 [ 10.375695][ T188] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.375701][ T188] ? __kmalloc_noprof+0xdb/0x760 [ 10.375708][ T188] __kmalloc_noprof+0x443/0x760 [ 10.375712][ T188] ? alloc_buf.isra.0+0x4b/0x260 [ 10.375720][ T188] ? do_raw_spin_unlock+0x59/0x250 [ 10.375723][ T188] alloc_buf.isra.0+0x4b/0x260 [ 10.375729][ T188] put_chars+0x1e1/0x2f0 [ 10.375733][ T188] ? __send_to_port+0x420/0x420 [ 10.375735][ T188] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.375741][ T188] ? validate_chain+0x38b/0xc20 [ 10.375750][ T188] hvc_console_print+0x292/0x780 [ 10.375760][ T188] ? hvc_write+0x3a0/0x3a0 [ 10.375764][ T188] ? rcu_is_watching+0x16/0xd0 [ 10.375768][ T188] ? lock_acquire+0x13c/0x160 [ 10.375775][ T188] console_emit_next_record+0x22f/0x4c0 [ 10.375781][ T188] ? devkmsg_read+0x4b0/0x4b0 [ 10.375783][ T188] ? console_flush_one_record+0x106/0x710 [ 10.375789][ T188] ? rcu_is_watching+0x16/0xd0 [ 10.375792][ T188] ? lock_acquire+0x13c/0x160 [ 10.375799][ T188] console_flush_one_record+0x46f/0x710 [ 10.375806][ T188] ? console_emit_next_record+0x4c0/0x4c0 [ 10.375808][ T188] ? __lock_acquire+0x518/0xc20 [ 10.375818][ T188] console_unlock+0xee/0x1f0 [ 10.375822][ T188] ? console_flush_one_record+0x710/0x710 [ 10.375825][ T188] ? rcu_is_watching+0x16/0xd0 [ 10.375829][ T188] ? lock_acquire+0x60/0x160 [ 10.375835][ T188] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.375837][ T188] ? vprintk_emit+0x320/0x3e0 [ 10.375843][ T188] vprintk_emit+0x37c/0x3e0 [ 10.375849][ T188] ? wake_up_klogd_work_func+0x90/0x90 [ 10.375855][ T188] ? __lock_acquire+0x518/0xc20 [ 10.375861][ T188] _printk+0xc7/0x100 [ 10.375866][ T188] ? snapshot_read.cold+0x21/0x21 [ 10.375871][ T188] ? do_raw_spin_lock+0x131/0x280 [ 10.375875][ T188] ? __rwlock_init+0x150/0x150 [ 10.375882][ T188] ? do_raw_spin_lock+0x131/0x280 [ 10.375886][ T188] do_exit.cold+0x82/0x9c [ 10.375892][ T188] ? exit_notify+0x890/0x890 [ 10.375895][ T188] ? __lock_release.isra.0+0x69/0x1a0 [ 10.375899][ T188] ? rcu_is_watching+0x16/0xd0 [ 10.375906][ T188] do_group_exit+0xb8/0x370 [ 10.375911][ T188] __x64_sys_exit_group+0x3c/0x50 [ 10.375914][ T188] x64_sys_call+0x1567/0x1570 [ 10.375917][ T188] do_syscall_64+0xff/0x530 [ 10.375921][ T188] ? exc_page_fault+0xee/0x100 [ 10.375926][ T188] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.375930][ T188] RIP: 0033:0x7f6aeff2d1b8 [ 10.375933][ T188] Code: Unable to access opcode bytes at 0x7f6aeff2d18e. [ 10.375935][ T188] RSP: 002b:00007ffc0d97a018 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.375938][ T188] RAX: ffffffffffffffda RBX: 00007f6af005df88 RCX: 00007f6aeff2d1b8 [ 10.375940][ T188] RDX: 00007f6aefc77fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.375942][ T188] RBP: 00007ffc0d97a070 R08: 0000000000000000 R09: 0000000000008010 [ 10.375943][ T188] R10: 00007ffc0d979e30 R11: 0000000000000246 R12: 0000000000000001 [ 10.375945][ T188] R13: 0000000000000000 R14: 00007f6af005c680 R15: 00007f6af005dfa0 [ 10.375958][ T188] [ 29.246042][ T362] Initializing XFRM netlink socket [ 29.246061][ T362] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 29.246064][ T362] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 362, name: modprobe [ 29.246066][ T362] preempt_count: 1, expected: 0 [ 29.246067][ T362] RCU nest depth: 0, expected: 0 [ 29.246067][ T362] locks held by modprobe/362: 4, last CPU#3: [ 29.246070][ T362] #0: ffffffffa5769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 29.246083][ T362] #1: ffffffffa5769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 29.246087][ T362] #2: ffffffffa5689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 29.246091][ T362] #3: ffffffffa5689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 29.246095][ T362] irq event stamp: 23280 [ 29.246096][ T362] hardirqs last enabled at (23279): [] __down_trylock_console_sem+0x86/0xa0 [ 29.246099][ T362] hardirqs last disabled at (23280): [] console_emit_next_record+0x3d4/0x4c0 [ 29.246100][ T362] softirqs last enabled at (22796): [] handle_softirqs+0x67c/0x900 [ 29.246104][ T362] softirqs last disabled at (21995): [] __irq_exit_rcu+0x145/0x1c0 [ 29.246106][ T362] Preemption disabled at: [ 29.246106][ T362] [] vprintk_emit+0x31b/0x3e0 [ 29.246112][ T362] CPU: 3 UID: 0 PID: 362 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 29.246116][ T362] Tainted: [W]=WARN [ 29.246117][ T362] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 29.246119][ T362] Call Trace: [ 29.246120][ T362] [ 29.246122][ T362] dump_stack_lvl+0x6f/0xa0 [ 29.246128][ T362] ? vprintk_emit+0x31b/0x3e0 [ 29.246130][ T362] __might_resched.cold+0x1fe/0x2c1 [ 29.246135][ T362] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 29.246139][ T362] ? __kmalloc_noprof+0xdb/0x760 [ 29.246144][ T362] __kmalloc_noprof+0x443/0x760 [ 29.246146][ T362] ? alloc_buf.isra.0+0x4b/0x260 [ 29.246152][ T362] ? do_raw_spin_unlock+0x59/0x250 [ 29.246155][ T362] alloc_buf.isra.0+0x4b/0x260 [ 29.246158][ T362] put_chars+0x1e1/0x2f0 [ 29.246160][ T362] ? desc_read_finalized_seq+0x79/0x120 [ 29.246162][ T362] ? __send_to_port+0x420/0x420 [ 29.246165][ T362] ? rcu_read_lock_any_held+0x3c/0x90 [ 29.246168][ T362] ? validate_chain+0x38b/0xc20 [ 29.246172][ T362] hvc_console_print+0x292/0x780 [ 29.246175][ T362] ? __lock_acquire+0x518/0xc20 [ 29.246176][ T362] ? __lock_acquire+0x518/0xc20 [ 29.246181][ T362] ? hvc_write+0x3a0/0x3a0 [ 29.246182][ T362] ? console_emit_next_record+0x1df/0x4c0 [ 29.246185][ T362] ? rcu_is_watching+0x16/0xd0 [ 29.246188][ T362] ? lock_acquire+0x13c/0x160 [ 29.246192][ T362] console_emit_next_record+0x22f/0x4c0 [ 29.246195][ T362] ? devkmsg_read+0x4b0/0x4b0 [ 29.246197][ T362] ? console_flush_one_record+0x106/0x710 [ 29.246200][ T362] ? rcu_is_watching+0x16/0xd0 [ 29.246202][ T362] ? lock_acquire+0x13c/0x160 [ 29.246206][ T362] console_flush_one_record+0x46f/0x710 [ 29.246210][ T362] ? console_emit_next_record+0x4c0/0x4c0 [ 29.246212][ T362] ? __lock_acquire+0x518/0xc20 [ 29.246216][ T362] console_unlock+0xee/0x1f0 [ 29.246219][ T362] ? console_flush_one_record+0x710/0x710 [ 29.246221][ T362] ? rcu_is_watching+0x16/0xd0 [ 29.246223][ T362] ? lock_acquire+0x60/0x160 [ 29.246227][ T362] ? __down_trylock_console_sem+0x5e/0xa0 [ 29.246228][ T362] ? vprintk_emit+0x320/0x3e0 [ 29.246231][ T362] vprintk_emit+0x37c/0x3e0 [ 29.246235][ T362] ? wake_up_klogd_work_func+0x90/0x90 [ 29.246241][ T362] ? xfrm_user_exit+0xd90/0xd90 [xfrm_user] [ 29.246244][ T362] _printk+0xc7/0x100 [ 29.246248][ T362] ? snapshot_read.cold+0x21/0x21 [ 29.246254][ T362] ? do_one_initcall+0x113/0x4f0 [ 29.246257][ T362] xfrm_user_init+0x15/0x1000 [xfrm_user] [ 29.246260][ T362] do_one_initcall+0x124/0x4f0 [ 29.246262][ T362] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 29.246270][ T362] ? do_init_module+0xae/0x8a0 [ 29.246274][ T362] ? kasan_unpoison+0x44/0x70 [ 29.246279][ T362] do_init_module+0x2ad/0x8a0 [ 29.246282][ T362] ? lockdep_hardirqs_on+0x91/0x130 [ 29.246286][ T362] ? free_module+0x470/0x470 [ 29.246289][ T362] ? kfree+0x123/0x590 [ 29.246293][ T362] load_module+0x1424/0x1bb0 [ 29.246300][ T362] ? layout_and_allocate.isra.0+0x680/0x680 [ 29.246305][ T362] ? backing_file_read_iter+0x541/0x790 [ 29.246309][ T362] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 29.246313][ T362] init_module_from_file+0x11f/0x1a0 [ 29.246316][ T362] ? __do_sys_init_module+0x220/0x220 [ 29.246323][ T362] ? __rwlock_init+0x150/0x150 [ 29.246327][ T362] ? do_raw_spin_unlock+0x59/0x250 [ 29.246330][ T362] idempotent_init_module+0x37b/0x7c0 [ 29.246333][ T362] ? init_module_from_file+0x1a0/0x1a0 [ 29.246339][ T362] ? rcu_is_watching+0x16/0xd0 [ 29.246341][ T362] ? cap_capable+0x1d7/0x3d0 [ 29.246347][ T362] __x64_sys_finit_module+0xdf/0x190 [ 29.246349][ T362] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 29.246353][ T362] do_syscall_64+0xff/0x530 [ 29.246355][ T362] ? exc_page_fault+0xee/0x100 [ 29.246357][ T362] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 29.246360][ T362] RIP: 0033:0x7f3590c9f37d [ 29.246363][ T362] 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 [ 29.246365][ T362] RSP: 002b:00007ffd65399448 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 29.246369][ T362] RAX: ffffffffffffffda RBX: 000056004eabe810 RCX: 00007f3590c9f37d [ 29.246370][ T362] RDX: 0000000000000000 RSI: 000056002eadaffd RDI: 0000000000000000 [ 29.246371][ T362] RBP: 00007ffd653994e0 R08: 0000000000000000 R09: 0000000000000000 [ 29.246372][ T362] R10: 0000000000000000 R11: 0000000000000246 R12: 000056002eadaffd [ 29.246372][ T362] R13: 000056004eabe960 R14: 0000000000040000 R15: 0000000000000000 [ 29.246379][ T362]