panic: missing alias Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *475564 90790 0 0x2 0 0 syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff832d3771) at panic+0x1cf sys/kern/subr_prf.c:198 vgonel(fffffd80749ce2d8,ffff80002a7dc548) at vgonel+0x663 vrecycle(fffffd80749ce2d8,ffff80002a7dc548) at vrecycle+0x7c sys/kern/vfs_subr.c:1143 ufs_inactive(ffff80002a88cea0) at ufs_inactive+0x359 sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd80749ce2d8,ffff80002a7dc548) at VOP_INACTIVE+0xfb sys/kern/vfs_vops.c:498 vput(fffffd80749ce2d8) at vput+0xdc sys/kern/vfs_subr.c:796 VOP_REMOVE(fffffd80749ce7e8,fffffd80749ce2d8,ffff80002a88d008) at VOP_REMOVE+0x199 sys/kern/vfs_vops.c:336 dounlinkat(ffff80002a7dc548,ffffff9c,71c62c3bd330,0) at dounlinkat+0x1c4 sys/kern/vfs_syscalls.c:1904 syscall(ffff80002a88d170) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a88d170) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x71c62c3bd7e0, 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(ffffffff832d3771) at panic+0x1cf sys/kern/subr_prf.c:198 vgonel(fffffd80749ce2d8,ffff80002a7dc548) at vgonel+0x663 vrecycle(fffffd80749ce2d8,ffff80002a7dc548) at vrecycle+0x7c sys/kern/vfs_subr.c:1143 ufs_inactive(ffff80002a88cea0) at ufs_inactive+0x359 sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd80749ce2d8,ffff80002a7dc548) at VOP_INACTIVE+0xfb sys/kern/vfs_vops.c:498 vput(fffffd80749ce2d8) at vput+0xdc sys/kern/vfs_subr.c:796 VOP_REMOVE(fffffd80749ce7e8,fffffd80749ce2d8,ffff80002a88d008) at VOP_REMOVE+0x199 sys/kern/vfs_vops.c:336 dounlinkat(ffff80002a7dc548,ffffff9c,71c62c3bd330,0) at dounlinkat+0x1c4 sys/kern/vfs_syscalls.c:1904 syscall(ffff80002a88d170) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a88d170) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x71c62c3bd7e0, count: -11 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80002a88cce0 rbx 0xfffffd80749ce2d8 rdx 0 rcx 0 rax 0xffff80002a7dc548 r8 0x101010101010101 r9 0x8080808080808080 r10 0x76a002b3ca4e1674 r11 0x9313b0cfd296023d r12 0 r13 0x2909 __ALIGN_SIZE+0x1909 r14 0 r15 0x1 rip 0xffffffff8141e945 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a88ccd0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb> show proc PROC (syz-executor) tid=475564 pid=90790 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=0xffff80002a7dc2b0,0xffff80002a7dca88 process=0xffff80002a794d88 user=0xffff80002a888000, vmspace=0xfffffd8073ee9e68 estcpu=36, cpticks=31, pctcpu=0.0, user=4, sys=27, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 4307 219435 8049 0 3 0x80 nanoslp syz-executor 4307 258469 8049 0 2 0x4000000 syz-executor 4307 197065 8049 0 3 0x4000080 fsleep syz-executor 4307 520003 8049 0 3 0x4000080 fsleep syz-executor 14363 156458 14038 0 2 0 syz-executor 14363 274995 14038 0 2 0x4000000 syz-executor 14363 407431 14038 0 3 0x4000080 fsleep syz-executor 39715 193279 33180 0 3 0x82 piperd syz-executor 48425 75782 0 0 3 0x14200 bored sosplice 34616 125910 1 0 3 0x100083 ttyopn getty 8049 64314 33180 0 3 0x82 nanoslp syz-executor 14038 233091 33180 0 3 0x82 nanoslp syz-executor 26094 429133 33180 0 3 0x82 piperd syz-executor 24616 92933 33180 0 3 0x82 piperd syz-executor *90790 475564 33180 0 7 0x2 syz-executor 54466 3038 33180 0 2 0x2 syz-executor 33180 458994 4795 0 3 0x82 nanoslp syz-executor 4795 434393 73450 0 3 0x10008a sigsusp ksh 73450 94943 49098 0 3 0x98 kqread sshd-session 49098 109913 59066 0 3 0x92 kqread sshd-session 59066 171914 1 0 3 0x88 kqread sshd 66464 289207 88835 73 3 0x1100090 kqread syslogd 88835 369103 1 0 3 0x100082 sbwait syslogd 65977 280793 1 0 3 0x100080 kqread resolvd 32651 304138 94084 77 3 0x100092 kqread dhcpleased 85022 216863 94084 77 3 0x100092 kqread dhcpleased 94084 395180 1 0 3 0x80 kqread dhcpleased 38410 335220 0 0 3 0x14200 bored smr 26275 494736 0 0 2 0x14200 zerothread 44091 133067 0 0 3 0x14200 aiodoned aiodoned 16623 193228 0 0 3 0x14200 syncer update 88266 1266 0 0 3 0x14200 cleaner cleaner 20655 451655 0 0 3 0x14200 reaper reaper 46129 118789 0 0 3 0x14200 pgdaemon pagedaemon 31265 303055 0 0 3 0x14200 bored viomb 47201 243200 0 0 3 0x40014200 acpi0 acpi0 33539 168011 0 0 3 0x14200 bored softnet7 39942 151815 0 0 3 0x14200 bored softnet6 30581 41616 0 0 3 0x14200 bored softnet5 48966 380230 0 0 3 0x14200 bored softnet4 10017 280833 0 0 3 0x14200 bored softnet3 35088 462228 0 0 3 0x14200 bored softnet2 22325 419928 0 0 3 0x14200 bored softnet1 31772 122428 0 0 3 0x14200 bored softnet0 33690 24626 0 0 3 0x14200 bored systqmp 74297 108335 0 0 3 0x14200 bored systq 99349 90540 0 0 3 0x40014200 tmoslp softclock 29651 135826 0 0 3 0x40014200 idle0 1 156950 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 10200 11057K 11660K 166960K 13125 0 pcb 17 20K 25K 166960K 601 0 rtable 162 7K 9K 166960K 472 0 pf 28 12K 17K 166960K 133 0 ifaddr 32 5K 7K 166960K 103 0 ifgroup 46 2K 2K 166960K 178 0 sysctl 4 1K 9K 166960K 25 0 counters 31 17K 18K 166960K 88 0 ioctlops 0 0K 4K 166960K 229 0 iov 0 0K 28K 166960K 92 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1438 90K 91K 166960K 2814 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 10K 166960K 23 0 VM map 2 1K 1K 166960K 2 0 sem 23 37K 47K 166960K 38 0 dirhash 12 2K 2K 166960K 33 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 12 41K 81K 166960K 1479 0 sigio 0 0K 0K 166960K 14 0 proc 60 59K 91K 166960K 708 0 subproc 63 3K 5K 166960K 243 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 273 0 in_multi 63 4K 7K 166960K 158 0 ether_multi 1 0K 0K 166960K 8 0 mrt 0 0K 0K 166960K 8 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 115 519K 519K 166960K 115 0 exec 0 0K 1K 166960K 721 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 5 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 179 149K 178K 166960K 15212 0 UVM aobj 38 2K 2K 166960K 40 0 pinsyscall 33 66K 88K 166960K 2577 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 87 0 NDP 10 0K 2K 166960K 70 0 temp 77 8643K 8899K 166960K 59539 0 kqueue 13 20K 30K 166960K 280 0 SYN cache 2 0K 16K 166960K 4 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 340 0 337 5 2 3 3 0 8 2 rtentry 136 148 0 89 4 0 4 4 0 8 0 unpcb 144 787 0 772 5 1 4 4 0 8 3 syncache 336 7 0 7 2 1 1 1 0 8 1 tcpqe 32 34 0 34 2 1 1 1 0 8 1 tcpcb 736 524 0 520 7 0 7 7 0 8 6 arp 88 16 0 8 1 0 1 1 0 8 0 ipq 40 5 0 5 2 1 1 1 0 8 1 ipqe 40 11 0 11 2 1 1 1 0 8 1 inpcb 328 1840 0 1830 23 14 9 13 0 8 8 ip6q 72 5 0 5 1 0 1 1 0 8 1 ip6af 40 7 0 7 1 0 1 1 0 8 1 nd6 104 27 0 18 1 0 1 1 0 8 0 pkpcb 40 18 0 18 2 1 1 1 0 8 1 kcovpl 48 27 0 20 1 0 1 1 0 8 0 mppekey 1024 3 0 3 2 1 1 1 0 8 1 ppxss 1072 38 0 38 2 1 1 1 0 8 1 pppxif 1384 7 0 7 2 1 1 1 0 8 1 pfrktable 1344 2 0 2 1 0 1 1 0 8 1 pftag 88 3 0 1 1 0 1 1 0 8 0 pfrule 1344 12 0 12 2 1 1 1 0 8 1 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 713 0 420 29 3 26 29 0 8 4 art_table 40 717 0 420 5 0 5 5 0 8 0 art_node 32 148 0 96 1 0 1 1 0 8 0 sysvmsgpl 40 14 0 10 2 1 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 31 0 10 1 0 1 1 0 8 0 shmpl 112 37 0 2 1 0 1 1 0 8 0 dirhash 1024 32 0 15 3 0 3 3 0 8 0 dino2pl 256 4127 0 2616 95 0 95 95 0 8 0 ffsino 256 4127 0 2616 95 0 95 95 0 8 0 nchpl 144 6180 0 4484 64 0 64 64 0 8 0 rtmask 32 6 0 6 2 1 1 1 0 8 1 uvmvnodes 80 3490 0 0 72 0 72 72 0 8 0 vnodes 216 3490 0 0 194 0 194 194 0 8 0 namei 1024 22136 0 22136 4 1 3 3 0 8 3 kstatmem 264 100 0 80 2 0 2 2 0 8 0 scsiplug 72 10 0 10 2 1 1 1 0 8 1 scxspl 216 23189 0 23189 15 7 8 8 1 8 8 plimitpl 152 357 0 342 1 0 1 1 0 8 0 sigapl 424 1730 0 1685 7 1 6 7 0 8 0 knotepl 120 54338 0 54289 37 27 10 22 0 8 8 kqueuepl 184 556 0 547 6 0 6 6 0 8 5 pipepl 304 322 0 295 3 0 3 3 0 8 0 fdescpl 448 1707 0 1683 4 0 4 4 0 8 0 filepl 120 12119 0 11921 13 1 12 12 0 8 2 lockfpl 104 761 0 759 2 1 1 2 0 8 0 lockfspl 48 291 0 289 1 0 1 1 0 8 0 sessionpl 144 43 0 35 1 0 1 1 0 8 0 pgrppl 48 99 0 84 1 0 1 1 0 8 0 ucredpl 104 1974 0 1963 1 0 1 1 0 8 0 zombiepl 144 2598 0 2598 2 1 1 1 0 8 1 processpl 1152 1730 0 1685 4 0 4 4 0 8 0 procpl 664 4103 0 4053 7 0 7 7 0 8 2 sosppl 168 8 0 8 1 0 1 1 0 8 1 sockpl 552 3037 0 3008 17 7 10 12 0 8 7 mcl64k 65536 145 0 145 2 0 2 2 0 8 2 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl12k 12288 2 0 2 2 1 1 1 0 8 1 mcl8k 8192 38 0 38 2 1 1 1 0 8 1 mcl4k 4096 4400 0 4344 19 10 9 17 0 8 1 mcl2k 2048 2189 0 2183 3 1 2 2 0 8 1 mtagpl 96 24 0 18 2 1 1 1 0 8 0 mbufpl 256 18590 0 18483 33 15 18 28 0 8 6 bufpl 280 8985 0 2757 446 0 446 446 0 8 0 anonpl 24 219378 0 216594 86 30 56 56 0 187 22 amapchunkpl 152 51028 0 50703 43 5 38 38 0 158 21 amappl16 200 2753 0 2726 39 27 12 15 0 8 8 amappl15 192 2 0 2 1 1 0 1 0 8 0 amappl14 184 246 0 236 1 0 1 1 0 8 0 amappl13 176 1 0 1 1 1 0 1 0 8 0 amappl12 168 2362 0 2339 2 0 2 2 0 8 0 amappl11 160 42 0 32 1 0 1 1 0 8 0 amappl10 152 4 0 3 1 0 1 1 0 8 0 amappl9 144 254 0 254 1 1 0 1 0 8 0 amappl8 136 15 0 14 1 0 1 1 0 8 0 amappl7 128 130 0 120 1 0 1 1 0 8 0 amappl6 120 188 0 184 1 0 1 1 0 8 0 amappl5 112 118 0 111 1 0 1 1 0 8 0 amappl4 104 290 0 273 1 0 1 1 0 8 0 amappl3 96 10251 0 10176 4 0 4 4 0 8 1 amappl2 88 671 0 612 2 0 2 2 0 8 0 amappl1 80 14234 0 13713 14 1 13 13 0 8 0 amappl 88 14229 0 14112 5 0 5 5 0 92 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 258 0 258 2 1 1 1 0 8 1 dma64 64 8 0 8 2 1 1 1 0 8 1 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 39 0 2 1 0 1 1 0 8 0 uaddrrnd 24 1707 0 1683 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1707 0 1683 1 0 1 1 0 8 0 vmmpekpl 168 15734 0 15694 3 0 3 3 0 8 0 vmmpepl 168 110214 0 108638 103 10 93 94 0 357 8 vmsppl 368 1706 0 1683 4 1 3 4 0 8 0 rwobjpl 40 31763 0 27455 44 0 44 44 0 8 0 pdppl 4096 3420 0 3366 137 75 62 74 0 8 8 pvpl 32 692111 0 685017 172 47 125 126 0 265 33 pmappl 216 1706 0 1683 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 449 0 111 11 0 11 11 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(ffffffff832d3771) at panic+0x1cf sys/kern/subr_prf.c:198 vgonel(fffffd80749ce2d8,ffff80002a7dc548) at vgonel+0x663 vrecycle(fffffd80749ce2d8,ffff80002a7dc548) at vrecycle+0x7c sys/kern/vfs_subr.c:1143 ufs_inactive(ffff80002a88cea0) at ufs_inactive+0x359 sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd80749ce2d8,ffff80002a7dc548) at VOP_INACTIVE+0xfb sys/kern/vfs_vops.c:498 vput(fffffd80749ce2d8) at vput+0xdc sys/kern/vfs_subr.c:796 VOP_REMOVE(fffffd80749ce7e8,fffffd80749ce2d8,ffff80002a88d008) at VOP_REMOVE+0x199 sys/kern/vfs_vops.c:336 dounlinkat(ffff80002a7dc548,ffffff9c,71c62c3bd330,0) at dounlinkat+0x1c4 sys/kern/vfs_syscalls.c:1904 syscall(ffff80002a88d170) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a88d170) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x71c62c3bd7e0, 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(ffffffff832d3771) at panic+0x1cf sys/kern/subr_prf.c:198 vgonel(fffffd80749ce2d8,ffff80002a7dc548) at vgonel+0x663 vrecycle(fffffd80749ce2d8,ffff80002a7dc548) at vrecycle+0x7c sys/kern/vfs_subr.c:1143 ufs_inactive(ffff80002a88cea0) at ufs_inactive+0x359 sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd80749ce2d8,ffff80002a7dc548) at VOP_INACTIVE+0xfb sys/kern/vfs_vops.c:498 vput(fffffd80749ce2d8) at vput+0xdc sys/kern/vfs_subr.c:796 VOP_REMOVE(fffffd80749ce7e8,fffffd80749ce2d8,ffff80002a88d008) at VOP_REMOVE+0x199 sys/kern/vfs_vops.c:336 dounlinkat(ffff80002a7dc548,ffffff9c,71c62c3bd330,0) at dounlinkat+0x1c4 sys/kern/vfs_syscalls.c:1904 syscall(ffff80002a88d170) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a88d170) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x71c62c3bd7e0, count: -11