panic: unhandled af 105 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *369770 82203 0 0 0x4000000 0 syz-executor.1 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b61dd) at panic+0x15c sys/kern/subr_prf.c:207 unhandled_af(69) at unhandled_af+0x16 pf_addrcpy(ffff80001d3f5cd8,ffff80001d3f5fd0,69) at pf_addrcpy+0x99 sys/net/pf.c:409 pfioctl(4900,c0504417,ffff80001d3f5fd0,1,ffff8000ffff2ee8) at pfioctl+0x43c0 sys/net/pf_ioctl.c:1827 VOP_IOCTL(fffffd8064fbd410,c0504417,ffff80001d3f5fd0,1,fffffd806c3bea20,ffff8000ffff2ee8) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd8057ac85b0,c0504417,ffff80001d3f5fd0,ffff8000ffff2ee8) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:533 sys_ioctl(ffff8000ffff2ee8,ffff80001d3f60e8,ffff80001d3f6130) at sys_ioctl+0x5b9 syscall(ffff80001d3f61b0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xffcbbcf4bc0, 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> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic unhandled af 105 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b61dd) at panic+0x15c sys/kern/subr_prf.c:207 unhandled_af(69) at unhandled_af+0x16 pf_addrcpy(ffff80001d3f5cd8,ffff80001d3f5fd0,69) at pf_addrcpy+0x99 sys/net/pf.c:409 pfioctl(4900,c0504417,ffff80001d3f5fd0,1,ffff8000ffff2ee8) at pfioctl+0x43c0 sys/net/pf_ioctl.c:1827 VOP_IOCTL(fffffd8064fbd410,c0504417,ffff80001d3f5fd0,1,fffffd806c3bea20,ffff8000ffff2ee8) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd8057ac85b0,c0504417,ffff80001d3f5fd0,ffff8000ffff2ee8) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:533 sys_ioctl(ffff8000ffff2ee8,ffff80001d3f60e8,ffff80001d3f6130) at sys_ioctl+0x5b9 syscall(ffff80001d3f61b0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xffcbbcf4bc0, count: -10 ddb> show registers rdi 0xffffffff817d3d07 db_enter+0x17 rsi 0xbba rbp 0xffff80001d3f5b90 rbx 0xffff80001d3f5c40 rdx 0xbbb rcx 0xffff80001d44b000 rax 0xffff80001d44b000 r8 0xffff80001d3f5b50 r9 0x1 r10 0xffff8000009f2e80 r11 0x290ad6ce766cbbb1 r12 0x3000000008 r13 0xffff80001d3f5ba0 r14 0x100 r15 0x1 rip 0xffffffff817d3d08 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d3f5b80 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=369770 stat=onproc flags process=0 proc=4000000 pri=81, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff33d8,0xffffffff82556268 process=0xffff8000ffff7118 user=0xffff80001d3f1000, vmspace=0xfffffd806bc09dd0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 82203 309177 71023 0 2 0 syz-executor.1 *82203 369770 71023 0 7 0x4000000 syz-executor.1 95725 69364 18539 0 2 0x2 syz-executor.0 63996 242023 0 0 3 0x14200 acct acct 20459 369094 1 0 3 0x100083 ttyin getty 13909 174705 0 0 3 0x14200 bored sosplice 71023 361054 18539 0 3 0x82 nanosleep syz-executor.1 18539 142331 92603 0 3 0x82 thrsleep syz-fuzzer 18539 259757 92603 0 3 0x4000082 nanosleep syz-fuzzer 18539 430632 92603 0 3 0x4000082 thrsleep syz-fuzzer 18539 194136 92603 0 3 0x4000082 thrsleep syz-fuzzer 18539 29622 92603 0 3 0x4000082 thrsleep syz-fuzzer 18539 37297 92603 0 3 0x4000082 kqread syz-fuzzer 18539 164864 92603 0 3 0x4000082 thrsleep syz-fuzzer 18539 356165 92603 0 3 0x4000082 thrsleep syz-fuzzer 92603 42383 15938 0 3 0x10008a pause ksh 15938 395751 11446 0 3 0x92 select sshd 11446 173034 1 0 3 0x80 select sshd 8838 5321 15579 73 3 0x100090 kqread syslogd 15579 475982 1 0 3 0x100082 netio syslogd 78794 373608 1 77 3 0x100090 poll dhclient 20634 464523 1 0 3 0x80 poll dhclient 25535 164259 0 0 2 0x14200 zerothread 1206 47523 0 0 3 0x14200 aiodoned aiodoned 95638 224987 0 0 3 0x14200 syncer update 71438 455334 0 0 3 0x14200 cleaner cleaner 48514 216839 0 0 3 0x14200 reaper reaper 23061 499691 0 0 3 0x14200 pgdaemon pagedaemon 29621 290574 0 0 3 0x14200 bored crynlk 16621 296127 0 0 3 0x14200 bored crypto 55071 470200 0 0 3 0x40014200 acpi0 acpi0 61746 115778 0 0 3 0x14200 bored softnet 51362 352134 0 0 3 0x14200 bored systqmp 37831 519543 0 0 3 0x14200 bored systq 20768 255562 0 0 3 0x40014200 bored softclock 85020 140982 0 0 3 0x40014200 idle0 1868 99336 0 0 3 0x14200 bored smr 1 28970 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9484 6595K 9299K 78643K 163641 0 pcb 13 8K 8K 78643K 6400 0 rtable 113 4K 5K 78643K 549 0 ifaddr 40 10K 11K 78643K 381 0 counters 19 16K 16K 78643K 19 0 ioctlops 0 0K 4K 78643K 4432 0 iov 0 0K 32K 78643K 1714 0 mount 1 1K 1K 78643K 1 0 vnodes 1251 79K 79K 78643K 49926 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 826 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 2149 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 74520 0 sigio 0 0K 0K 78643K 547 0 proc 65 39K 63K 78643K 1389 0 subproc 32 2K 2K 78643K 102 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 1955 0 in_multi 33 2K 2K 78643K 1367 0 ether_multi 1 0K 0K 78643K 348 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 79 360K 360K 78643K 79 0 exec 0 0K 1K 78643K 1497 0 pfkey data 0 0K 0K 78643K 6 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 283 30K 39K 78643K 154029 0 UVM aobj 130 4K 4K 78643K 148 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 34 0 NDP 5 0K 0K 78643K 21 0 temp 105 3023K 3097K 78643K 212206 0 kqueue 0 0K 0K 78643K 200 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 14 0 8 1 0 1 1 0 8 0 rtpcb 80 753 0 751 1 0 1 1 0 8 0 rtentry 112 85 0 41 2 0 2 2 0 8 0 unpcb 120 53395 0 53379 42 41 1 3 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 sackhl 24 31 0 31 21 20 1 1 0 8 1 tcpcb 544 6801 0 6797 2 1 1 2 0 8 0 inpcb 280 21579 0 21572 2 1 1 2 0 8 0 nd6 48 12 0 8 1 0 1 1 0 8 0 pkpcb 40 339 0 339 8 8 0 1 0 8 0 pfstscr 40 4 0 4 1 1 0 1 0 8 0 pfosfp 40 6 0 5 1 0 1 1 0 8 0 pfosfpen 112 6 0 5 1 0 1 1 0 8 0 pfrktable 1344 69 0 67 1 0 1 1 0 8 0 pftag 88 7 0 4 3 2 1 1 0 8 0 pfqueue 264 14 0 0 1 0 1 1 0 8 0 pfstitem 24 2 0 2 1 1 0 1 0 8 0 pfstkey 112 4 0 4 1 1 0 1 0 8 0 pfstate 328 2 0 2 1 1 0 1 0 8 0 pfrule 1360 126 0 75 8 3 5 5 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 384 0 172 14 0 14 14 0 8 0 art_table 32 385 0 172 2 0 2 2 0 8 0 art_node 16 84 0 44 1 0 1 1 0 8 0 semapl 112 2147 0 2137 1 0 1 1 0 8 0 shmpl 112 146 0 18 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 90428 0 88960 48 0 48 48 0 8 0 ffsino 240 90428 0 88960 87 0 87 87 0 8 0 nchpl 144 195629 0 193709 74 2 72 72 0 8 0 uvmvnodes 72 5926 0 0 108 0 108 108 0 8 0 vnodes 208 5926 0 0 312 0 312 312 0 8 0 namei 1024 560949 0 560949 1 0 1 1 0 8 1 scxspl 192 572998 0 572998 1 0 1 1 0 8 1 plimitpl 152 2970 0 2963 1 0 1 1 0 8 0 sigapl 432 74685 0 74672 2 0 2 2 0 8 0 futexpl 56 651852 0 651852 1 0 1 1 0 8 1 knotepl 112 4531 0 4512 2 1 1 2 0 8 0 kqueuepl 104 8696 0 8694 1 0 1 1 0 8 0 pipepl 112 10290 0 10271 1 0 1 1 0 8 0 fdescpl 424 74686 0 74672 2 0 2 2 0 8 0 filepl 120 368768 0 368664 80 75 5 6 0 8 1 lockfpl 104 16493 0 16492 1 0 1 1 0 8 0 lockfspl 48 5764 0 5763 1 0 1 1 0 8 0 sessionpl 112 27 0 17 1 0 1 1 0 8 0 pgrppl 48 119 0 109 1 0 1 1 0 8 0 ucredpl 96 78188 0 78181 1 0 1 1 0 8 0 zombiepl 144 74673 0 74673 1 0 1 1 0 8 1 processpl 872 74703 0 74673 4 0 4 4 0 8 0 procpl 632 152192 0 152154 9 5 4 5 0 8 0 sosppl 128 687 0 687 3 3 0 1 0 8 0 sockpl 384 76123 0 76098 222 218 4 9 0 8 1 mcl64k 65536 900 0 900 42 42 0 1 0 8 0 mcl16k 16384 1585 0 1585 47 47 0 1 0 8 0 mcl12k 12288 1260 0 1260 84 83 1 1 0 8 1 mcl9k 9216 442 0 442 93 93 0 1 0 8 0 mcl8k 8192 609 0 609 92 91 1 1 0 8 1 mcl4k 4096 2328 0 2328 65 64 1 1 0 8 1 mcl2k2 2112 138 0 138 68 68 0 1 0 8 0 mcl2k 2048 125478 0 125419 35 23 12 25 0 8 0 mtagpl 80 199 0 179 5 3 2 4 0 8 0 mbufpl 256 569066 0 568950 39 23 16 29 0 8 0 bufpl 280 131522 0 125338 442 0 442 442 0 8 0 anonpl 16 5324209 0 5316462 74 30 44 47 0 107 0 amapchunkpl 152 239763 0 239656 76 71 5 19 0 158 0 amappl16 192 291082 0 290521 243 213 30 41 0 8 1 amappl15 184 72751 0 72743 1 0 1 1 0 8 0 amappl14 176 362 0 358 1 0 1 1 0 8 0 amappl13 168 1 0 1 1 1 0 1 0 8 0 amappl12 160 11 0 10 1 0 1 1 0 8 0 amappl11 152 26178 0 26166 1 0 1 1 0 8 0 amappl10 144 11161 0 11160 1 0 1 1 0 8 0 amappl9 136 626 0 623 1 0 1 1 0 8 0 amappl8 128 2253 0 2027 11 3 8 8 0 8 0 amappl7 120 11271 0 11259 1 0 1 1 0 8 0 amappl6 112 25439 0 25428 1 0 1 1 0 8 0 amappl5 104 1049 0 1039 1 0 1 1 0 8 0 amappl4 96 74710 0 74673 1 0 1 1 0 8 0 amappl3 88 2333 0 2324 1 0 1 1 0 8 0 amappl2 80 618463 0 618384 3 1 2 3 0 8 0 amappl1 72 1146071 0 1145641 26 16 10 20 0 8 0 amappl 80 152530 0 152493 1 0 1 1 0 84 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 64 147 0 18 3 0 3 3 0 8 0 uaddrrnd 24 74686 0 74672 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 74686 0 74672 1 0 1 1 0 8 0 vmmpekpl 168 304165 0 304145 2 0 2 2 0 8 0 vmmpepl 168 8294606 0 8292725 352 264 88 116 0 357 2 vmsppl 272 74685 0 74672 3 2 1 2 0 8 0 pdppl 4096 149378 0 149344 6 1 5 6 0 8 0 pvpl 32 14077343 0 14066516 284 171 113 123 0 265 0 pmappl 200 74685 0 74672 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 447 0 299 5 0 5 5 0 8 0