[Bug 280037] KTLS with Intel QAT may trigger kernel panics

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 18 Jul 2024 10:38:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280037

--- Comment #12 from ss3bsd <3226388001@jcom.home.ne.jp> ---

> I'm now running the same machine with 
> kern.ipc.tls.cbc_enable=0 
> to see if the stability changes.

The machine worked for 2 weeks without panic.

Changed back kern.ipc.tls.cbc_enable=0 -> 1, a couple of days ago.

The machine today panics again at CBC related part of code
(ktls_ocf_tls_cbc_decrypt).

So, the cause might be something specific to CBC. (not a strong evidence
though.)


--

Unread portion of the kernel message buffer:
trap number             = 12
panic: page fault
cpuid = 1
time = 1721297633
KDB: stack backtrace:
#0 0xffffffff809d2b5d at kdb_backtrace+0x5d
#1 0xffffffff809858c1 at vpanic+0x131
#2 0xffffffff80985783 at panic+0x43
#3 0xffffffff80e5f91b at trap_fatal+0x40b
#4 0xffffffff80e5f966 at trap_pfault+0x46
#5 0xffffffff80e36288 at calltrap+0x8
#6 0xffffffff80e21cc8 at bounce_bus_dmamap_load_buffer+0x178
#7 0xffffffff809c8a07 at bus_dmamap_load_crp_buffer+0x237
#8 0xffffffff82ddb7ad at qat_ocf_process+0x40d
#9 0xffffffff80c83fd0 at crypto_dispatch+0x60
#10 0xffffffff80c8c3cd at ktls_ocf_dispatch+0x5d
#11 0xffffffff80c8d3f4 at ktls_ocf_tls_cbc_decrypt+0x344
#12 0xffffffff80a1a484 at ktls_work_thread+0x664
#13 0xffffffff8093fc7f at fork_exit+0x7f
#14 0xffffffff80e372ee at fork_trampoline+0xe
Uptime: 2d17h13m52s

-- 
You are receiving this mail because:
You are the assignee for the bug.