panic: unhandled af 64
Stopped at db_enter+0x25: addq $0x8,%rsp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*230675 9124 0 0x14000 0x200 0 softnet0
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff834b3da3) at panic+0x1cf sys/kern/subr_prf.c:198
unhandled_af(40) at unhandled_af+0x1a sys/net/if.c:-1
if_output_tso(ffff8000002a3058,ffff80002a70b150,ffff800000c57e80,fffff9006fde1330,5dc) at if_output_tso+0x22b
ip_output(fffff90078fbec00,0,fffff9006fcf61b8,800,0,fffff9006fcf6250,a7d8bdcb4046c245) at ip_output+0x107e sys/netinet/ip_output.c:437
tcp_output(ffff8000015ba140) at tcp_output+0x3513 sys/netinet/tcp_output.c:1070
tcp_input_solocked(ffff80002a70b590,ffff80002a70b59c,0,2,ffff80002a70b588) at tcp_input_solocked+0x5f2c sys/netinet/tcp_input.c:1057
tcp_input_mlist(ffffffff83af2a50,2) at tcp_input_mlist+0x93 sys/netinet/tcp_input.c:-1
if_input_process(ffff8000002a3058,ffff80002a70b678,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 64
ddb> show kasan
No such command
ddb> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff834b3da3) at panic+0x1cf sys/kern/subr_prf.c:198
unhandled_af(40) at unhandled_af+0x1a sys/net/if.c:-1
if_output_tso(ffff8000002a3058,ffff80002a70b150,ffff800000c57e80,fffff9006fde1330,5dc) at if_output_tso+0x22b
ip_output(fffff90078fbec00,0,fffff9006fcf61b8,800,0,fffff9006fcf6250,a7d8bdcb4046c245) at ip_output+0x107e sys/netinet/ip_output.c:437
tcp_output(ffff8000015ba140) at tcp_output+0x3513 sys/netinet/tcp_output.c:1070
tcp_input_solocked(ffff80002a70b590,ffff80002a70b59c,0,2,ffff80002a70b588) at tcp_input_solocked+0x5f2c sys/netinet/tcp_input.c:1057
tcp_input_mlist(ffffffff83af2a50,2) at tcp_input_mlist+0x93 sys/netinet/tcp_input.c:-1
if_input_process(ffff8000002a3058,ffff80002a70b678,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 0xffff80002a70af40
rbx 0x5dc
rdx 0
rcx 0
rax 0xffff80002a6ec000
r8 0x101010101010101
r9 0x8080808080808080
r10 0x3ef04387c0100d46
r11 0x764f6cfba11fa751
r12 0
r13 0xffff8000002a3058
r14 0
r15 0x1
rip 0xffffffff82136385 db_enter+0x25
cs 0x8
rflags 0x246
rsp 0xffff80002a70af30
ss 0
db_enter+0x25: addq $0x8,%rsp
ddb> show proc
PROC (softnet0) tid=230675 pid=9124 tcnt=1 stat=onproc
flags process=14000<NOZOMBIE,SYSTEM> proc=200<SYSTEM>
runpri=32, usrpri=50, slppri=32, nice=20
wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
forw=0xffffffffffffffff, list=0xffff80002a6ec530,0xffff80002a6ec2a8
process=0xffff800045ffc480 user=0xffff80002a706000, vmspace=0xffffffff83a38fa0
estcpu=0, cpticks=6, pctcpu=0.0, user=0, sys=0, intr=0
ddb> ps
PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND
91854 331288 54220 0 2 0 0 syz-executor
91854 16747 54220 0 3 0 0x4000080 fsleep syz-executor
67028 444800 41876 0 3 0 0x80 nanoslp syz-executor
67028 166185 41876 0 3 0 0x4000080 dtread syz-executor
67028 359602 41876 0 3 0 0x4000080 fsleep syz-executor
85729 355977 81784 0 3 0 0x80 nanoslp syz-executor
85729 152441 81784 0 3 0 0x4000080 ttyretype syz-executor
85729 241795 81784 0 3 0 0x4000080 fsleep syz-executor
57356 364929 75327 0 3 0 0x80 nanoslp syz-executor
57356 476858 75327 0 3 0 0x4000080 sbwait syz-executor
57356 99612 75327 0 3 0 0x4000080 fsleep syz-executor
24393 176306 44803 0 3 0 0x80 nanoslp syz-executor
24393 313594 44803 0 3 0 0x4000080 piperd syz-executor
24393 354099 44803 0 3 0 0x4000080 fsleep syz-executor
75321 229177 1 0 3 0x2 0x80 nanoslp getty
81784 300987 7306 0 3 0x2 0x80 nanoslp syz-executor
41876 471616 7306 0 3 0x2 0x80 nanoslp syz-executor
94702 108164 7306 0 2 0x2 0 syz-executor
44803 473557 7306 0 3 0x2 0x80 nanoslp syz-executor
23221 150831 7306 0 2 0x2 0 syz-executor
84141 486696 7306 0 3 0x2 0x80 wait syz-executor
54220 165441 7306 0 3 0x2 0x80 nanoslp syz-executor
75327 93896 7306 0 3 0x2 0x80 nanoslp syz-executor
7306 251152 1 0 2 0x2 0x80 syz-executor
23214 199179 1 0 3 0x10000002 0x88 kqread sshd
75834 279837 82754 73 3 0x1100010 0x80 kqread syslogd
82754 493003 1 0 3 0x100002 0x80 sbwait syslogd
68428 177489 1 0 3 0x100000 0x80 kqread resolvd
83892 285229 727 77 3 0x100012 0x80 kqread dhcpleased
93638 427955 727 77 3 0x100012 0x80 kqread dhcpleased
727 486917 1 0 3 0 0x80 kqread dhcpleased
5757 219722 0 0 3 0x14000 0x200 bored smr
31217 205869 0 0 2 0x14000 0x200 zerothread
47155 222746 0 0 3 0x14000 0x200 aiodoned aiodoned
51496 392097 0 0 3 0x14000 0x200 syncer update
19918 92270 0 0 3 0x14000 0x200 cleaner cleaner
58067 157788 0 0 3 0x14000 0x200 reaper reaper
70513 438736 0 0 3 0x14000 0x200 pgdaemon pagedaemon
80388 40292 0 0 3 0x14000 0x200 bored viomb
62305 145760 0 0 3 0x14000 0x40000200 acpi0 acpi0
* 9124 230675 0 0 7 0x14000 0x200 softnet0
74319 150780 0 0 3 0x14000 0x200 bored systqmp
27848 178655 0 0 3 0x14000 0x200 bored systq
62138 507001 0 0 3 0x14000 0x40000200 tmoslp softclock
58081 455646 0 0 3 0x14000 0x40000200 idle0
1 76877 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 11063 12296K 12457K 166960K 12667 0
pcb 17 12K 12K 166960K 56 0
rtable 268 9K 11K 166960K 439 0
pf 33 13K 17K 166960K 89 0
ifaddr 43 7K 7K 166960K 59 0
ifgroup 50 2K 2K 166960K 85 0
sysctl 2 1K 9K 166960K 7 0
counters 33 17K 18K 166960K 49 0
ioctlops 0 0K 4K 166960K 87 0
iov 1 1K 13K 166960K 20 0
mount 1 1K 1K 166960K 1 0
log 0 0K 0K 166960K 4 0
vnodes 1301 82K 82K 166960K 1599 0
UFS quota 1 32K 32K 166960K 1 0
UFS mount 5 36K 36K 166960K 5 0
shm 2 1K 5K 166960K 6 0
VM map 2 1K 1K 166960K 2 0
sem 13 0K 0K 166960K 16 0
dirhash 12 2K 2K 166960K 21 0
ACPI 1734 201K 291K 166960K 11964 0
file desc 16 57K 97K 166960K 373 0
sigio 0 0K 0K 166960K 8 0
proc 61 59K 124K 166960K 521 0
subproc 72 4K 4K 166960K 72 0
NFS srvsock 1 0K 0K 166960K 1 0
NFS daemon 1 16K 16K 166960K 1 0
ip_moptions 1 0K 0K 166960K 158 0
in_multi 101 6K 6K 166960K 108 0
ether_multi 1 0K 0K 166960K 3 0
mrt 0 0K 0K 166960K 9 0
ISOFS mount 1 32K 32K 166960K 1 0
MSDOSFS mount 1 16K 16K 166960K 1 0
ttys 103 466K 466K 166960K 103 0
exec 0 0K 1K 166960K 400 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 197 134K 159K 166960K 5018 0
UVM aobj 9 4K 4K 166960K 10 0
pinsyscall 32 64K 96K 166960K 1490 0
memdesc 1 4K 4K 166960K 1 0
crypto data 1 1K 1K 166960K 1 0
ip6_options 0 0K 0K 166960K 14 0
NDP 11 0K 2K 166960K 38 0
temp 43 9111K 9170K 166960K 12276 0
kqueue 11 16K 28K 166960K 62 0
SYN cache 2 16K 24K 166960K 3 0
ddb> show all pools
Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
rtpcb 120 55 0 52 1 0 1 1 0 8 0
rtentry 136 119 0 2 5 0 5 5 0 8 0
unpcb 144 235 0 222 4 0 4 4 0 8 3
syncache 336 7 0 7 1 0 1 1 0 8 1
tcpcb 736 67 0 60 1 0 1 1 0 8 0
arp 96 19 0 0 1 0 1 1 0 8 0
ipq 40 4 0 0 1 0 1 1 0 8 0
ipqe 40 4 0 0 1 0 1 1 0 8 0
inpcb 328 222 0 211 2 0 2 2 0 8 0
nd6 112 26 0 0 1 0 1 1 0 8 0
pkpcb 40 3 0 3 1 0 1 1 0 8 1
kcovpl 48 8 0 0 1 0 1 1 0 8 0
ppxss 1072 11 0 11 1 0 1 1 0 8 1
pppxif 1416 1 0 1 1 0 1 1 0 8 1
pfstscr 40 4 0 0 1 0 1 1 0 8 0
pfrktable 1344 14 0 14 1 0 1 1 0 8 1
pfsrclim 320 2 0 2 1 0 1 1 0 8 1
pfanchor 1288 6 0 6 1 0 1 1 0 8 1
pftag 88 4 0 4 1 0 1 1 0 8 1
pfstitem 24 6 0 0 1 0 1 1 0 8 0
pfstkey 128 6 0 0 1 0 1 1 0 8 0
pfstate 384 3 0 0 1 0 1 1 0 8 0
pfrule 1360 5 0 5 1 0 1 1 0 8 1
art_heap8 4096 2 0 0 2 0 2 2 0 8 0
art_heap4 256 480 0 6 30 0 30 30 0 8 0
art_table 40 482 0 6 5 0 5 5 0 8 0
art_node 32 119 0 13 1 0 1 1 0 8 0
sysvmsgpl 40 2 0 2 1 0 1 1 0 8 1
semapl 72 14 0 3 1 0 1 1 0 8 0
shmpl 112 7 0 1 1 0 1 1 0 8 0
dirhash 1024 23 0 6 3 0 3 3 0 8 0
dino2pl 256 2028 0 575 92 0 92 92 0 8 0
ffsino 256 2028 0 575 92 0 92 92 0 8 0
nchpl 144 2542 0 851 64 0 64 64 0 8 0
rtmask 32 2 0 2 1 0 1 1 0 8 1
vnodes 216 2253 0 0 126 0 126 126 0 8 0
namei 1024 8111 0 8110 2 0 2 2 0 8 1
pfiaddrpl 120 4 0 4 1 0 1 1 0 8 1
kstatmem 264 45 0 22 2 0 2 2 0 8 0
scxspl 216 10391 0 10391 5 0 5 5 1 8 5
plimitpl 152 127 0 112 1 0 1 1 0 8 0
sigapl 424 673 0 634 6 0 6 6 0 8 1
knotepl 120 11586 0 11544 7 0 7 7 0 8 4
kqueuepl 184 84 0 77 1 0 1 1 0 8 0
pipepl 304 146 0 118 3 0 3 3 0 8 0
fdescpl 448 659 0 634 5 0 5 5 0 8 1
filepl 120 3140 0 2925 9 0 9 9 0 8 1
lockfpl 104 190 0 186 2 0 2 2 0 8 1
lockfspl 48 60 0 56 1 0 1 1 0 8 0
sessionpl 144 69 0 62 1 0 1 1 0 8 0
pgrppl 48 80 0 65 1 0 1 1 0 8 0
ucredpl 104 366 0 353 1 0 1 1 0 8 0
zombiepl 144 636 0 634 1 0 1 1 0 8 0
processpl 1152 673 0 634 4 0 4 4 0 8 0
procpl 664 1028 0 980 6 0 6 6 0 8 1
sockpl 552 590 0 563 7 0 7 7 0 8 4
mcl64k 65536 19 0 17 1 0 1 1 0 8 0
mcl16k 16384 10 0 9 1 0 1 1 0 8 0
mcl12k 12288 1 0 1 1 0 1 1 0 8 1
mcl9k128 9344 2 0 2 1 0 1 1 0 8 1
mcl8k 8192 9 0 8 1 0 1 1 0 8 0
mcl4k 4096 2831 0 2778 13 0 13 13 0 8 6
mcl2k 2048 278 0 276 3 0 3 3 0 8 2
mextrefs 64 169 0 168 1 0 1 1 0 8 0
mtagpl 96 6 0 4 1 0 1 1 0 8 0
mbufpl 256 8307 0 8146 76 52 24 76 0 8 7
bufpl 272 3793 0 103 246 0 246 246 0 8 0
anonpl 24 118123 0 115400 58 0 58 58 0 187 22
amapchunkpl 152 15381 0 14957 26 0 26 26 0 158 6
amappl16 200 1994 0 1970 23 0 23 23 0 8 16
amappl15 192 11 0 10 1 0 1 1 0 8 0
amappl14 184 410 0 410 1 0 1 1 0 8 1
amappl13 176 118 0 110 1 0 1 1 0 8 0
amappl12 168 901 0 877 2 0 2 2 0 8 0
amappl11 160 2 0 2 1 0 1 1 0 8 1
amappl10 152 105 0 95 1 0 1 1 0 8 0
amappl9 144 306 0 306 1 0 1 1 0 8 1
amappl8 136 92 0 91 1 0 1 1 0 8 0
amappl7 128 146 0 136 1 0 1 1 0 8 0
amappl6 120 146 0 146 1 0 1 1 0 8 1
amappl5 112 92 0 86 1 0 1 1 0 8 0
amappl4 104 293 0 278 1 0 1 1 0 8 0
amappl3 96 2723 0 2641 3 0 3 3 0 8 0
amappl2 88 785 0 726 2 0 2 2 0 8 0
amappl1 80 11397 0 11012 13 0 13 13 0 8 3
amappl 88 4285 0 4144 5 0 5 5 0 92 0
uvmvnodes 80 105 0 0 3 0 3 3 0 8 0
dma4096 4096 3 0 3 1 0 1 1 0 8 1
dma1024 1024 1 0 0 1 0 1 1 0 8 0
dma256 256 6 0 6 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 9 0 1 1 0 1 1 0 8 0
uaddrrnd 24 659 0 634 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 659 0 634 1 0 1 1 0 8 0
vmmpekpl 168 6997 0 6961 2 0 2 2 0 8 0
vmmpepl 168 50370 0 48940 87 0 87 87 0 357 6
vmsppl 368 658 0 634 4 0 4 4 0 8 1
rwobjpl 40 17098 0 16281 13 0 13 13 0 8 0
pdppl 4096 1324 0 1268 98 34 64 82 0 8 8
pvpl 32 306860 0 299459 126 0 126 126 0 265 34
pmappl 216 658 0 634 3 0 3 3 0 8 1
extentpl 40 46 0 28 1 0 1 1 0 8 0
phpool 112 675 0 86 19 0 19 19 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(ffffffff834b3da3) at panic+0x1cf sys/kern/subr_prf.c:198
unhandled_af(40) at unhandled_af+0x1a sys/net/if.c:-1
if_output_tso(ffff8000002a3058,ffff80002a70b150,ffff800000c57e80,fffff9006fde1330,5dc) at if_output_tso+0x22b
ip_output(fffff90078fbec00,0,fffff9006fcf61b8,800,0,fffff9006fcf6250,a7d8bdcb4046c245) at ip_output+0x107e sys/netinet/ip_output.c:437
tcp_output(ffff8000015ba140) at tcp_output+0x3513 sys/netinet/tcp_output.c:1070
tcp_input_solocked(ffff80002a70b590,ffff80002a70b59c,0,2,ffff80002a70b588) at tcp_input_solocked+0x5f2c sys/netinet/tcp_input.c:1057
tcp_input_mlist(ffffffff83af2a50,2) at tcp_input_mlist+0x93 sys/netinet/tcp_input.c:-1
if_input_process(ffff8000002a3058,ffff80002a70b678,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(ffffffff834b3da3) at panic+0x1cf sys/kern/subr_prf.c:198
unhandled_af(40) at unhandled_af+0x1a sys/net/if.c:-1
if_output_tso(ffff8000002a3058,ffff80002a70b150,ffff800000c57e80,fffff9006fde1330,5dc) at if_output_tso+0x22b
ip_output(fffff90078fbec00,0,fffff9006fcf61b8,800,0,fffff9006fcf6250,a7d8bdcb4046c245) at ip_output+0x107e sys/netinet/ip_output.c:437
tcp_output(ffff8000015ba140) at tcp_output+0x3513 sys/netinet/tcp_output.c:1070
tcp_input_solocked(ffff80002a70b590,ffff80002a70b59c,0,2,ffff80002a70b588) at tcp_input_solocked+0x5f2c sys/netinet/tcp_input.c:1057
tcp_input_mlist(ffffffff83af2a50,2) at tcp_input_mlist+0x93 sys/netinet/tcp_input.c:-1
if_input_process(ffff8000002a3058,ffff80002a70b678,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>