panic: unhandled af 0 Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *161895 50933 0 0x14000 0x200 0 softnet0 db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834c24b9) at panic+0x1cf sys/kern/subr_prf.c:198 unhandled_af(0) at unhandled_af+0x1a sys/net/if.c:-1 if_output_tso(ffff8000002a3058,ffff80002a70ac20,ffff800000c57e10,fffff5007f04c660,5dc) at if_output_tso+0x22b ip_output(fffff5006f7b4900,0,fffff500792b6070,800,0,fffff500792b6108,645d1739d8220514) at ip_output+0x107e sys/netinet/ip_output.c:437 tcp_output(ffff8000015bb8a0) at tcp_output+0x3513 sys/netinet/tcp_output.c:1070 tcp_input_solocked(ffff80002a70b060,ffff80002a70b06c,0,2,ffff80002a70b058) at tcp_input_solocked+0x5913 sys/netinet/tcp_input.c:2050 tcp_input_mlist(ffffffff83afb810,2) at tcp_input_mlist+0x93 sys/netinet/tcp_input.c:-1 if_input_process(ffff8000002a3058,ffff80002a70b148,0) at if_input_process+0x536 sys/net/if.c:1086 ifiq_process(ffff8000002a3490) at ifiq_process+0xcd sys/net/ifq.c:864 taskq_thread(ffff80000002c000) at taskq_thread+0xe4 sys/kern/kern_task.c:446 end trace frame: 0x0, count: 4 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 *cpu0: unhandled af 0 ddb> show kasan No such command ddb> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834c24b9) at panic+0x1cf sys/kern/subr_prf.c:198 unhandled_af(0) at unhandled_af+0x1a sys/net/if.c:-1 if_output_tso(ffff8000002a3058,ffff80002a70ac20,ffff800000c57e10,fffff5007f04c660,5dc) at if_output_tso+0x22b ip_output(fffff5006f7b4900,0,fffff500792b6070,800,0,fffff500792b6108,645d1739d8220514) at ip_output+0x107e sys/netinet/ip_output.c:437 tcp_output(ffff8000015bb8a0) at tcp_output+0x3513 sys/netinet/tcp_output.c:1070 tcp_input_solocked(ffff80002a70b060,ffff80002a70b06c,0,2,ffff80002a70b058) at tcp_input_solocked+0x5913 sys/netinet/tcp_input.c:2050 tcp_input_mlist(ffffffff83afb810,2) at tcp_input_mlist+0x93 sys/netinet/tcp_input.c:-1 if_input_process(ffff8000002a3058,ffff80002a70b148,0) at if_input_process+0x536 sys/net/if.c:1086 ifiq_process(ffff8000002a3490) at ifiq_process+0xcd sys/net/ifq.c:864 taskq_thread(ffff80000002c000) at taskq_thread+0xe4 sys/kern/kern_task.c:446 end trace frame: 0x0, count: -11 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80002a70aa10 rbx 0x5dc rdx 0 rcx 0 rax 0xffff80002a6eca60 r8 0x101010101010101 r9 0x8080808080808080 r10 0x551e133437917b3d r11 0xadfd9ec155d0bf22 r12 0 r13 0xffff8000002a3058 r14 0 r15 0x1 rip 0xffffffff82946725 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a70aa00 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb> show proc PROC (softnet0) tid=161895 pid=50933 tcnt=1 stat=onproc flags process=14000 proc=200 runpri=50, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a6ec530,0xffff80002a6ecd08 process=0xffff800045ffdb30 user=0xffff80002a706000, vmspace=0xffffffff83ae8a68 estcpu=0, cpticks=3, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 39916 172474 33686 0 2 0 0 syz-executor 39916 203298 33686 0 3 0 0x4000080 fsleep syz-executor 81678 357046 84574 0 2 0 0 syz-executor 81678 353517 84574 0 3 0 0x4000080 netacc syz-executor 56025 431593 33998 0 3 0x2 0 clonelk ifconfig 33998 325652 48110 0 3 0x100002 0x88 sigsusp sh 36211 36688 5449 0 2 0 0 syz-executor 36211 430847 5449 0 2 0 0x4000000 syz-executor 61777 283977 56550 0 2 0 0 syz-executor 61777 263343 56550 0 2 0 0x4000000 syz-executor 48110 98167 90251 0 3 0x2 0x80 wait syz-executor 5449 142413 90251 0 2 0x2 0xc80 syz-executor 58176 518850 90251 0 3 0x2 0x80 piperd syz-executor 84298 179358 1 0 3 0x100003 0x80 ttyin getty 56550 499981 90251 0 2 0x2 0xc80 syz-executor 84574 266974 90251 0 2 0x2 0xc80 syz-executor 33686 337976 90251 0 2 0x2 0xc80 syz-executor 90251 325788 1 0 3 0x2 0x80 wait syz-executor 64552 379446 0 0 3 0x14000 0x200 bored smr 4734 325817 0 0 2 0x14000 0x200 zerothread 92776 485952 0 0 3 0x14000 0x200 aiodoned aiodoned 67486 448287 0 0 3 0x14000 0x200 syncer update 80948 382404 0 0 3 0x14000 0x200 cleaner cleaner 49982 215432 0 0 3 0x14000 0x200 reaper reaper 387 8856 0 0 3 0x14000 0x200 pgdaemon pagedaemon 52903 120342 0 0 3 0x14000 0x200 bored viomb 90809 173374 0 0 3 0x14000 0x40000200 acpi0 acpi0 *50933 161895 0 0 7 0x14000 0x200 softnet0 75193 205350 0 0 3 0x14000 0x200 bored systqmp 57259 26169 0 0 3 0x14000 0x200 bored systq 48386 238072 0 0 2 0x14000 0x40000200 softclock 32867 251228 0 0 3 0x14000 0x40000200 idle0 1 390547 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11022 12113K 12243K 166960K 12244 0 pcb 20 12K 12K 166960K 57 0 rtable 201 6K 7K 166960K 977 0 pf 29 12K 17K 166960K 102 0 ifaddr 40 7K 8K 166960K 136 0 ifgroup 46 2K 2K 166960K 151 0 sysctl 1 1K 9K 166960K 5 0 counters 32 17K 18K 166960K 60 0 ioctlops 0 0K 4K 166960K 146 0 iov 0 0K 1K 166960K 2 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1292 81K 82K 166960K 1623 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 4 0 VM map 2 1K 1K 166960K 2 0 sem 27 1K 1K 166960K 70 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 15 57K 97K 166960K 544 0 sigio 0 0K 0K 166960K 2 0 proc 26 33K 124K 166960K 1076 0 subproc 72 4K 4K 166960K 261 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 72 0 in_multi 92 6K 6K 166960K 331 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 13 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 49 228K 228K 166960K 49 0 exec 0 0K 1K 166960K 638 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 112 82K 169K 166960K 5611 0 UVM aobj 5 2K 4K 166960K 6 0 pinsyscall 18 36K 96K 166960K 2182 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 68 0 NDP 16 0K 2K 166960K 92 0 temp 35 9106K 9126K 166960K 11676 0 kqueue 2 4K 27K 166960K 47 0 SYN cache 2 16K 16K 166960K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 83 0 83 1 0 1 1 0 8 1 rtentry 136 336 0 246 4 0 4 4 0 8 0 unpcb 144 246 0 244 6 0 6 6 0 8 5 syncache 336 5 0 5 1 0 1 1 0 8 1 tcpqe 32 2 0 2 1 0 1 1 0 8 1 tcpcb 736 35 0 31 1 0 1 1 0 8 0 arp 96 59 0 43 1 0 1 1 0 8 0 inpcb 328 230 0 222 2 0 2 2 0 8 1 ip6q 80 1 0 0 1 0 1 1 0 8 0 nd6 112 85 0 64 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 0 1 1 0 8 1 kcovpl 48 29 0 21 1 0 1 1 0 8 0 ppxss 1072 3 0 3 1 0 1 1 0 8 1 pfrktable 1344 4 0 4 1 0 1 1 0 8 1 pfanchor 1288 2 0 2 1 0 1 1 0 8 1 pftag 88 1 0 0 1 0 1 1 0 8 0 pfqueue 320 1 0 0 1 0 1 1 0 8 0 pfrule 1360 6 0 3 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1376 0 970 29 0 29 29 0 8 0 art_table 40 1377 0 970 5 0 5 5 0 8 0 art_node 32 336 0 256 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 2 1 0 1 1 0 8 1 semapl 72 68 0 43 1 0 1 1 0 8 0 shmpl 120 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1776 0 270 95 0 95 95 0 8 0 ffsino 256 1776 0 270 95 0 95 95 0 8 0 nchpl 144 2091 0 329 66 0 66 66 0 8 0 rtmask 32 1 0 1 1 0 1 1 0 8 1 vnodes 216 2092 0 0 117 0 117 117 0 8 0 namei 1024 9498 0 9497 3 0 3 3 0 8 2 vcpupl 3968 16 0 16 2 0 2 2 0 8 2 vmpool 808 1 0 1 1 0 1 1 0 8 1 pfiaddrpl 120 1 0 1 1 0 1 1 0 8 1 kstatmem 264 73 0 52 2 0 2 2 0 8 0 scxspl 216 7467 0 7467 3 0 3 3 1 8 3 plimitpl 152 65 0 54 1 0 1 1 0 8 0 sigapl 424 801 0 770 6 0 6 6 0 8 0 knotepl 120 6657 0 6637 9 0 9 9 0 8 7 kqueuepl 184 72 0 70 1 0 1 1 0 8 0 pipepl 304 194 0 167 3 0 3 3 0 8 0 fdescpl 448 788 0 770 5 0 5 5 0 8 2 filepl 120 2750 0 2588 11 0 11 11 0 8 4 lockfpl 104 49 0 49 1 0 1 1 0 8 1 lockfspl 48 19 0 19 1 0 1 1 0 8 1 sessionpl 144 49 0 46 1 0 1 1 0 8 0 pgrppl 48 78 0 67 1 0 1 1 0 8 0 ucredpl 104 174 0 171 1 0 1 1 0 8 0 zombiepl 144 772 0 770 1 0 1 1 0 8 0 processpl 1160 801 0 770 4 0 4 4 0 8 0 procpl 664 1053 0 1018 5 0 5 5 0 8 0 sosppl 176 1 0 1 1 0 1 1 0 8 1 sockpl 552 563 0 552 12 2 10 12 0 8 8 mcl64k 65536 4 0 4 1 0 1 1 0 8 1 mcl8k 8192 4 0 4 1 0 1 1 0 8 1 mcl4k 4096 2612 0 2556 13 0 13 13 0 8 5 mcl2k 2048 372 0 372 2 0 2 2 0 8 2 mextrefs 64 106 0 106 1 0 1 1 0 8 1 mtagpl 96 4 0 4 1 0 1 1 0 8 1 mbufpl 256 6434 0 6309 10 0 10 10 0 8 0 bufpl 272 2731 0 102 176 0 176 176 0 8 0 anonpl 24 123834 0 122458 31 0 31 31 0 187 10 amapchunkpl 152 16661 0 16367 39 0 39 39 0 158 26 amappl16 200 1324 0 1315 4 0 4 4 0 8 3 amappl15 192 9 0 9 1 0 1 1 0 8 1 amappl14 184 682 0 681 1 0 1 1 0 8 0 amappl13 176 155 0 154 1 0 1 1 0 8 0 amappl12 168 1145 0 1129 2 0 2 2 0 8 0 amappl11 160 4 0 4 1 0 1 1 0 8 1 amappl10 152 60 0 60 1 0 1 1 0 8 1 amappl9 144 270 0 270 1 0 1 1 0 8 1 amappl8 136 172 0 171 1 0 1 1 0 8 0 amappl7 128 202 0 200 1 0 1 1 0 8 0 amappl6 120 352 0 349 1 0 1 1 0 8 0 amappl5 112 116 0 116 1 0 1 1 0 8 1 amappl4 104 342 0 340 1 0 1 1 0 8 0 amappl3 96 2820 0 2769 3 0 3 3 0 8 0 amappl2 88 853 0 831 2 0 2 2 0 8 0 amappl1 80 13120 0 13004 13 1 12 13 0 8 8 amappl 88 4548 0 4451 4 0 4 4 0 92 0 uvmvnodes 80 106 0 0 3 0 3 3 0 8 0 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 8 0 8 1 0 1 1 0 8 1 dma128 128 253 0 253 1 0 1 1 0 8 1 dma64 64 6 0 6 1 0 1 1 0 8 1 dma32 32 7 0 7 1 0 1 1 0 8 1 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 5 0 1 1 0 1 1 0 8 0 uaddrrnd 24 788 0 770 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 788 0 770 1 0 1 1 0 8 0 vmmpekpl 168 8048 0 8000 3 0 3 3 0 8 0 vmmpepl 168 59194 0 58487 80 0 80 80 0 357 46 vmsppl 368 787 0 770 4 0 4 4 0 8 1 rwobjpl 40 19263 0 18858 11 0 11 11 0 8 1 pdppl 4096 1584 0 1542 114 70 44 82 0 8 2 pvpl 32 324819 0 321056 87 0 87 87 0 265 46 pmappl 216 788 0 771 3 0 3 3 0 8 1 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 559 0 70 15 0 15 15 0 8 0 ddb> machine ddbcpu 0 No such command ddb>