From nobody Sat Jul 13 12:27:32 2024 X-Original-To: pf@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 4WLnm52L66z5QhDM for ; Sat, 13 Jul 2024 12:27:33 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WLnm45yplz4HYX for ; Sat, 13 Jul 2024 12:27:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1720873652; a=rsa-sha256; cv=none; b=Vyt+fdRoUYwyOF3TVisGjl4JDmAjMZBkbIEg2F5CRMgGndgx39Q4FN60d2iAOEyFBa/Czi +bCijMNURyV4kBlo0icxcAFutyWcgFt/Q5+U7+KKewCCBM2pyVnpAy2DPciqi5njpx1ec7 KRCtvvN8f0y4VND8nzISTc8xkmKUJeF4A8fzMqglXLBwON18j+qVlMdi2T2gL65HdJpOnj g7NNw7ddawVFxaaoUBJW51PlocCL+lO2blSQQMBwrpnuLgR6HGRUQ8qRGQMeS1Uutt5f3h oWVQVBhARE8oSgHlOfF+20/PuO3zFd5aZMNeYQysw/4n2AAy9wGC5FxZwU6+/g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720873652; 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=OJ/Cx6O4vtvAgs/nFTEqGGzCh9ccHkq4WP51vgUkqZA=; b=XTZfhTkilIwa/XIxo7uvj80HkT86vCWsAVF5PN6yvdzudF/jAx6abL+69KAk0mA/cWOmLf 2r64jWoo0CSKTVi+LzDPwis7gWnr5/fDvo273fKSo2pGC/ZgQoRE1WMDHLfI1F4t62ddyZ GWz7Ns4G/p7fbe0IsyrLuY7Y+HYbNNWPgUKUgwUxzad1QggMRsmlSlGvBt89u94vlG+/K8 IAWJ8fGnk9GV9qKhZPsWu5AU9FeMwN7HS80Elkfmo6dJ2OkSOKDkChrnoOwRrppEgxAXGq s0l488CU2rvwctEY17xOrr8iR/lvRGObxW5EcHtkJRtJKwKphPdjM2Wp4GsKVg== 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 4WLnm43zbWzQSY for ; Sat, 13 Jul 2024 12:27:32 +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 46DCRWu3068644 for ; Sat, 13 Jul 2024 12:27:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 46DCRWH3068643 for pf@FreeBSD.org; Sat, 13 Jul 2024 12:27:32 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: pf@FreeBSD.org Subject: [Bug 279899] pf_unlink_state mutex unlock page fault panic Date: Sat, 13 Jul 2024 12:27:32 +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: 14.1-STABLE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: gdef@wp.pl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pf@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: Technical discussion and general questions about packet filter (pf) List-Archive: https://lists.freebsd.org/archives/freebsd-pf List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-pf@freebsd.org Sender: owner-freebsd-pf@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279899 Gyver Def changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gdef@wp.pl --- Comment #11 from Gyver Def --- Bug still presents in latest 14.1-STABLE branch: Unread portion of the kernel message buffer: [47842] kernel trap 12 with interrupts disabled [47842] [47842] [47842] Fatal trap 12: page fault while in kernel mode [47842] cpuid =3D 9; apic id =3D 09 [47842] fault virtual address =3D 0x20 [47842] fault code =3D supervisor read data, page not present [47842] instruction pointer =3D 0x20:0xffffffff806fbd70 [47842] stack pointer =3D 0x28:0xfffffe02059f8df0 [47842] frame pointer =3D 0x28:0xfffffe02059f8e00 [47842] code segment =3D base 0x0, limit 0xfffff, type 0x1b [47842] =3D DPL 0, pres 1, long 1, def32 0, gran 1 [47842] processor eflags =3D resume, IOPL =3D 0 [47842] current process =3D 6 (pf purge) [47842] rdi: 0000000000000000 rsi: 0000000000000000 rdx: fffff801172f2740 [47842] rcx: fffff801172f2740 r8: 0000000000000050 r9: 0000000000000028 [47842] rax: 0000000000000000 rbx: 0000000000000000 rbp: fffffe02059f8e00 [47842] r10: fffff801d6fcc6e0 r11: 0000000082d0b062 r12: 0000000000000000 [47842] r13: fffff801172f2740 r14: 0000000000000000 r15: 00000000000190d4 [47842] trap number =3D 12 [47842] panic: page fault [47842] cpuid =3D 9 [47842] time =3D 1720796553 [47842] KDB: stack backtrace: [47842] #0 0xffffffff806e25bd at kdb_backtrace+0x5d [47842] #1 0xffffffff806976f1 at vpanic+0x131 [47842] #2 0xffffffff806975b3 at panic+0x43 [47842] #3 0xffffffff80a5f0fb at trap_fatal+0x40b [47842] #4 0xffffffff80a5f146 at trap_pfault+0x46 [47842] #5 0xffffffff80a37598 at calltrap+0x8 [47842] #6 0xffffffff80674603 at __mtx_unlock_sleep+0x73 [47842] #7 0xffffffff80899ff8 at pf_unlink_state+0x338 [47842] #8 0xffffffff80899558 at pf_purge_expired_states+0x178 [47842] #9 0xffffffff8089937b at pf_purge_thread+0x13b [47842] #10 0xffffffff8065211f at fork_exit+0x7f [47842] #11 0xffffffff80a385fe at fork_trampoline+0xe [47842] Uptime: 13h17m22s [47842] Dumping 8074 out of 130174 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..91% Reading symbols from /boot/kernel/zfs.ko... Reading symbols from /usr/lib/debug//boot/kernel/zfs.ko.debug... Reading symbols from /boot/kernel/fdescfs.ko... Reading symbols from /usr/lib/debug//boot/kernel/fdescfs.ko.debug... __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:57 warning: Source file is more recent than executable. 57 __asm("movq %%gs:%P1,%0" : "=3Dr" (td) : "n" (offsetof(stru= ct pcpu, (kgdb) bt #0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:57 #1 doadump (textdump=3D) at /usr/src/sys/kern/kern_shutdown= .c:405 #2 0xffffffff80697287 in kern_reboot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:523 #3 0xffffffff8069775e in vpanic (fmt=3D0xffffffff80acd933 "%s", ap=3Dap@entry=3D0xfffffe02059f8c50) at /usr/src/sys/kern/kern_shutdown.c:967 #4 0xffffffff806975b3 in panic (fmt=3D) at /usr/src/sys/kern/kern_shutdown.c:891 #5 0xffffffff80a5f0fb in trap_fatal (frame=3D0xfffffe02059f8d30, eva=3D32)= at /usr/src/sys/amd64/amd64/trap.c:952 #6 0xffffffff80a5f146 in trap_pfault (frame=3D, usermode=3Dfa= lse, signo=3D, ucode=3D) at /usr/src/sys/amd64/amd64/trap.c:760 #7 #8 0xffffffff806fbd70 in turnstile_broadcast (ts=3D0x0, queue=3Dqueue@entr= y=3D0) at /usr/src/sys/kern/subr_turnstile.c:900 #9 0xffffffff80674603 in __mtx_unlock_sleep (c=3D, v=3D) at /usr/src/sys/kern/kern_mutex.c:1056 #10 0xffffffff80899ff8 in pf_unlink_state (s=3Ds@entry=3D0xfffff801d6fcc6e0= ) at /usr/src/sys/netpfil/pf/pf.c:2147 #11 0xffffffff80899558 in pf_purge_expired_states (i=3D102589, maxcheck=3D9= 01) at /usr/src/sys/netpfil/pf/pf.c:2207 #12 0xffffffff8089937b in pf_purge_thread (unused=3D) at /usr/src/sys/netpfil/pf/pf.c:1950 #13 0xffffffff8065211f in fork_exit (callout=3D0xffffffff80899240 , arg=3D0x0, frame=3D0xfffffe02059f8f40) at /usr/src/sys/kern/kern_fork.c:1164 #14 #15 0x0a12d0230652d027 in ?? () --=20 You are receiving this mail because: You are the assignee for the bug.=