We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the issue System stuck or BUG happens.
To Reproduce while true do sudo ./scripts/tempesta.sh --start done
while true do curl -i -k https://tempesta-tech.com done
need to write 127.0.0.1 tempesta-tech.com in /etc/hosts
127.0.0.1 tempesta-tech.com
Configuration file listen 443 proto=h2; listen 80; cache 2; cache_fulfill * *;
tls_match_any_server_name;
tls_certificate /home/evgeny/workdir/certs/tempesta-tech.test.crt; tls_certificate_key /home/evgeny/workdir/certs/tempesta-tech.test.key;
srv_group default { server 127.0.0.1:8000 conns_n=32; } vhost tempesta-tech.com { proxy_pass default; } http_chain { -> tempesta-tech.com; }
Version or commit hash 82064e2 Tempesta FW
Stacktrace or debug log
[ 2198.805090] [tempesta fw] Live reconfiguration of Tempesta. [ 2224.755172] watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [tempesta.sh:34314] [ 2224.755822] Modules linked in: tempesta_fw(OE) tempesta_db(OE) tempesta_tls(OE) tempesta_lib(OE) sha256_ssse3 sha512_ssse3 nvme_tcp nvme_fabrics nvme_core xt_conntrack xt_MASQUERADE nf_conntrack_netlink vhost_vsock xfrm_user vmw_vsock_virtio_transport_common vhost xfrm_algo vhost_iotlb vsock xt_addrtype nft_compat br_netfilter nft_masq nft_counter nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 bridge stp llc nf_tables nfnetlink overlay binfmt_misc nls_iso8859_1 kvm_intel kvm virtio_gpu crct10dif_pclmul ghash_clmulni_intel virtio_dma_buf drm_kms_helper aesni_intel crypto_simd cryptd glue_helper cec joydev input_leds fb_sys_fops syscopyarea sysfillrect sysimgblt mac_hid serio_raw qemu_fw_cfg sch_fq_codel msr parport_pc ppdev lp ramoops drm parport reed_solomon efi_pstore ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq libcrc32c crc32_pclmul psmouse e1000 i2c_piix4 pata_acpi floppy [last unloaded: tempesta_lib] [ 2224.761935] CPU: 0 PID: 34314 Comm: tempesta.sh Tainted: G OE 5.10.35.tfw-11111111+ #412 [ 2224.762559] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 [ 2224.763236] RIP: 0010:__asan_loadN+0xa/0x20 [ 2224.763532] Code: c0 01 48 39 d0 74 ae 80 38 00 74 f2 e9 2a ff ff ff b8 01 00 00 00 c3 66 0f 1f 84 00 00 00 00 00 55 31 d2 48 89 e5 48 8b 4d 08 <e8> 51 fe ff ff 5d c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 [ 2224.764903] RSP: 0018:ffff888064136fb0 EFLAGS: 00000246 [ 2224.765259] RAX: 0000000000000001 RBX: ffff8881474a0c50 RCX: ffffffffc1132417 [ 2224.765740] RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffff8881474a0c56 [ 2224.766208] RBP: ffff888064136fb0 R08: 0000000000000000 R09: ffff8881474a0a43 [ 2224.766676] R10: ffffed1028e94148 R11: 0000000000000001 R12: ffff8881474a0a40 [ 2224.767152] R13: 0000000000000001 R14: ffff8881474a041e R15: ffff8881474a0c52 [ 2224.767663] FS: 00007fea17e0f740(0000) GS:ffff8881e6600000(0000) knlGS:0000000000000000 [ 2224.768193] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2224.768572] CR2: 00007f803161b100 CR3: 00000000a4252000 CR4: 0000000000750ef0 [ 2224.769041] PKRU: 55555554 [ 2224.769225] Call Trace: [ 2224.769402] ttls_mpi_shift_r+0x37/0x210 [tempesta_tls] [ 2224.769753] ttls_mpi_inv_mod+0x560/0x820 [tempesta_tls] [ 2224.770110] ttls_rsa_import_raw+0x32b/0x3b0 [tempesta_tls] [ 2224.770563] ttls_pk_parse_subpubkey+0x33a/0x3b0 [tempesta_tls] [ 2224.770986] ? ttls_pk_parse_key+0x310/0x310 [tempesta_tls] [ 2224.771391] ? ttls_x509_get_name+0x2c4/0x350 [tempesta_tls] [ 2224.771768] ? ttls_x509_get_alg+0x20/0x20 [tempesta_tls] [ 2224.772129] ttls_x509_crt_parse_der+0x696/0x9b0 [tempesta_tls] [ 2224.772525] ? x509_crt_verify_child+0x5d0/0x5d0 [tempesta_tls] [ 2224.772921] ? ttls_base64_decode+0x243/0x320 [tempesta_tls] [ 2224.773299] ? ttls_pem_read_buffer+0x1f8/0x280 [tempesta_tls] [ 2224.773690] ? alloc_pages_current+0x96/0x140 [ 2224.774003] ttls_x509_crt_parse+0x169/0x270 [tempesta_tls] [ 2224.774378] ? ttls_x509_crt_parse_der+0x9b0/0x9b0 [tempesta_tls] [ 2224.774780] ? __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 2224.775133] tfw_tls_set_cert+0x171/0x290 [tempesta_fw] [ 2224.775520] ? tfw_tls_vhost_priv_data_sz+0x10/0x10 [tempesta_fw] [ 2224.775959] ? read_next_token+0x200/0x950 [tempesta_fw] [ 2224.776384] tfw_cfgop_out_tls_certificate+0x44/0x50 [tempesta_fw] [ 2224.776803] spec_handle_entry+0xaa/0xe0 [tempesta_fw] [ 2224.777154] tfw_cfg_parse_mods+0x283/0x310 [tempesta_fw] [ 2224.777521] ? tfw_spec_init_frang_default+0x40/0x40 [tempesta_fw] [ 2224.777930] ? blk_post_runtime_resume+0x80/0x80 [ 2224.778237] ? lockref_get_not_dead+0x160/0x160 [ 2224.778548] ? parse_cfg_entry+0x1d5/0xf20 [tempesta_fw] [ 2224.778903] ? fput+0x13/0x20 [ 2224.779104] ? filp_close+0x9e/0xb0 [ 2224.779376] ? tfw_cfg_read_file+0x155/0x1a0 [tempesta_fw] [ 2224.779749] ? tfw_cfg_conclude+0x360/0x360 [tempesta_fw] [ 2224.780120] ? tfw_sg_lookup+0x1a3/0x1b0 [tempesta_fw] [ 2224.780472] tfw_cfg_parse+0x89/0xd0 [tempesta_fw] [ 2224.780801] ? tfw_cfg_read_file+0x1a0/0x1a0 [tempesta_fw] [ 2224.781166] ? memset+0x3c/0x50 [ 2224.781429] tfw_ctlfn_state_io+0x3b1/0x540 [tempesta_fw] [ 2224.781826] ? tfw_cleanup+0x30/0x30 [tempesta_fw] [ 2224.782397] ? tfw_cleanup+0x30/0x30 [tempesta_fw] [ 2224.782400] ? __cgroup_bpf_run_filter_sysctl+0x274/0x430 [ 2224.782403] ? create_object.isra.0+0x353/0x4e0 [ 2224.782404] ? __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 2224.782406] ? __kasan_check_read+0x11/0x20 [ 2224.782409] proc_sys_call_handler+0x227/0x390 [ 2224.782412] ? sysctl_head_grab+0x60/0x60 [ 2224.784818] ? __do_fault+0x260/0x260 [ 2224.785063] proc_sys_write+0x13/0x20 [ 2224.785309] new_sync_write+0x29d/0x3c0 [ 2224.785578] ? new_sync_read+0x3c0/0x3c0 [ 2224.785840] ? handle_mm_fault+0xa62/0x2640 [ 2224.786119] ? rw_verify_area+0x7c/0x150 [ 2224.786382] vfs_write+0x311/0x3d0 [ 2224.786611] ksys_write+0xcd/0x170 [ 2224.786839] ? __ia32_sys_read+0x50/0x50 [ 2224.787101] ? __kasan_check_read+0x11/0x20 [ 2224.787407] ? fpregs_assert_state_consistent+0x5a/0x70 [ 2224.787753] __x64_sys_write+0x42/0x50 [ 2224.788005] do_syscall_64+0x38/0x90 [ 2224.788282] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 2224.788618] RIP: 0033:0x7fea17f26887 [ 2224.788859] Code: 10 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 48 89 54 24 18 48 89 74 24 [ 2224.790072] RSP: 002b:00007fff7032aa98 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 2224.790568] RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 00007fea17f26887 [ 2224.791035] RDX: 0000000000000006 RSI: 000055ff1f700280 RDI: 0000000000000001 [ 2224.791536] RBP: 000055ff1f700280 R08: 00007fea17fe3460 R09: 000000007fffffff [ 2224.792003] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000006 [ 2224.792473] R13: 00007fea1802d780 R14: 00007fea18029600 R15: 00007fea18028a00 [ 2252.755954] watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [tempesta.sh:34314] [ 2252.756653] Modules linked in: tempesta_fw(OE) tempesta_db(OE) tempesta_tls(OE) tempesta_lib(OE) sha256_ssse3 sha512_ssse3 nvme_tcp nvme_fabrics nvme_core xt_conntrack xt_MASQUERADE nf_conntrack_netlink vhost_vsock xfrm_user vmw_vsock_virtio_transport_common vhost xfrm_algo vhost_iotlb vsock xt_addrtype nft_compat br_netfilter nft_masq nft_counter nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 bridge stp llc nf_tables nfnetlink overlay binfmt_misc nls_iso8859_1 kvm_intel kvm virtio_gpu crct10dif_pclmul ghash_clmulni_intel virtio_dma_buf drm_kms_helper aesni_intel crypto_simd cryptd glue_helper cec joydev input_leds fb_sys_fops syscopyarea sysfillrect sysimgblt mac_hid serio_raw qemu_fw_cfg sch_fq_codel msr parport_pc ppdev lp ramoops drm parport reed_solomon efi_pstore ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq libcrc32c crc32_pclmul psmouse e1000 i2c_piix4 pata_acpi floppy [last unloaded: tempesta_lib] [ 2252.762969] CPU: 0 PID: 34314 Comm: tempesta.sh Tainted: G OEL 5.10.35.tfw-11111111+ #412 [ 2252.763661] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 [ 2252.764372] RIP: 0010:check_memory_region+0xda/0x1a0 [ 2252.764739] Code: 01 48 39 d0 74 7f 80 38 00 74 f2 41 bb 01 00 00 00 48 85 c0 75 5d 5b 44 89 d8 41 5c 41 5d 5d c3 48 85 d2 74 60 4c 01 e2 eb 09 <48> 83 c0 01 48 39 d0 74 52 80 38 00 74 f2 eb d1 41 bd 08 00 00 00 [ 2252.766132] RSP: 0018:ffff888064136fc8 EFLAGS: 00000246 [ 2252.766508] RAX: ffffed1028e94148 RBX: ffffed1028e94149 RCX: ffffffffc113718b [ 2252.767013] RDX: ffffed1028e94149 RSI: 0000000000000002 RDI: ffff8881474a0a46 [ 2252.767495] RBP: ffff888064136fe0 R08: 0000000000000000 R09: ffff8881474a0a47 [ 2252.767975] R10: ffffed1028e94148 R11: 0000000000000001 R12: ffffed1028e94148 [ 2252.768483] R13: ffff8881474a0418 R14: ffff8881474a041e R15: ffff8881474a0418 [ 2252.768965] FS: 00007fea17e0f740(0000) GS:ffff8881e6600000(0000) knlGS:0000000000000000 [ 2252.769510] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2252.769899] CR2: 00007f803161b100 CR3: 00000000a4252000 CR4: 0000000000750ef0 [ 2252.770381] PKRU: 55555554 [ 2252.770569] Call Trace: [ 2252.770743] __asan_loadN+0xf/0x20 [ 2252.771007] ttls_mpi_inv_mod+0x4eb/0x820 [tempesta_tls] [ 2252.771390] ttls_rsa_import_raw+0x32b/0x3b0 [tempesta_tls] [ 2252.771764] ttls_pk_parse_subpubkey+0x33a/0x3b0 [tempesta_tls] [ 2252.772173] ? ttls_pk_parse_key+0x310/0x310 [tempesta_tls] [ 2252.772560] ? ttls_x509_get_name+0x2c4/0x350 [tempesta_tls] [ 2252.772937] ? ttls_x509_get_alg+0x20/0x20 [tempesta_tls] [ 2252.773299] ttls_x509_crt_parse_der+0x696/0x9b0 [tempesta_tls] [ 2252.773694] ? x509_crt_verify_child+0x5d0/0x5d0 [tempesta_tls] [ 2252.774088] ? ttls_base64_decode+0x243/0x320 [tempesta_tls] [ 2252.774466] ? ttls_pem_read_buffer+0x1f8/0x280 [tempesta_tls] [ 2252.774854] ? alloc_pages_current+0x96/0x140 [ 2252.775182] ttls_x509_crt_parse+0x169/0x270 [tempesta_tls] [ 2252.775556] ? ttls_x509_crt_parse_der+0x9b0/0x9b0 [tempesta_tls] [ 2252.775958] ? __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 2252.776317] tfw_tls_set_cert+0x171/0x290 [tempesta_fw] [ 2252.776679] ? tfw_tls_vhost_priv_data_sz+0x10/0x10 [tempesta_fw] [ 2252.777170] ? read_next_token+0x200/0x950 [tempesta_fw] [ 2252.777540] tfw_cfgop_out_tls_certificate+0x44/0x50 [tempesta_fw] [ 2252.777960] spec_handle_entry+0xaa/0xe0 [tempesta_fw] [ 2252.778312] tfw_cfg_parse_mods+0x283/0x310 [tempesta_fw] [ 2252.778680] ? tfw_spec_init_frang_default+0x40/0x40 [tempesta_fw] [ 2252.779117] ? blk_post_runtime_resume+0x80/0x80 [ 2252.779426] ? lockref_get_not_dead+0x160/0x160 [ 2252.779738] ? parse_cfg_entry+0x1d5/0xf20 [tempesta_fw] [ 2252.780104] ? fput+0x13/0x20 [ 2252.780309] ? filp_close+0x9e/0xb0 [ 2252.780554] ? tfw_cfg_read_file+0x155/0x1a0 [tempesta_fw] [ 2252.780928] ? tfw_cfg_conclude+0x360/0x360 [tempesta_fw] [ 2252.781300] ? tfw_sg_lookup+0x1a3/0x1b0 [tempesta_fw] [ 2252.781652] tfw_cfg_parse+0x89/0xd0 [tempesta_fw] [ 2252.781981] ? tfw_cfg_read_file+0x1a0/0x1a0 [tempesta_fw] [ 2252.782344] ? memset+0x3c/0x50 [ 2252.782570] tfw_ctlfn_state_io+0x3b1/0x540 [tempesta_fw] [ 2252.782958] ? tfw_cleanup+0x30/0x30 [tempesta_fw] [ 2252.783407] ? tfw_cleanup+0x30/0x30 [tempesta_fw] [ 2252.783730] ? __cgroup_bpf_run_filter_sysctl+0x274/0x430 [ 2252.784096] ? create_object.isra.0+0x353/0x4e0 [ 2252.784403] ? __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 2252.784732] ? __kasan_check_read+0x11/0x20 [ 2252.785013] proc_sys_call_handler+0x227/0x390 [ 2252.785309] ? sysctl_head_grab+0x60/0x60 [ 2252.785579] ? __do_fault+0x260/0x260 [ 2252.785827] proc_sys_write+0x13/0x20 [ 2252.786072] new_sync_write+0x29d/0x3c0 [ 2252.786328] ? new_sync_read+0x3c0/0x3c0 [ 2252.786592] ? handle_mm_fault+0xa62/0x2640 [ 2252.786879] ? rw_verify_area+0x7c/0x150 [ 2252.787161] vfs_write+0x311/0x3d0 [ 2252.787389] ksys_write+0xcd/0x170 [ 2252.787617] ? __ia32_sys_read+0x50/0x50 [ 2252.787894] ? __kasan_check_read+0x11/0x20 [ 2252.788212] ? fpregs_assert_state_consistent+0x5a/0x70 [ 2252.788559] __x64_sys_write+0x42/0x50 [ 2252.788811] do_syscall_64+0x38/0x90 [ 2252.789158] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 2252.789516] RIP: 0033:0x7fea17f26887 [ 2252.789758] Code: 10 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 48 89 54 24 18 48 89 74 24 [ 2252.791000] RSP: 002b:00007fff7032aa98 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 2252.791500] RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 00007fea17f26887 [ 2252.791969] RDX: 0000000000000006 RSI: 000055ff1f700280 RDI: 0000000000000001 [ 2252.792450] RBP: 000055ff1f700280 R08: 00007fea17fe3460 R09: 000000007fffffff [ 2252.792918] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000006 [ 2252.793385] R13: 00007fea1802d780 R14: 00007fea18029600 R15: 00007fea18028a00 [ 2258.956118] rcu: INFO: rcu_sched self-detected stall on CPU [ 2258.956650] rcu: 0-....: (14982 ticks this GP) idle=9ce/1/0x4000000000000000 softirq=243530/243530 fqs=6423 [ 2258.957410] (t=15001 jiffies g=432681 q=213253) [ 2258.957770] NMI backtrace for cpu 0 [ 2258.958047] CPU: 0 PID: 34314 Comm: tempesta.sh Tainted: G OEL 5.10.35.tfw-11111111+ #412 [ 2258.958741] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 [ 2258.959472] Call Trace: [ 2258.959664] <IRQ> [ 2258.959849] dump_stack+0x96/0xc4 [ 2258.960105] nmi_cpu_backtrace.cold+0x32/0x7f [ 2258.960451] ? lapic_can_unplug_cpu+0x80/0x80 [ 2258.960780] nmi_trigger_cpumask_backtrace+0x16e/0x180 [ 2258.961187] arch_trigger_cpumask_backtrace+0x19/0x20 [ 2258.961563] rcu_dump_cpu_stacks+0xfa/0x132 [ 2258.961875] rcu_sched_clock_irq.cold+0x30a/0x56f [ 2258.962225] ? account_system_time+0x65/0x80 [ 2258.962549] update_process_times+0xc6/0xf0 [ 2258.962903] tick_sched_handle+0x44/0xa0 [ 2258.963197] tick_sched_timer+0xcf/0x130 [ 2258.963490] ? tick_do_update_jiffies64.part.0+0x120/0x120 [ 2258.963888] __hrtimer_run_queues+0x28b/0x4c0 [ 2258.964216] ? __asan_loadN+0xf/0x20 [ 2258.964498] ? enqueue_hrtimer+0xe0/0xe0 [ 2258.964799] ? kvm_clock_get_cycles+0x11/0x20 [ 2258.965121] ? ktime_get_update_offsets_now+0x9c/0x150 [ 2258.965494] hrtimer_interrupt+0x1ae/0x440 [ 2258.965794] __sysvec_apic_timer_interrupt+0x89/0x170 [ 2258.966165] asm_call_irq_on_stack+0xf/0x20 [ 2258.966469] </IRQ> [ 2258.966628] sysvec_apic_timer_interrupt+0x79/0x90 [ 2258.967129] asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 2258.967496] RIP: 0010:ttls_mpi_shift_r+0xe2/0x210 [tempesta_tls] [ 2258.967902] Code: f6 cb 0f b7 73 04 41 0f b7 c4 45 0f b7 e4 4b 8d 3c e6 29 c6 c1 e6 03 48 63 f6 e8 f9 5c ff ff 48 83 c4 08 5b 41 5c 41 5d 41 5e <41> 5f 5d c3 c3 4c 89 f7 e8 51 2e f6 cb 49 83 3e 00 75 b7 be 02 00 [ 2258.969146] RSP: 0018:ffff888064136fe8 EFLAGS: 00000282 [ 2258.969494] RAX: 0000000000000001 RBX: ffff8881474a0c50 RCX: ffffffffc1132429 [ 2258.969963] RDX: ffffed1028e94149 RSI: 0000000000000002 RDI: ffff8881474a0a42 [ 2258.970433] RBP: ffff888064136ff0 R08: 0000000000000000 R09: ffff8881474a0a43 [ 2258.970926] R10: ffffed1028e94148 R11: 0000000000000001 R12: ffff8881474a0a40 [ 2258.971402] R13: ffff8881474a0418 R14: ffff8881474a041e R15: ffff8881474a0a42 [ 2258.971876] ? ttls_mpi_shift_r+0x49/0x210 [tempesta_tls] [ 2258.972249] ttls_mpi_inv_mod+0x553/0x820 [tempesta_tls] [ 2258.972612] ttls_rsa_import_raw+0x32b/0x3b0 [tempesta_tls] [ 2258.973012] ttls_pk_parse_subpubkey+0x33a/0x3b0 [tempesta_tls] [ 2258.973409] ? ttls_pk_parse_key+0x310/0x310 [tempesta_tls] [ 2258.973783] ? ttls_x509_get_name+0x2c4/0x350 [tempesta_tls] [ 2258.974163] ? ttls_x509_get_alg+0x20/0x20 [tempesta_tls] [ 2258.974539] ttls_x509_crt_parse_der+0x696/0x9b0 [tempesta_tls] [ 2258.974967] ? x509_crt_verify_child+0x5d0/0x5d0 [tempesta_tls] [ 2258.975365] ? ttls_base64_decode+0x243/0x320 [tempesta_tls] [ 2258.975744] ? ttls_pem_read_buffer+0x1f8/0x280 [tempesta_tls] [ 2258.976133] ? alloc_pages_current+0x96/0x140 [ 2258.976443] ttls_x509_crt_parse+0x169/0x270 [tempesta_tls] [ 2258.976816] ? ttls_x509_crt_parse_der+0x9b0/0x9b0 [tempesta_tls] [ 2258.977219] ? __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 2258.977572] tfw_tls_set_cert+0x171/0x290 [tempesta_fw] [ 2258.977934] ? tfw_tls_vhost_priv_data_sz+0x10/0x10 [tempesta_fw] [ 2258.978360] ? read_next_token+0x200/0x950 [tempesta_fw] [ 2258.978727] tfw_cfgop_out_tls_certificate+0x44/0x50 [tempesta_fw] [ 2258.979293] spec_handle_entry+0xaa/0xe0 [tempesta_fw] [ 2258.979650] tfw_cfg_parse_mods+0x283/0x310 [tempesta_fw] [ 2258.980020] ? tfw_spec_init_frang_default+0x40/0x40 [tempesta_fw] [ 2258.980463] ? blk_post_runtime_resume+0x80/0x80 [ 2258.980771] ? lockref_get_not_dead+0x160/0x160 [ 2258.981083] ? parse_cfg_entry+0x1d5/0xf20 [tempesta_fw] [ 2258.981439] ? fput+0x13/0x20 [ 2258.981640] ? filp_close+0x9e/0xb0 [ 2258.981886] ? tfw_cfg_read_file+0x155/0x1a0 [tempesta_fw] [ 2258.982261] ? tfw_cfg_conclude+0x360/0x360 [tempesta_fw] [ 2258.982634] ? tfw_sg_lookup+0x1a3/0x1b0 [tempesta_fw] [ 2258.983013] tfw_cfg_parse+0x89/0xd0 [tempesta_fw] [ 2258.983343] ? tfw_cfg_read_file+0x1a0/0x1a0 [tempesta_fw] [ 2258.983708] ? memset+0x3c/0x50 [ 2258.983934] tfw_ctlfn_state_io+0x3b1/0x540 [tempesta_fw] [ 2258.984318] ? tfw_cleanup+0x30/0x30 [tempesta_fw] [ 2258.984666] ? tfw_cleanup+0x30/0x30 [tempesta_fw] [ 2258.985071] ? __cgroup_bpf_run_filter_sysctl+0x274/0x430 [ 2258.985438] ? create_object.isra.0+0x353/0x4e0 [ 2258.985749] ? __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 2258.986078] ? __kasan_check_read+0x11/0x20 [ 2258.986360] proc_sys_call_handler+0x227/0x390 [ 2258.986656] ? sysctl_head_grab+0x60/0x60 [ 2258.986942] ? __do_fault+0x260/0x260 [ 2258.987191] proc_sys_write+0x13/0x20 [ 2258.987436] new_sync_write+0x29d/0x3c0 [ 2258.987693] ? new_sync_read+0x3c0/0x3c0 [ 2258.987956] ? handle_mm_fault+0xa62/0x2640 [ 2258.988243] ? rw_verify_area+0x7c/0x150 [ 2258.988511] vfs_write+0x311/0x3d0 [ 2258.988740] ksys_write+0xcd/0x170 [ 2258.988968] ? __ia32_sys_read+0x50/0x50 [ 2258.989232] ? __kasan_check_read+0x11/0x20 [ 2258.989515] ? fpregs_assert_state_consistent+0x5a/0x70 [ 2258.989860] __x64_sys_write+0x42/0x50 [ 2258.990118] do_syscall_64+0x38/0x90 [ 2258.990406] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 2258.990744] RIP: 0033:0x7fea17f26887 [ 2258.991089] Code: 10 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 48 89 54 24 18 48 89 74 24 [ 2258.992324] RSP: 002b:00007fff7032aa98 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 2258.992823] RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 00007fea17f26887 [ 2258.993293] RDX: 0000000000000006 RSI: 000055ff1f700280 RDI: 0000000000000001 [ 2258.993762] RBP: 000055ff1f700280 R08: 00007fea17fe3460 R09: 000000007fffffff [ 2258.994283] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000006 [ 2258.994816] R13: 00007fea1802d780 R14: 00007fea18029600 R15: 00007fea18028a00 [ 2284.756778] watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [tempesta.sh:34314] [ 2284.757366] Modules linked in: tempesta_fw(OE) tempesta_db(OE) tempesta_tls(OE) tempesta_lib(OE) sha256_ssse3 sha512_ssse3 nvme_tcp nvme_fabrics nvme_core xt_conntrack xt_MASQUERADE nf_conntrack_netlink vhost_vsock xfrm_user vmw_vsock_virtio_transport_common vhost xfrm_algo vhost_iotlb vsock xt_addrtype nft_compat br_netfilter nft_masq nft_counter nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 bridge stp llc nf_tables nfnetlink overlay binfmt_misc nls_iso8859_1 kvm_intel kvm virtio_gpu crct10dif_pclmul ghash_clmulni_intel virtio_dma_buf drm_kms_helper aesni_intel crypto_simd cryptd glue_helper cec joydev input_leds fb_sys_fops syscopyarea sysfillrect sysimgblt mac_hid serio_raw qemu_fw_cfg sch_fq_codel msr parport_pc ppdev lp ramoops drm parport reed_solomon efi_pstore ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq libcrc32c crc32_pclmul psmouse e1000 i2c_piix4 pata_acpi floppy [last unloaded: tempesta_lib] [ 2284.763642] CPU: 0 PID: 34314 Comm: tempesta.sh Tainted: G OEL 5.10.35.tfw-11111111+ #412 [ 2284.764267] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 [ 2284.764926] RIP: 0010:__asan_loadN+0xa/0x20 [ 2284.765220] Code: c0 01 48 39 d0 74 ae 80 38 00 74 f2 e9 2a ff ff ff b8 01 00 00 00 c3 66 0f 1f 84 00 00 00 00 00 55 31 d2 48 89 e5 48 8b 4d 08 <e8> 51 fe ff ff 5d c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 [ 2284.766504] RSP: 0018:ffff888064136fb0 EFLAGS: 00000246 [ 2284.766886] RAX: 0000000000000001 RBX: ffff8881474a0c50 RCX: ffffffffc1132417 [ 2284.767366] RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffff8881474a0c56 [ 2284.767846] RBP: ffff888064136fb0 R08: 0000000000000000 R09: ffff8881474a0a43 [ 2284.768326] R10: ffffed1028e94148 R11: 0000000000000001 R12: ffff8881474a0a40 [ 2284.768809] R13: 0000000000000001 R14: ffff8881474a041e R15: ffff8881474a0c52 [ 2284.769309] FS: 00007fea17e0f740(0000) GS:ffff8881e6600000(0000) knlGS:0000000000000000 [ 2284.769851] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2284.770239] CR2: 00007f803161b100 CR3: 00000000a4252000 CR4: 0000000000750ef0 [ 2284.770739] PKRU: 55555554 [ 2284.770928] Call Trace: [ 2284.771105] ttls_mpi_shift_r+0x37/0x210 [tempesta_tls] [ 2284.771473] ttls_mpi_inv_mod+0x560/0x820 [tempesta_tls] [ 2284.771889] ttls_rsa_import_raw+0x32b/0x3b0 [tempesta_tls] [ 2284.772270] ttls_pk_parse_subpubkey+0x33a/0x3b0 [tempesta_tls] [ 2284.772675] ? ttls_pk_parse_key+0x310/0x310 [tempesta_tls] [ 2284.773079] ? ttls_x509_get_name+0x2c4/0x350 [tempesta_tls] [ 2284.773466] ? ttls_x509_get_alg+0x20/0x20 [tempesta_tls] [ 2284.773835] ttls_x509_crt_parse_der+0x696/0x9b0 [tempesta_tls] [ 2284.774239] ? x509_crt_verify_child+0x5d0/0x5d0 [tempesta_tls] [ 2284.774664] ? ttls_base64_decode+0x243/0x320 [tempesta_tls] [ 2284.775055] ? ttls_pem_read_buffer+0x1f8/0x280 [tempesta_tls] [ 2284.775451] ? alloc_pages_current+0x96/0x140 [ 2284.775751] ttls_x509_crt_parse+0x169/0x270 [tempesta_tls] [ 2284.776131] ? ttls_x509_crt_parse_der+0x9b0/0x9b0 [tempesta_tls] [ 2284.776542] ? __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 2284.776907] tfw_tls_set_cert+0x171/0x290 [tempesta_fw] [ 2284.777280] ? tfw_tls_vhost_priv_data_sz+0x10/0x10 [tempesta_fw] [ 2284.777752] ? read_next_token+0x200/0x950 [tempesta_fw] [ 2284.778125] tfw_cfgop_out_tls_certificate+0x44/0x50 [tempesta_fw] [ 2284.778558] spec_handle_entry+0xaa/0xe0 [tempesta_fw] [ 2284.778942] tfw_cfg_parse_mods+0x283/0x310 [tempesta_fw] [ 2284.779319] ? tfw_spec_init_frang_default+0x40/0x40 [tempesta_fw] [ 2284.779736] ? blk_post_runtime_resume+0x80/0x80 [ 2284.780053] ? lockref_get_not_dead+0x160/0x160 [ 2284.780371] ? parse_cfg_entry+0x1d5/0xf20 [tempesta_fw] [ 2284.780742] ? fput+0x13/0x20 [ 2284.780966] ? filp_close+0x9e/0xb0 [ 2284.781228] ? tfw_cfg_read_file+0x155/0x1a0 [tempesta_fw] [ 2284.781626] ? tfw_cfg_conclude+0x360/0x360 [tempesta_fw] [ 2284.782007] ? tfw_sg_lookup+0x1a3/0x1b0 [tempesta_fw] [ 2284.782368] tfw_cfg_parse+0x89/0xd0 [tempesta_fw] [ 2284.782725] ? tfw_cfg_read_file+0x1a0/0x1a0 [tempesta_fw] [ 2284.783097] ? memset+0x3c/0x50 [ 2284.783328] tfw_ctlfn_state_io+0x3b1/0x540 [tempesta_fw] [ 2284.783748] ? tfw_cleanup+0x30/0x30 [tempesta_fw] [ 2284.784088] ? tfw_cleanup+0x30/0x30 [tempesta_fw] [ 2284.784414] ? __cgroup_bpf_run_filter_sysctl+0x274/0x430 [ 2284.784781] ? create_object.isra.0+0x353/0x4e0 [ 2284.785112] ? __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 2284.785450] ? __kasan_check_read+0x11/0x20 [ 2284.785738] proc_sys_call_handler+0x227/0x390 [ 2284.786042] ? sysctl_head_grab+0x60/0x60 [ 2284.786318] ? __do_fault+0x260/0x260 [ 2284.786579] proc_sys_write+0x13/0x20 [ 2284.786849] new_sync_write+0x29d/0x3c0 [ 2284.787124] ? new_sync_read+0x3c0/0x3c0 [ 2284.787392] ? handle_mm_fault+0xa62/0x2640 [ 2284.787680] ? rw_verify_area+0x7c/0x150 [ 2284.787948] vfs_write+0x311/0x3d0 [ 2284.788182] ksys_write+0xcd/0x170 [ 2284.788415] ? __ia32_sys_read+0x50/0x50 [ 2284.788683] ? __kasan_check_read+0x11/0x20 [ 2284.788988] ? fpregs_assert_state_consistent+0x5a/0x70 [ 2284.789349] __x64_sys_write+0x42/0x50 [ 2284.789606] do_syscall_64+0x38/0x90 [ 2284.789893] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 2284.790236] RIP: 0033:0x7fea17f26887 [ 2284.790483] Code: 10 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 48 89 54 24 18 48 89 74 24 [ 2284.791755] RSP: 002b:00007fff7032aa98 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 2284.792266] RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 00007fea17f26887 [ 2284.792745] RDX: 0000000000000006 RSI: 000055ff1f700280 RDI: 0000000000000001 [ 2284.793241] RBP: 000055ff1f700280 R08: 00007fea17fe3460 R09: 000000007fffffff [ 2284.793719] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000006 [ 2284.794197] R13: 00007fea1802d780 R14: 00007fea18029600 R15: 00007fea18028a00 [ 2312.757445] watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [tempesta.sh:34314] [ 2312.758096] Modules linked in: tempesta_fw(OE) tempesta_db(OE) tempesta_tls(OE) tempesta_lib(OE) sha256_ssse3 sha512_ssse3 nvme_tcp nvme_fabrics nvme_core xt_conntrack xt_MASQUERADE nf_conntrack_netlink vhost_vsock xfrm_user vmw_vsock_virtio_transport_common vhost xfrm_algo vhost_iotlb vsock xt_addrtype nft_compat br_netfilter nft_masq nft_counter nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 bridge stp llc nf_tables nfnetlink overlay binfmt_misc nls_iso8859_1 kvm_intel kvm virtio_gpu crct10dif_pclmul ghash_clmulni_intel virtio_dma_buf drm_kms_helper aesni_intel crypto_simd cryptd glue_helper cec joydev input_leds fb_sys_fops syscopyarea sysfillrect sysimgblt mac_hid serio_raw qemu_fw_cfg sch_fq_codel msr parport_pc ppdev lp ramoops drm parport reed_solomon efi_pstore ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq libcrc32c crc32_pclmul psmouse e1000 i2c_piix4 pata_acpi floppy [last unloaded: tempesta_lib] [ 2312.764422] CPU: 0 PID: 34314 Comm: tempesta.sh Tainted: G OEL 5.10.35.tfw-11111111+ #412 [ 2312.765108] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 [ 2312.765822] RIP: 0010:check_memory_region+0x4d/0x1a0 [ 2312.766175] Code: b8 ff ff ff ff ff 7f ff ff 48 39 c7 0f 86 10 01 00 00 49 83 e9 01 49 89 fc 48 b8 00 00 00 00 00 fc ff df 4d 89 ca 49 c1 ec 03 <49> c1 ea 03 49 01 c4 49 01 c2 4c 89 e0 49 8d 5a 01 48 89 da 4c 29 [ 2312.767550] RSP: 0018:ffff888064136f88 EFLAGS: 00000a03 [ 2312.767900] RAX: dffffc0000000000 RBX: ffff8881474a0c50 RCX: ffffffffc1132417 [ 2312.768389] RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffff8881474a0c56 [ 2312.768892] RBP: ffff888064136fa0 R08: 0000000000000000 R09: ffff8881474a0c57 [ 2312.769362] R10: ffff8881474a0c57 R11: 0000000000000001 R12: 1ffff11028e9418a [ 2312.769860] R13: 0000000000000001 R14: ffff8881474a041e R15: ffff8881474a0c52 [ 2312.770345] FS: 00007fea17e0f740(0000) GS:ffff8881e6600000(0000) knlGS:0000000000000000 [ 2312.770889] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2312.771268] CR2: 00007f803161b100 CR3: 00000000a4252000 CR4: 0000000000750ef0 [ 2312.771739] PKRU: 55555554 [ 2312.771924] Call Trace: [ 2312.772093] __asan_loadN+0xf/0x20 [ 2312.772331] ttls_mpi_shift_r+0x37/0x210 [tempesta_tls] [ 2312.772766] ttls_mpi_inv_mod+0x560/0x820 [tempesta_tls] [ 2312.773126] ttls_rsa_import_raw+0x32b/0x3b0 [tempesta_tls] [ 2312.773507] ttls_pk_parse_subpubkey+0x33a/0x3b0 [tempesta_tls] [ 2312.773923] ? ttls_pk_parse_key+0x310/0x310 [tempesta_tls] [ 2312.774309] ? ttls_x509_get_name+0x2c4/0x350 [tempesta_tls] [ 2312.774701] ? ttls_x509_get_alg+0x20/0x20 [tempesta_tls] [ 2312.775065] ttls_x509_crt_parse_der+0x696/0x9b0 [tempesta_tls] [ 2312.775461] ? x509_crt_verify_child+0x5d0/0x5d0 [tempesta_tls] [ 2312.775858] ? ttls_base64_decode+0x243/0x320 [tempesta_tls] [ 2312.776238] ? ttls_pem_read_buffer+0x1f8/0x280 [tempesta_tls] [ 2312.776662] ? alloc_pages_current+0x96/0x140 [ 2312.776963] ttls_x509_crt_parse+0x169/0x270 [tempesta_tls] [ 2312.777350] ? ttls_x509_crt_parse_der+0x9b0/0x9b0 [tempesta_tls] [ 2312.777780] ? __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 2312.778131] tfw_tls_set_cert+0x171/0x290 [tempesta_fw] [ 2312.778616] ? tfw_tls_vhost_priv_data_sz+0x10/0x10 [tempesta_fw] [ 2312.779032] ? read_next_token+0x200/0x950 [tempesta_fw] [ 2312.779400] tfw_cfgop_out_tls_certificate+0x44/0x50 [tempesta_fw] [ 2312.779821] spec_handle_entry+0xaa/0xe0 [tempesta_fw] [ 2312.780176] tfw_cfg_parse_mods+0x283/0x310 [tempesta_fw] [ 2312.780547] ? tfw_spec_init_frang_default+0x40/0x40 [tempesta_fw] [ 2312.780962] ? blk_post_runtime_resume+0x80/0x80 [ 2312.781269] ? lockref_get_not_dead+0x160/0x160 [ 2312.781598] ? parse_cfg_entry+0x1d5/0xf20 [tempesta_fw] [ 2312.781961] ? fput+0x13/0x20 [ 2312.782163] ? filp_close+0x9e/0xb0 [ 2312.782439] ? tfw_cfg_read_file+0x155/0x1a0 [tempesta_fw] [ 2312.782829] ? tfw_cfg_conclude+0x360/0x360 [tempesta_fw] [ 2312.783201] ? tfw_sg_lookup+0x1a3/0x1b0 [tempesta_fw] [ 2312.783558] tfw_cfg_parse+0x89/0xd0 [tempesta_fw] [ 2312.783888] ? tfw_cfg_read_file+0x1a0/0x1a0 [tempesta_fw] [ 2312.784254] ? memset+0x3c/0x50 [ 2312.784566] tfw_ctlfn_state_io+0x3b1/0x540 [tempesta_fw] [ 2312.784942] ? tfw_cleanup+0x30/0x30 [tempesta_fw] [ 2312.785279] ? tfw_cleanup+0x30/0x30 [tempesta_fw] [ 2312.785616] ? __cgroup_bpf_run_filter_sysctl+0x274/0x430 [ 2312.785977] ? create_object.isra.0+0x353/0x4e0 [ 2312.786290] ? __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 2312.786639] ? __kasan_check_read+0x11/0x20 [ 2312.786920] proc_sys_call_handler+0x227/0x390 [ 2312.787216] ? sysctl_head_grab+0x60/0x60 [ 2312.787486] ? __do_fault+0x260/0x260 [ 2312.787732] proc_sys_write+0x13/0x20 [ 2312.787978] new_sync_write+0x29d/0x3c0 [ 2312.788235] ? new_sync_read+0x3c0/0x3c0 [ 2312.788510] ? handle_mm_fault+0xa62/0x2640 [ 2312.788807] ? rw_verify_area+0x7c/0x150 [ 2312.789068] vfs_write+0x311/0x3d0 [ 2312.789298] ksys_write+0xcd/0x170 [ 2312.789536] ? __ia32_sys_read+0x50/0x50 [ 2312.789815] ? __kasan_check_read+0x11/0x20 [ 2312.790095] ? fpregs_assert_state_consistent+0x5a/0x70 [ 2312.790592] __x64_sys_write+0x42/0x50 [ 2312.790854] do_syscall_64+0x38/0x90 [ 2312.791096] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 2312.791432] RIP: 0033:0x7fea17f26887 [ 2312.791674] Code: 10 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 48 89 54 24 18 48 89 74 24 [ 2312.792931] RSP: 002b:00007fff7032aa98 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 2312.793429] RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 00007fea17f26887 [ 2312.793943] RDX: 0000000000000006 RSI: 000055ff1f700280 RDI: 0000000000000001 [ 2312.794452] RBP: 000055ff1f700280 R08: 00007fea17fe3460 R09: 000000007fffffff [ 2312.794921] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000006 [ 2312.795389] R13: 00007fea1802d780 R14: 00007fea18029600 R15: 00007fea18028a00
[ 147.748727] ------------[ cut here ]------------ [ 147.749145] kernel BUG at /home/evgeny/workdir/tempesta/tls/bignum.c:625! [ 147.749657] invalid opcode: 0000 [#1] SMP DEBUG_PAGEALLOC KASAN NOPTI [ 147.750140] CPU: 0 PID: 9090 Comm: tempesta.sh Tainted: G OE 5.10.35.tfw-11111111+ #412 [ 147.750824] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 [ 147.751543] RIP: 0010:ttls_mpi_sub_abs+0x169/0x220 [tempesta_tls] [ 147.752022] Code: 48 8d 7b 02 be 02 00 00 00 e8 43 a1 3c e1 66 44 89 73 02 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d c3 41 be 01 00 00 00 eb d6 <0f> 0b 3d 04 00 05 00 75 10 4c 89 e6 4c 89 cf e8 53 6e 02 00 e9 66 [ 147.753448] RSP: 0000:ffff88814711ef60 EFLAGS: 00010202 [ 147.753841] RAX: 0000000000000001 RBX: ffff88815e2f0620 RCX: ffffffffc10cb5c1 [ 147.754373] RDX: ffff88814e37c080 RSI: 0000000000000002 RDI: ffff88815e2f0624 [ 147.754990] RBP: ffff88814711efa0 R08: 0000000000000000 R09: ffff88815e2f0620 [ 147.755490] R10: ffffed102bc5e0c4 R11: 0000000000000001 R12: ffff88815e2f0620 [ 147.756007] R13: ffff88814e37c010 R14: 0000000000000040 R15: ffff88815e2f0626 [ 147.756509] FS: 00007f5b84da2740(0000) GS:ffff8881e6600000(0000) knlGS:0000000000000000 [ 147.757075] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 147.757479] CR2: 00007efc0b623000 CR3: 000000016d78a000 CR4: 0000000000750ef0 [ 147.757980] PKRU: 55555554 [ 147.758175] Call Trace: [ 147.758365] ttls_mpi_add_mpi+0x1f4/0x230 [tempesta_tls] [ 147.758778] ? ttls_mpi_shift_r+0x49/0x210 [tempesta_tls] [ 147.759168] ttls_mpi_inv_mod+0x780/0x820 [tempesta_tls] [ 147.759551] ttls_rsa_import_raw+0x32b/0x3b0 [tempesta_tls] [ 147.759966] ttls_pk_parse_subpubkey+0x33a/0x3b0 [tempesta_tls] [ 147.760419] ? ttls_pk_parse_key+0x310/0x310 [tempesta_tls] [ 147.760825] ? ttls_x509_get_name+0x2c4/0x350 [tempesta_tls] [ 147.761316] ? ttls_x509_get_alg+0x20/0x20 [tempesta_tls] [ 147.761706] ttls_x509_crt_parse_der+0x696/0x9b0 [tempesta_tls] [ 147.762129] ? x509_crt_verify_child+0x5d0/0x5d0 [tempesta_tls] [ 147.762547] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 147.762927] ? ttls_base64_decode+0x243/0x320 [tempesta_tls] [ 147.763332] ? ttls_pem_read_buffer+0x1f8/0x280 [tempesta_tls] [ 147.763744] ? alloc_pages_current+0x96/0x140 [ 147.764107] ttls_x509_crt_parse+0x169/0x270 [tempesta_tls] [ 147.764535] ? ttls_x509_crt_parse_der+0x9b0/0x9b0 [tempesta_tls] [ 147.764967] ? __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 147.765331] tfw_tls_set_cert+0x171/0x290 [tempesta_fw] [ 147.765718] ? tfw_tls_vhost_priv_data_sz+0x10/0x10 [tempesta_fw] [ 147.766185] ? read_next_token+0x200/0x950 [tempesta_fw] [ 147.766579] tfw_cfgop_out_tls_certificate+0x44/0x50 [tempesta_fw] [ 147.767165] spec_handle_entry+0xaa/0xe0 [tempesta_fw] [ 147.767579] tfw_cfg_parse_mods+0x283/0x310 [tempesta_fw] [ 147.768010] ? tfw_spec_init_frang_default+0x40/0x40 [tempesta_fw] [ 147.768461] ? parse_cfg_entry+0x1d5/0xf20 [tempesta_fw] [ 147.768884] ? fput+0x13/0x20 [ 147.769086] ? filp_close+0x9e/0xb0 [ 147.769334] ? tfw_cfg_read_file+0x155/0x1a0 [tempesta_fw] [ 147.769713] ? tfw_cfg_conclude+0x360/0x360 [tempesta_fw] [ 147.770086] ? tfw_sg_lookup+0x1a3/0x1b0 [tempesta_fw] [ 147.770441] tfw_cfg_parse+0x89/0xd0 [tempesta_fw] [ 147.770774] ? tfw_cfg_read_file+0x1a0/0x1a0 [tempesta_fw] [ 147.771135] ? memset+0x3c/0x50 [ 147.771363] tfw_ctlfn_state_io+0x3b1/0x540 [tempesta_fw] [ 147.771741] ? tfw_cleanup+0x30/0x30 [tempesta_fw] [ 147.772127] ? tfw_cleanup+0x30/0x30 [tempesta_fw] [ 147.772466] ? __cgroup_bpf_run_filter_sysctl+0x274/0x430 [ 147.772827] ? create_object.isra.0+0x353/0x4e0 [ 147.773229] ? __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 147.773559] ? __kasan_check_read+0x11/0x20 [ 147.773839] proc_sys_call_handler+0x227/0x390 [ 147.774135] ? sysctl_head_grab+0x60/0x60 [ 147.774403] ? __do_fault+0x260/0x260 [ 147.774648] proc_sys_write+0x13/0x20 [ 147.774892] new_sync_write+0x29d/0x3c0 [ 147.775147] ? new_sync_read+0x3c0/0x3c0 [ 147.775409] ? handle_mm_fault+0xa62/0x2640 [ 147.775687] ? rw_verify_area+0x7c/0x150 [ 147.775986] vfs_write+0x311/0x3d0 [ 147.776229] ksys_write+0xcd/0x170 [ 147.776472] ? __ia32_sys_read+0x50/0x50 [ 147.776739] ? __kasan_check_read+0x11/0x20 [ 147.777017] ? fpregs_assert_state_consistent+0x5a/0x70 [ 147.777362] __x64_sys_write+0x42/0x50 [ 147.777619] do_syscall_64+0x38/0x90 [ 147.777874] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 147.778208] RIP: 0033:0x7f5b84eb9887 [ 147.778449] Code: 10 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 48 89 54 24 18 48 89 74 24 [ 147.779694] RSP: 002b:00007ffd4c6bfea8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 147.780234] RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 00007f5b84eb9887 [ 147.780720] RDX: 0000000000000006 RSI: 000055989eb30280 RDI: 0000000000000001 [ 147.781186] RBP: 000055989eb30280 R08: 00007f5b84f76460 R09: 000000007fffffff [ 147.781652] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000006 [ 147.782118] R13: 00007f5b84fc0780 R14: 00007f5b84fbc600 R15: 00007f5b84fbba00 [ 147.782588] Modules linked in: tempesta_fw(OE) tempesta_db(OE) sha256_ssse3 sha512_ssse3 tempesta_tls(OE) tempesta_lib(OE) nvme_tcp nvme_fabrics nvme_core vhost_vsock vmw_vsock_virtio_transport_common vhost vhost_iotlb vsock xt_conntrack xt_MASQUERADE nf_conntrack_netlink xfrm_user xfrm_algo xt_addrtype nft_compat br_netfilter nft_masq nft_counter nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 bridge stp llc nf_tables nfnetlink overlay binfmt_misc nls_iso8859_1 kvm_intel kvm virtio_gpu virtio_dma_buf drm_kms_helper cec crct10dif_pclmul ghash_clmulni_intel fb_sys_fops syscopyarea aesni_intel crypto_simd cryptd glue_helper sysfillrect input_leds joydev sysimgblt mac_hid serio_raw qemu_fw_cfg sch_fq_codel msr parport_pc ppdev lp drm parport ramoops reed_solomon efi_pstore ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq libcrc32c crc32_pclmul psmouse e1000 i2c_piix4 pata_acpi floppy [ 147.788092] ---[ end trace 56024348a0ed6560 ]--- [ 147.788425] RIP: 0010:ttls_mpi_sub_abs+0x169/0x220 [tempesta_tls] [ 147.788861] Code: 48 8d 7b 02 be 02 00 00 00 e8 43 a1 3c e1 66 44 89 73 02 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d c3 41 be 01 00 00 00 eb d6 <0f> 0b 3d 04 00 05 00 75 10 4c 89 e6 4c 89 cf e8 53 6e 02 00 e9 66 [ 147.790343] RSP: 0000:ffff88814711ef60 EFLAGS: 00010202 [ 147.790761] RAX: 0000000000000001 RBX: ffff88815e2f0620 RCX: ffffffffc10cb5c1 [ 147.791316] RDX: ffff88814e37c080 RSI: 0000000000000002 RDI: ffff88815e2f0624 [ 147.791894] RBP: ffff88814711efa0 R08: 0000000000000000 R09: ffff88815e2f0620 [ 147.792483] R10: ffffed102bc5e0c4 R11: 0000000000000001 R12: ffff88815e2f0620 [ 147.793039] R13: ffff88814e37c010 R14: 0000000000000040 R15: ffff88815e2f0626 [ 147.793614] FS: 00007f5b84da2740(0000) GS:ffff8881e6600000(0000) knlGS:0000000000000000 [ 147.794204] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 147.794660] CR2: 00007efc0b623000 CR3: 000000016d78a000 CR4: 0000000000750ef0 [ 147.795200] PKRU: 55555554 [ 147.795423] Kernel panic - not syncing: Fatal exception [ 147.796084] Kernel Offset: 0x21000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 147.796842] Rebooting in 1 seconds..
The text was updated successfully, but these errors were encountered:
EvgeniiMekhanik
No branches or pull requests
Describe the issue
System stuck or BUG happens.
To Reproduce
while true
do
sudo ./scripts/tempesta.sh --start
done
while true
do
curl -i -k https://tempesta-tech.com
done
need to write
127.0.0.1 tempesta-tech.com
in /etc/hostsConfiguration file
listen 443 proto=h2;
listen 80;
cache 2;
cache_fulfill * *;
tls_match_any_server_name;
tls_certificate /home/evgeny/workdir/certs/tempesta-tech.test.crt;
tls_certificate_key /home/evgeny/workdir/certs/tempesta-tech.test.key;
srv_group default {
server 127.0.0.1:8000 conns_n=32;
}
vhost tempesta-tech.com {
proxy_pass default;
}
http_chain {
-> tempesta-tech.com;
}
Version or commit hash
82064e2 Tempesta FW
Stacktrace or debug log
[ 147.748727] ------------[ cut here ]------------
[ 147.749145] kernel BUG at /home/evgeny/workdir/tempesta/tls/bignum.c:625!
[ 147.749657] invalid opcode: 0000 [#1] SMP DEBUG_PAGEALLOC KASAN NOPTI
[ 147.750140] CPU: 0 PID: 9090 Comm: tempesta.sh Tainted: G OE 5.10.35.tfw-11111111+ #412
[ 147.750824] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
[ 147.751543] RIP: 0010:ttls_mpi_sub_abs+0x169/0x220 [tempesta_tls]
[ 147.752022] Code: 48 8d 7b 02 be 02 00 00 00 e8 43 a1 3c e1 66 44 89 73 02 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d c3 41 be 01 00 00 00 eb d6 <0f> 0b 3d 04 00 05 00 75 10 4c 89 e6 4c 89 cf e8 53 6e 02 00 e9 66
[ 147.753448] RSP: 0000:ffff88814711ef60 EFLAGS: 00010202
[ 147.753841] RAX: 0000000000000001 RBX: ffff88815e2f0620 RCX: ffffffffc10cb5c1
[ 147.754373] RDX: ffff88814e37c080 RSI: 0000000000000002 RDI: ffff88815e2f0624
[ 147.754990] RBP: ffff88814711efa0 R08: 0000000000000000 R09: ffff88815e2f0620
[ 147.755490] R10: ffffed102bc5e0c4 R11: 0000000000000001 R12: ffff88815e2f0620
[ 147.756007] R13: ffff88814e37c010 R14: 0000000000000040 R15: ffff88815e2f0626
[ 147.756509] FS: 00007f5b84da2740(0000) GS:ffff8881e6600000(0000) knlGS:0000000000000000
[ 147.757075] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 147.757479] CR2: 00007efc0b623000 CR3: 000000016d78a000 CR4: 0000000000750ef0
[ 147.757980] PKRU: 55555554
[ 147.758175] Call Trace:
[ 147.758365] ttls_mpi_add_mpi+0x1f4/0x230 [tempesta_tls]
[ 147.758778] ? ttls_mpi_shift_r+0x49/0x210 [tempesta_tls]
[ 147.759168] ttls_mpi_inv_mod+0x780/0x820 [tempesta_tls]
[ 147.759551] ttls_rsa_import_raw+0x32b/0x3b0 [tempesta_tls]
[ 147.759966] ttls_pk_parse_subpubkey+0x33a/0x3b0 [tempesta_tls]
[ 147.760419] ? ttls_pk_parse_key+0x310/0x310 [tempesta_tls]
[ 147.760825] ? ttls_x509_get_name+0x2c4/0x350 [tempesta_tls]
[ 147.761316] ? ttls_x509_get_alg+0x20/0x20 [tempesta_tls]
[ 147.761706] ttls_x509_crt_parse_der+0x696/0x9b0 [tempesta_tls]
[ 147.762129] ? x509_crt_verify_child+0x5d0/0x5d0 [tempesta_tls]
[ 147.762547] ? asm_sysvec_apic_timer_interrupt+0x12/0x20
[ 147.762927] ? ttls_base64_decode+0x243/0x320 [tempesta_tls]
[ 147.763332] ? ttls_pem_read_buffer+0x1f8/0x280 [tempesta_tls]
[ 147.763744] ? alloc_pages_current+0x96/0x140
[ 147.764107] ttls_x509_crt_parse+0x169/0x270 [tempesta_tls]
[ 147.764535] ? ttls_x509_crt_parse_der+0x9b0/0x9b0 [tempesta_tls]
[ 147.764967] ? __kasan_kmalloc.constprop.0+0xcf/0xe0
[ 147.765331] tfw_tls_set_cert+0x171/0x290 [tempesta_fw]
[ 147.765718] ? tfw_tls_vhost_priv_data_sz+0x10/0x10 [tempesta_fw]
[ 147.766185] ? read_next_token+0x200/0x950 [tempesta_fw]
[ 147.766579] tfw_cfgop_out_tls_certificate+0x44/0x50 [tempesta_fw]
[ 147.767165] spec_handle_entry+0xaa/0xe0 [tempesta_fw]
[ 147.767579] tfw_cfg_parse_mods+0x283/0x310 [tempesta_fw]
[ 147.768010] ? tfw_spec_init_frang_default+0x40/0x40 [tempesta_fw]
[ 147.768461] ? parse_cfg_entry+0x1d5/0xf20 [tempesta_fw]
[ 147.768884] ? fput+0x13/0x20
[ 147.769086] ? filp_close+0x9e/0xb0
[ 147.769334] ? tfw_cfg_read_file+0x155/0x1a0 [tempesta_fw]
[ 147.769713] ? tfw_cfg_conclude+0x360/0x360 [tempesta_fw]
[ 147.770086] ? tfw_sg_lookup+0x1a3/0x1b0 [tempesta_fw]
[ 147.770441] tfw_cfg_parse+0x89/0xd0 [tempesta_fw]
[ 147.770774] ? tfw_cfg_read_file+0x1a0/0x1a0 [tempesta_fw]
[ 147.771135] ? memset+0x3c/0x50
[ 147.771363] tfw_ctlfn_state_io+0x3b1/0x540 [tempesta_fw]
[ 147.771741] ? tfw_cleanup+0x30/0x30 [tempesta_fw]
[ 147.772127] ? tfw_cleanup+0x30/0x30 [tempesta_fw]
[ 147.772466] ? __cgroup_bpf_run_filter_sysctl+0x274/0x430
[ 147.772827] ? create_object.isra.0+0x353/0x4e0
[ 147.773229] ? __kasan_kmalloc.constprop.0+0xcf/0xe0
[ 147.773559] ? __kasan_check_read+0x11/0x20
[ 147.773839] proc_sys_call_handler+0x227/0x390
[ 147.774135] ? sysctl_head_grab+0x60/0x60
[ 147.774403] ? __do_fault+0x260/0x260
[ 147.774648] proc_sys_write+0x13/0x20
[ 147.774892] new_sync_write+0x29d/0x3c0
[ 147.775147] ? new_sync_read+0x3c0/0x3c0
[ 147.775409] ? handle_mm_fault+0xa62/0x2640
[ 147.775687] ? rw_verify_area+0x7c/0x150
[ 147.775986] vfs_write+0x311/0x3d0
[ 147.776229] ksys_write+0xcd/0x170
[ 147.776472] ? __ia32_sys_read+0x50/0x50
[ 147.776739] ? __kasan_check_read+0x11/0x20
[ 147.777017] ? fpregs_assert_state_consistent+0x5a/0x70
[ 147.777362] __x64_sys_write+0x42/0x50
[ 147.777619] do_syscall_64+0x38/0x90
[ 147.777874] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 147.778208] RIP: 0033:0x7f5b84eb9887
[ 147.778449] Code: 10 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 48 89 54 24 18 48 89 74 24
[ 147.779694] RSP: 002b:00007ffd4c6bfea8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[ 147.780234] RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 00007f5b84eb9887
[ 147.780720] RDX: 0000000000000006 RSI: 000055989eb30280 RDI: 0000000000000001
[ 147.781186] RBP: 000055989eb30280 R08: 00007f5b84f76460 R09: 000000007fffffff
[ 147.781652] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000006
[ 147.782118] R13: 00007f5b84fc0780 R14: 00007f5b84fbc600 R15: 00007f5b84fbba00
[ 147.782588] Modules linked in: tempesta_fw(OE) tempesta_db(OE) sha256_ssse3 sha512_ssse3 tempesta_tls(OE) tempesta_lib(OE) nvme_tcp nvme_fabrics nvme_core vhost_vsock vmw_vsock_virtio_transport_common vhost vhost_iotlb vsock xt_conntrack xt_MASQUERADE nf_conntrack_netlink xfrm_user xfrm_algo xt_addrtype nft_compat br_netfilter nft_masq nft_counter nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 bridge stp llc nf_tables nfnetlink overlay binfmt_misc nls_iso8859_1 kvm_intel kvm virtio_gpu virtio_dma_buf drm_kms_helper cec crct10dif_pclmul ghash_clmulni_intel fb_sys_fops syscopyarea aesni_intel crypto_simd cryptd glue_helper sysfillrect input_leds joydev sysimgblt mac_hid serio_raw qemu_fw_cfg sch_fq_codel msr parport_pc ppdev lp drm parport ramoops reed_solomon efi_pstore ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq libcrc32c crc32_pclmul psmouse e1000 i2c_piix4 pata_acpi floppy
[ 147.788092] ---[ end trace 56024348a0ed6560 ]---
[ 147.788425] RIP: 0010:ttls_mpi_sub_abs+0x169/0x220 [tempesta_tls]
[ 147.788861] Code: 48 8d 7b 02 be 02 00 00 00 e8 43 a1 3c e1 66 44 89 73 02 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d c3 41 be 01 00 00 00 eb d6 <0f> 0b 3d 04 00 05 00 75 10 4c 89 e6 4c 89 cf e8 53 6e 02 00 e9 66
[ 147.790343] RSP: 0000:ffff88814711ef60 EFLAGS: 00010202
[ 147.790761] RAX: 0000000000000001 RBX: ffff88815e2f0620 RCX: ffffffffc10cb5c1
[ 147.791316] RDX: ffff88814e37c080 RSI: 0000000000000002 RDI: ffff88815e2f0624
[ 147.791894] RBP: ffff88814711efa0 R08: 0000000000000000 R09: ffff88815e2f0620
[ 147.792483] R10: ffffed102bc5e0c4 R11: 0000000000000001 R12: ffff88815e2f0620
[ 147.793039] R13: ffff88814e37c010 R14: 0000000000000040 R15: ffff88815e2f0626
[ 147.793614] FS: 00007f5b84da2740(0000) GS:ffff8881e6600000(0000) knlGS:0000000000000000
[ 147.794204] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 147.794660] CR2: 00007efc0b623000 CR3: 000000016d78a000 CR4: 0000000000750ef0
[ 147.795200] PKRU: 55555554
[ 147.795423] Kernel panic - not syncing: Fatal exception
[ 147.796084] Kernel Offset: 0x21000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[ 147.796842] Rebooting in 1 seconds..
The text was updated successfully, but these errors were encountered: