panic: missing alias Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *256581 93955 0 0x2 0 0 syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff832d0902) at panic+0x1cf sys/kern/subr_prf.c:198 vgonel(fffffd8065818138,ffff80002a7f4550) at vgonel+0x663 vrecycle(fffffd8065818138,ffff80002a7f4550) at vrecycle+0x7c sys/kern/vfs_subr.c:1143 ufs_inactive(ffff80003c9c10a0) at ufs_inactive+0x359 sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd8065818138,ffff80002a7f4550) at VOP_INACTIVE+0xfb sys/kern/vfs_vops.c:498 vput(fffffd8065818138) at vput+0xdc sys/kern/vfs_subr.c:796 VOP_REMOVE(fffffd805dd38450,fffffd8065818138,ffff80003c9c1208) at VOP_REMOVE+0x199 sys/kern/vfs_vops.c:336 dounlinkat(ffff80002a7f4550,ffffff9c,7f48d2f425e0,0) at dounlinkat+0x1c4 sys/kern/vfs_syscalls.c:1904 syscall(ffff80003c9c1370) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9c1370) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f48d2f42a90, 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: missing alias ddb> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff832d0902) at panic+0x1cf sys/kern/subr_prf.c:198 vgonel(fffffd8065818138,ffff80002a7f4550) at vgonel+0x663 vrecycle(fffffd8065818138,ffff80002a7f4550) at vrecycle+0x7c sys/kern/vfs_subr.c:1143 ufs_inactive(ffff80003c9c10a0) at ufs_inactive+0x359 sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd8065818138,ffff80002a7f4550) at VOP_INACTIVE+0xfb sys/kern/vfs_vops.c:498 vput(fffffd8065818138) at vput+0xdc sys/kern/vfs_subr.c:796 VOP_REMOVE(fffffd805dd38450,fffffd8065818138,ffff80003c9c1208) at VOP_REMOVE+0x199 sys/kern/vfs_vops.c:336 dounlinkat(ffff80002a7f4550,ffffff9c,7f48d2f425e0,0) at dounlinkat+0x1c4 sys/kern/vfs_syscalls.c:1904 syscall(ffff80003c9c1370) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9c1370) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f48d2f42a90, count: -11 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80003c9c0ee0 rbx 0xfffffd8065818138 rdx 0 rcx 0 rax 0xffff80002a7f4550 r8 0x101010101010101 r9 0x8080808080808080 r10 0x3e6a91ddfcc88b85 r11 0x1b4c12dfa607222a r12 0 r13 0x2909 __ALIGN_SIZE+0x1909 r14 0 r15 0x1 rip 0xffffffff81cb5505 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80003c9c0ed0 ss 0 db_enter+0x25: addq $0x8,%rsp ddb> show proc PROC (syz-executor) tid=256581 pid=93955 tcnt=1 stat=onproc flags process=2 proc=0 runpri=17, usrpri=50, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7f5ca8,0xffff80003653d790 process=0xffff8000ffff44a0 user=0xffff80003c9bc000, vmspace=0xfffffd806b9b6e78 estcpu=36, cpticks=221, pctcpu=0.0, user=6, sys=176, intr=19 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 1575 260736 74793 0 2 0 syz-executor 1575 503203 74793 0 3 0x4000080 fsleep syz-executor 35069 224577 30641 0 2 0 syz-executor 35069 274217 30641 0 2 0x4000000 syz-executor 96389 326239 36012 0 2 0 syz-executor 96389 274146 36012 0 2 0x4000000 syz-executor 35286 434139 42178 0 2 0 syz-executor 35286 469210 42178 0 2 0x4000000 syz-executor 11087 222412 21737 0 2 0x100002 sh 21737 2725 83488 0 3 0x82 wait syz-executor 21911 510529 0 0 3 0x14200 acct acct 74793 420877 83488 0 2 0x3 syz-executor 42178 448064 83488 0 2 0x3 syz-executor 36012 1920 83488 0 2 0x3 syz-executor 20662 492717 1 0 3 0x100083 ttyopn getty 30641 252125 83488 0 2 0x3 syz-executor 92374 427416 83488 0 3 0x82 wait syz-executor *93955 256581 83488 0 7 0x2 syz-executor 24189 312772 0 0 3 0x14200 bored sosplice 28741 401195 83488 0 2 0x2 syz-executor 83488 512808 73912 0 3 0x82 kqread syz-executor 73912 415896 14444 0 3 0x10008a sigsusp ksh 14444 211563 28450 0 3 0x98 kqread sshd-session 28450 300157 78193 0 3 0x92 kqread sshd-session 78193 516272 1 0 3 0x88 kqread sshd 91038 163579 56061 73 3 0x1100090 kqread syslogd 56061 500557 1 0 3 0x100082 sbwait syslogd 66691 149629 1 0 3 0x100080 kqread resolvd 53513 243215 0 0 3 0x14200 bored smr 86066 137184 0 0 2 0x14200 zerothread 15645 88638 0 0 3 0x14200 aiodoned aiodoned 34403 451486 0 0 3 0x14200 syncer update 16077 79204 0 0 3 0x14200 cleaner cleaner 73451 414410 0 0 3 0x14200 reaper reaper 58141 130447 0 0 3 0x14200 pgdaemon pagedaemon 31935 88179 0 0 3 0x14200 bored viomb 60411 455686 0 0 3 0x40014200 acpi0 acpi0 49171 121603 0 0 3 0x14200 bored softnet7 81527 32512 0 0 3 0x14200 bored softnet6 46351 470744 0 0 3 0x14200 bored softnet5 22337 370524 0 0 3 0x14200 bored softnet4 51212 95353 0 0 3 0x14200 bored softnet3 13686 255103 0 0 3 0x14200 bored softnet2 73969 328755 0 0 3 0x14200 bored softnet1 60276 352214 0 0 3 0x14200 bored softnet0 51165 114223 0 0 3 0x14200 bored systqmp 68193 463987 0 0 3 0x14200 bored systq 24535 133619 0 0 3 0x40014200 tmoslp softclock 92514 224225 0 0 3 0x40014200 idle0 1 337052 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10186 11055K 12099K 166960K 14715 0 pcb 17 16K 24K 166960K 892 0 rtable 241 15K 15K 166960K 965 0 pf 36 14K 21K 166960K 372 0 ifaddr 40 8K 9K 166960K 271 0 ifgroup 54 2K 2K 166960K 459 0 sysctl 4 1K 9K 166960K 62 0 counters 33 17K 18K 166960K 239 0 ioctlops 0 0K 4K 166960K 713 0 iov 0 0K 24K 166960K 246 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1456 91K 92K 166960K 3739 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 56K 64K 166960K 61 0 VM map 2 1K 1K 166960K 2 0 sem 25 321K 576K 166960K 210 0 dirhash 12 2K 2K 166960K 63 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 236K 166960K 3636 0 sigio 0 0K 0K 166960K 50 0 proc 54 43K 116K 166960K 1488 0 subproc 72 4K 4K 166960K 352 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 541 0 in_multi 83 6K 7K 166960K 392 0 ether_multi 1 0K 0K 166960K 34 0 mrt 1 0K 0K 166960K 23 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 91 413K 413K 166960K 91 0 exec 0 0K 1K 166960K 1148 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 72 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 200 127K 161K 166960K 35356 0 UVM aobj 184 11K 13K 166960K 193 0 pinsyscall 32 64K 96K 166960K 5224 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 203 0 NDP 12 0K 2K 166960K 205 0 temp 79 8644K 8772K 166960K 190431 0 kqueue 7 12K 34K 166960K 626 0 SYN cache 2 8K 16K 166960K 3 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 393 0 392 3 1 2 2 0 8 1 rtentry 136 345 0 264 4 0 4 4 0 8 0 unpcb 144 2910 0 2902 11 5 6 6 0 8 5 syncache 336 6 0 6 3 2 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 736 1436 0 1432 13 6 7 7 0 8 6 arp 88 48 0 34 1 0 1 1 0 8 0 ipq 40 12 0 12 1 0 1 1 0 8 1 ipqe 40 21 0 21 1 0 1 1 0 8 1 inpcb 328 3931 0 3927 22 13 9 12 0 8 8 ip6q 72 21 0 20 1 0 1 1 0 8 0 ip6af 40 37 0 34 1 0 1 1 0 8 0 nd6 104 62 0 48 1 0 1 1 0 8 0 pkpcb 40 28 0 28 2 1 1 1 0 8 1 kcovpl 48 39 0 31 1 0 1 1 0 8 0 mppekey 1024 2 0 2 1 0 1 1 0 8 1 ppxss 1072 151 0 151 2 1 1 1 0 8 1 pppxif 1384 13 0 13 2 1 1 1 0 8 1 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pfanchor 1288 4 0 0 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstkey 128 6 0 6 2 1 1 1 0 8 1 pfstate 384 3 0 3 2 1 1 1 0 8 1 pfrule 1344 7 0 7 1 0 1 1 0 8 1 rttmr 136 6 0 6 2 1 1 1 0 8 1 art_heap8 4096 6 0 0 6 0 6 6 0 8 0 art_heap4 256 1608 0 1209 29 2 27 29 0 8 2 art_table 40 1614 0 1209 5 0 5 5 0 8 0 art_node 32 338 0 274 1 0 1 1 0 8 0 sysvmsgpl 40 22 0 15 2 1 1 1 0 8 0 semupl 112 3 0 3 2 1 1 1 0 8 1 semapl 112 202 0 179 1 0 1 1 0 8 0 shmpl 112 191 0 9 6 0 6 6 0 8 0 dirhash 1024 51 0 34 3 0 3 3 0 8 0 dino2pl 256 7637 0 6084 98 0 98 98 0 8 0 ffsino 256 7637 0 6084 99 0 99 99 0 8 1 nchpl 144 12359 0 10594 66 0 66 66 0 8 0 rtmask 32 31 0 31 2 1 1 1 0 8 1 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 46184 0 46182 5 2 3 3 0 8 2 kstatmem 264 302 0 278 2 0 2 2 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 12 0 12 2 1 1 1 0 8 1 scxspl 216 43677 0 43677 22 14 8 8 1 8 8 plimitpl 152 827 0 812 1 0 1 1 0 8 0 sigapl 424 3864 0 3816 9 1 8 8 0 8 2 knotepl 120 487818 0 487787 75 64 11 20 0 8 8 kqueuepl 184 1418 0 1412 6 2 4 4 0 8 3 pipepl 304 504 0 477 8 0 8 8 0 8 5 fdescpl 448 3814 0 3788 5 1 4 5 0 8 0 filepl 120 26321 0 26131 23 8 15 15 0 8 5 lockfpl 104 1625 0 1620 2 0 2 2 0 8 1 lockfspl 48 459 0 455 1 0 1 1 0 8 0 sessionpl 144 57 0 50 1 0 1 1 0 8 0 pgrppl 48 141 0 126 1 0 1 1 0 8 0 ucredpl 104 5483 0 5475 1 0 1 1 0 8 0 zombiepl 144 6396 0 6395 3 2 1 1 0 8 0 processpl 1152 3864 0 3816 7 1 6 6 0 8 2 procpl 664 9981 0 9929 9 0 9 9 0 8 3 sosppl 168 25 0 25 2 1 1 1 0 8 1 sockpl 552 7528 0 7515 35 25 10 17 0 8 8 mcl64k 65536 343 0 343 4 2 2 2 0 8 2 mcl16k 16384 44 0 44 1 0 1 1 0 8 1 mcl12k 12288 20 0 20 2 1 1 1 0 8 1 mcl9k 9216 9 0 9 2 1 1 1 0 8 1 mcl8k 8192 59 0 59 3 2 1 1 0 8 1 mcl4k 4096 7611 0 7557 16 7 9 15 0 8 1 mcl2k 2048 4732 0 4725 9 5 4 6 0 8 3 mtagpl 96 15 0 15 2 1 1 1 0 8 1 mbufpl 256 44922 0 44797 134 114 20 77 0 8 8 bufpl 280 15214 0 8986 446 0 446 446 0 8 0 anonpl 24 517191 0 508899 145 48 97 97 0 187 21 amapchunkpl 152 126037 0 125500 49 10 39 39 0 158 14 amappl16 200 8624 0 8371 65 31 34 38 0 8 8 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 147 0 140 1 0 1 1 0 8 0 amappl13 176 10 0 10 1 1 0 1 0 8 0 amappl12 168 4784 0 4757 3 1 2 3 0 8 0 amappl11 160 49 0 44 1 0 1 1 0 8 0 amappl10 152 10 0 10 1 1 0 1 0 8 0 amappl9 144 257 0 257 1 1 0 1 0 8 0 amappl8 136 27 0 24 1 0 1 1 0 8 0 amappl7 128 141 0 134 1 0 1 1 0 8 0 amappl6 120 399 0 394 1 0 1 1 0 8 0 amappl5 112 212 0 208 1 0 1 1 0 8 0 amappl4 104 290 0 275 1 0 1 1 0 8 0 amappl3 96 21203 0 21125 3 0 3 3 0 8 0 amappl2 88 4087 0 4033 2 0 2 2 0 8 0 amappl1 80 23525 0 23075 13 1 12 13 0 8 0 amappl 88 33775 0 33622 5 0 5 5 0 92 0 dma65536 65536 1 0 1 1 0 1 1 0 8 1 dma16384 16384 2 0 2 2 1 1 1 0 8 1 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 40 0 40 2 1 1 1 0 8 1 dma128 128 258 0 258 2 1 1 1 0 8 1 dma64 64 10 0 10 3 2 1 1 0 8 1 dma32 32 8 0 8 2 2 0 1 0 8 0 dma16 16 23 0 22 1 0 1 1 0 8 0 aobjpl 72 192 0 9 4 0 4 4 0 8 0 uaddrrnd 24 3813 0 3788 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3813 0 3788 1 0 1 1 0 8 0 vmmpekpl 168 28220 0 28159 4 0 4 4 0 8 1 vmmpepl 168 246128 0 244422 123 12 111 111 0 357 21 vmsppl 368 3812 0 3788 4 1 3 4 0 8 0 rwobjpl 40 65296 0 58249 75 1 74 74 0 8 0 pdppl 4096 7632 0 7576 245 185 60 82 0 8 4 pvpl 32 1534308 0 1521174 231 58 173 173 0 265 22 pmappl 216 3812 0 3788 3 0 3 3 0 8 1 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 685 0 332 12 0 12 12 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(ffffffff832d0902) at panic+0x1cf sys/kern/subr_prf.c:198 vgonel(fffffd8065818138,ffff80002a7f4550) at vgonel+0x663 vrecycle(fffffd8065818138,ffff80002a7f4550) at vrecycle+0x7c sys/kern/vfs_subr.c:1143 ufs_inactive(ffff80003c9c10a0) at ufs_inactive+0x359 sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd8065818138,ffff80002a7f4550) at VOP_INACTIVE+0xfb sys/kern/vfs_vops.c:498 vput(fffffd8065818138) at vput+0xdc sys/kern/vfs_subr.c:796 VOP_REMOVE(fffffd805dd38450,fffffd8065818138,ffff80003c9c1208) at VOP_REMOVE+0x199 sys/kern/vfs_vops.c:336 dounlinkat(ffff80002a7f4550,ffffff9c,7f48d2f425e0,0) at dounlinkat+0x1c4 sys/kern/vfs_syscalls.c:1904 syscall(ffff80003c9c1370) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9c1370) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f48d2f42a90, 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(ffffffff832d0902) at panic+0x1cf sys/kern/subr_prf.c:198 vgonel(fffffd8065818138,ffff80002a7f4550) at vgonel+0x663 vrecycle(fffffd8065818138,ffff80002a7f4550) at vrecycle+0x7c sys/kern/vfs_subr.c:1143 ufs_inactive(ffff80003c9c10a0) at ufs_inactive+0x359 sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd8065818138,ffff80002a7f4550) at VOP_INACTIVE+0xfb sys/kern/vfs_vops.c:498 vput(fffffd8065818138) at vput+0xdc sys/kern/vfs_subr.c:796 VOP_REMOVE(fffffd805dd38450,fffffd8065818138,ffff80003c9c1208) at VOP_REMOVE+0x199 sys/kern/vfs_vops.c:336 dounlinkat(ffff80002a7f4550,ffffff9c,7f48d2f425e0,0) at dounlinkat+0x1c4 sys/kern/vfs_syscalls.c:1904 syscall(ffff80003c9c1370) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9c1370) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f48d2f42a90, count: -11