panic: unhandled af 0
Stopped at db_enter+0x25: addq $0x8,%rsp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*119453 68339 0 0x14000 0x200 0 softnet0
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff834ac82e) at panic+0x1cf sys/kern/subr_prf.c:198
unhandled_af(0) at unhandled_af+0x1a sys/net/if.c:-1
if_output_tso(ffff8000002a2058,ffff80002a70ad90,ffff800000c55480,fffff300766ce5d8,5dc) at if_output_tso+0x22b
ip_output(fffff3007eb71f00,0,fffff30076656300,0,0,fffff30076656398,1b38024749f3113c) at ip_output+0x107e sys/netinet/ip_output.c:437
tcp_output(ffff8000015ba2e0) at tcp_output+0x3513 sys/netinet/tcp_output.c:1070
tcp_input_solocked(ffff80002a70b1d0,ffff80002a70b1dc,0,2,ffff80002a70b1c8) at tcp_input_solocked+0x58ee sys/netinet/tcp_input.c:2041
tcp_input_mlist(ffffffff839a9890,2) at tcp_input_mlist+0x93 sys/netinet/tcp_input.c:-1
if_input_process(ffff8000002a2058,ffff80002a70b2b8,0) at if_input_process+0x536 sys/net/if.c:1086
ifiq_process(ffff8000002a2490) 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(ffffffff834ac82e) at panic+0x1cf sys/kern/subr_prf.c:198
unhandled_af(0) at unhandled_af+0x1a sys/net/if.c:-1
if_output_tso(ffff8000002a2058,ffff80002a70ad90,ffff800000c55480,fffff300766ce5d8,5dc) at if_output_tso+0x22b
ip_output(fffff3007eb71f00,0,fffff30076656300,0,0,fffff30076656398,1b38024749f3113c) at ip_output+0x107e sys/netinet/ip_output.c:437
tcp_output(ffff8000015ba2e0) at tcp_output+0x3513 sys/netinet/tcp_output.c:1070
tcp_input_solocked(ffff80002a70b1d0,ffff80002a70b1dc,0,2,ffff80002a70b1c8) at tcp_input_solocked+0x58ee sys/netinet/tcp_input.c:2041
tcp_input_mlist(ffffffff839a9890,2) at tcp_input_mlist+0x93 sys/netinet/tcp_input.c:-1
if_input_process(ffff8000002a2058,ffff80002a70b2b8,0) at if_input_process+0x536 sys/net/if.c:1086
ifiq_process(ffff8000002a2490) 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 0xffff80002a70ab80
rbx 0x5dc
rdx 0
rcx 0
rax 0xffff80002a6ec530
r8 0x101010101010101
r9 0x8080808080808080
r10 0x117d0627dcbdd3e7
r11 0xda4a011a8af46ec8
r12 0
r13 0xffff8000002a2058
r14 0
r15 0x1
rip 0xffffffff81d6c5f5 db_enter+0x25
cs 0x8
rflags 0x246
rsp 0xffff80002a70ab70
ss 0x10
db_enter+0x25: addq $0x8,%rsp
ddb> show proc
PROC (softnet0) tid=119453 pid=68339 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=0xffff80002a6ec000,0xffff80002a6ec7d8
process=0xffff800045ffc480 user=0xffff80002a706000, vmspace=0xffffffff839efff8
estcpu=0, cpticks=1, pctcpu=0.1, user=0, sys=0, intr=0
ddb> ps
PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND
64560 208035 27211 0 2 0x2 0 sh
3214 450092 54506 0 2 0 0 syz-executor
3214 389630 54506 0 2 0 0x4000000 syz-executor
3214 377951 54506 0 2 0 0x4000000 syz-executor
3214 102406 54506 0 2 0 0x4000000 syz-executor
75621 310207 718 0 2 0 0 syz-executor
75621 268540 718 0 3 0 0x4000080 fsleep syz-executor
99398 479002 59588 0 2 0 0 syz-executor
99398 452850 59588 0 3 0 0x4000080 fsleep syz-executor
23542 86403 93820 0 2 0 0 syz-executor
23542 19386 93820 0 3 0 0x4000080 fsleep syz-executor
6578 195410 19023 0 2 0 0 syz-executor
6578 318580 19023 0 2 0 0x4000080 syz-executor
27211 394032 45966 0 3 0x2 0x80 wait syz-executor
718 197682 45966 0 3 0x2 0x80 nanoslp syz-executor
54506 56456 45966 0 3 0x2 0x80 nanoslp syz-executor
18165 482693 45966 0 2 0x2 0 syz-executor
88486 24489 45966 0 2 0x2 0 syz-executor
23181 141165 1 0 3 0 0x80 nanoslp init
59588 99835 45966 0 3 0x2 0x80 nanoslp syz-executor
93820 213902 45966 0 3 0x2 0x80 nanoslp syz-executor
19023 435904 45966 0 3 0x2 0x80 nanoslp syz-executor
45966 196574 1 0 2 0x2 0 syz-executor
82998 233957 1 73 3 0x1100010 0x80 kqread syslogd
64038 148420 0 0 3 0x14000 0x200 bored smr
15010 465652 0 0 2 0x14000 0x200 zerothread
99825 449666 0 0 3 0x14000 0x200 aiodoned aiodoned
22008 360854 0 0 3 0x14000 0x200 syncer update
21947 400346 0 0 3 0x14000 0x200 cleaner cleaner
25555 261089 0 0 3 0x14000 0x200 reaper reaper
45410 269326 0 0 3 0x14000 0x200 pgdaemon pagedaemon
73575 36603 0 0 3 0x14000 0x200 bored viomb
34618 323231 0 0 3 0x14000 0x40000200 acpi0 acpi0
*68339 119453 0 0 7 0x14000 0x200 softnet0
69301 53474 0 0 3 0x14000 0x200 bored systqmp
64708 395587 0 0 3 0x14000 0x200 bored systq
85738 510305 0 0 3 0x14000 0x40000200 tmoslp softclock
8049 272633 0 0 3 0x14000 0x40000200 idle0
1 418678 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 11028 12163K 12233K 166960K 12363 0
pcb 18 12K 12K 166960K 48 0
rtable 228 7K 8K 166960K 993 0
pf 30 12K 19K 166960K 114 0
ifaddr 39 7K 7K 166960K 143 0
ifgroup 47 1K 2K 166960K 167 0
sysctl 1 1K 9K 166960K 6 0
counters 33 17K 18K 166960K 67 0
ioctlops 0 0K 4K 166960K 78 0
iov 0 0K 8K 166960K 4 0
mount 1 1K 1K 166960K 1 0
log 0 0K 0K 166960K 4 0
vnodes 1332 84K 84K 166960K 1699 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 7 0K 0K 166960K 76 0
dirhash 12 2K 2K 166960K 15 0
ACPI 1692 195K 286K 166960K 12470 0
file desc 16 57K 85K 166960K 589 0
sigio 0 0K 0K 166960K 3 0
proc 11 17K 91K 166960K 1119 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 6 0
in_multi 88 5K 6K 166960K 328 0
ether_multi 1 0K 0K 166960K 4 0
mrt 0 0K 0K 166960K 15 0
ISOFS mount 1 32K 32K 166960K 1 0
MSDOSFS mount 1 16K 16K 166960K 1 0
ttys 61 281K 281K 166960K 61 0
exec 0 0K 1K 166960K 766 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 117 78K 159K 166960K 5902 0
UVM aobj 7 6K 6K 166960K 7 0
pinsyscall 19 38K 90K 166960K 2220 0
memdesc 1 4K 4K 166960K 1 0
crypto data 1 1K 1K 166960K 1 0
ip6_options 0 0K 0K 166960K 9 0
NDP 13 0K 2K 166960K 100 0
temp 37 9110K 9130K 166960K 7024 0
kqueue 3 4K 28K 166960K 55 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 86 0 86 1 0 1 1 0 8 1
rtentry 136 337 0 236 4 0 4 4 0 8 0
unpcb 144 226 0 221 6 5 1 6 0 8 0
syncache 336 7 0 7 2 1 1 1 0 8 1
tcpcb 736 40 0 39 1 0 1 1 0 8 0
arp 96 58 0 42 1 0 1 1 0 8 0
inpcb 328 243 0 239 3 1 2 2 0 8 1
nd6 112 86 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 9 0 9 1 0 1 1 0 8 1
pppxif 1416 2 0 2 1 0 1 1 0 8 1
pfstscr 40 1 0 1 1 0 1 1 0 8 1
pfrktable 1344 1 0 1 1 0 1 1 0 8 1
pfanchor 1288 4 0 0 1 0 1 1 0 8 0
pfstkey 128 2 0 2 1 0 1 1 0 8 1
pfstate 384 1 0 1 1 0 1 1 0 8 1
pfrule 1360 2 0 2 2 1 1 1 0 8 1
rttmr 136 1 0 1 1 0 1 1 0 8 1
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 1373 0 945 34 2 32 32 0 8 2
art_table 40 1374 0 945 7 1 6 6 0 8 0
art_node 32 337 0 245 1 0 1 1 0 8 0
sysvmsgpl 40 36 0 35 1 0 1 1 0 8 0
semapl 72 71 0 66 1 0 1 1 0 8 0
shmpl 112 4 0 0 1 0 1 1 0 8 0
dirhash 1024 19 0 2 3 0 3 3 0 8 0
dino2pl 256 1884 0 377 95 0 95 95 0 8 0
ffsino 256 1884 0 377 95 0 95 95 0 8 0
nchpl 144 2313 0 528 67 0 67 67 0 8 0
vnodes 216 2245 0 0 125 0 125 125 0 8 0
namei 1024 11229 0 11228 4 3 1 3 0 8 0
kstatmem 264 87 0 64 2 0 2 2 0 8 0
scsiplug 72 4 0 4 2 1 1 1 0 8 1
scxspl 216 8382 0 8382 5 3 2 4 1 8 2
plimitpl 152 77 0 67 1 0 1 1 0 8 0
sigapl 424 844 0 812 6 1 5 6 0 8 0
knotepl 120 8486 0 8464 22 12 10 16 0 8 8
kqueuepl 184 74 0 72 1 0 1 1 0 8 0
pipepl 304 196 0 169 3 0 3 3 0 8 0
fdescpl 448 831 0 812 4 0 4 4 0 8 1
filepl 120 3378 0 3204 15 6 9 15 0 8 2
lockfpl 104 70 0 70 1 0 1 1 0 8 1
lockfspl 48 30 0 30 1 0 1 1 0 8 1
sessionpl 144 59 0 56 1 0 1 1 0 8 0
pgrppl 48 92 0 81 1 0 1 1 0 8 0
ucredpl 104 283 0 278 1 0 1 1 0 8 0
zombiepl 144 812 0 812 1 0 1 1 0 8 1
processpl 1152 844 0 812 4 0 4 4 0 8 0
procpl 664 1116 0 1077 6 1 5 6 0 8 1
sockpl 552 562 0 553 12 9 3 12 0 8 2
mcl64k 65536 11 0 11 2 1 1 1 0 8 1
mcl16k 16384 4 0 4 1 0 1 1 0 8 1
mcl8k 8192 4 0 4 1 1 0 1 0 8 0
mcl4k 4096 2698 0 2644 16 8 8 15 0 8 1
mcl2k 2048 377 0 375 5 4 1 4 0 8 0
mextrefs 64 144 0 143 2 1 1 1 0 8 0
mtagpl 96 7 0 7 1 1 0 1 0 8 0
mbufpl 256 6948 0 6792 17 4 13 17 0 8 1
bufpl 272 2915 0 103 188 0 188 188 0 8 0
anonpl 24 112427 0 110836 44 0 44 44 0 187 22
amapchunkpl 152 16330 0 16031 24 2 22 22 0 158 7
amappl16 200 1387 0 1374 15 2 13 13 0 8 10
amappl15 192 2 0 2 1 1 0 1 0 8 0
amappl14 184 651 0 651 1 0 1 1 0 8 1
amappl13 176 153 0 152 1 0 1 1 0 8 0
amappl12 168 1146 0 1130 2 0 2 2 0 8 0
amappl11 160 7 0 7 1 1 0 1 0 8 0
amappl10 152 78 0 76 1 0 1 1 0 8 0
amappl9 144 273 0 272 1 0 1 1 0 8 0
amappl8 136 182 0 182 1 0 1 1 0 8 1
amappl7 128 187 0 183 1 0 1 1 0 8 0
amappl6 120 352 0 351 1 0 1 1 0 8 0
amappl5 112 101 0 99 1 0 1 1 0 8 0
amappl4 104 331 0 324 1 0 1 1 0 8 0
amappl3 96 3031 0 2984 3 0 3 3 0 8 1
amappl2 88 872 0 845 2 0 2 2 0 8 0
amappl1 80 13448 0 13323 13 1 12 13 0 8 5
amappl 88 4848 0 4747 5 0 5 5 0 92 1
uvmvnodes 80 97 0 0 2 0 2 2 0 8 0
dma4096 4096 1 0 1 1 1 0 1 0 8 0
dma1024 1024 1 0 0 1 0 1 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 72 6 0 0 1 0 1 1 0 8 0
uaddrrnd 24 831 0 812 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 831 0 812 1 0 1 1 0 8 0
vmmpekpl 168 8333 0 8294 3 0 3 3 0 8 0
vmmpepl 168 61882 0 61096 85 2 83 85 0 357 46
vmsppl 368 830 0 812 4 1 3 4 0 8 0
rwobjpl 40 19630 0 19237 12 0 12 12 0 8 2
pdppl 4096 1668 0 1624 114 64 50 76 0 8 6
pvpl 32 333908 0 330124 110 0 110 110 0 265 59
pmappl 216 830 0 812 2 0 2 2 0 8 0
extentpl 40 45 0 27 1 0 1 1 0 8 0
phpool 112 592 0 92 15 0 15 15 0 8 0
ddb>