My colleague also collected this:
db{2}> trace
pf_state_export(fffffd805a50dbd4,fffffd9511799e70) at pf_state_export+0x38
pfsync_sendout() at pfsync_sendout+0x5e4
pfsync_update_state(fffffd950ef406b0) at pfsync_update_state+0x15b
pf_test(2,1,ffff800001ecd800,ffff800022592408) at pf_test+0x117a
ip_input_if(ffff800022592408,ffff800022592414,4,0,ffff800001ecd800) at ip_input
_if+0xcd
ipv4_input(ffff800001ecd800,fffffd8059cca200) at ipv4_input+0x39
ether_input(ffff800001ecd800,fffffd8059cca200) at ether_input+0x3b1
if_input_process(ffff8000014ee050,ffff8000225924f8) at if_input_process+0x6f
ifiq_process(ffff8000014efa00) at ifiq_process+0x69
taskq_thread(ffff800000037080) at taskq_thread+0x100
end trace frame: 0x0, count: -10
ddb{2}> show panic
*cpu2: uvm_fault(0xffffffff823e8800, 0x0, 0, 1) -> e
ddb{2}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
92179 2124 98268 0 3 0x100083 nanoslp sleep
52608 190335 1 0 3 0x100083 ttyin getty
28576 497344 79673 0 3 0x100083 ttyin ksh
98268 414675 18735 0 3 0x8b sigsusp zsh
18735 350794 79673 0 3 0x10008b sigsusp ksh
79673 452567 32262 0 3 0x9a kqread sshd
31297 18196 16007 0 3 0x100083 ttyin ksh
16007 507886 32262 0 3 0x9a kqread sshd
71853 245861 1 0 3 0x100098 kqread cron
9972 349539 32515 577 3 0x92 kqread openvpn
27844 218545 32515 32767 3 0x82 kqread svlogd
32515 269581 30307 0 3 0x82 kqread runsv
30307 213658 1 0 3 0x83 kqread runsvdir
23611 299329 1 617 3 0x90 kqread tinyproxy
29980 426146 1 0 3 0x80 nanoslp collectd
29980 388009 1 0 3 0x4000080 fsleep collectd
29980 216736 1 0 3 0x4000080 fsleep collectd
29980 236059 1 0 3 0x4000080 fsleep collectd
29980 149295 1 0 3 0x4000080 fsleep collectd
29980 479856 1 0 3 0x4000080 fsleep collectd
29980 118161 1 0 3 0x4000080 fsleep collectd
29980 446592 1 0 3 0x4000080 fsleep collectd
29980 116491 1 0 3 0x4000080 fsleep collectd
29980 379435 1 0 3 0x4000080 fsleep collectd
29980 462482 1 0 3 0x4000080 fsleep collectd
62928 381037 1 99 3 0x1100090 kqread sndiod
79664 132058 1 110 3 0x100090 kqread sndiod
47345 333274 52602 95 3 0x1100092 kqread smtpd
12713 510663 52602 103 3 0x1100092 kqread smtpd
57157 443764 52602 95 3 0x1100092 kqread smtpd
83405 403585 52602 95 3 0x100092 kqread smtpd
39934 453268 52602 95 3 0x1100092 kqread smtpd
96367 400795 52602 95 3 0x1100092 kqread smtpd
52602 183147 1 0 3 0x100080 kqread smtpd
37186 160140 37010 94 3 0x1100092 kqread rad
69980 81234 37010 94 3 0x1100092 kqread rad
37010 318067 1 0 3 0x100080 kqread rad
19050 248175 1 0 3 0x100080 kqread ifstated
32262 51007 1 0 3 0x88 kqread sshd
47425 184105 1 0 3 0x100080 kqread ntpd
44921 386498 11186 83 3 0x100092 kqread ntpd
11186 364638 1 83 3 0x1100092 kqread ntpd
27560 298174 1 53 3 0x1000090 kqread unbound
30694 478862 46088 74 3 0x1100092 bpf pflogd
46088 317888 1 0 3 0x80 netio pflogd
37573 57388 9307 73 3 0x1100090 kqread syslogd
9307 441872 1 0 3 0x100082 netio syslogd
73922 126079 0 0 3 0x14200 bored wg_crypt
14617 238737 0 0 3 0x14200 bored wg_crypt
84186 440221 0 0 3 0x14200 bored wg_crypt
32111 359939 0 0 3 0x14200 bored wg_crypt
67454 74089 0 0 3 0x14200 bored wg_crypt
13612 61264 0 0 3 0x14200 bored wg_crypt
41551 478047 0 0 3 0x14200 bored wg_crypt
95258 450278 0 0 3 0x14200 bored wg_crypt
95349 401543 0 0 3 0x14200 bored wg_handshake
87062 221608 0 0 3 0x14200 bored wg_handshake
65320 148204 1 0 3 0x100080 kqread resolvd
89479 401285 91559 77 3 0x100092 kqread dhcpleased
82085 113807 91559 77 3 0x100092 kqread dhcpleased
91559 435349 1 0 3 0x80 kqread dhcpleased
68923 92101 8879 115 3 0x100092 kqread slaacd
23366 123142 8879 115 3 0x100092 kqread slaacd
8879 2330 1 0 3 0x100080 kqread slaacd
43060 379360 0 0 3 0x14200 bored smr
4265 348243 0 0 3 0x14200 pgzero zerothread
94968 422305 0 0 3 0x14200 aiodoned aiodoned
71173 482428 0 0 3 0x14200 syncer update
82411 82844 0 0 3 0x14200 cleaner cleaner
60682 109345 0 0 3 0x14200 reaper reaper
50387 82631 0 0 3 0x14200 pgdaemon pagedaemon
78026 49880 0 0 3 0x14200 usbtsk usbtask
63669 334826 0 0 3 0x14200 usbatsk usbatsk
97256 199261 0 0 3 0x40014200 acpi0 acpi0
69340 279599 0 0 7 0x40014200 idle7
98249 506463 0 0 7 0x40014200 idle6
32879 488251 0 0 7 0x40014200 idle5
45163 358344 0 0 3 0x40014200 idle4
4749 503957 0 0 3 0x40014200 idle3
976 326122 0 0 3 0x40014200 idle2
53756 1402 0 0 3 0x40014200 idle1
97555 316152 0 0 3 0x14200 bored sensors
99850 45498 0 0 7 0x14200 softnet
82641 197760 0 0 7 0x14200 softnet
42480 192248 0 0 7 0x14200 softnet
*72089 358374 0 0 7 0x14200 softnet
73966 241682 0 0 3 0x14200 bored systqmp
6083 106557 0 0 3 0x14200 bored systq
78432 183449 0 0 3 0x40014200 bored softclock
17809 215003 0 0 7 0x40014200 idle0
1 272410 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
HTH
Regards,
Tamás
Dec 25, 2022 08:54:36 Csillag Tamas <[email protected]>:
> hi,
>
> We recently witnessed a panic:
>
> uvm_fault(0xffffffff823e8800, 0x0, 0, 1) -> e
> kernel: page fault trap, code=0
> Stopped at pf_state_export+0x38: movq 0(%rax),%rcx
> TID PID UID PRFLAGS PFLAGS CPU COMMAND
> 45498 99850 0 0x14000 0x200 1 softnet
> 197760 82641 0 0x14000 0x200 3 softnet
> 192248 42480 0 0x14000 0x200 4 softnet
> *358374 72089 0 0x14000 0x200 2 softnet
> pf_state_export(fffffd805a50dbd4,fffffd9511799e70) at pf_state_export+0x38
> pfsync_sendout() at pfsync_sendout+0x5e4
> pfsync_update_state(fffffd950ef406b0) at pfsync_update_state+0x15b
> pf_test(2,1,ffff800001ecd800,ffff800022592408) at pf_test+0x117a
> ip_input_if(ffff800022592408,ffff800022592414,4,0,ffff800001ecd800) at
> ip_input
> _if+0xcd
> ipv4_input(ffff800001ecd800,fffffd8059cca200) at ipv4_input+0x39
> ether_input(ffff800001ecd800,fffffd8059cca200) at ether_input+0x3b1
> if_input_process(ffff8000014ee050,ffff8000225924f8) at if_input_process+0x6f
> ifiq_process(ffff8000014efa00) at ifiq_process+0x69
> taskq_thread(ffff800000037080) at taskq_thread+0x100
> end trace frame: 0x0, count: 5
> https://www.openbsd.org/ddb.html describes the minimum info required in bug
> reports. Insufficient info makes it difficult to find and fix bugs.
> ddb{2}>
>
> # uname -a
> OpenBSD fw-vh.iszt.hu 7.2 GENERIC.MP#2 amd64
>
> this host is already with this patch:
> 008: RELIABILITY FIX: November 26, 2022 All architectures
> Fix a assertion crash during pfsync state update.
> A source code patch exists which remedies this problem.
>
> Regardless we got this crash.
>
> If there is more info you need, please let me know.
>
> Merry Christmas.
>
> Regards,
> Tamás
> --