[ 17.214925][ T433] Initializing XFRM netlink socket [ 17.214944][ T433] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.214946][ T433] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 433, name: modprobe [ 17.214948][ T433] preempt_count: 1, expected: 0 [ 17.214949][ T433] RCU nest depth: 0, expected: 0 [ 17.214950][ T433] locks held by modprobe/433: 4, last CPU#1: [ 17.214953][ T433] #0: ffffffff9d57ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.214964][ T433] #1: ffffffff9d57de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.214969][ T433] #2: ffffffff9d49d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.214973][ T433] #3: ffffffff9d49d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 17.214977][ T433] irq event stamp: 32222 [ 17.214978][ T433] hardirqs last enabled at (32221): [] __down_trylock_console_sem+0x86/0xa0 [ 17.214981][ T433] hardirqs last disabled at (32222): [] console_emit_next_record+0x3d4/0x4c0 [ 17.214983][ T433] softirqs last enabled at (30610): [] handle_softirqs+0x67c/0x900 [ 17.214986][ T433] softirqs last disabled at (30601): [] __irq_exit_rcu+0x145/0x1c0 [ 17.214989][ T433] Preemption disabled at: [ 17.214989][ T433] [] vprintk_emit+0x31b/0x3e0 [ 17.214994][ T433] CPU: 1 UID: 0 PID: 433 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.214998][ T433] Tainted: [W]=WARN [ 17.214999][ T433] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.215000][ T433] Call Trace: [ 17.215002][ T433] [ 17.215003][ T433] dump_stack_lvl+0x6f/0xa0 [ 17.215009][ T433] ? vprintk_emit+0x31b/0x3e0 [ 17.215011][ T433] __might_resched.cold+0x1fe/0x2c1 [ 17.215016][ T433] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.215020][ T433] ? __kmalloc_noprof+0xdb/0x760 [ 17.215024][ T433] __kmalloc_noprof+0x443/0x760 [ 17.215026][ T433] ? alloc_buf.isra.0+0x4b/0x260 [ 17.215033][ T433] ? do_raw_spin_unlock+0x59/0x250 [ 17.215036][ T433] alloc_buf.isra.0+0x4b/0x260 [ 17.215039][ T433] put_chars+0x1e1/0x2f0 [ 17.215041][ T433] ? desc_read_finalized_seq+0x79/0x120 [ 17.215044][ T433] ? __send_to_port+0x420/0x420 [ 17.215046][ T433] ? rcu_read_lock_any_held+0x3c/0x90 [ 17.215050][ T433] ? validate_chain+0x38b/0xc20 [ 17.215054][ T433] hvc_console_print+0x292/0x780 [ 17.215058][ T433] ? __lock_acquire+0x518/0xc20 [ 17.215060][ T433] ? __lock_acquire+0x518/0xc20 [ 17.215065][ T433] ? hvc_write+0x3a0/0x3a0 [ 17.215067][ T433] ? console_emit_next_record+0x1df/0x4c0 [ 17.215070][ T433] ? rcu_is_watching+0x16/0xd0 [ 17.215072][ T433] ? lock_acquire+0x13c/0x160 [ 17.215077][ T433] console_emit_next_record+0x22f/0x4c0 [ 17.215081][ T433] ? devkmsg_read+0x4b0/0x4b0 [ 17.215082][ T433] ? console_flush_one_record+0x106/0x710 [ 17.215086][ T433] ? rcu_is_watching+0x16/0xd0 [ 17.215087][ T433] ? lock_acquire+0x13c/0x160 [ 17.215091][ T433] console_flush_one_record+0x46f/0x710 [ 17.215095][ T433] ? console_emit_next_record+0x4c0/0x4c0 [ 17.215097][ T433] ? __lock_acquire+0x518/0xc20 [ 17.215103][ T433] console_unlock+0xee/0x1f0 [ 17.215106][ T433] ? console_flush_one_record+0x710/0x710 [ 17.215108][ T433] ? rcu_is_watching+0x16/0xd0 [ 17.215109][ T433] ? lock_acquire+0xe0/0x160 [ 17.215113][ T433] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.215115][ T433] ? vprintk_emit+0x320/0x3e0 [ 17.215117][ T433] vprintk_emit+0x37c/0x3e0 [ 17.215121][ T433] ? wake_up_klogd_work_func+0x90/0x90 [ 17.215126][ T433] ? xfrm_user_exit+0x8a0/0x8a0 [xfrm_user] [ 17.215130][ T433] _printk+0xc7/0x100 [ 17.215134][ T433] ? snapshot_read.cold+0x21/0x21 [ 17.215140][ T433] ? do_one_initcall+0x113/0x4f0 [ 17.215143][ T433] xfrm_user_init+0x15/0x1000 [xfrm_user] [ 17.215146][ T433] do_one_initcall+0x124/0x4f0 [ 17.215149][ T433] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 17.215154][ T433] ? do_init_module+0xae/0x8a0 [ 17.215156][ T433] ? kasan_unpoison+0x44/0x70 [ 17.215162][ T433] do_init_module+0x2ad/0x8a0 [ 17.215165][ T433] ? lockdep_hardirqs_on+0x91/0x130 [ 17.215168][ T433] ? free_module+0x470/0x470 [ 17.215171][ T433] ? kfree+0x123/0x590 [ 17.215175][ T433] load_module+0x1424/0x1bb0 [ 17.215180][ T433] ? security_kernel_post_read_file+0x2f/0x60 [ 17.215185][ T433] ? layout_and_allocate.isra.0+0x680/0x680 [ 17.215189][ T433] ? find_held_lock+0x2b/0x80 [ 17.215191][ T433] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 17.215195][ T433] init_module_from_file+0x11f/0x1a0 [ 17.215198][ T433] ? __do_sys_init_module+0x270/0x270 [ 17.215205][ T433] ? __rwlock_init+0x150/0x150 [ 17.215209][ T433] ? do_raw_spin_unlock+0x59/0x250 [ 17.215212][ T433] idempotent_init_module+0x37b/0x7c0 [ 17.215215][ T433] ? init_module_from_file+0x1a0/0x1a0 [ 17.215221][ T433] ? cap_capable+0x1d7/0x3d0 [ 17.215227][ T433] ? exc_page_fault+0x87/0x100 [ 17.215232][ T433] __x64_sys_finit_module+0xdf/0x190 [ 17.215234][ T433] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 17.215238][ T433] do_syscall_64+0xff/0x530 [ 17.215241][ T433] ? exc_page_fault+0xee/0x100 [ 17.215243][ T433] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.215246][ T433] RIP: 0033:0x7fa3ed0c937d [ 17.215249][ T433] 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 [ 17.215251][ T433] RSP: 002b:00007ffede093098 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 17.215254][ T433] RAX: ffffffffffffffda RBX: 000055d58419f810 RCX: 00007fa3ed0c937d [ 17.215255][ T433] RDX: 0000000000000000 RSI: 000055d5562b3ffd RDI: 0000000000000000 [ 17.215256][ T433] RBP: 00007ffede093130 R08: 0000000000000000 R09: 0000000000000000 [ 17.215257][ T433] R10: 0000000000000000 R11: 0000000000000246 R12: 000055d5562b3ffd [ 17.215258][ T433] R13: 000055d58419f960 R14: 0000000000040000 R15: 0000000000000000 [ 17.215265][ T433] [ 58.219988][ T1451] ip (1451) used greatest stack depth: 23760 bytes left [ 58.220007][ T1451] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 58.220010][ T1451] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1451, name: ip [ 58.220011][ T1451] preempt_count: 2, expected: 0 [ 58.220012][ T1451] RCU nest depth: 0, expected: 0 [ 58.220013][ T1451] locks held by ip/1451: 5, last CPU#3: [ 58.220015][ T1451] #0: ffffffff9d4167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 58.220028][ T1451] #1: ffffffff9d57ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 58.220033][ T1451] #2: ffffffff9d57de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 58.220037][ T1451] #3: ffffffff9d49d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 58.220041][ T1451] #4: ffffffff9d49d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 58.220045][ T1451] irq event stamp: 52602 [ 58.220046][ T1451] hardirqs last enabled at (52601): [] __down_trylock_console_sem+0x86/0xa0 [ 58.220049][ T1451] hardirqs last disabled at (52602): [] console_emit_next_record+0x3d4/0x4c0 [ 58.220051][ T1451] softirqs last enabled at (52156): [] handle_softirqs+0x67c/0x900 [ 58.220053][ T1451] softirqs last disabled at (52149): [] __irq_exit_rcu+0x145/0x1c0 [ 58.220056][ T1451] Preemption disabled at: [ 58.220057][ T1451] [<0000000000000000>] 0x0 [ 58.220064][ T1451] CPU: 3 UID: 0 PID: 1451 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 58.220067][ T1451] Tainted: [W]=WARN [ 58.220068][ T1451] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 58.220070][ T1451] Call Trace: [ 58.220071][ T1451] [ 58.220073][ T1451] dump_stack_lvl+0x6f/0xa0 [ 58.220080][ T1451] __might_resched.cold+0x1fe/0x2c1 [ 58.220084][ T1451] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 58.220088][ T1451] ? __kmalloc_noprof+0xdb/0x760 [ 58.220093][ T1451] __kmalloc_noprof+0x443/0x760 [ 58.220095][ T1451] ? alloc_buf.isra.0+0x4b/0x260 [ 58.220102][ T1451] ? do_raw_spin_unlock+0x59/0x250 [ 58.220105][ T1451] alloc_buf.isra.0+0x4b/0x260 [ 58.220109][ T1451] put_chars+0x1e1/0x2f0 [ 58.220111][ T1451] ? __send_to_port+0x420/0x420 [ 58.220112][ T1451] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 58.220116][ T1451] ? validate_chain+0x38b/0xc20 [ 58.220121][ T1451] hvc_console_print+0x292/0x780 [ 58.220129][ T1451] ? hvc_write+0x3a0/0x3a0 [ 58.220132][ T1451] ? rcu_is_watching+0x16/0xd0 [ 58.220134][ T1451] ? lock_acquire+0x13c/0x160 [ 58.220138][ T1451] console_emit_next_record+0x22f/0x4c0 [ 58.220142][ T1451] ? devkmsg_read+0x4b0/0x4b0 [ 58.220144][ T1451] ? console_flush_one_record+0x106/0x710 [ 58.220148][ T1451] ? rcu_is_watching+0x16/0xd0 [ 58.220149][ T1451] ? lock_acquire+0x13c/0x160 [ 58.220153][ T1451] console_flush_one_record+0x46f/0x710 [ 58.220158][ T1451] ? console_emit_next_record+0x4c0/0x4c0 [ 58.220160][ T1451] ? __lock_acquire+0x518/0xc20 [ 58.220165][ T1451] console_unlock+0xee/0x1f0 [ 58.220168][ T1451] ? console_flush_one_record+0x710/0x710 [ 58.220170][ T1451] ? rcu_is_watching+0x16/0xd0 [ 58.220172][ T1451] ? lock_acquire+0xe0/0x160 [ 58.220176][ T1451] ? __down_trylock_console_sem+0x5e/0xa0 [ 58.220178][ T1451] ? vprintk_emit+0x320/0x3e0 [ 58.220181][ T1451] vprintk_emit+0x37c/0x3e0 [ 58.220184][ T1451] ? wake_up_klogd_work_func+0x90/0x90 [ 58.220187][ T1451] ? __lock_acquire+0x518/0xc20 [ 58.220191][ T1451] _printk+0xc7/0x100 [ 58.220194][ T1451] ? snapshot_read.cold+0x21/0x21 [ 58.220197][ T1451] ? do_raw_spin_lock+0x131/0x280 [ 58.220200][ T1451] ? __rwlock_init+0x150/0x150 [ 58.220204][ T1451] ? do_raw_spin_lock+0x131/0x280 [ 58.220207][ T1451] do_exit.cold+0x82/0x9c [ 58.220211][ T1451] ? exit_notify+0x890/0x890 [ 58.220212][ T1451] ? __lock_release.isra.0+0x69/0x1a0 [ 58.220215][ T1451] ? rcu_is_watching+0x16/0xd0 [ 58.220219][ T1451] do_group_exit+0xb8/0x370 [ 58.220222][ T1451] __x64_sys_exit_group+0x3c/0x50 [ 58.220224][ T1451] x64_sys_call+0x1567/0x1570 [ 58.220226][ T1451] do_syscall_64+0xff/0x530 [ 58.220230][ T1451] ? exc_page_fault+0xee/0x100 [ 58.220233][ T1451] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 58.220235][ T1451] RIP: 0033:0x7fd0fa2341b8 [ 58.220238][ T1451] Code: Unable to access opcode bytes at 0x7fd0fa23418e. [ 58.220239][ T1451] RSP: 002b:00007ffedd6991f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 58.220241][ T1451] RAX: ffffffffffffffda RBX: 00007fd0fa364f88 RCX: 00007fd0fa2341b8 [ 58.220242][ T1451] RDX: 00007fd0f9f7efc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 58.220243][ T1451] RBP: 00007ffedd699250 R08: 0000000000000000 R09: 0000000000000050 [ 58.220244][ T1451] R10: 00007ffedd699010 R11: 0000000000000246 R12: 0000000000000001 [ 58.220245][ T1451] R13: 0000000000000000 R14: 00007fd0fa363680 R15: 00007fd0fa364fa0 [ 58.220252][ T1451]