panic: unhandled af 210 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *311097 88912 0 0 0x4000000 0 syz-executor.1 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b7e70) at panic+0x15c sys/kern/subr_prf.c:207 unhandled_af(d2) at unhandled_af+0x16 pf_addrcpy(ffff80001d43a5a8,ffff80001d43a8a0,d2) at pf_addrcpy+0x99 sys/net/pf.c:409 pfioctl(4900,c0504417,ffff80001d43a8a0,1,ffff8000ffff2c70) at pfioctl+0x43c0 sys/net/pf_ioctl.c:1827 VOP_IOCTL(fffffd805d6e4750,c0504417,ffff80001d43a8a0,1,fffffd806c3be780,ffff8000ffff2c70) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd8057ff99e8,c0504417,ffff80001d43a8a0,ffff8000ffff2c70) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:533 sys_ioctl(ffff8000ffff2c70,ffff80001d43a9b8,ffff80001d43aa00) at sys_ioctl+0x5b9 syscall(ffff80001d43aa80) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5dae560ffa0, 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 210 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b7e70) at panic+0x15c sys/kern/subr_prf.c:207 unhandled_af(d2) at unhandled_af+0x16 pf_addrcpy(ffff80001d43a5a8,ffff80001d43a8a0,d2) at pf_addrcpy+0x99 sys/net/pf.c:409 pfioctl(4900,c0504417,ffff80001d43a8a0,1,ffff8000ffff2c70) at pfioctl+0x43c0 sys/net/pf_ioctl.c:1827 VOP_IOCTL(fffffd805d6e4750,c0504417,ffff80001d43a8a0,1,fffffd806c3be780,ffff8000ffff2c70) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd8057ff99e8,c0504417,ffff80001d43a8a0,ffff8000ffff2c70) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:533 sys_ioctl(ffff8000ffff2c70,ffff80001d43a9b8,ffff80001d43aa00) at sys_ioctl+0x5b9 syscall(ffff80001d43aa80) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5dae560ffa0, count: -10 ddb> show registers rdi 0xffffffff81ae0657 db_enter+0x17 rsi 0xc14 rbp 0xffff80001d43a460 rbx 0xffff80001d43a510 rdx 0xc15 rcx 0xffff80001d443000 rax 0xffff80001d443000 r8 0xffff80001d43a420 r9 0x1 r10 0xffff8000009f2600 r11 0x9fe3fe1d5435b86b r12 0x3000000008 r13 0xffff80001d43a470 r14 0x100 r15 0x1 rip 0xffffffff81ae0658 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d43a450 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=311097 stat=onproc flags process=0 proc=4000000 pri=76, usrpri=76, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff2290,0xffffffff8254b668 process=0xffff8000ffff6a48 user=0xffff80001d435000, vmspace=0xfffffd806bc09bb0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 88912 50193 17410 0 2 0 syz-executor.1 *88912 311097 17410 0 7 0x4000000 syz-executor.1 18065 494945 94569 0 2 0x2 syz-executor.0 17410 408262 94569 0 3 0x82 nanosleep syz-executor.1 94569 99030 53969 0 3 0x82 thrsleep syz-fuzzer 94569 434613 53969 0 3 0x4000082 thrsleep syz-fuzzer 94569 161680 53969 0 3 0x4000082 thrsleep syz-fuzzer 94569 505007 53969 0 3 0x4000082 thrsleep syz-fuzzer 94569 394976 53969 0 3 0x4000082 thrsleep syz-fuzzer 94569 134450 53969 0 3 0x4000082 kqread syz-fuzzer 94569 415111 53969 0 3 0x4000082 thrsleep syz-fuzzer 94569 176685 53969 0 3 0x4000082 thrsleep syz-fuzzer 53969 414378 2796 0 3 0x10008a pause ksh 2796 496738 69188 0 3 0x92 select sshd 47419 434344 1 0 3 0x100083 ttyin getty 69188 9935 1 0 3 0x80 select sshd 26997 73433 27208 73 3 0x100090 kqread syslogd 27208 257411 1 0 3 0x100082 netio syslogd 4148 15661 1 77 3 0x100090 poll dhclient 47204 397238 1 0 3 0x80 poll dhclient 30557 75353 0 0 2 0x14200 zerothread 34147 174495 0 0 3 0x14200 aiodoned aiodoned 11373 307293 0 0 3 0x14200 syncer update 29875 170104 0 0 3 0x14200 cleaner cleaner 97684 105894 0 0 3 0x14200 reaper reaper 6179 167418 0 0 3 0x14200 pgdaemon pagedaemon 80454 186796 0 0 3 0x14200 bored crynlk 11914 371434 0 0 3 0x14200 bored crypto 73465 281337 0 0 3 0x40014200 acpi0 acpi0 35860 290314 0 0 3 0x14200 bored softnet 79400 474357 0 0 3 0x14200 bored systqmp 77238 395847 0 0 3 0x14200 bored systq 50930 191298 0 0 3 0x40014200 bored softclock 64206 350681 0 0 3 0x40014200 idle0 77366 505642 0 0 3 0x14200 bored smr 1 27266 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 6324K 6332K 78643K 10566 0 pcb 13 8K 8K 78643K 13 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 47 0 iov 0 0K 0K 78643K 2 0 mount 1 1K 1K 78643K 1 0 vnodes 1216 76K 76K 78643K 1231 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 3 0 VM map 2 0K 0K 78643K 2 0 sem 8 0K 0K 78643K 8 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 1353 0 proc 47 38K 63K 78643K 360 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 98 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 43 201K 201K 78643K 43 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 102 21K 21K 78643K 3618 0 UVM aobj 130 4K 4K 78643K 130 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 4 0 NDP 5 0K 0K 78643K 9 0 temp 92 3015K 3086K 78643K 6666 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 19 0 17 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 390 0 382 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpcb 544 110 0 106 1 0 1 1 0 8 0 inpcb 280 134 0 127 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 sysvmsgpl 40 5 0 0 1 0 1 1 0 8 0 semapl 112 6 0 0 1 0 1 1 0 8 0 shmpl 112 128 0 0 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2744 0 1343 46 0 46 46 0 8 0 ffsino 240 2744 0 1343 83 0 83 83 0 8 0 nchpl 144 5034 0 3395 61 0 61 61 0 8 0 uvmvnodes 72 2797 0 0 51 0 51 51 0 8 0 vnodes 208 2797 0 0 148 0 148 148 0 8 0 namei 1024 14647 0 14647 1 0 1 1 0 8 1 scxspl 192 12431 0 12431 1 0 1 1 0 8 1 plimitpl 152 14 0 7 1 0 1 1 0 8 0 sigapl 432 1524 0 1511 2 0 2 2 0 8 0 futexpl 56 16141 0 16141 1 0 1 1 0 8 1 knotepl 112 306 0 287 1 0 1 1 0 8 0 kqueuepl 104 197 0 195 1 0 1 1 0 8 0 pipepl 112 130 0 111 1 0 1 1 0 8 0 fdescpl 424 1525 0 1511 2 0 2 2 0 8 0 filepl 120 7559 0 7461 4 0 4 4 0 8 1 lockfpl 104 431 0 430 1 0 1 1 0 8 0 lockfspl 48 211 0 210 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 21 0 11 1 0 1 1 0 8 0 ucredpl 96 245 0 238 1 0 1 1 0 8 0 zombiepl 144 1511 0 1511 1 0 1 1 0 8 1 processpl 872 1539 0 1511 4 0 4 4 0 8 0 procpl 632 2938 0 2902 4 0 4 4 0 8 0 sockpl 384 543 0 526 4 1 3 3 0 8 1 mcl64k 65536 187 0 187 1 1 0 1 0 8 0 mcl12k 12288 63 0 63 2 2 0 1 0 8 0 mcl9k 9216 16 0 16 1 1 0 1 0 8 0 mcl8k 8192 1 0 1 1 1 0 1 0 8 0 mcl4k 4096 361 0 361 2 2 0 1 0 8 0 mcl2k2 2112 13 0 13 1 1 0 1 0 8 0 mcl2k 2048 18212 0 18169 13 7 6 11 0 8 0 mtagpl 80 2 0 2 1 1 0 1 0 8 0 mbufpl 256 40030 0 39881 13 2 11 11 0 8 0 bufpl 280 7486 0 1326 440 0 440 440 0 8 0 anonpl 16 109913 0 105947 29 2 27 27 0 107 0 amapchunkpl 152 5050 0 4962 6 2 4 6 0 158 0 amappl16 192 5730 0 5409 17 0 17 17 0 8 0 amappl15 184 50 0 46 1 0 1 1 0 8 0 amappl14 176 25 0 23 1 0 1 1 0 8 0 amappl13 168 1 0 0 1 0 1 1 0 8 0 amappl12 160 625 0 624 2 1 1 1 0 8 0 amappl11 152 758 0 744 1 0 1 1 0 8 0 amappl10 144 13 0 11 1 0 1 1 0 8 0 amappl9 136 561 0 558 1 0 1 1 0 8 0 amappl8 128 118 0 92 1 0 1 1 0 8 0 amappl7 120 90 0 80 1 0 1 1 0 8 0 amappl6 112 751 0 745 1 0 1 1 0 8 0 amappl5 104 938 0 927 1 0 1 1 0 8 0 amappl4 96 1112 0 1087 1 0 1 1 0 8 0 amappl3 88 811 0 803 1 0 1 1 0 8 0 amappl2 80 11386 0 11317 3 1 2 3 0 8 0 amappl1 72 33143 0 32721 26 16 10 20 0 8 0 amappl 80 3149 0 3115 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 129 0 0 3 0 3 3 0 8 0 uaddrrnd 24 1525 0 1511 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1525 0 1511 1 0 1 1 0 8 0 vmmpekpl 168 9318 0 9298 3 1 2 2 0 8 0 vmmpepl 168 174481 0 173078 89 22 67 78 0 357 5 vmsppl 272 1524 0 1511 2 1 1 2 0 8 0 pdppl 4096 3056 0 3022 6 1 5 6 0 8 0 pvpl 32 326885 0 319899 115 38 77 115 0 265 0 pmappl 200 1524 0 1511 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 143 0 17 4 0 4 4 0 8 0