From nobody Thu Dec 08 16:11:15 2022 X-Original-To: freebsd-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 4NSfKY0m92z4jq50; Thu, 8 Dec 2022 16:11:29 +0000 (UTC) (envelope-from jjasen@gmail.com) Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NSfKX3XRTz3vXX; Thu, 8 Dec 2022 16:11:28 +0000 (UTC) (envelope-from jjasen@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=IczFkb+x; spf=pass (mx1.freebsd.org: domain of jjasen@gmail.com designates 2a00:1450:4864:20::233 as permitted sender) smtp.mailfrom=jjasen@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-lj1-x233.google.com with SMTP id q7so2047254ljp.9; Thu, 08 Dec 2022 08:11:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=I0ChDR3Yn2VDRlFad+h1RQ8vy72032656wSqZUvNf4I=; b=IczFkb+x9bKlMpYFelaip+cUI7QE/9YySHfBn91lSR85blad1l9ut0i5jnfeKNIS/i YfuFurPc53uPlnD7pIOfqBOnRDDgHMlX6FD4PAGgPjVb7ZuChl2smyoCA64SJOvI93Qx FCF9J49KwQc1jFyTdpAOO3d3N/JMxLpMYYmMs8QqsHfyF7+7aVhnwoMYPnAOigjxKWIi Bk8LxxfsqCY42HdabXOR5eSYS+MmraCx2OYDvfsJtdoVB7ReKT7RxkL8ie5bt9U+4BC6 IYTdZ8wIqFJofnaQ0wDd2n2ZVQhEk+u/Z70H6cy/xK0zHlQctmxVmWNeY0ZrbVrUyMSi Q6pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=I0ChDR3Yn2VDRlFad+h1RQ8vy72032656wSqZUvNf4I=; b=tToGV6VZCQaqlQATaBownOIJa0xSPBJBA0+PYPB5cYDncOjWU1h/ftvxfrqb2xfVKK igWmwFs7wDrBQakH+giTZboXY9YzOk/tQn1sJfz3rJYrj+SSjEx2EjvD7GIkYDyvEh1q O/2NbijJ87As9ABTQSGj0c303HrKP65kduwgZOziBQBl2rGfVm5p4kp5CVApyjAZKbZH tt3e9RiymOV6Z4K8+EzeU5sN38VP1o+VVdFPRMSPThnvflyADNDDBSCqrqAOTTjBrvu6 avOC175EJNW3jdV5n6h3fKt5JrMuVYU4E62F6DlaNwldLyCUD06FCpyHcaMjbBVi1A7D eA7w== X-Gm-Message-State: ANoB5plDDCS2G5oTU6tT5CSkQdxVO+XL16EuyXJk/Xoja27rXVv/iSft oCxN1cWh1K1Gg44HzuLANbmLunNMao2IWCtm1s4SoIiyWb8= X-Google-Smtp-Source: AA0mqf59zTlUT2bGDSMw36zFJEIOVzxeP9eA3d0cvQAU3j7Elg9h0H3QrWsaXh/m4TYt5thY4nwExenNNPufi31U8BY= X-Received: by 2002:a05:651c:1146:b0:26f:a9e1:9181 with SMTP id h6-20020a05651c114600b0026fa9e19181mr28921531ljo.223.1670515886391; Thu, 08 Dec 2022 08:11:26 -0800 (PST) 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: Sender: owner-freebsd-pf@freebsd.org X-BeenThere: freebsd-pf@freebsd.org MIME-Version: 1.0 From: John Jasen Date: Thu, 8 Dec 2022 11:11:15 -0500 Message-ID: Subject: crash and panic using pfsync on 13.1-RELEASE (Bug 268246) To: FreeBSD Net , FreeBSD Net Content-Type: multipart/alternative; boundary="0000000000000006c705ef534af8" X-Spamd-Result: default: False [-3.63 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.63)[-0.627]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org,freebsd-pf@freebsd.org]; MID_RHS_MATCH_FROMTLD(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_FROM(0.00)[gmail.com]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::233:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-Rspamd-Queue-Id: 4NSfKX3XRTz3vXX X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N --0000000000000006c705ef534af8 Content-Type: text/plain; charset="UTF-8" Hi folks -- I opened this on Freebsd 13.1. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268246 I'm stumped, as I have about half a dozen other systems just like this one, which do not exhibit this condition. Don't know if it matters, but this is the backup firewall in a carp configuration. kgdb /usr/lib/debug/boot/kernel/kernel.debug /var/crash/vmcore.0 Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x18 fault code = supervisor read data, page not present instruction pointer = 0x20:0xffffffff80cadb90 stack pointer = 0x28:0xfffffe0204794bc0 frame pointer = 0x28:0xfffffe0204794c20 code segment = base r x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 12 (swi1: pfsync) trap number = 12 panic: page fault cpuid = 0 time = 1670433489 KDB: stack backtrace: #0 0xffffffff80c694a5 at kdb_backtrace+0x65 #1 0xffffffff80c1bb5f at vpanic+0x17f #2 0xffffffff80c1b9d3 at panic+0x43 #3 0xffffffff810afdf5 at trap_fatal+0x385 #4 0xffffffff810afe4f at trap_pfault+0x4f #5 0xffffffff810875b8 at calltrap+0x8 #6 0xffffffff80dca82f at ip_fragment+0x24f #7 0xffffffff80dca1e3 at ip_output+0x1163 #8 0xffffffff8225a851 at pfsyncintr+0x151 #9 0xffffffff80bdbcfa at ithread_loop+0x25a #10 0xffffffff80bd8a9e at fork_exit+0x7e #11 0xffffffff8108862e at fork_trampoline+0xe Uptime: 43m36s Dumping 7356 out of 130983 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..91% --0000000000000006c705ef534af8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi folks -- I opened this on Freebsd 13.1.
=
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268246

I'm stumped, as I have about half a dozen other= systems just like this one, which do not exhibit this condition.

Don't know if it matters, but this is the backup f= irewall in a carp configuration.


kgdb /usr/lib/debug/boot/kernel/kernel.debug /var/crash/vmcore.0
Fatal trap 12: page fault while in kernel mode
cpuid =3D 0; apic id =3D 00
fault virtual address   =3D 0x18
fault code              =3D supervisor read data, page not present
instruction pointer     =3D 0x20:0xffffffff80cadb90
stack pointer           =3D 0x28:0xfffffe0204794bc0
frame pointer           =3D 0x28:0xfffffe0204794c20
code segment            =3D base r=
x0, 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 12 (swi1: pfsync)
trap number             =3D 12
panic: page fault
cpuid =3D 0
time =3D 1670433489
KDB: stack backtrace:
#0 0xffffffff80c694a5 at kdb_backtrace+0x65
#1 0xffffffff80c1bb5f at vpanic+0x17f
#2 0xffffffff80c1b9d3 at panic+0x43
#3 0xffffffff810afdf5 at trap_fatal+0x385
#4 0xffffffff810afe4f at trap_pfault+0x4f
#5 0xffffffff810875b8 at calltrap+0x8
#6 0xffffffff80dca82f at ip_fragment+0x24f
#7 0xffffffff80dca1e3 at ip_output+0x1163
#8 0xffffffff8225a851 at pfsyncintr+0x151
#9 0xffffffff80bdbcfa at ithread_loop+0x25a
#10 0xffffffff80bd8a9e at fork_exit+0x7e
#11 0xffffffff8108862e at fork_trampoline+0xe
Uptime: 43m36s
Dumping 7356 out of 130983 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%.=
.91%
--0000000000000006c705ef534af8--