[ 10.178123][ T217] ip (217) used greatest stack depth: 23584 bytes left [ 10.178139][ T217] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.178141][ T217] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 217, name: ip [ 10.178143][ T217] preempt_count: 2, expected: 0 [ 10.178144][ T217] RCU nest depth: 0, expected: 0 [ 10.178145][ T217] locks held by ip/217: 5, last CPU#0: [ 10.178147][ T217] #0: ffffffffae4167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.178158][ T217] #1: ffffffffae57ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.178163][ T217] #2: ffffffffae57de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.178167][ T217] #3: ffffffffae49d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.178171][ T217] #4: ffffffffae49d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.178175][ T217] irq event stamp: 22922 [ 10.178176][ T217] hardirqs last enabled at (22921): [] __down_trylock_console_sem+0x86/0xa0 [ 10.178179][ T217] hardirqs last disabled at (22922): [] console_emit_next_record+0x3d4/0x4c0 [ 10.178181][ T217] softirqs last enabled at (21814): [] handle_softirqs+0x67c/0x900 [ 10.178183][ T217] softirqs last disabled at (20771): [] __irq_exit_rcu+0x145/0x1c0 [ 10.178186][ T217] Preemption disabled at: [ 10.178186][ T217] [<0000000000000000>] 0x0 [ 10.178193][ T217] CPU: 0 UID: 0 PID: 217 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.178197][ T217] Tainted: [W]=WARN [ 10.178197][ T217] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.178199][ T217] Call Trace: [ 10.178200][ T217] [ 10.178202][ T217] dump_stack_lvl+0x6f/0xa0 [ 10.178208][ T217] __might_resched.cold+0x1fe/0x2c1 [ 10.178212][ T217] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.178216][ T217] ? __kmalloc_noprof+0xdb/0x760 [ 10.178221][ T217] __kmalloc_noprof+0x443/0x760 [ 10.178223][ T217] ? alloc_buf.isra.0+0x4b/0x260 [ 10.178229][ T217] ? do_raw_spin_unlock+0x59/0x250 [ 10.178232][ T217] alloc_buf.isra.0+0x4b/0x260 [ 10.178236][ T217] put_chars+0x1e1/0x2f0 [ 10.178239][ T217] ? __send_to_port+0x420/0x420 [ 10.178240][ T217] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.178243][ T217] ? validate_chain+0x38b/0xc20 [ 10.178249][ T217] hvc_console_print+0x292/0x780 [ 10.178256][ T217] ? hvc_write+0x3a0/0x3a0 [ 10.178259][ T217] ? rcu_is_watching+0x16/0xd0 [ 10.178261][ T217] ? lock_acquire+0x13c/0x160 [ 10.178265][ T217] console_emit_next_record+0x22f/0x4c0 [ 10.178269][ T217] ? devkmsg_read+0x4b0/0x4b0 [ 10.178270][ T217] ? console_flush_one_record+0x106/0x710 [ 10.178274][ T217] ? rcu_is_watching+0x16/0xd0 [ 10.178275][ T217] ? lock_acquire+0x13c/0x160 [ 10.178279][ T217] console_flush_one_record+0x46f/0x710 [ 10.178283][ T217] ? console_emit_next_record+0x4c0/0x4c0 [ 10.178285][ T217] ? __lock_acquire+0x518/0xc20 [ 10.178291][ T217] console_unlock+0xee/0x1f0 [ 10.178293][ T217] ? console_flush_one_record+0x710/0x710 [ 10.178295][ T217] ? rcu_is_watching+0x16/0xd0 [ 10.178297][ T217] ? lock_acquire+0xe0/0x160 [ 10.178301][ T217] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.178303][ T217] ? vprintk_emit+0x320/0x3e0 [ 10.178305][ T217] vprintk_emit+0x37c/0x3e0 [ 10.178308][ T217] ? wake_up_klogd_work_func+0x90/0x90 [ 10.178311][ T217] ? __lock_acquire+0x518/0xc20 [ 10.178315][ T217] _printk+0xc7/0x100 [ 10.178319][ T217] ? snapshot_read.cold+0x21/0x21 [ 10.178322][ T217] ? do_raw_spin_lock+0x131/0x280 [ 10.178324][ T217] ? __rwlock_init+0x150/0x150 [ 10.178328][ T217] ? do_raw_spin_lock+0x131/0x280 [ 10.178331][ T217] do_exit.cold+0x82/0x9c [ 10.178335][ T217] ? exit_notify+0x890/0x890 [ 10.178336][ T217] ? __lock_release.isra.0+0x69/0x1a0 [ 10.178339][ T217] ? rcu_is_watching+0x16/0xd0 [ 10.178342][ T217] do_group_exit+0xb8/0x370 [ 10.178345][ T217] __x64_sys_exit_group+0x3c/0x50 [ 10.178347][ T217] x64_sys_call+0x1567/0x1570 [ 10.178349][ T217] do_syscall_64+0xff/0x530 [ 10.178354][ T217] ? exc_page_fault+0xee/0x100 [ 10.178357][ T217] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.178359][ T217] RIP: 0033:0x7f757b0261b8 [ 10.178361][ T217] Code: Unable to access opcode bytes at 0x7f757b02618e. [ 10.178362][ T217] RSP: 002b:00007fff37dae4b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.178365][ T217] RAX: ffffffffffffffda RBX: 00007f757b156f88 RCX: 00007f757b0261b8 [ 10.178366][ T217] RDX: 00007f757ad70fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.178367][ T217] RBP: 00007fff37dae510 R08: 0000000000000000 R09: 0000000000000050 [ 10.178368][ T217] R10: 00007fff37dae2d0 R11: 0000000000000246 R12: 0000000000000001 [ 10.178369][ T217] R13: 0000000000000000 R14: 00007f757b155680 R15: 00007f757b156fa0 [ 10.178375][ T217] [ 12.180666][ T269] Initializing XFRM netlink socket [ 12.180684][ T269] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.180686][ T269] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 269, name: modprobe [ 12.180688][ T269] preempt_count: 1, expected: 0 [ 12.180689][ T269] RCU nest depth: 0, expected: 0 [ 12.180690][ T269] locks held by modprobe/269: 4, last CPU#3: [ 12.180691][ T269] #0: ffffffffae57ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.180702][ T269] #1: ffffffffae57de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.180707][ T269] #2: ffffffffae49d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.180711][ T269] #3: ffffffffae49d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.180716][ T269] irq event stamp: 20848 [ 12.180717][ T269] hardirqs last enabled at (20847): [] __down_trylock_console_sem+0x86/0xa0 [ 12.180720][ T269] hardirqs last disabled at (20848): [] console_emit_next_record+0x3d4/0x4c0 [ 12.180722][ T269] softirqs last enabled at (19278): [] handle_softirqs+0x67c/0x900 [ 12.180725][ T269] softirqs last disabled at (18691): [] __irq_exit_rcu+0x145/0x1c0 [ 12.180728][ T269] Preemption disabled at: [ 12.180728][ T269] [] vprintk_emit+0x31b/0x3e0 [ 12.180733][ T269] CPU: 3 UID: 0 PID: 269 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.180737][ T269] Tainted: [W]=WARN [ 12.180738][ T269] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.180740][ T269] Call Trace: [ 12.180742][ T269] [ 12.180743][ T269] dump_stack_lvl+0x6f/0xa0 [ 12.180749][ T269] ? vprintk_emit+0x31b/0x3e0 [ 12.180750][ T269] __might_resched.cold+0x1fe/0x2c1 [ 12.180761][ T269] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.180765][ T269] ? __kmalloc_noprof+0xdb/0x760 [ 12.180769][ T269] __kmalloc_noprof+0x443/0x760 [ 12.180771][ T269] ? alloc_buf.isra.0+0x4b/0x260 [ 12.180778][ T269] ? do_raw_spin_unlock+0x59/0x250 [ 12.180781][ T269] alloc_buf.isra.0+0x4b/0x260 [ 12.180785][ T269] put_chars+0x1e1/0x2f0 [ 12.180786][ T269] ? desc_read_finalized_seq+0x79/0x120 [ 12.180789][ T269] ? __send_to_port+0x420/0x420 [ 12.180791][ T269] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.180795][ T269] ? validate_chain+0x38b/0xc20 [ 12.180799][ T269] hvc_console_print+0x292/0x780 [ 12.180803][ T269] ? __lock_acquire+0x518/0xc20 [ 12.180805][ T269] ? __lock_acquire+0x518/0xc20 [ 12.180809][ T269] ? hvc_write+0x3a0/0x3a0 [ 12.180811][ T269] ? console_emit_next_record+0x1df/0x4c0 [ 12.180814][ T269] ? rcu_is_watching+0x16/0xd0 [ 12.180816][ T269] ? lock_acquire+0x13c/0x160 [ 12.180820][ T269] console_emit_next_record+0x22f/0x4c0 [ 12.180824][ T269] ? devkmsg_read+0x4b0/0x4b0 [ 12.180826][ T269] ? console_flush_one_record+0x106/0x710 [ 12.180829][ T269] ? rcu_is_watching+0x16/0xd0 [ 12.180831][ T269] ? lock_acquire+0x13c/0x160 [ 12.180835][ T269] console_flush_one_record+0x46f/0x710 [ 12.180839][ T269] ? console_emit_next_record+0x4c0/0x4c0 [ 12.180840][ T269] ? __lock_acquire+0x518/0xc20 [ 12.180845][ T269] console_unlock+0xee/0x1f0 [ 12.180848][ T269] ? console_flush_one_record+0x710/0x710 [ 12.180850][ T269] ? rcu_is_watching+0x16/0xd0 [ 12.180852][ T269] ? lock_acquire+0xe0/0x160 [ 12.180855][ T269] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.180857][ T269] ? vprintk_emit+0x320/0x3e0 [ 12.180860][ T269] vprintk_emit+0x37c/0x3e0 [ 12.180863][ T269] ? wake_up_klogd_work_func+0x90/0x90 [ 12.180868][ T269] ? xfrm_user_exit+0x8a0/0x8a0 [xfrm_user] [ 12.180873][ T269] _printk+0xc7/0x100 [ 12.180876][ T269] ? snapshot_read.cold+0x21/0x21 [ 12.180883][ T269] ? do_one_initcall+0x113/0x4f0 [ 12.180886][ T269] xfrm_user_init+0x15/0x1000 [xfrm_user] [ 12.180889][ T269] do_one_initcall+0x124/0x4f0 [ 12.180892][ T269] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 12.180896][ T269] ? do_init_module+0xae/0x8a0 [ 12.180899][ T269] ? kasan_unpoison+0x44/0x70 [ 12.180904][ T269] do_init_module+0x2ad/0x8a0 [ 12.180907][ T269] ? lockdep_hardirqs_on+0x91/0x130 [ 12.180911][ T269] ? free_module+0x470/0x470 [ 12.180914][ T269] ? kfree+0x123/0x590 [ 12.180917][ T269] load_module+0x1424/0x1bb0 [ 12.180922][ T269] ? security_kernel_post_read_file+0x2f/0x60 [ 12.180927][ T269] ? layout_and_allocate.isra.0+0x680/0x680 [ 12.180931][ T269] ? backing_file_read_iter+0x541/0x790 [ 12.180935][ T269] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.180938][ T269] init_module_from_file+0x11f/0x1a0 [ 12.180941][ T269] ? __do_sys_init_module+0x270/0x270 [ 12.180948][ T269] ? __rwlock_init+0x150/0x150 [ 12.180952][ T269] ? do_raw_spin_unlock+0x59/0x250 [ 12.180955][ T269] idempotent_init_module+0x37b/0x7c0 [ 12.180958][ T269] ? init_module_from_file+0x1a0/0x1a0 [ 12.180963][ T269] ? cap_capable+0x1d7/0x3d0 [ 12.180965][ T269] ? __x64_sys_pread64+0x18d/0x250 [ 12.180970][ T269] __x64_sys_finit_module+0xdf/0x190 [ 12.180972][ T269] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.180976][ T269] do_syscall_64+0xff/0x530 [ 12.180978][ T269] ? exc_page_fault+0xee/0x100 [ 12.180981][ T269] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.180983][ T269] RIP: 0033:0x7f31dd8df37d [ 12.180987][ T269] 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.180989][ T269] RSP: 002b:00007ffc117ce378 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 12.180991][ T269] RAX: ffffffffffffffda RBX: 000055e28ceb7810 RCX: 00007f31dd8df37d [ 12.180992][ T269] RDX: 0000000000000000 RSI: 000055e271494ffd RDI: 0000000000000000 [ 12.180993][ T269] RBP: 00007ffc117ce410 R08: 0000000000000000 R09: 0000000000000000 [ 12.180994][ T269] R10: 0000000000000000 R11: 0000000000000246 R12: 000055e271494ffd [ 12.180995][ T269] R13: 000055e28ceb7960 R14: 0000000000040000 R15: 0000000000000000 [ 12.181002][ T269]