login: panic: unhandled af 255 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 50200 10876 0 0 0x4000000 0 syz-executor.0 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b8c65) at panic+0x15c sys/kern/subr_prf.c:207 unhandled_af(ff) at unhandled_af+0x16 pf_addrcpy(ffff80001f647a98,ffff80001f647d90,ff) at pf_addrcpy+0x99 sys/net/pf.c:409 pfioctl(4900,c0504417,ffff80001f647d90,1,ffff8000ffff2c70) at pfioctl+0x43c0 sys/net/pf_ioctl.c:1827 VOP_IOCTL(fffffd8066cc5410,c0504417,ffff80001f647d90,1,fffffd806c3be900,ffff8000ffff2c70) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd8057798cb8,c0504417,ffff80001f647d90,ffff8000ffff2c70) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:533 sys_ioctl(ffff8000ffff2c70,ffff80001f647ea8,ffff80001f647ef0) at sys_ioctl+0x5b9 syscall(ffff80001f647f70) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x789eabf03e0, 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 255 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b8c65) at panic+0x15c sys/kern/subr_prf.c:207 unhandled_af(ff) at unhandled_af+0x16 pf_addrcpy(ffff80001f647a98,ffff80001f647d90,ff) at pf_addrcpy+0x99 sys/net/pf.c:409 pfioctl(4900,c0504417,ffff80001f647d90,1,ffff8000ffff2c70) at pfioctl+0x43c0 sys/net/pf_ioctl.c:1827 VOP_IOCTL(fffffd8066cc5410,c0504417,ffff80001f647d90,1,fffffd806c3be900,ffff8000ffff2c70) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd8057798cb8,c0504417,ffff80001f647d90,ffff8000ffff2c70) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:533 sys_ioctl(ffff8000ffff2c70,ffff80001f647ea8,ffff80001f647ef0) at sys_ioctl+0x5b9 syscall(ffff80001f647f70) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x789eabf03e0, count: -10 ddb> show registers rdi 0xffffffff817e67d7 db_enter+0x17 rsi 0xc82 rbp 0xffff80001f647950 rbx 0xffff80001f647a00 rdx 0xc83 rcx 0xffff80001f649000 rax 0xffff80001f649000 r8 0xffff80001f647910 r9 0x1 r10 0xffff8000009f2140 r11 0x879f7d327edef62d r12 0x3000000008 r13 0xffff80001f647960 r14 0x100 r15 0x1 rip 0xffffffff817e67d8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001f647940 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=50200 stat=onproc flags process=0 proc=4000000 pri=76, usrpri=76, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff3b40,0xffffffff82560d28 process=0xffff8000ffff6a48 user=0xffff80001f643000, vmspace=0xfffffd806bc09770 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 10876 389064 15175 0 2 0 syz-executor.0 *10876 50200 15175 0 7 0x4000000 syz-executor.0 69170 133024 0 0 3 0x14200 bored sosplice 15175 370807 2694 0 3 0x82 nanosleep syz-executor.0 22881 145023 2694 0 3 0x82 nanosleep syz-executor.1 2694 129575 60876 0 3 0x82 thrsleep syz-fuzzer 2694 314096 60876 0 3 0x4000082 thrsleep syz-fuzzer 2694 136885 60876 0 3 0x4000082 thrsleep syz-fuzzer 2694 439408 60876 0 3 0x4000082 thrsleep syz-fuzzer 2694 446887 60876 0 3 0x4000082 kqread syz-fuzzer 2694 227798 60876 0 3 0x4000082 thrsleep syz-fuzzer 2694 138646 60876 0 3 0x4000082 thrsleep syz-fuzzer 2694 521559 60876 0 3 0x4000082 thrsleep syz-fuzzer 2694 85047 60876 0 3 0x4000082 thrsleep syz-fuzzer 60876 370879 67470 0 3 0x10008a pause ksh 67470 327840 65272 0 3 0x92 select sshd 52260 503390 1 0 3 0x100083 ttyin getty 65272 419599 1 0 3 0x80 select sshd 95913 90792 88289 73 3 0x100090 kqread syslogd 88289 324804 1 0 3 0x100082 netio syslogd 81759 464012 1 77 3 0x100090 poll dhclient 39056 236407 1 0 3 0x80 poll dhclient 65298 47881 0 0 2 0x14200 zerothread 97760 265492 0 0 3 0x14200 aiodoned aiodoned 53741 102387 0 0 3 0x14200 syncer update 33857 484094 0 0 3 0x14200 cleaner cleaner 45774 324005 0 0 3 0x14200 reaper reaper 74215 97915 0 0 3 0x14200 pgdaemon pagedaemon 87642 3442 0 0 3 0x14200 bored crynlk 62574 323421 0 0 3 0x14200 bored crypto 9531 41469 0 0 3 0x40014200 acpi0 acpi0 30673 277764 0 0 3 0x14200 bored softnet 89034 428423 0 0 3 0x14200 bored systqmp 21895 148538 0 0 3 0x14200 bored systq 96351 159647 0 0 3 0x40014200 bored softclock 79352 454491 0 0 3 0x40014200 idle0 88362 373769 0 0 3 0x14200 bored smr 1 182665 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 9449 6324K 6324K 78643K 10548 0 pcb 13 8K 8K 78643K 19 0 rtable 105 3K 3K 78643K 193 0 ifaddr 39 10K 10K 78643K 39 0 counters 19 16K 16K 78643K 19 0 ioctlops 0 0K 2K 78643K 15 0 mount 1 1K 1K 78643K 1 0 vnodes 1214 76K 76K 78643K 1219 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 531 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 2143 0 proc 47 38K 63K 78643K 358 0 subproc 32 2K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 33 2K 2K 78643K 33 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 31 148K 148K 78643K 31 0 exec 0 0K 1K 78643K 181 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 93 20K 21K 78643K 5120 0 UVM aobj 2 2K 2K 78643K 2 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 5 0K 0K 78643K 9 0 temp 67 3010K 3072K 78643K 7415 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 6 0 0 1 0 1 1 0 8 0 rtpcb 80 27 0 25 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 27 0 19 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 sackhl 24 1 0 1 1 0 1 1 0 8 1 tcpcb 544 89 0 85 1 0 1 1 0 8 0 inpcb 280 1910 0 1903 1 0 1 1 0 8 0 nd6 48 4 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 212 0 0 14 0 14 14 0 8 0 art_table 32 213 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 semapl 112 529 0 519 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 3529 0 2129 46 0 46 46 0 8 0 ffsino 240 3529 0 2129 83 0 83 83 0 8 0 nchpl 144 6948 0 5338 60 0 60 60 0 8 0 uvmvnodes 72 3572 0 0 65 0 65 65 0 8 0 vnodes 208 3572 0 0 188 0 188 188 0 8 0 namei 1024 14803 0 14803 1 0 1 1 0 8 1 scxspl 192 17178 0 17178 1 0 1 1 0 8 1 plimitpl 152 23 0 16 1 0 1 1 0 8 0 sigapl 432 2314 0 2301 2 0 2 2 0 8 0 futexpl 56 21295 0 21295 1 0 1 1 0 8 1 knotepl 112 54 0 34 1 0 1 1 0 8 0 kqueuepl 104 7 0 4 1 0 1 1 0 8 0 pipepl 112 168 0 149 1 0 1 1 0 8 0 fdescpl 424 2315 0 2301 2 0 2 2 0 8 0 filepl 120 5268 0 5171 5 1 4 4 0 8 1 lockfpl 104 20 0 19 1 0 1 1 0 8 0 lockfspl 48 9 0 8 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 17 0 7 1 0 1 1 0 8 0 ucredpl 96 139 0 132 1 0 1 1 0 8 0 zombiepl 144 2301 0 2300 1 0 1 1 0 8 0 processpl 872 2330 0 2300 4 0 4 4 0 8 0 procpl 632 4450 0 4411 4 0 4 4 0 8 0 sockpl 384 1964 0 1947 4 1 3 3 0 8 1 mcl4k 4096 13 0 12 2 1 1 1 0 8 0 mcl2k 2048 28892 0 28853 13 7 6 10 0 8 0 mtagpl 80 2 0 2 1 1 0 1 0 8 0 mbufpl 256 55569 0 55425 12 1 11 11 0 8 0 bufpl 280 8270 0 2086 442 0 442 442 0 8 0 anonpl 16 139593 0 133364 28 1 27 27 0 107 1 amapchunkpl 152 7126 0 7027 7 2 5 7 0 158 0 amappl16 192 9826 0 9530 16 0 16 16 0 8 1 amappl15 184 51 0 46 1 0 1 1 0 8 0 amappl14 176 25 0 23 1 0 1 1 0 8 0 amappl12 160 1061 0 1060 2 1 1 1 0 8 0 amappl11 152 47 0 36 1 0 1 1 0 8 0 amappl10 144 13 0 11 1 0 1 1 0 8 0 amappl9 136 560 0 556 1 0 1 1 0 8 0 amappl8 128 91 0 79 1 0 1 1 0 8 0 amappl7 120 89 0 79 1 0 1 1 0 8 0 amappl6 112 60 0 54 1 0 1 1 0 8 0 amappl5 104 1195 0 1184 1 0 1 1 0 8 0 amappl4 96 1469 0 1443 1 0 1 1 0 8 0 amappl3 88 1167 0 1160 1 0 1 1 0 8 0 amappl2 80 17734 0 17663 3 1 2 3 0 8 0 amappl1 72 47177 0 46755 25 15 10 20 0 8 0 amappl 80 4662 0 4625 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 1 0 0 1 0 1 1 0 8 0 uaddrrnd 24 2315 0 2301 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2315 0 2301 1 0 1 1 0 8 0 vmmpekpl 168 12319 0 12299 2 0 2 2 0 8 0 vmmpepl 168 259782 0 258409 85 19 66 78 0 357 6 vmsppl 272 2314 0 2301 2 1 1 2 0 8 0 pdppl 4096 4636 0 4602 6 1 5 6 0 8 0 pvpl 32 422196 0 412994 116 34 82 115 0 265 7 pmappl 200 2314 0 2301 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 140 0 13 4 0 4 4 0 8 0