login: panic: unhandled af 173 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *258655 90158 0 0 0x4000000 0 syz-executor.1 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b8806) at panic+0x15c sys/kern/subr_prf.c:207 unhandled_af(ad) at unhandled_af+0x16 pf_addrcpy(ffff80001d436528,ffff80001d436820,ad) at pf_addrcpy+0x99 sys/net/pf.c:409 pfioctl(4900,c0504417,ffff80001d436820,1,ffff8000ffff2018) at pfioctl+0x43c0 sys/net/pf_ioctl.c:1827 VOP_IOCTL(fffffd8066d7e410,c0504417,ffff80001d436820,1,fffffd806c3beae0,ffff8000ffff2018) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd8057f1dd38,c0504417,ffff80001d436820,ffff8000ffff2018) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:533 sys_ioctl(ffff8000ffff2018,ffff80001d436938,ffff80001d436980) at sys_ioctl+0x5b9 syscall(ffff80001d436a00) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd86b65ce90, 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 173 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b8806) at panic+0x15c sys/kern/subr_prf.c:207 unhandled_af(ad) at unhandled_af+0x16 pf_addrcpy(ffff80001d436528,ffff80001d436820,ad) at pf_addrcpy+0x99 sys/net/pf.c:409 pfioctl(4900,c0504417,ffff80001d436820,1,ffff8000ffff2018) at pfioctl+0x43c0 sys/net/pf_ioctl.c:1827 VOP_IOCTL(fffffd8066d7e410,c0504417,ffff80001d436820,1,fffffd806c3beae0,ffff8000ffff2018) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd8057f1dd38,c0504417,ffff80001d436820,ffff8000ffff2018) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:533 sys_ioctl(ffff8000ffff2018,ffff80001d436938,ffff80001d436980) at sys_ioctl+0x5b9 syscall(ffff80001d436a00) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd86b65ce90, count: -10 ddb> show registers rdi 0xffffffff8147cb17 db_enter+0x17 rsi 0xc3c rbp 0xffff80001d4363e0 rbx 0xffff80001d436490 rdx 0xc3d rcx 0xffff80001d43f000 rax 0xffff80001d43f000 r8 0xffff80001d4363a0 r9 0x1 r10 0xffff8000009f2600 r11 0x9f72621fe69d3ac4 r12 0x3000000008 r13 0xffff80001d4363f0 r14 0x100 r15 0x1 rip 0xffffffff8147cb18 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d4363d0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=258655 stat=onproc flags process=0 proc=4000000 pri=75, usrpri=75, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff3160,0xffffffff8254aeb8 process=0xffff8000ffff6010 user=0xffff80001d431000, vmspace=0xfffffd806bc09aa0 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 90158 489340 82459 0 2 0 syz-executor.1 *90158 258655 82459 0 7 0x4000000 syz-executor.1 2700 178885 0 0 3 0x14200 bored sosplice 65988 93494 99406 0 2 0x2 syz-executor.0 82459 72649 99406 0 3 0x82 nanosleep syz-executor.1 99406 487211 9378 0 3 0x82 thrsleep syz-fuzzer 99406 364606 9378 0 3 0x4000082 nanosleep syz-fuzzer 99406 343392 9378 0 3 0x4000082 kqread syz-fuzzer 99406 20049 9378 0 3 0x4000082 thrsleep syz-fuzzer 99406 271009 9378 0 3 0x4000082 thrsleep syz-fuzzer 99406 489846 9378 0 3 0x4000082 thrsleep syz-fuzzer 99406 447594 9378 0 3 0x4000082 thrsleep syz-fuzzer 99406 293565 9378 0 3 0x4000082 thrsleep syz-fuzzer 9378 229891 15896 0 3 0x10008a pause ksh 15896 307801 5207 0 3 0x92 select sshd 88976 260451 1 0 3 0x100083 ttyin getty 5207 11009 1 0 3 0x80 select sshd 77910 201218 40705 73 3 0x100090 kqread syslogd 40705 60988 1 0 3 0x100082 netio syslogd 13494 506191 1 77 3 0x100090 poll dhclient 42896 209438 1 0 3 0x80 poll dhclient 33496 235854 0 0 2 0x14200 zerothread 71059 192811 0 0 3 0x14200 aiodoned aiodoned 11555 222414 0 0 3 0x14200 syncer update 14444 405590 0 0 3 0x14200 cleaner cleaner 69574 281492 0 0 3 0x14200 reaper reaper 75588 178464 0 0 3 0x14200 pgdaemon pagedaemon 42278 109413 0 0 3 0x14200 bored crynlk 89240 222149 0 0 3 0x14200 bored crypto 38579 135875 0 0 3 0x40014200 acpi0 acpi0 61771 299180 0 0 3 0x14200 bored softnet 53762 47274 0 0 3 0x14200 bored systqmp 8138 255697 0 0 3 0x14200 bored systq 58965 456256 0 0 3 0x40014200 bored softclock 53751 381861 0 0 3 0x40014200 idle0 2226 49031 0 0 3 0x14200 bored smr 1 346108 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 9450 6332K 6341K 78643K 10566 0 pcb 13 8K 8K 78643K 24 0 rtable 107 3K 3K 78643K 195 0 ifaddr 39 10K 10K 78643K 39 0 counters 19 16K 16K 78643K 19 0 ioctlops 0 0K 2K 78643K 16 0 iov 0 0K 16K 78643K 75 0 mount 1 1K 1K 78643K 1 0 vnodes 1216 76K 76K 78643K 1288 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 11 0 VM map 2 0K 0K 78643K 2 0 sem 4 0K 0K 78643K 4 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 4116 0 sigio 0 0K 0K 78643K 78 0 proc 47 38K 54K 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 ip_moptions 0 0K 0K 78643K 55 0 in_multi 33 2K 2K 78643K 95 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 187 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 89 20K 20K 78643K 8941 0 UVM aobj 19 2K 2K 78643K 19 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 5 0K 0K 78643K 9 0 temp 64 3008K 3072K 78643K 11453 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 7 0 0 1 0 1 1 0 8 0 rtpcb 80 50 0 48 1 0 1 1 0 8 0 rtentry 112 46 0 1 2 0 2 2 0 8 0 unpcb 120 912 0 903 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 13 0 13 1 1 0 1 0 8 0 tcpcb 544 268 0 264 1 0 1 1 0 8 0 inpcb 280 1581 0 1574 3 2 1 2 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 213 0 0 14 0 14 14 0 8 0 art_table 32 214 0 0 2 0 2 2 0 8 0 art_node 16 45 0 4 1 0 1 1 0 8 0 semapl 112 2 0 0 1 0 1 1 0 8 0 shmpl 112 17 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 5689 0 4289 46 0 46 46 0 8 0 ffsino 240 5689 0 4289 83 0 83 83 0 8 0 nchpl 144 10330 0 8720 60 0 60 60 0 8 0 uvmvnodes 72 5736 0 0 105 0 105 105 0 8 0 vnodes 208 5736 0 0 302 0 302 302 0 8 0 namei 1024 23691 0 23690 1 0 1 1 0 8 0 scxspl 192 29447 0 29447 1 0 1 1 0 8 1 plimitpl 152 14 0 7 1 0 1 1 0 8 0 sigapl 432 4287 0 4274 2 0 2 2 0 8 0 futexpl 56 11610 0 11610 1 0 1 1 0 8 1 knotepl 112 55 0 36 1 0 1 1 0 8 0 kqueuepl 104 67 0 65 1 0 1 1 0 8 0 pipepl 112 388 0 365 2 0 2 2 0 8 1 fdescpl 424 4288 0 4274 2 0 2 2 0 8 0 filepl 120 10007 0 9906 8 3 5 5 0 8 1 lockfpl 104 29 0 28 1 0 1 1 0 8 0 lockfspl 48 15 0 14 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 1811 0 1804 1 0 1 1 0 8 0 zombiepl 144 4274 0 4274 1 0 1 1 0 8 1 processpl 872 4303 0 4274 4 0 4 4 0 8 0 procpl 632 8255 0 8218 4 0 4 4 0 8 0 sockpl 384 2543 0 2525 9 5 4 4 0 8 2 mcl16k 16384 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 409 0 409 3 2 1 1 0 8 1 mcl4k 4096 494 0 494 3 3 0 1 0 8 0 mcl2k2 2112 19 0 19 2 2 0 1 0 8 0 mcl2k 2048 21365 0 21321 22 15 7 13 0 8 1 mtagpl 80 2 0 2 1 1 0 1 0 8 0 mbufpl 256 55838 0 55677 13 1 12 13 0 8 0 bufpl 280 10284 0 4100 442 0 442 442 0 8 0 anonpl 16 234621 0 230782 18 1 17 17 0 107 0 amapchunkpl 152 12928 0 12842 6 2 4 6 0 158 0 amappl16 192 15549 0 15374 9 0 9 9 0 8 0 amappl15 184 50 0 46 1 0 1 1 0 8 0 amappl14 176 2053 0 2051 1 0 1 1 0 8 0 amappl13 168 2053 0 2051 1 0 1 1 0 8 0 amappl12 160 7 0 5 1 0 1 1 0 8 0 amappl11 152 52 0 41 1 0 1 1 0 8 0 amappl10 144 13 0 11 1 0 1 1 0 8 0 amappl9 136 564 0 561 1 0 1 1 0 8 0 amappl8 128 96 0 82 1 0 1 1 0 8 0 amappl7 120 91 0 80 1 0 1 1 0 8 0 amappl6 112 53 0 49 1 0 1 1 0 8 0 amappl5 104 130 0 121 1 0 1 1 0 8 0 amappl4 96 2472 0 2445 1 0 1 1 0 8 0 amappl3 88 4071 0 4060 1 0 1 1 0 8 0 amappl2 80 34368 0 34297 3 1 2 3 0 8 0 amappl1 72 76189 0 75754 26 16 10 20 0 8 0 amappl 80 8479 0 8445 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 18 0 0 1 0 1 1 0 8 0 uaddrrnd 24 4288 0 4274 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4288 0 4274 1 0 1 1 0 8 0 vmmpekpl 168 17692 0 17671 2 0 2 2 0 8 0 vmmpepl 168 475540 0 474277 86 26 60 79 0 357 5 vmsppl 272 4287 0 4274 2 1 1 2 0 8 0 pdppl 4096 8582 0 8548 6 1 5 6 0 8 0 pvpl 32 678054 0 671232 121 63 58 116 0 265 0 pmappl 200 4287 0 4274 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 155 0 25 4 0 4 4 0 8 0