panic: missing alias Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *299669 19577 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(fffffd806a1b2a30,ffff80002a81ea78) at vgonel+0x663 vrecycle(fffffd806a1b2a30,ffff80002a81ea78) at vrecycle+0x7c sys/kern/vfs_subr.c:1143 ufs_inactive(ffff80003c981220) at ufs_inactive+0x359 sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd806a1b2a30,ffff80002a81ea78) at VOP_INACTIVE+0xfb sys/kern/vfs_vops.c:498 vput(fffffd806a1b2a30) at vput+0xdc sys/kern/vfs_subr.c:796 VOP_REMOVE(fffffd806b8d12a0,fffffd806a1b2a30,ffff80003c981388) at VOP_REMOVE+0x199 sys/kern/vfs_vops.c:336 dounlinkat(ffff80002a81ea78,ffffff9c,6fca03773700,0) at dounlinkat+0x1c4 sys/kern/vfs_syscalls.c:1904 syscall(ffff80003c9814f0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9814f0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6fca03773bb0, 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(fffffd806a1b2a30,ffff80002a81ea78) at vgonel+0x663 vrecycle(fffffd806a1b2a30,ffff80002a81ea78) at vrecycle+0x7c sys/kern/vfs_subr.c:1143 ufs_inactive(ffff80003c981220) at ufs_inactive+0x359 sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd806a1b2a30,ffff80002a81ea78) at VOP_INACTIVE+0xfb sys/kern/vfs_vops.c:498 vput(fffffd806a1b2a30) at vput+0xdc sys/kern/vfs_subr.c:796 VOP_REMOVE(fffffd806b8d12a0,fffffd806a1b2a30,ffff80003c981388) at VOP_REMOVE+0x199 sys/kern/vfs_vops.c:336 dounlinkat(ffff80002a81ea78,ffffff9c,6fca03773700,0) at dounlinkat+0x1c4 sys/kern/vfs_syscalls.c:1904 syscall(ffff80003c9814f0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9814f0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6fca03773bb0, count: -11 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80003c981060 rbx 0xfffffd806a1b2a30 rdx 0 rcx 0 rax 0xffff80002a81ea78 r8 0x101010101010101 r9 0x8080808080808080 r10 0x47df623a3989ad55 r11 0x67901de18fce1706 r12 0 r13 0x2909 __ALIGN_SIZE+0x1909 r14 0 r15 0x1 rip 0xffffffff8141e945 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80003c981050 ss 0 db_enter+0x25: addq $0x8,%rsp ddb> show proc PROC (syz-executor) tid=299669 pid=19577 tcnt=1 stat=onproc flags process=2 proc=0 runpri=17, usrpri=86, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7f4fb0,0xffff80003c996fc8 process=0xffff8000ffffa418 user=0xffff80003c97c000, vmspace=0xfffffd806ba31180 estcpu=36, cpticks=60, pctcpu=0.0, user=3, sys=57, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 7702 175469 55114 0 2 0 syz-executor 6502 409218 31255 0 2 0 syz-executor 6502 117896 31255 0 3 0x4000080 fsleep syz-executor 99084 220087 85811 0 2 0 syz-executor 99084 97429 85811 0 3 0x4000080 fsleep syz-executor 99084 28579 85811 0 2 0x4000000 syz-executor 82399 278448 75458 0 3 0 vmmaplk syz-executor 82399 58508 75458 0 3 0x4000080 fsleep syz-executor 82399 327298 75458 0 2 0x4000000 syz-executor 82399 347087 75458 0 3 0x4000080 fsleep syz-executor 9948 212972 61155 0 2 0 syz-executor 9948 315835 61155 0 2 0x4000000 syz-executor 9948 94271 61155 0 3 0x4000000 vmmaplk syz-executor 82416 29713 44558 60928 2 0x10 syz-executor 82416 192177 44558 60928 2 0x4000010 syz-executor 82416 454177 44558 60928 2 0x4000010 syz-executor 9991 187867 0 0 3 0x14280 nfsidl nfsio 78847 273071 0 0 3 0x14280 nfsidl nfsio 68027 483376 0 0 3 0x14280 nfsidl nfsio 13576 106501 0 0 3 0x14280 nfsidl nfsio 59914 8350 0 0 3 0x14280 nfsidl nfsio 2665 277166 0 0 3 0x14280 nfsidl nfsio 23521 278935 0 0 3 0x14280 nfsidl nfsio 22070 97074 0 0 3 0x14280 nfsidl nfsio 8071 73302 0 0 3 0x14280 nfsidl nfsio 49686 3214 0 0 3 0x14280 nfsidl nfsio 3354 130608 0 0 3 0x14280 nfsidl nfsio 51717 515173 0 0 3 0x14280 nfsidl nfsio 99995 137812 0 0 3 0x14280 nfsidl nfsio 24812 196308 0 0 3 0x14280 nfsidl nfsio 8036 54706 0 0 3 0x14280 nfsidl nfsio 53532 507815 0 0 3 0x14280 nfsidl nfsio 85534 200268 0 0 3 0x14280 nfsidl nfsio 76215 445515 0 0 3 0x14280 nfsidl nfsio 68708 75256 0 0 3 0x14280 nfsidl nfsio 92448 261747 0 0 3 0x14280 nfsidl nfsio 74730 44629 0 0 3 0x14200 acct acct 61155 306114 40987 0 3 0x82 nanoslp syz-executor 31255 317696 40987 0 3 0x82 nanoslp syz-executor 19794 140035 1 0 3 0x100083 ttyin getty *19577 299669 40987 0 7 0x2 syz-executor 85811 322101 40987 0 3 0x82 nanoslp syz-executor 33701 120833 0 0 3 0x14200 bored sosplice 75458 429209 40987 0 3 0x82 nanoslp syz-executor 70651 235990 40987 0 2 0x2 syz-executor 44558 30623 40987 0 3 0x82 nanoslp syz-executor 55114 180181 40987 0 3 0x82 nanoslp syz-executor 40987 357601 89328 0 3 0x82 kqread syz-executor 89328 472437 33994 0 3 0x10008a sigsusp ksh 33994 151124 7438 0 3 0x98 kqread sshd-session 7438 329900 34891 0 3 0x92 kqread sshd-session 34891 121719 1 0 3 0x88 kqread sshd 65640 70937 26203 73 3 0x1100090 kqread syslogd 26203 464025 1 0 3 0x100082 sbwait syslogd 96185 269224 1 0 3 0x100080 kqread resolvd 18749 417806 81749 77 3 0x100092 kqread dhcpleased 61847 480275 81749 77 3 0x100092 kqread dhcpleased 81749 117297 1 0 3 0x80 kqread dhcpleased 73171 331240 0 0 3 0x14200 bored smr 94322 17128 0 0 2 0x14200 zerothread 7287 297326 0 0 3 0x14200 aiodoned aiodoned 82831 357916 0 0 3 0x14200 syncer update 71077 51757 0 0 3 0x14200 cleaner cleaner 61529 132160 0 0 3 0x14200 reaper reaper 12562 388819 0 0 3 0x14200 pgdaemon pagedaemon 20397 461001 0 0 3 0x14200 bored viomb 79129 315883 0 0 3 0x40014200 acpi0 acpi0 20299 522801 0 0 3 0x14200 bored softnet7 72645 259383 0 0 3 0x14200 bored softnet6 58201 513474 0 0 3 0x14200 bored softnet5 19915 29403 0 0 3 0x14200 bored softnet4 94519 186979 0 0 3 0x14200 bored softnet3 81208 359760 0 0 3 0x14200 bored softnet2 44639 156213 0 0 3 0x14200 bored softnet1 83610 224299 0 0 3 0x14200 bored softnet0 67870 400652 0 0 3 0x14200 bored systqmp 64169 94630 0 0 3 0x14200 bored systq 72894 98296 0 0 3 0x40014200 tmoslp softclock 63699 284999 0 0 3 0x40014200 idle0 1 199927 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 10190 11050K 11685K 166960K 14313 0 pcb 18 18K 20K 166960K 500 0 rtable 198 13K 13K 166960K 759 0 pf 32 13K 17K 166960K 234 0 ifaddr 33 6K 7K 166960K 169 0 ifgroup 53 2K 2K 166960K 305 0 sysctl 4 1K 9K 166960K 16 0 counters 32 17K 18K 166960K 165 0 ioctlops 0 0K 4K 166960K 361 0 iov 0 0K 28K 166960K 153 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1487 94K 94K 166960K 3114 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 36 0 VM map 2 1K 1K 166960K 2 0 sem 13 160K 160K 166960K 115 0 dirhash 12 2K 2K 166960K 45 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 106K 166960K 1936 0 sigio 0 0K 0K 166960K 26 0 proc 60 59K 124K 166960K 834 0 subproc 72 4K 4K 166960K 127 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 217 0 in_multi 61 4K 7K 166960K 242 0 ether_multi 1 0K 0K 166960K 18 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 97 440K 440K 166960K 97 0 exec 0 0K 2K 166960K 829 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 3 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 215 151K 169K 166960K 19933 0 UVM aobj 68 3K 3K 166960K 69 0 pinsyscall 38 76K 96K 166960K 3109 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 102 0 NDP 11 0K 2K 166960K 128 0 temp 80 8644K 8772K 166960K 80158 0 kqueue 13 20K 34K 166960K 364 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 420 0 417 6 1 5 5 0 8 4 rtentry 136 275 0 214 4 0 4 4 0 8 1 unpcb 144 1868 0 1852 13 7 6 8 0 8 5 syncache 336 9 0 9 2 1 1 1 0 8 1 tcpqe 32 2 0 2 1 0 1 1 0 8 1 tcpcb 736 698 0 694 10 3 7 7 0 8 6 arp 88 27 0 15 1 0 1 1 0 8 0 ipq 40 5 0 4 1 0 1 1 0 8 0 ipqe 40 5 0 4 1 0 1 1 0 8 0 inpcb 328 2275 0 2264 15 6 9 10 0 8 7 ip6q 72 3 0 2 1 0 1 1 0 8 0 ip6af 40 3 0 3 1 0 1 1 0 8 1 nd6 104 37 0 27 1 0 1 1 0 8 0 pkpcb 40 144 0 144 3 1 2 2 0 8 2 kcovpl 48 14 0 6 1 0 1 1 0 8 0 mppekey 1024 2 0 2 1 0 1 1 0 8 1 ppxss 1072 103 0 103 2 1 1 1 0 8 1 pppxif 1384 11 0 11 2 1 1 1 0 8 1 pfrktable 1344 1 0 1 1 1 0 1 0 8 0 pftag 88 2 0 2 1 1 0 1 0 8 0 pfstkey 128 2 0 2 1 0 1 1 0 8 1 pfstate 384 2 0 2 1 0 1 1 0 8 1 pfrule 1344 5 0 5 2 1 1 1 0 8 1 rttmr 136 4 0 4 2 1 1 1 0 8 1 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 1057 0 740 30 6 24 30 0 8 1 art_table 40 1061 0 740 5 0 5 5 0 8 0 art_node 32 207 0 152 1 0 1 1 0 8 0 sysvmsgpl 40 17 0 9 2 1 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 105 0 94 1 0 1 1 0 8 0 shmpl 112 66 0 1 2 0 2 2 0 8 0 dirhash 1024 39 0 22 3 0 3 3 0 8 0 dino2pl 256 5100 0 3596 95 0 95 95 0 8 0 ffsino 256 5100 0 3596 95 0 95 95 0 8 0 nchpl 144 7774 0 6078 64 0 64 64 0 8 0 rtmask 32 17 0 17 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 28085 0 28085 3 1 2 2 0 8 2 kstatmem 264 196 0 174 2 0 2 2 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 5 0 5 2 1 1 1 0 8 1 scxspl 216 26336 0 26336 15 7 8 8 1 8 8 plimitpl 152 626 0 609 1 0 1 1 0 8 0 sigapl 424 2220 0 2149 10 1 9 9 0 8 0 knotepl 120 97179 0 97132 51 39 12 22 0 8 8 kqueuepl 184 729 0 718 7 3 4 4 0 8 3 pipepl 304 330 0 302 3 0 3 3 0 8 0 fdescpl 448 2171 0 2142 5 1 4 5 0 8 0 filepl 120 15859 0 15638 19 6 13 14 0 8 4 lockfpl 104 1146 0 1144 2 0 2 2 0 8 1 lockfspl 48 317 0 315 1 0 1 1 0 8 0 sessionpl 144 33 0 25 1 0 1 1 0 8 0 pgrppl 48 204 0 188 1 0 1 1 0 8 0 ucredpl 104 2580 0 2567 1 0 1 1 0 8 0 zombiepl 144 3350 0 3350 1 0 1 1 0 8 1 processpl 1152 2220 0 2149 7 1 6 6 0 8 0 procpl 664 5491 0 5410 9 1 8 8 0 8 0 sosppl 168 9 0 7 2 1 1 1 0 8 0 sockpl 552 4766 0 4736 38 28 10 17 0 8 6 mcl64k 65536 191 0 189 2 1 1 1 0 8 0 mcl16k 16384 2 0 2 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl9k 9216 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 66 0 66 2 1 1 1 0 8 1 mcl4k 4096 5116 0 5061 16 7 9 15 0 8 1 mcl2k 2048 3042 0 3039 4 2 2 3 0 8 0 mtagpl 96 80 0 79 2 0 2 2 0 8 1 mbufpl 256 24593 0 24468 44 28 16 43 0 8 2 bufpl 280 9758 0 3530 446 0 446 446 0 8 0 anonpl 24 316419 0 312819 78 19 59 59 0 187 25 amapchunkpl 152 67581 0 67125 43 15 28 34 0 158 6 amappl16 200 4957 0 4918 36 24 12 15 0 8 8 amappl15 192 13 0 13 1 1 0 1 0 8 0 amappl14 184 128 0 118 1 0 1 1 0 8 0 amappl13 176 6 0 6 1 1 0 1 0 8 0 amappl12 168 2862 0 2834 3 1 2 3 0 8 0 amappl11 160 66 0 56 1 0 1 1 0 8 0 amappl10 152 5 0 5 1 1 0 1 0 8 0 amappl9 144 244 0 244 1 1 0 1 0 8 0 amappl8 136 47 0 45 1 0 1 1 0 8 0 amappl7 128 113 0 102 1 0 1 1 0 8 0 amappl6 120 237 0 233 1 0 1 1 0 8 0 amappl5 112 163 0 156 1 0 1 1 0 8 0 amappl4 104 283 0 267 1 0 1 1 0 8 0 amappl3 96 13478 0 13380 5 1 4 4 0 8 0 amappl2 88 726 0 669 2 0 2 2 0 8 0 amappl1 80 16082 0 15533 15 2 13 14 0 8 0 amappl 88 18863 0 18712 6 1 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 256 0 256 2 1 1 1 0 8 1 dma64 64 7 0 7 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 68 0 1 2 0 2 2 0 8 0 uaddrrnd 24 2171 0 2142 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2171 0 2142 1 0 1 1 0 8 0 vmmpekpl 168 17813 0 17765 3 0 3 3 0 8 0 vmmpepl 168 138988 0 137131 100 7 93 94 0 357 6 vmsppl 368 2170 0 2142 4 1 3 4 0 8 0 rwobjpl 40 41838 0 34998 71 1 70 70 0 8 0 pdppl 4096 4348 0 4284 133 67 66 82 0 8 2 pvpl 32 911493 0 902865 171 35 136 136 0 265 47 pmappl 216 2170 0 2142 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 457 0 121 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(fffffd806a1b2a30,ffff80002a81ea78) at vgonel+0x663 vrecycle(fffffd806a1b2a30,ffff80002a81ea78) at vrecycle+0x7c sys/kern/vfs_subr.c:1143 ufs_inactive(ffff80003c981220) at ufs_inactive+0x359 sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd806a1b2a30,ffff80002a81ea78) at VOP_INACTIVE+0xfb sys/kern/vfs_vops.c:498 vput(fffffd806a1b2a30) at vput+0xdc sys/kern/vfs_subr.c:796 VOP_REMOVE(fffffd806b8d12a0,fffffd806a1b2a30,ffff80003c981388) at VOP_REMOVE+0x199 sys/kern/vfs_vops.c:336 dounlinkat(ffff80002a81ea78,ffffff9c,6fca03773700,0) at dounlinkat+0x1c4 sys/kern/vfs_syscalls.c:1904 syscall(ffff80003c9814f0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9814f0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6fca03773bb0, 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(fffffd806a1b2a30,ffff80002a81ea78) at vgonel+0x663 vrecycle(fffffd806a1b2a30,ffff80002a81ea78) at vrecycle+0x7c sys/kern/vfs_subr.c:1143 ufs_inactive(ffff80003c981220) at ufs_inactive+0x359 sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd806a1b2a30,ffff80002a81ea78) at VOP_INACTIVE+0xfb sys/kern/vfs_vops.c:498 vput(fffffd806a1b2a30) at vput+0xdc sys/kern/vfs_subr.c:796 VOP_REMOVE(fffffd806b8d12a0,fffffd806a1b2a30,ffff80003c981388) at VOP_REMOVE+0x199 sys/kern/vfs_vops.c:336 dounlinkat(ffff80002a81ea78,ffffff9c,6fca03773700,0) at dounlinkat+0x1c4 sys/kern/vfs_syscalls.c:1904 syscall(ffff80003c9814f0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9814f0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6fca03773bb0, count: -11