From nobody Wed Apr 20 18:47:53 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 7217A11CDC76 for ; Wed, 20 Apr 2022 18:47:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kk8n624Tvz4n6Z for ; Wed, 20 Apr 2022 18:47:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 25E0219592 for ; Wed, 20 Apr 2022 18:47:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 23KIlsP2029100 for ; Wed, 20 Apr 2022 18:47:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23KIls4P029099 for bugs@FreeBSD.org; Wed, 20 Apr 2022 18:47:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 262894] Kernel Panic (page fault) with 13.1-BETA2 in g_eli & httpd Date: Wed, 20 Apr 2022 18:47:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mav@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650480474; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BE8cZ+SB3ITmFrTk/f/naNT9fG2S8PItY/84PgIqJnQ=; b=o4ki4NsJEn1r+GvMs7+psDF3drLt0YCxY21cwfIc8Gv7X0gn6PR451lF74C6t3h1irsuUA R2KNXYm0ufa7GbMAu+qYyw5V4WeKUXa/JplEx6EkscBQhMQ/WIRbmEw0JHDxk/ZJkb7NTn yofKkBDxZC/YljKiXb2C2+z78NQXkeRm6I5723PKPMnqxpX0RkFj8EMw7hG1m+lKaNtTGz Bt9ywrNBIYnhiHEpLP0k5DBEGEJOc+4DpWomsxjYbob4aU46WAdfAOIZpPcvVuOqiyHo47 Qtoj1e9goMgHMeM0UQ9QNIKlWJ+RnOug0x+4iy4ryGcpMddYgZL2M5iTr6Jg0w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650480474; a=rsa-sha256; cv=none; b=DxcgPD8GNHRB4RIyn1Rw88HlEIdZqiKSydXmZpCBxmjxEg5akzNIozMLuslBiJNtqHYlQz 9qgehlU7TBKu4AxGfNLvlnSPiStCb2cWOPmj1PajIXDzCn7uAzwokh0ZwO6cJU3IIw6y5k cR2tE5AzH1hUipu3Au6PwwfwFK6CEnuwraLGq/6cenuety7NZzwHQK2tBhgKKOsluDixqU a1CRwWuSEOnWb9/jCuEoSBlJT2rZ89h+NtS18IFpUOwQnWZyciFToeA2JKF4G5tgK5M0Ou qhRTRaDE6Y3/MfSqGvoqTn0e9Lz8CYESygkhU/eO9TuPbhrAs9PXEV/6fc/kJw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262894 --- Comment #33 from Alexander Motin --- We've managed to get full dump: Fatal trap 12: page fault while in kernel mode cpuid =3D 3; apic id =3D 03 fault virtual address =3D 0xfffff80e00000004 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff80f1cdcd stack pointer =3D 0x28:0xfffffe0148413c00 frame pointer =3D 0x28:0xfffffe0148413ca0 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 3655 (g_eli[3] gptid/e420) trap number =3D 12 panic: page fault cpuid =3D 3 time =3D 1650468037 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0148413= 9c0 vpanic() at vpanic+0x17f/frame 0xfffffe0148413a10 panic() at panic+0x43/frame 0xfffffe0148413a70 trap_fatal() at trap_fatal+0x385/frame 0xfffffe0148413ad0 trap_pfault() at trap_pfault+0x4f/frame 0xfffffe0148413b30 calltrap() at calltrap+0x8/frame 0xfffffe0148413b30 --- trap 0xc, rip =3D 0xffffffff80f1cdcd, rsp =3D 0xfffffe0148413c00, rbp = =3D 0xfffffe0148413ca0 --- aesni_crypt_xts() at aesni_crypt_xts+0x17d/frame 0xfffffe0148413ca0 aesni_decrypt_xts() at aesni_decrypt_xts+0xe/frame 0xfffffe0148413cc0 aesni_cipher_crypt() at aesni_cipher_crypt+0x2f1/frame 0xfffffe0148413d70 aesni_process() at aesni_process+0x159/frame 0xfffffe0148413dc0 crypto_dispatch() at crypto_dispatch+0x118/frame 0xfffffe0148413df0 g_eli_crypto_run() at g_eli_crypto_run+0x178/frame 0xfffffe0148413e90 g_eli_worker() at g_eli_worker+0x328/frame 0xfffffe0148413ef0 fork_exit() at fork_exit+0x7e/frame 0xfffffe0148413f30 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe0148413f30 --- trap 0x80af60b4, rip =3D 0, rsp =3D 0, rbp =3D 0 --- (kgdb) bt #0 __curthread () at /data/workspace/TrueNAS_13.0_Nightlies/freenas/_BE/os/sys/amd64/include/pcp= u_aux.h:55 #1 doadump (textdump=3Dtextdump@entry=3D1) at /data/workspace/TrueNAS_13.0_Nightlies/freenas/_BE/os/sys/kern/kern_shutdow= n.c:399 #2 0xffffffff80b164c1 in kern_reboot (howto=3D260) at /data/workspace/TrueNAS_13.0_Nightlies/freenas/_BE/os/sys/kern/kern_shutdow= n.c:487 #3 0xffffffff80b1693e in vpanic (fmt=3D0xffffffff811b9599 "%s", ap=3D) at /data/workspace/TrueNAS_13.0_Nightlies/freenas/_BE/os/sys/kern/kern_shutdow= n.c:920 #4 0xffffffff80b16743 in panic (fmt=3D) at /data/workspace/TrueNAS_13.0_Nightlies/freenas/_BE/os/sys/kern/kern_shutdow= n.c:844 #5 0xffffffff81042855 in trap_fatal (frame=3D0xfffffe0148413b40, eva=3D18446735337746071556) at /data/workspace/TrueNAS_13.0_Nightlies/freenas/_BE/os/sys/amd64/amd64/trap.= c:944 #6 0xffffffff810428af in trap_pfault (frame=3D0xfffffe0148413b40, usermode=3Dfalse, signo=3D, ucode=3D) at /data/workspace/TrueNAS_13.0_Nightlies/freenas/_BE/os/sys/amd64/amd64/trap.= c:763 #7 #8 aesni_crypt_xts_block8 (key_schedule=3D, from=3D, to=3D, rounds=3D,=20 tweak=3D, do_encrypt=3D) at /data/workspace/TrueNAS_13.0_Nightlies/freenas/_BE/os/sys/crypto/aesni/aesn= i_wrap.c:358 #9 aesni_crypt_xts (rounds=3D, data_schedule=3D0xfffff8000e= d94140, tweak_schedule=3D, len=3D,=20 from=3D, from@entry=3D0xfffff80e00000004 ,=20 to=3D, to@entry=3D0xfffff80e00000004 ,=20 iv=3D0xfffffe0148413d30 "", do_encrypt=3D0) at /data/workspace/TrueNAS_13.0_Nightlies/freenas/_BE/os/sys/crypto/aesni/aesn= i_wrap.c:411 #10 0xffffffff80f1d3ee in aesni_decrypt_xts (rounds=3D12, data_schedule=3D0xfffff8000ed94140, tweak_schedule=3D0xfffff8000ed94160, le= n=3D32,=20 from=3Dfrom@entry=3D0xfffff80e00000004 ,=20 to=3Dto@entry=3D0xfffff80e00000004 , iv=3D0xfffffe0148413d30 "") at /data/workspace/TrueNAS_13.0_Nightlies/freenas/_BE/os/sys/crypto/aesni/aesn= i_wrap.c:442 #11 0xffffffff80f16ce1 in aesni_cipher_crypt (ses=3D0xfffff8000ed94048, crp=3Dcrp@entry=3D0xfffff801e7e1fe38, csp=3D,=20 csp@entry=3D0xfffff8000ed94008) at /data/workspace/TrueNAS_13.0_Nightlies/freenas/_BE/os/sys/crypto/aesni/aesn= i.c:788 #12 0xffffffff80f166e9 in aesni_cipher_process (ses=3D, crp=3D0xfffff801e7e1fe38) at /data/workspace/TrueNAS_13.0_Nightlies/freenas/_BE/os/sys/crypto/aesni/aesn= i.c:687 #13 aesni_process (dev=3D, crp=3D0xfffff801e7e1fe38, hint=3D= ) at /data/workspace/TrueNAS_13.0_Nightlies/freenas/_BE/os/sys/crypto/aesni/aesn= i.c:379 #14 0xffffffff80e3b078 in crypto_dispatch (crp=3Dcrp@entry=3D0xfffff801e7e1= fe38) at /data/workspace/TrueNAS_13.0_Nightlies/freenas/_BE/os/sys/opencrypto/crypto= .c:1498 #15 0xffffffff80a3f678 in g_eli_crypto_run (wr=3Dwr@entry=3D0xfffff803e1bb4= 440, bp=3Dbp@entry=3D0xfffff806c34978d0) at /data/workspace/TrueNAS_13.0_Nightlies/freenas/_BE/os/sys/geom/eli/g_eli_pr= ivacy.c:343 #16 0xffffffff80a38378 in g_eli_worker (arg=3Darg@entry=3D0xfffff803e1bb444= 0) at /data/workspace/TrueNAS_13.0_Nightlies/freenas/_BE/os/sys/geom/eli/g_eli.c:= 708 #17 0xffffffff80ad223e in fork_exit (callout=3D0xffffffff80a38050 , arg=3D0xfffff803e1bb4440, frame=3D0xfffffe0148413f40) at /data/workspace/TrueNAS_13.0_Nightlies/freenas/_BE/os/sys/kern/kern_fork.c:= 1093 #18 I haven't touched crypto code for a while, so going to look into what's interesting there slowly. --=20 You are receiving this mail because: You are the assignee for the bug.=