panic: missing alias Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *504382 59233 0 0x8000002 0 0 syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82fb41fc) at panic+0x1cf sys/kern/subr_prf.c:198 vgonel(fffffd8073a33a58,ffff80002a4571c0) at vgonel+0x681 sys/kern/vfs_subr.c:1200 vrecycle(fffffd8073a33a58,ffff80002a4571c0) at vrecycle+0x7c sys/kern/vfs_subr.c:1126 ufs_inactive(ffff80002a583688) at ufs_inactive+0x35d sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd8073a33a58,ffff80002a4571c0) at VOP_INACTIVE+0xfe sys/kern/vfs_vops.c:495 vput(fffffd8073a33a58) at vput+0xdc sys/kern/vfs_subr.c:779 VOP_REMOVE(fffffd8073a33110,fffffd8073a33a58,ffff80002a583808) at VOP_REMOVE+0x19d sys/kern/vfs_vops.c:336 dounlinkat(ffff80002a4571c0,ffffff9c,73e21e724ad0,0) at dounlinkat+0x177 sys/kern/vfs_syscalls.c:1888 syscall(ffff80002a583980) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73e21e724f80, 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:437 panic(ffffffff82fb41fc) at panic+0x1cf sys/kern/subr_prf.c:198 vgonel(fffffd8073a33a58,ffff80002a4571c0) at vgonel+0x681 sys/kern/vfs_subr.c:1200 vrecycle(fffffd8073a33a58,ffff80002a4571c0) at vrecycle+0x7c sys/kern/vfs_subr.c:1126 ufs_inactive(ffff80002a583688) at ufs_inactive+0x35d sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd8073a33a58,ffff80002a4571c0) at VOP_INACTIVE+0xfe sys/kern/vfs_vops.c:495 vput(fffffd8073a33a58) at vput+0xdc sys/kern/vfs_subr.c:779 VOP_REMOVE(fffffd8073a33110,fffffd8073a33a58,ffff80002a583808) at VOP_REMOVE+0x19d sys/kern/vfs_vops.c:336 dounlinkat(ffff80002a4571c0,ffffff9c,73e21e724ad0,0) at dounlinkat+0x177 sys/kern/vfs_syscalls.c:1888 syscall(ffff80002a583980) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73e21e724f80, count: -11 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80002a5834d0 rbx 0 rdx 0 rcx 0 rax 0xffff80002a4571c0 r8 0 r9 0x8080808080808080 r10 0x766ec3a114215394 r11 0x6f2a0f79d026ae7a r12 0 r13 0x800 r14 0 r15 0x1 rip 0xffffffff82287535 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a5834c0 ss 0 db_enter+0x25: addq $0x8,%rsp ddb> show proc PROC (syz-executor) tid=504382 pid=59233 tcnt=1 stat=onproc flags process=8000002 proc=0 runpri=17, usrpri=50, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a4f2540,0xffff80002a4f3708 process=0xffff8000327f48a8 user=0xffff80002a57e000, vmspace=0xfffffd806f0216c0 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=3, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 90033 337088 39274 0 2 0x8000002 ifconfig 39274 246250 75180 0 3 0x810008a sigsusp sh 63290 467692 96527 0 2 0x8000000 syz-executor 63290 343362 96527 0 3 0xc000000 futex syz-executor 63290 495783 96527 0 3 0xc000080 fsleep syz-executor 85502 334412 88076 0 2 0x8000000 syz-executor 85502 350052 88076 0 3 0xc000000 futex syz-executor 85502 374665 88076 0 3 0xc000080 fsleep syz-executor 97084 411342 95686 0 3 0x8000000 futex syz-executor 97084 197446 95686 0 2 0xc000000 syz-executor 97084 386868 95686 0 3 0xc000080 fsleep syz-executor 77965 276517 40666 0 2 0x8000010 syz-executor 77965 288352 40666 0 3 0xc000010 futex syz-executor 19982 129101 19338 0 2 0x8000002 syz-executor 75180 230065 19338 0 3 0x8000082 wait syz-executor 49403 423709 19338 0 3 0x8000002 biowait syz-executor 96527 236497 19338 0 2 0x8000482 syz-executor 95686 82503 19338 0 2 0x8000482 syz-executor 40666 344024 19338 0 2 0x8000482 syz-executor 88076 474016 19338 0 2 0x8000482 syz-executor *59233 504382 19338 0 7 0x8000002 syz-executor 37211 230324 0 0 3 0x14200 acct acct 48874 120905 0 0 3 0x14280 nfsidl nfsio 18719 458362 0 0 3 0x14280 nfsidl nfsio 6857 75475 0 0 3 0x14280 nfsidl nfsio 49231 182009 0 0 3 0x14280 nfsidl nfsio 75572 84358 0 0 3 0x14280 nfsidl nfsio 65625 212143 0 0 3 0x14280 nfsidl nfsio 82594 171448 0 0 3 0x14280 nfsidl nfsio 6143 307452 0 0 3 0x14280 nfsidl nfsio 75352 505600 0 0 3 0x14280 nfsidl nfsio 48661 47758 0 0 3 0x14280 nfsidl nfsio 47369 240606 0 0 3 0x14280 nfsidl nfsio 72735 388355 0 0 3 0x14280 nfsidl nfsio 45331 1554 0 0 3 0x14280 nfsidl nfsio 78186 25299 0 0 3 0x14280 nfsidl nfsio 79879 98258 0 0 3 0x14280 nfsidl nfsio 39465 37339 0 0 3 0x14280 nfsidl nfsio 28181 72239 0 0 3 0x14280 nfsidl nfsio 94216 397862 0 0 3 0x14280 nfsidl nfsio 43993 392013 0 0 3 0x14280 nfsidl nfsio 46267 371678 0 0 3 0x14280 nfsidl nfsio 67150 393791 0 0 3 0x14200 bored sosplice 19338 324857 59688 0 3 0x8000082 kqread syz-executor 59688 350181 8586 0 3 0x810008a sigsusp ksh 8586 60085 36371 0 3 0x18000098 kqread sshd-session 36371 522946 18278 0 3 0x18000092 kqread sshd-session 20290 118584 1 0 3 0x18100083 ttyin getty 18278 30613 1 0 3 0x18000088 kqread sshd 25959 482303 3033 73 2 0x19100010 syslogd 3033 141827 1 0 3 0x18100082 sbwait syslogd 69386 85168 1 0 3 0x18100080 kqread resolvd 37284 508258 19836 77 3 0x18100092 kqread dhcpleased 58164 451926 19836 77 3 0x18100092 kqread dhcpleased 19836 172405 1 0 3 0x18000080 kqread dhcpleased 86654 296860 0 0 3 0x14200 bored smr 7476 409785 0 0 2 0x14200 zerothread 1814 519179 0 0 3 0x14200 aiodoned aiodoned 64784 74763 0 0 3 0x14200 syncer update 97043 83864 0 0 3 0x14200 cleaner cleaner 87326 252330 0 0 3 0x14200 reaper reaper 53282 475830 0 0 3 0x14200 pgdaemon pagedaemon 4222 415645 0 0 3 0x14200 bored viomb 69539 324482 0 0 3 0x40014200 acpi0 acpi0 35852 398052 0 0 3 0x14200 bored softnet3 43390 126526 0 0 3 0x14200 bored softnet2 83804 386729 0 0 3 0x14200 bored softnet1 18432 186969 0 0 3 0x14200 bored softnet0 37761 39178 0 0 3 0x14200 bored systqmp 56690 48199 0 0 3 0x14200 bored systq 54828 132348 0 0 3 0x40014200 tmoslp softclock 74565 311445 0 0 3 0x40014200 idle0 1 177451 0 0 3 0x8000082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10199 10172K 14270K 166960K 13645 0 pcb 18 15K 16K 166960K 466 0 rtable 206 8K 9K 166960K 2709 0 pf 33 13K 17K 166960K 327 0 ifaddr 42 8K 9K 166960K 377 0 ifgroup 50 2K 2K 166960K 439 0 sysctl 3 0K 0K 166960K 7 0 counters 30 17K 17K 166960K 132 0 ioctlops 0 0K 4K 166960K 499 0 iov 0 0K 24K 166960K 141 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1535 96K 97K 166960K 3908 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 44 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 221 0 dirhash 15 2K 3K 166960K 51 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 17 61K 97K 166960K 2700 0 sigio 0 0K 0K 166960K 53 0 proc 61 67K 124K 166960K 2631 0 subproc 104 6K 6K 166960K 1056 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 300 0 in_multi 94 6K 7K 166960K 962 0 ether_multi 1 0K 0K 166960K 14 0 mrt 1 0K 0K 166960K 7 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 169 758K 758K 166960K 169 0 exec 0 0K 1K 166960K 1670 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 209 74K 93K 166960K 22846 0 UVM aobj 9 2K 2K 166960K 9 0 pinsyscall 38 76K 100K 166960K 5616 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 105 0 NDP 11 0K 2K 166960K 274 0 temp 75 6816K 6956K 166960K 101251 0 kqueue 13 20K 32K 166960K 263 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 387 0 384 3 0 3 3 0 8 2 rtentry 112 959 0 866 4 0 4 4 0 8 1 unpcb 144 2202 0 2185 14 5 9 9 0 8 8 syncache 336 8 0 8 1 1 0 1 0 8 0 tcpqe 32 12 0 12 1 1 0 1 0 8 0 tcpcb 808 628 0 622 13 8 5 8 0 8 4 arp 88 174 0 155 1 0 1 1 0 8 0 ipq 40 6 0 5 1 0 1 1 0 8 0 ipqe 40 8 0 7 1 0 1 1 0 8 0 inpcb 336 2926 0 2916 19 11 8 8 0 8 7 nd6 104 250 0 228 1 0 1 1 0 8 0 pkpcb 40 17 0 17 2 1 1 1 0 8 1 kcovpl 48 81 0 73 1 0 1 1 0 8 0 ppxss 1072 15 0 15 3 2 1 1 0 8 1 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pfosfp 40 2 0 1 1 0 1 1 0 8 0 pfosfpen 112 2 0 1 1 0 1 1 0 8 0 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfqueue 264 1 0 1 1 1 0 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 3 0 1 1 0 1 1 0 8 0 pfstate 344 2 0 1 1 0 1 1 0 8 0 pfrule 1344 3 0 2 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 3774 0 3352 32 2 30 30 0 8 3 art_table 32 3775 0 3352 4 0 4 4 0 8 0 art_node 16 951 0 868 1 0 1 1 0 8 0 sysvmsgpl 40 58 0 20 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 219 0 209 1 0 1 1 0 8 0 shmpl 112 6 0 0 1 0 1 1 0 8 0 dirhash 1024 43 0 24 3 0 3 3 0 8 0 dino2pl 256 4597 0 2967 103 0 103 103 0 8 0 ffsino 240 4597 0 2967 97 0 97 97 0 8 0 nchpl 144 7077 0 5314 66 0 66 66 0 8 0 uvmvnodes 80 6709 0 0 137 0 137 137 0 8 0 vnodes 216 6709 0 0 373 0 373 373 0 8 0 namei 1024 34401 0 34398 4 3 1 2 0 8 0 vcpupl 3904 3 0 0 1 0 1 1 0 8 0 vmpool 664 12 0 9 1 0 1 1 0 8 0 kstatmem 264 226 0 204 2 0 2 2 0 8 0 scsiplug 72 4 0 4 2 1 1 1 0 8 1 scxspl 216 62279 0 62278 9 7 2 8 1 8 1 plimitpl 152 712 0 696 1 0 1 1 0 8 0 sigapl 424 2859 0 2792 8 0 8 8 0 8 0 futexpl 64 29379 0 29375 1 0 1 1 0 8 0 knotepl 120 56133 0 56086 27 17 10 11 0 8 7 kqueuepl 184 572 0 563 3 2 1 3 0 8 0 pipepl 288 777 0 750 9 4 5 7 0 8 2 fdescpl 432 2818 0 2789 5 1 4 5 0 8 0 filepl 120 19769 0 19522 24 9 15 16 0 8 6 lockfpl 104 1002 0 1000 3 2 1 2 0 8 0 lockfspl 48 291 0 289 1 0 1 1 0 8 0 sessionpl 144 94 0 86 1 0 1 1 0 8 0 pgrppl 48 236 0 220 1 0 1 1 0 8 0 ucredpl 104 2609 0 2597 1 0 1 1 0 8 0 zombiepl 144 3292 0 3292 2 1 1 1 0 8 1 processpl 1096 2859 0 2792 6 0 6 6 0 8 1 procpl 648 5549 0 5475 9 1 8 8 0 8 1 sosppl 168 10 0 10 3 2 1 1 0 8 1 sockpl 504 5554 0 5524 79 66 13 30 0 8 8 mcl64k 65536 16 0 16 3 2 1 1 0 8 1 mcl16k 16384 12 0 12 3 2 1 1 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl9k 9216 2 0 2 2 1 1 1 0 8 1 mcl8k 8192 50 0 50 2 1 1 1 0 8 1 mcl4k 4096 10 0 10 3 2 1 1 0 8 1 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 11012 0 10916 33 12 21 25 0 8 8 mtagpl 96 170 0 170 2 0 2 2 0 8 2 mbufpl 256 30758 0 30539 73 49 24 66 0 8 8 bufpl 280 10408 0 3645 484 0 484 484 0 8 0 anonpl 24 404313 0 401000 122 71 51 98 0 187 20 amapchunkpl 152 73796 0 73365 63 31 32 49 0 158 11 amappl16 200 6000 0 5983 34 24 10 14 0 8 8 amappl15 192 9 0 9 1 1 0 1 0 8 0 amappl14 184 249 0 239 1 0 1 1 0 8 0 amappl13 176 6 0 5 1 0 1 1 0 8 0 amappl12 168 4583 0 4555 3 1 2 3 0 8 0 amappl11 160 50 0 40 1 0 1 1 0 8 0 amappl10 152 10 0 10 1 1 0 1 0 8 0 amappl9 144 113 0 113 1 1 0 1 0 8 0 amappl8 136 28 0 27 1 0 1 1 0 8 0 amappl7 128 255 0 245 1 0 1 1 0 8 0 amappl6 120 893 0 889 1 0 1 1 0 8 0 amappl5 112 420 0 410 1 0 1 1 0 8 0 amappl4 104 509 0 493 1 0 1 1 0 8 0 amappl3 96 14570 0 14471 5 1 4 4 0 8 0 amappl2 88 1646 0 1585 2 0 2 2 0 8 0 amappl1 80 19593 0 19052 15 2 13 14 0 8 1 amappl 88 21875 0 21723 5 0 5 5 0 92 0 dma4096 4096 2 0 2 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 3 2 1 1 0 8 1 dma64 64 8 0 8 3 2 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 8 0 0 1 0 1 1 0 8 0 uaddrrnd 24 2830 0 2798 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2830 0 2798 1 0 1 1 0 8 0 vmmpekpl 168 23816 0 23755 3 0 3 3 0 8 0 vmmpepl 168 175010 0 173366 97 11 86 91 0 357 6 vmsppl 344 2829 0 2798 5 1 4 4 0 8 0 rwobjpl 24 54789 0 47208 47 0 47 47 0 8 0 pdppl 4096 5666 0 5599 219 148 71 82 0 8 4 pvpl 32 1376718 0 1367207 424 200 224 285 0 265 129 pmappl 216 2829 0 2798 3 1 2 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 700 0 313 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:437 panic(ffffffff82fb41fc) at panic+0x1cf sys/kern/subr_prf.c:198 vgonel(fffffd8073a33a58,ffff80002a4571c0) at vgonel+0x681 sys/kern/vfs_subr.c:1200 vrecycle(fffffd8073a33a58,ffff80002a4571c0) at vrecycle+0x7c sys/kern/vfs_subr.c:1126 ufs_inactive(ffff80002a583688) at ufs_inactive+0x35d sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd8073a33a58,ffff80002a4571c0) at VOP_INACTIVE+0xfe sys/kern/vfs_vops.c:495 vput(fffffd8073a33a58) at vput+0xdc sys/kern/vfs_subr.c:779 VOP_REMOVE(fffffd8073a33110,fffffd8073a33a58,ffff80002a583808) at VOP_REMOVE+0x19d sys/kern/vfs_vops.c:336 dounlinkat(ffff80002a4571c0,ffffff9c,73e21e724ad0,0) at dounlinkat+0x177 sys/kern/vfs_syscalls.c:1888 syscall(ffff80002a583980) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73e21e724f80, count: -11 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82fb41fc) at panic+0x1cf sys/kern/subr_prf.c:198 vgonel(fffffd8073a33a58,ffff80002a4571c0) at vgonel+0x681 sys/kern/vfs_subr.c:1200 vrecycle(fffffd8073a33a58,ffff80002a4571c0) at vrecycle+0x7c sys/kern/vfs_subr.c:1126 ufs_inactive(ffff80002a583688) at ufs_inactive+0x35d sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd8073a33a58,ffff80002a4571c0) at VOP_INACTIVE+0xfe sys/kern/vfs_vops.c:495 vput(fffffd8073a33a58) at vput+0xdc sys/kern/vfs_subr.c:779 VOP_REMOVE(fffffd8073a33110,fffffd8073a33a58,ffff80002a583808) at VOP_REMOVE+0x19d sys/kern/vfs_vops.c:336 dounlinkat(ffff80002a4571c0,ffffff9c,73e21e724ad0,0) at dounlinkat+0x177 sys/kern/vfs_syscalls.c:1888 syscall(ffff80002a583980) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73e21e724f80, count: -11