login: panic: unhandled af 0 Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 88357 68172 0 0x14000 0x200 0 softnet0 db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834b2751) 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,ffff80002a70b830,ffff800000c57eb0,fffff10071f6a908,5dc) at if_output_tso+0x22b ip_output(fffff10062607500,0,fffff1007f114070,800,0,fffff1007f114108,59bf42b64c780284) at ip_output+0x107e sys/netinet/ip_output.c:437 tcp_output(ffff8000015bb2e0) at tcp_output+0x3513 sys/netinet/tcp_output.c:1070 tcp_input_solocked(ffff80002a70bc70,ffff80002a70bc7c,0,2,ffff80002a70bc68) at tcp_input_solocked+0x5f2c sys/netinet/tcp_input.c:1057 tcp_input_mlist(ffffffff839ef210,2) at tcp_input_mlist+0x93 sys/netinet/tcp_input.c:-1 if_input_process(ffff8000002a3058,ffff80002a70bd58,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(ffffffff834b2751) 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,ffff80002a70b830,ffff800000c57eb0,fffff10071f6a908,5dc) at if_output_tso+0x22b ip_output(fffff10062607500,0,fffff1007f114070,800,0,fffff1007f114108,59bf42b64c780284) at ip_output+0x107e sys/netinet/ip_output.c:437 tcp_output(ffff8000015bb2e0) at tcp_output+0x3513 sys/netinet/tcp_output.c:1070 tcp_input_solocked(ffff80002a70bc70,ffff80002a70bc7c,0,2,ffff80002a70bc68) at tcp_input_solocked+0x5f2c sys/netinet/tcp_input.c:1057 tcp_input_mlist(ffffffff839ef210,2) at tcp_input_mlist+0x93 sys/netinet/tcp_input.c:-1 if_input_process(ffff8000002a3058,ffff80002a70bd58,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 0xffff80002a70b620 rbx 0x5dc rdx 0 rcx 0 rax 0xffff80002a6eca60 r8 0x101010101010101 r9 0x8080808080808080 r10 0xe778b7ea12b4638c r11 0xe9533602f7aae877 r12 0 r13 0xffff8000002a3058 r14 0 r15 0x1 rip 0xffffffff8136cda5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a70b610 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb> show proc PROC (softnet0) tid=88357 pid=68172 tcnt=1 stat=onproc flags process=14000 proc=200 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a6ecf90,0xffff80002a6ec7d8 process=0xffff800045ffc900 user=0xffff80002a706000, vmspace=0xffffffff83aaaca8 estcpu=0, cpticks=1, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 68218 104766 24711 0 2 0x2 0 ifconfig 78909 356814 43236 0 2 0x10 0 syz-executor 78909 443623 43236 0 3 0x10 0x4000080 fsleep syz-executor 78909 118648 43236 0 2 0x10 0x4000000 syz-executor 90935 222887 71648 0 2 0 0 syz-executor 90935 491385 71648 0 3 0 0x4000080 fsleep syz-executor 24711 207178 46372 0 3 0x100002 0x88 sigsusp sh 35458 124670 39352 0 2 0 0 syz-executor 35458 450162 39352 0 3 0 0x4000080 fsleep syz-executor 46372 410882 23607 0 3 0x2 0x80 wait syz-executor 23407 234848 1 0 3 0x100003 0x80 ttyin getty 39352 427680 23607 0 3 0x2 0x80 nanoslp syz-executor 71648 369735 23607 0 2 0x2 0xc80 syz-executor 66699 343107 23607 0 3 0x2 0x80 piperd syz-executor 25604 483104 23607 0 3 0x2 0x80 piperd syz-executor 32031 497807 23607 0 2 0x10000002 0x80 syz-executor 43236 358091 23607 0 3 0x2 0x80 nanoslp syz-executor 23607 455618 98167 0 3 0x2 0x80 wait syz-executor 98167 244587 95451 0 3 0x100002 0x88 sigsusp ksh 95451 292230 96180 0 3 0x10 0x88 kqread sshd-session 96180 454584 25685 0 3 0x12 0x80 kqread sshd-session 25685 364552 1 0 3 0 0x88 kqread sshd 69069 385989 48917 73 3 0x1100010 0x80 kqread syslogd 48917 214330 1 0 3 0x100002 0x80 sbwait syslogd 83989 274042 1 0 3 0x100000 0x80 kqread resolvd 6017 165833 18083 77 3 0x100012 0x80 kqread dhcpleased 93642 194181 18083 77 3 0x100012 0x80 kqread dhcpleased 18083 322840 1 0 3 0 0x80 kqread dhcpleased 17391 223704 0 0 3 0x14000 0x200 bored smr 77545 472327 0 0 2 0x14000 0x200 zerothread 61642 54837 0 0 3 0x14000 0x200 aiodoned aiodoned 15876 102273 0 0 3 0x14000 0x200 syncer update 75877 520473 0 0 3 0x14000 0x200 cleaner cleaner 53484 520785 0 0 3 0x14000 0x200 reaper reaper 6796 328553 0 0 3 0x14000 0x200 pgdaemon pagedaemon 76183 480786 0 0 3 0x14000 0x200 bored viomb 65623 189152 0 0 3 0x14000 0x40000200 acpi0 acpi0 *68172 88357 0 0 7 0x14000 0x200 softnet0 69601 501056 0 0 3 0x14000 0x200 bored systqmp 36480 157534 0 0 3 0x14000 0x200 bored systq 36964 191205 0 0 3 0x14000 0x40000200 tmoslp softclock 8123 416974 0 0 3 0x14000 0x40000200 idle0 1 427417 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10010000 0x200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11058 12107K 12185K 166960K 12210 0 pcb 17 12K 12K 166960K 25 0 rtable 215 5K 6K 166960K 446 0 pf 30 12K 13K 166960K 42 0 ifaddr 39 6K 7K 166960K 61 0 ifgroup 50 2K 2K 166960K 70 0 sysctl 1 1K 9K 166960K 6 0 counters 33 17K 17K 166960K 39 0 ioctlops 0 0K 2K 166960K 42 0 iov 0 0K 2K 166960K 1 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1294 81K 82K 166960K 1431 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 3 0 VM map 2 1K 1K 166960K 2 0 sem 6 0K 1K 166960K 11 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 15 53K 97K 166960K 228 0 proc 59 59K 124K 166960K 618 0 subproc 72 4K 4K 166960K 108 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 12 0 in_multi 88 5K 6K 166960K 135 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 223 996K 996K 166960K 223 0 exec 0 0K 1K 166960K 482 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 189 145K 159K 166960K 3619 0 UVM aobj 4 2K 2K 166960K 4 0 pinsyscall 36 72K 96K 166960K 1432 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 NDP 11 0K 2K 166960K 39 0 temp 34 9110K 9130K 166960K 3827 0 kqueue 14 22K 22K 166960K 31 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 47 0 44 1 0 1 1 0 8 0 rtentry 136 144 0 45 4 0 4 4 0 8 0 unpcb 144 64 0 49 1 0 1 1 0 8 0 syncache 336 5 0 5 1 0 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 736 23 0 18 1 0 1 1 0 8 0 arp 96 24 0 8 1 0 1 1 0 8 0 inpcb 328 106 0 97 2 0 2 2 0 8 1 nd6 112 33 0 12 1 0 1 1 0 8 0 kcovpl 48 12 0 4 1 0 1 1 0 8 0 ppxss 1072 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 585 0 176 29 0 29 29 0 8 0 art_table 40 586 0 176 5 0 5 5 0 8 0 art_node 32 144 0 54 1 0 1 1 0 8 0 semapl 72 5 0 1 1 0 1 1 0 8 0 shmpl 120 1 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1639 0 167 93 0 93 93 0 8 0 ffsino 256 1639 0 167 93 0 93 93 0 8 0 nchpl 144 1887 0 183 64 0 64 64 0 8 0 vnodes 216 1779 0 0 99 0 99 99 0 8 0 namei 1024 7173 0 7173 4 0 4 4 0 8 4 kstatmem 264 35 0 12 2 0 2 2 0 8 0 scxspl 216 7003 0 7003 3 0 3 3 1 8 3 plimitpl 152 103 0 86 1 0 1 1 0 8 0 sigapl 424 521 0 480 6 0 6 6 0 8 0 knotepl 120 4106 0 4058 2 0 2 2 0 8 0 kqueuepl 184 32 0 22 1 0 1 1 0 8 0 pipepl 304 137 0 110 3 0 3 3 0 8 0 fdescpl 448 506 0 479 5 0 5 5 0 8 1 filepl 120 1908 0 1702 9 0 9 9 0 8 1 lockfpl 104 25 0 22 1 0 1 1 0 8 0 lockfspl 48 12 0 9 1 0 1 1 0 8 0 sessionpl 144 30 0 22 1 0 1 1 0 8 0 pgrppl 48 42 0 26 1 0 1 1 0 8 0 ucredpl 104 217 0 205 1 0 1 1 0 8 0 zombiepl 144 482 0 480 1 0 1 1 0 8 0 processpl 1152 521 0 480 4 0 4 4 0 8 0 procpl 664 605 0 560 6 0 6 6 0 8 1 sockpl 552 219 0 192 3 0 3 3 0 8 0 mcl64k 65536 3 0 3 1 0 1 1 0 8 1 mcl16k 16384 3 0 3 1 0 1 1 0 8 1 mcl8k 8192 4 0 4 1 0 1 1 0 8 1 mcl4k 4096 2528 0 2472 14 0 14 14 0 8 6 mcl2k 2048 218 0 218 4 0 4 4 0 8 4 mextrefs 64 91 0 91 1 0 1 1 0 8 1 mtagpl 96 4 0 4 1 0 1 1 0 8 1 mbufpl 256 5044 0 4916 15 0 15 15 0 8 4 bufpl 272 2679 0 102 172 0 172 172 0 8 0 anonpl 24 98949 0 96078 45 0 45 45 0 187 22 amapchunkpl 152 10176 0 9617 26 0 26 26 0 158 2 amappl16 200 1744 0 1726 15 6 9 15 0 8 7 amappl15 192 3 0 3 1 0 1 1 0 8 1 amappl14 184 458 0 455 1 0 1 1 0 8 0 amappl13 176 127 0 117 1 0 1 1 0 8 0 amappl12 168 799 0 774 2 0 2 2 0 8 0 amappl11 160 16 0 16 1 0 1 1 0 8 1 amappl10 152 58 0 48 1 0 1 1 0 8 0 amappl9 144 273 0 273 1 0 1 1 0 8 1 amappl8 136 107 0 106 1 0 1 1 0 8 0 amappl7 128 151 0 140 1 0 1 1 0 8 0 amappl6 120 194 0 191 1 0 1 1 0 8 0 amappl5 112 99 0 91 1 0 1 1 0 8 0 amappl4 104 277 0 260 1 0 1 1 0 8 0 amappl3 96 1756 0 1684 3 0 3 3 0 8 0 amappl2 88 614 0 548 2 0 2 2 0 8 0 amappl1 80 10785 0 10244 13 0 13 13 0 8 0 amappl 88 2856 0 2729 4 0 4 4 0 92 0 uvmvnodes 80 96 0 0 2 0 2 2 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 7 0 7 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 3 0 0 1 0 1 1 0 8 0 uaddrrnd 24 506 0 479 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 506 0 479 1 0 1 1 0 8 0 vmmpekpl 168 6066 0 6022 3 0 3 3 0 8 0 vmmpepl 168 42066 0 40477 91 0 91 91 0 357 14 vmsppl 368 505 0 479 4 0 4 4 0 8 1 rwobjpl 40 15371 0 14466 13 0 13 13 0 8 2 pdppl 4096 1018 0 958 96 28 68 82 0 8 8 pvpl 32 240978 0 233498 111 0 111 111 0 265 33 pmappl 216 505 0 479 3 0 3 3 0 8 1 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 541 0 28 15 0 15 15 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834b2751) 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,ffff80002a70b830,ffff800000c57eb0,fffff10071f6a908,5dc) at if_output_tso+0x22b ip_output(fffff10062607500,0,fffff1007f114070,800,0,fffff1007f114108,59bf42b64c780284) at ip_output+0x107e sys/netinet/ip_output.c:437 tcp_output(ffff8000015bb2e0) at tcp_output+0x3513 sys/netinet/tcp_output.c:1070 tcp_input_solocked(ffff80002a70bc70,ffff80002a70bc7c,0,2,ffff80002a70bc68) at tcp_input_solocked+0x5f2c sys/netinet/tcp_input.c:1057 tcp_input_mlist(ffffffff839ef210,2) at tcp_input_mlist+0x93 sys/netinet/tcp_input.c:-1 if_input_process(ffff8000002a3058,ffff80002a70bd58,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> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834b2751) 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,ffff80002a70b830,ffff800000c57eb0,fffff10071f6a908,5dc) at if_output_tso+0x22b ip_output(fffff10062607500,0,fffff1007f114070,800,0,fffff1007f114108,59bf42b64c780284) at ip_output+0x107e sys/netinet/ip_output.c:437 tcp_output(ffff8000015bb2e0) at tcp_output+0x3513 sys/netinet/tcp_output.c:1070 tcp_input_solocked(ffff80002a70bc70,ffff80002a70bc7c,0,2,ffff80002a70bc68) at tcp_input_solocked+0x5f2c sys/netinet/tcp_input.c:1057 tcp_input_mlist(ffffffff839ef210,2) at tcp_input_mlist+0x93 sys/netinet/tcp_input.c:-1 if_input_process(ffff8000002a3058,ffff80002a70bd58,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