panic: missing alias Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *286329 27376 0 0x2 0 0 syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff832d3142) at panic+0x1cf sys/kern/subr_prf.c:198 vgonel(fffffd8069507c28,ffff80002a81f770) at vgonel+0x663 vrecycle(fffffd8069507c28,ffff80002a81f770) at vrecycle+0x7c sys/kern/vfs_subr.c:1143 ufs_inactive(ffff80002a8cb660) at ufs_inactive+0x359 sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd8069507c28,ffff80002a81f770) at VOP_INACTIVE+0xfb sys/kern/vfs_vops.c:498 vput(fffffd8069507c28) at vput+0xdc sys/kern/vfs_subr.c:796 VOP_REMOVE(fffffd80696763b0,fffffd8069507c28,ffff80002a8cb7c8) at VOP_REMOVE+0x199 sys/kern/vfs_vops.c:336 dounlinkat(ffff80002a81f770,ffffff9c,77c0d0a1d1e0,0) at dounlinkat+0x1c4 sys/kern/vfs_syscalls.c:1904 syscall(ffff80002a8cb930) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a8cb930) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x77c0d0a1d690, 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(ffffffff832d3142) at panic+0x1cf sys/kern/subr_prf.c:198 vgonel(fffffd8069507c28,ffff80002a81f770) at vgonel+0x663 vrecycle(fffffd8069507c28,ffff80002a81f770) at vrecycle+0x7c sys/kern/vfs_subr.c:1143 ufs_inactive(ffff80002a8cb660) at ufs_inactive+0x359 sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd8069507c28,ffff80002a81f770) at VOP_INACTIVE+0xfb sys/kern/vfs_vops.c:498 vput(fffffd8069507c28) at vput+0xdc sys/kern/vfs_subr.c:796 VOP_REMOVE(fffffd80696763b0,fffffd8069507c28,ffff80002a8cb7c8) at VOP_REMOVE+0x199 sys/kern/vfs_vops.c:336 dounlinkat(ffff80002a81f770,ffffff9c,77c0d0a1d1e0,0) at dounlinkat+0x1c4 sys/kern/vfs_syscalls.c:1904 syscall(ffff80002a8cb930) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a8cb930) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x77c0d0a1d690, count: -11 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80002a8cb4a0 rbx 0xfffffd8069507c28 rdx 0 rcx 0 rax 0xffff80002a81f770 r8 0x101010101010101 r9 0x8080808080808080 r10 0x73b12d1729660e09 r11 0x15ba0f7e635af7c8 r12 0 r13 0x2909 __ALIGN_SIZE+0x1909 r14 0 r15 0x1 rip 0xffffffff81e8f115 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a8cb490 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb> show proc PROC (syz-executor) tid=286329 pid=27376 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=0xffff80002a81fa08,0xffff80002a81f4e8 process=0xffff80002a7fd690 user=0xffff80002a8c6000, vmspace=0xfffffd806f151008 estcpu=36, cpticks=7, pctcpu=0.0, user=1, sys=5, intr=1 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 75573 177232 43688 0 2 0 syz-executor 37782 386622 45924 60929 2 0x10 syz-executor 37782 17131 45924 60929 3 0x4000090 fsleep syz-executor 97786 138631 67193 0 2 0 syz-executor 97786 51059 67193 0 3 0x4000080 ttyopn syz-executor 97786 294877 67193 0 3 0x4000080 fsleep syz-executor 71841 221614 26134 0 2 0 syz-executor 71841 80026 26134 0 3 0x4000080 fsleep syz-executor 71841 109677 26134 0 3 0x4000080 fsleep syz-executor 71841 516748 26134 0 3 0x4000080 fsleep syz-executor 38728 305130 0 0 3 0x14200 acct acct 27368 369029 0 0 3 0x14280 nfsidl nfsio 35316 426982 0 0 3 0x14280 nfsidl nfsio 60484 168990 0 0 3 0x14280 nfsidl nfsio 35882 349070 0 0 3 0x14280 nfsidl nfsio 25791 336925 0 0 3 0x14280 nfsidl nfsio 75980 234945 0 0 3 0x14280 nfsidl nfsio 25371 251682 0 0 3 0x14280 nfsidl nfsio 56570 141076 0 0 3 0x14280 nfsidl nfsio 2101 128698 0 0 3 0x14280 nfsidl nfsio 90342 366360 0 0 3 0x14280 nfsidl nfsio 96616 432644 0 0 3 0x14280 nfsidl nfsio 31186 62199 0 0 3 0x14280 nfsidl nfsio 43794 184242 0 0 3 0x14280 nfsidl nfsio 5735 431793 0 0 3 0x14280 nfsidl nfsio 87927 498590 0 0 3 0x14280 nfsidl nfsio 17055 189811 0 0 3 0x14280 nfsidl nfsio 92403 146019 0 0 3 0x14280 nfsidl nfsio 14059 67595 0 0 3 0x14280 nfsidl nfsio 65348 39913 0 0 3 0x14280 nfsidl nfsio 13215 380976 0 0 3 0x14280 nfsidl nfsio 55202 88573 43688 0 3 0x82 piperd syz-executor 26134 399957 43688 0 3 0x82 nanoslp syz-executor 2374 463423 0 0 3 0x14200 bored sosplice 93516 393389 43688 0 3 0x82 piperd syz-executor 21782 360227 43688 0 3 0x82 piperd syz-executor *27376 286329 43688 0 7 0x2 syz-executor 67193 507553 43688 0 3 0x82 nanoslp syz-executor 45924 492781 43688 0 3 0x82 nanoslp syz-executor 43688 244442 14954 0 2 0x2 syz-executor 14954 244201 9120 0 3 0x10008a sigsusp ksh 9120 28184 4218 0 3 0x98 kqread sshd-session 4218 323021 26897 0 3 0x92 kqread sshd-session 19812 320961 1 0 3 0x100083 ttyin getty 26897 201068 1 0 3 0x88 kqread sshd 23914 239689 84999 73 3 0x1100090 kqread syslogd 84999 405861 1 0 3 0x100082 sbwait syslogd 34257 131917 1 0 3 0x100080 kqread resolvd 70650 496145 78397 77 3 0x100092 kqread dhcpleased 74733 90030 78397 77 3 0x100092 kqread dhcpleased 78397 127554 1 0 3 0x80 kqread dhcpleased 60857 196608 0 0 3 0x14200 bored smr 53133 163320 0 0 2 0x14200 zerothread 68719 36088 0 0 3 0x14200 aiodoned aiodoned 25190 196697 0 0 3 0x14200 syncer update 39619 7976 0 0 3 0x14200 cleaner cleaner 48047 260318 0 0 3 0x14200 reaper reaper 78091 204237 0 0 3 0x14200 pgdaemon pagedaemon 73943 465584 0 0 3 0x14200 bored viomb 31805 333403 0 0 3 0x40014200 acpi0 acpi0 79743 265840 0 0 3 0x14200 bored softnet7 86438 337474 0 0 3 0x14200 bored softnet6 46862 283670 0 0 3 0x14200 bored softnet5 73768 118841 0 0 3 0x14200 bored softnet4 26039 203849 0 0 3 0x14200 bored softnet3 84187 400831 0 0 3 0x14200 bored softnet2 55263 57227 0 0 3 0x14200 bored softnet1 66823 155281 0 0 3 0x14200 bored softnet0 76718 228418 0 0 3 0x14200 bored systqmp 25485 462218 0 0 3 0x14200 bored systq 61192 96906 0 0 3 0x40014200 tmoslp softclock 82855 190059 0 0 3 0x40014200 idle0 1 517708 0 0 3 0x82 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 10199 11058K 11603K 166960K 12159 0 pcb 19 14K 15K 166960K 445 0 rtable 198 10K 10K 166960K 498 0 pf 38 14K 16K 166960K 165 0 ifaddr 38 6K 8K 166960K 105 0 ifgroup 56 2K 2K 166960K 143 0 sysctl 3 1K 9K 166960K 16 0 counters 35 18K 18K 166960K 90 0 ioctlops 0 0K 4K 166960K 487 0 iov 0 0K 28K 166960K 72 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1426 90K 90K 166960K 2567 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 22 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 58 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 13 42K 240K 166960K 1429 0 sigio 1 0K 0K 166960K 26 0 proc 60 59K 83K 166960K 708 0 subproc 63 3K 4K 166960K 117 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 324 0 in_multi 77 5K 7K 166960K 190 0 ether_multi 1 0K 0K 166960K 12 0 mrt 1 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 97 440K 440K 166960K 97 0 exec 0 0K 2K 166960K 489 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 178 141K 169K 166960K 14071 0 UVM aobj 42 2K 2K 166960K 51 0 pinsyscall 34 68K 96K 166960K 2552 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 42 0 NDP 13 0K 2K 166960K 73 0 temp 71 8643K 8767K 166960K 48463 0 kqueue 14 22K 32K 166960K 290 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 193 0 190 3 0 3 3 0 8 2 rtentry 136 163 0 91 4 0 4 4 0 8 0 unpcb 144 974 0 957 3 1 2 2 0 8 1 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 736 457 0 451 10 3 7 7 0 8 6 arp 88 21 0 8 1 0 1 1 0 8 0 ipq 40 4 0 3 1 0 1 1 0 8 0 ipqe 40 8 0 7 1 0 1 1 0 8 0 inpcb 328 1599 0 1588 10 3 7 7 0 8 5 ip6q 72 11 0 9 1 0 1 1 0 8 0 ip6af 40 17 0 15 1 0 1 1 0 8 0 nd6 104 38 0 22 1 0 1 1 0 8 0 pkpcb 40 5 0 5 2 1 1 1 0 8 1 kcovpl 48 13 0 6 1 0 1 1 0 8 0 ppxss 1072 49 0 47 2 1 1 1 0 8 0 pppxif 1384 2 0 2 1 1 0 1 0 8 0 pfstscr 40 17 0 16 1 0 1 1 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfstitem 24 10 0 0 1 0 1 1 0 8 0 pfstkey 128 30 0 22 1 0 1 1 0 8 0 pfstate 384 15 0 10 1 0 1 1 0 8 0 pfrule 1344 10 0 10 2 1 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 735 0 386 35 8 27 28 0 8 1 art_table 40 737 0 386 5 0 5 5 0 8 0 art_node 32 163 0 102 1 0 1 1 0 8 0 sysvmsgpl 40 23 0 16 1 0 1 1 0 8 0 semupl 112 3 0 3 2 1 1 1 0 8 1 semapl 112 52 0 42 1 0 1 1 0 8 0 shmpl 112 48 0 9 2 0 2 2 0 8 0 dirhash 1024 23 0 6 3 0 3 3 0 8 0 dino2pl 256 4144 0 2634 95 0 95 95 0 8 0 ffsino 256 4144 0 2634 95 0 95 95 0 8 0 nchpl 144 6123 0 4423 64 0 64 64 0 8 0 rtmask 32 8 0 8 2 1 1 1 0 8 1 uvmvnodes 80 4682 0 0 96 0 96 96 0 8 0 vnodes 216 4682 0 0 261 0 261 261 0 8 0 namei 1024 21531 0 21531 4 2 2 2 0 8 2 kstatmem 264 96 0 70 3 0 3 3 0 8 1 scsiplug 72 14 0 14 2 1 1 1 0 8 1 scxspl 216 30461 0 30461 15 7 8 8 1 8 8 plimitpl 152 493 0 478 1 0 1 1 0 8 0 sigapl 424 1702 0 1635 10 1 9 9 0 8 0 knotepl 120 71716 0 71663 40 29 11 18 0 8 8 kqueuepl 184 568 0 553 7 3 4 4 0 8 3 pipepl 304 350 0 323 10 2 8 8 0 8 5 fdescpl 448 1658 0 1633 5 1 4 5 0 8 0 filepl 120 11417 0 11206 15 4 11 12 0 8 2 lockfpl 104 612 0 610 1 0 1 1 0 8 0 lockfspl 48 184 0 182 1 0 1 1 0 8 0 sessionpl 144 27 0 19 1 0 1 1 0 8 0 pgrppl 48 122 0 106 1 0 1 1 0 8 0 ucredpl 104 2603 0 2590 1 0 1 1 0 8 0 zombiepl 144 2244 0 2244 2 1 1 1 0 8 1 processpl 1152 1702 0 1635 7 1 6 6 0 8 0 procpl 664 3807 0 3732 8 0 8 8 0 8 0 sosppl 168 6 0 6 1 0 1 1 0 8 1 sockpl 552 2918 0 2887 11 3 8 8 0 8 5 mcl64k 65536 147 0 147 2 0 2 2 0 8 2 mcl16k 16384 11 0 11 2 1 1 1 0 8 1 mcl9k 9216 4 0 4 1 0 1 1 0 8 1 mcl8k 8192 28 0 28 2 1 1 1 0 8 1 mcl4k 4096 4348 0 4299 15 7 8 14 0 8 1 mcl2k2 2112 10 0 10 1 0 1 1 0 8 1 mcl2k 2048 1915 0 1911 4 1 3 3 0 8 2 mtagpl 96 5 0 5 1 1 0 1 0 8 0 mbufpl 256 18394 0 18265 33 11 22 28 0 8 8 bufpl 280 14132 0 7904 446 0 446 446 0 8 0 anonpl 24 261623 0 258767 111 41 70 75 0 187 32 amapchunkpl 152 47894 0 47558 30 3 27 27 0 158 5 amappl16 200 5366 0 5340 57 43 14 29 0 8 8 amappl15 192 4 0 4 2 1 1 1 0 8 1 amappl14 184 112 0 102 1 0 1 1 0 8 0 amappl13 176 21 0 20 1 0 1 1 0 8 0 amappl12 168 2352 0 2327 3 1 2 3 0 8 0 amappl11 160 47 0 37 1 0 1 1 0 8 0 amappl10 152 18 0 18 1 1 0 1 0 8 0 amappl9 144 248 0 246 1 0 1 1 0 8 0 amappl8 136 32 0 31 1 0 1 1 0 8 0 amappl7 128 102 0 91 1 0 1 1 0 8 0 amappl6 120 215 0 211 1 0 1 1 0 8 0 amappl5 112 134 0 127 1 0 1 1 0 8 0 amappl4 104 269 0 254 1 0 1 1 0 8 0 amappl3 96 8414 0 8349 3 0 3 3 0 8 0 amappl2 88 1903 0 1834 2 0 2 2 0 8 0 amappl1 80 13612 0 13088 13 0 13 13 0 8 0 amappl 88 13105 0 12989 5 0 5 5 0 92 0 dma65536 65536 2 0 2 1 0 1 1 0 8 1 dma16384 16384 1 0 1 1 0 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 dma512 512 1 0 1 1 0 1 1 0 8 1 dma256 256 7 0 7 2 1 1 1 0 8 1 dma128 128 258 0 258 2 1 1 1 0 8 1 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 20 0 19 1 0 1 1 0 8 0 aobjpl 72 50 0 9 1 0 1 1 0 8 0 uaddrrnd 24 1658 0 1633 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1658 0 1633 1 0 1 1 0 8 0 vmmpekpl 168 14000 0 13951 3 0 3 3 0 8 0 vmmpepl 168 108599 0 106956 126 20 106 106 0 357 16 vmsppl 368 1657 0 1633 4 1 3 4 0 8 0 rwobjpl 40 34027 0 28522 59 0 59 59 0 8 1 pdppl 4096 3322 0 3266 111 43 68 82 0 8 12 pvpl 32 750122 0 742615 199 52 147 155 0 265 45 pmappl 216 1657 0 1633 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 430 0 82 10 0 10 10 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(ffffffff832d3142) at panic+0x1cf sys/kern/subr_prf.c:198 vgonel(fffffd8069507c28,ffff80002a81f770) at vgonel+0x663 vrecycle(fffffd8069507c28,ffff80002a81f770) at vrecycle+0x7c sys/kern/vfs_subr.c:1143 ufs_inactive(ffff80002a8cb660) at ufs_inactive+0x359 sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd8069507c28,ffff80002a81f770) at VOP_INACTIVE+0xfb sys/kern/vfs_vops.c:498 vput(fffffd8069507c28) at vput+0xdc sys/kern/vfs_subr.c:796 VOP_REMOVE(fffffd80696763b0,fffffd8069507c28,ffff80002a8cb7c8) at VOP_REMOVE+0x199 sys/kern/vfs_vops.c:336 dounlinkat(ffff80002a81f770,ffffff9c,77c0d0a1d1e0,0) at dounlinkat+0x1c4 sys/kern/vfs_syscalls.c:1904 syscall(ffff80002a8cb930) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a8cb930) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x77c0d0a1d690, 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(ffffffff832d3142) at panic+0x1cf sys/kern/subr_prf.c:198 vgonel(fffffd8069507c28,ffff80002a81f770) at vgonel+0x663 vrecycle(fffffd8069507c28,ffff80002a81f770) at vrecycle+0x7c sys/kern/vfs_subr.c:1143 ufs_inactive(ffff80002a8cb660) at ufs_inactive+0x359 sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd8069507c28,ffff80002a81f770) at VOP_INACTIVE+0xfb sys/kern/vfs_vops.c:498 vput(fffffd8069507c28) at vput+0xdc sys/kern/vfs_subr.c:796 VOP_REMOVE(fffffd80696763b0,fffffd8069507c28,ffff80002a8cb7c8) at VOP_REMOVE+0x199 sys/kern/vfs_vops.c:336 dounlinkat(ffff80002a81f770,ffffff9c,77c0d0a1d1e0,0) at dounlinkat+0x1c4 sys/kern/vfs_syscalls.c:1904 syscall(ffff80002a8cb930) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a8cb930) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x77c0d0a1d690, count: -11