panic: missing alias Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *114911 12771 0 0x2 0 0 syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff832ef1da) at panic+0x1cf sys/kern/subr_prf.c:198 vgonel(fffffd80660e5c08,ffff80003c99fcb0) at vgonel+0x663 vrecycle(fffffd80660e5c08,ffff80003c99fcb0) at vrecycle+0x7c sys/kern/vfs_subr.c:1137 ufs_inactive(ffff80003c95b940) at ufs_inactive+0x359 sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd80660e5c08,ffff80003c99fcb0) at VOP_INACTIVE+0xfb sys/kern/vfs_vops.c:498 vput(fffffd80660e5c08) at vput+0xdc sys/kern/vfs_subr.c:790 VOP_REMOVE(fffffd80660e5548,fffffd80660e5c08,ffff80003c95baa8) at VOP_REMOVE+0x199 sys/kern/vfs_vops.c:336 dounlinkat(ffff80003c99fcb0,ffffff9c,75e84f4e2790,0) at dounlinkat+0x1c4 sys/kern/vfs_syscalls.c:1904 syscall(ffff80003c95bc10) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c95bc10) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75e84f4e2c40, 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(ffffffff832ef1da) at panic+0x1cf sys/kern/subr_prf.c:198 vgonel(fffffd80660e5c08,ffff80003c99fcb0) at vgonel+0x663 vrecycle(fffffd80660e5c08,ffff80003c99fcb0) at vrecycle+0x7c sys/kern/vfs_subr.c:1137 ufs_inactive(ffff80003c95b940) at ufs_inactive+0x359 sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd80660e5c08,ffff80003c99fcb0) at VOP_INACTIVE+0xfb sys/kern/vfs_vops.c:498 vput(fffffd80660e5c08) at vput+0xdc sys/kern/vfs_subr.c:790 VOP_REMOVE(fffffd80660e5548,fffffd80660e5c08,ffff80003c95baa8) at VOP_REMOVE+0x199 sys/kern/vfs_vops.c:336 dounlinkat(ffff80003c99fcb0,ffffff9c,75e84f4e2790,0) at dounlinkat+0x1c4 sys/kern/vfs_syscalls.c:1904 syscall(ffff80003c95bc10) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c95bc10) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75e84f4e2c40, count: -11 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80003c95b780 rbx 0xfffffd80660e5c08 rdx 0 rcx 0 rax 0xffff80003c99fcb0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xf0a6eadc711bbcfd r11 0x4e6330681e989d40 r12 0 r13 0x2909 __ALIGN_SIZE+0x1909 r14 0 r15 0x1 rip 0xffffffff8114f2b5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80003c95b770 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb> show proc PROC (syz-executor) tid=114911 pid=12771 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=0xffff80003c9e9cb8,0xffff80002f500d20 process=0xffff8000ffff6d20 user=0xffff80003c956000, vmspace=0xfffffd806c229180 estcpu=36, cpticks=36, pctcpu=0.14, user=0, sys=36, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 31804 158865 41576 0 2 0 syz-executor 61914 115046 0 0 3 0x14200 acct acct *12771 114911 69762 0 7 0x2 syz-executor 3071 69100 69762 0 2 0x2 syz-executor 41576 416958 69762 0 3 0x82 nanoslp syz-executor 52050 99793 69762 0 2 0x2 syz-executor 19133 515409 69762 0 2 0x2 syz-executor 5202 471002 69762 0 2 0x2 syz-executor 72906 237521 69762 0 2 0x2 syz-executor 5699 84128 69762 0 2 0x2 syz-executor 69762 190293 36470 0 3 0x82 kqread syz-executor 36470 419243 1423 0 3 0x10008a sigsusp ksh 1423 377497 61132 0 3 0x98 kqread sshd-session 61132 328645 46670 0 3 0x92 kqread sshd-session 41204 209664 1 0 3 0x100083 ttyin getty 46670 72780 1 0 3 0x88 kqread sshd 72504 162401 66897 73 3 0x1100090 kqread syslogd 66897 448121 1 0 3 0x100082 sbwait syslogd 99772 318518 1 0 3 0x100080 kqread resolvd 61432 352491 240 77 3 0x100092 kqread dhcpleased 35509 246928 240 77 3 0x100092 kqread dhcpleased 240 381807 1 0 3 0x80 kqread dhcpleased 76740 313740 0 0 3 0x14200 bored smr 46671 343837 0 0 2 0x14200 zerothread 18819 276480 0 0 3 0x14200 aiodoned aiodoned 80359 497497 0 0 3 0x14200 syncer update 79680 183293 0 0 3 0x14200 cleaner cleaner 84376 66389 0 0 3 0x14200 reaper reaper 47089 238554 0 0 3 0x14200 pgdaemon pagedaemon 9763 88766 0 0 3 0x14200 bored viomb 60292 49698 0 0 3 0x40014200 acpi0 acpi0 51858 12777 0 0 2 0x14200 softnet0 86586 71268 0 0 3 0x14200 bored systqmp 68233 393449 0 0 3 0x14200 bored systq 74971 428802 0 0 3 0x40014200 tmoslp softclock 23051 389834 0 0 3 0x40014200 idle0 1 411516 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 10201 11051K 11794K 166960K 13385 0 pcb 17 15K 17K 166960K 497 0 rtable 248 10K 11K 166960K 668 0 pf 30 12K 67481K 166960K 198 0 ifaddr 41 7K 8K 166960K 120 0 ifgroup 50 2K 2K 166960K 204 0 sysctl 4 1K 9K 166960K 15 0 counters 32 17K 18K 166960K 110 0 ioctlops 0 0K 4K 166960K 461 0 iov 0 0K 20K 166960K 178 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1470 92K 93K 166960K 2549 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 6K 166960K 22 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 38 0 dirhash 12 2K 2K 166960K 42 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 15 53K 236K 166960K 1459 0 sigio 0 0K 0K 166960K 67 0 proc 62 59K 124K 166960K 684 0 subproc 72 4K 4K 166960K 99 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 154 0 in_multi 92 7K 7K 166960K 186 0 ether_multi 1 0K 0K 166960K 23 0 mrt 2 0K 0K 166960K 11 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 229 1023K 1023K 166960K 229 0 exec 0 0K 1K 166960K 527 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 6 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 169 149K 170K 166960K 14641 0 UVM aobj 94 5K 5K 166960K 97 0 pinsyscall 36 72K 96K 166960K 2612 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 88 0 NDP 11 0K 2K 166960K 81 0 temp 80 8652K 8718K 166960K 47194 0 kqueue 13 20K 30K 166960K 275 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 187 0 184 2 0 2 2 0 8 1 rtentry 136 196 0 96 4 0 4 4 0 8 0 unpcb 144 1341 0 1326 14 10 4 6 0 8 3 syncache 336 9 0 9 3 2 1 1 0 8 1 tcpqe 32 2 0 2 2 1 1 1 0 8 1 tcpcb 736 746 0 740 14 7 7 7 0 8 6 arp 96 30 0 11 1 0 1 1 0 8 0 ipq 40 6 0 4 1 0 1 1 0 8 0 ipqe 40 10 0 8 1 0 1 1 0 8 0 inpcb 328 1734 0 1723 16 9 7 7 0 8 5 ip6q 72 29 0 22 1 0 1 1 0 8 0 ip6af 40 53 0 46 1 0 1 1 0 8 0 nd6 112 43 0 19 1 0 1 1 0 8 0 pkpcb 40 13 0 13 3 2 1 1 0 8 1 kcovpl 48 11 0 3 1 0 1 1 0 8 0 ppxss 1072 57 0 57 3 2 1 1 0 8 1 pppxif 1384 10 0 10 2 1 1 1 0 8 1 pfrktable 1344 3 0 3 3 2 1 1 0 8 1 pfrule 1344 1 0 1 1 1 0 1 0 8 0 rttmr 136 2 0 2 2 1 1 1 0 8 1 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 775 0 360 32 4 28 31 0 8 0 art_table 40 779 0 360 5 0 5 5 0 8 0 art_node 32 193 0 102 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 4 1 0 1 1 0 8 0 semapl 112 33 0 23 1 0 1 1 0 8 0 shmpl 112 94 0 3 3 0 3 3 0 8 0 dirhash 1024 37 0 20 3 0 3 3 0 8 0 dino2pl 256 4057 0 2551 95 0 95 95 0 8 0 ffsino 256 4057 0 2551 95 0 95 95 0 8 0 nchpl 144 6074 0 4382 64 0 64 64 0 8 0 rtmask 32 11 0 11 3 2 1 1 0 8 1 vnodes 216 4839 0 0 269 0 269 269 0 8 0 namei 1024 20492 0 20492 4 2 2 2 0 8 2 kstatmem 264 116 0 94 2 0 2 2 0 8 0 scsiplug 72 7 0 7 3 2 1 1 0 8 1 scxspl 216 20004 0 20004 11 9 2 8 1 8 2 plimitpl 152 432 0 416 1 0 1 1 0 8 0 sigapl 424 1753 0 1712 8 0 8 8 0 8 2 knotepl 120 52816 0 52769 43 33 10 17 0 8 6 kqueuepl 184 683 0 674 6 5 1 4 0 8 0 pipepl 304 378 0 351 8 5 3 8 0 8 0 fdescpl 448 1717 0 1690 5 1 4 5 0 8 0 filepl 120 11237 0 11031 15 6 9 12 0 8 0 lockfpl 104 599 0 597 1 0 1 1 0 8 0 lockfspl 48 253 0 251 1 0 1 1 0 8 0 sessionpl 144 28 0 20 1 0 1 1 0 8 0 pgrppl 48 95 0 79 1 0 1 1 0 8 0 ucredpl 104 1820 0 1809 1 0 1 1 0 8 0 zombiepl 144 1978 0 1978 1 0 1 1 0 8 1 processpl 1152 1753 0 1712 5 0 5 5 0 8 0 procpl 664 3758 0 3717 7 0 7 7 0 8 1 sosppl 176 4 0 4 2 2 0 1 0 8 0 sockpl 552 3381 0 3352 25 17 8 12 0 8 5 mcl64k 65536 181 0 179 2 1 1 1 0 8 0 mcl16k 16384 6 0 6 2 1 1 1 0 8 1 mcl12k 12288 3 0 2 1 0 1 1 0 8 0 mcl9k 9216 3 0 3 2 1 1 1 0 8 1 mcl8k 8192 14 0 14 3 2 1 1 0 8 1 mcl4k 4096 4235 0 4181 17 9 8 15 0 8 1 mcl2k 2048 2131 0 2122 5 3 2 3 0 8 0 mtagpl 96 12 0 7 2 1 1 1 0 8 0 mbufpl 256 21071 0 20887 91 76 15 77 0 8 0 bufpl 280 8443 0 2221 445 0 445 445 0 8 0 anonpl 24 260627 0 257954 72 30 42 45 0 187 9 amapchunkpl 152 51889 0 51613 50 24 26 39 0 158 5 amappl16 200 4619 0 4589 37 22 15 15 0 8 10 amappl15 192 18 0 18 1 1 0 1 0 8 0 amappl14 184 8 0 8 2 2 0 1 0 8 0 amappl13 176 443 0 442 1 0 1 1 0 8 0 amappl12 168 2083 0 2051 2 0 2 2 0 8 0 amappl11 160 3 0 3 1 1 0 1 0 8 0 amappl10 152 43 0 33 1 0 1 1 0 8 0 amappl9 144 245 0 245 1 1 0 1 0 8 0 amappl8 136 23 0 22 1 0 1 1 0 8 0 amappl7 128 112 0 110 1 0 1 1 0 8 0 amappl6 120 308 0 296 1 0 1 1 0 8 0 amappl5 112 77 0 69 1 0 1 1 0 8 0 amappl4 104 412 0 387 1 0 1 1 0 8 0 amappl3 96 8572 0 8520 3 0 3 3 0 8 0 amappl2 88 1852 0 1786 2 0 2 2 0 8 0 amappl1 80 15450 0 14935 13 0 13 13 0 8 0 amappl 88 13641 0 13540 5 0 5 5 0 92 1 uvmvnodes 80 4839 0 0 99 0 99 99 0 8 0 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 dma256 256 8 0 8 3 2 1 1 0 8 1 dma128 128 254 0 254 1 1 0 1 0 8 0 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 18 0 17 1 0 1 1 0 8 0 aobjpl 72 96 0 3 2 0 2 2 0 8 0 uaddrrnd 24 1717 0 1690 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1717 0 1690 1 0 1 1 0 8 0 vmmpekpl 168 14875 0 14826 3 0 3 3 0 8 0 vmmpepl 168 112572 0 111065 108 20 88 92 0 357 4 vmsppl 368 1716 0 1690 4 1 3 4 0 8 0 rwobjpl 40 34944 0 29238 61 0 61 61 0 8 1 pdppl 4096 3441 0 3380 121 58 63 83 0 8 2 pvpl 32 747228 0 740354 164 63 101 133 0 265 3 pmappl 216 1716 0 1690 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 506 0 170 12 1 11 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(ffffffff832ef1da) at panic+0x1cf sys/kern/subr_prf.c:198 vgonel(fffffd80660e5c08,ffff80003c99fcb0) at vgonel+0x663 vrecycle(fffffd80660e5c08,ffff80003c99fcb0) at vrecycle+0x7c sys/kern/vfs_subr.c:1137 ufs_inactive(ffff80003c95b940) at ufs_inactive+0x359 sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd80660e5c08,ffff80003c99fcb0) at VOP_INACTIVE+0xfb sys/kern/vfs_vops.c:498 vput(fffffd80660e5c08) at vput+0xdc sys/kern/vfs_subr.c:790 VOP_REMOVE(fffffd80660e5548,fffffd80660e5c08,ffff80003c95baa8) at VOP_REMOVE+0x199 sys/kern/vfs_vops.c:336 dounlinkat(ffff80003c99fcb0,ffffff9c,75e84f4e2790,0) at dounlinkat+0x1c4 sys/kern/vfs_syscalls.c:1904 syscall(ffff80003c95bc10) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c95bc10) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75e84f4e2c40, 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(ffffffff832ef1da) at panic+0x1cf sys/kern/subr_prf.c:198 vgonel(fffffd80660e5c08,ffff80003c99fcb0) at vgonel+0x663 vrecycle(fffffd80660e5c08,ffff80003c99fcb0) at vrecycle+0x7c sys/kern/vfs_subr.c:1137 ufs_inactive(ffff80003c95b940) at ufs_inactive+0x359 sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd80660e5c08,ffff80003c99fcb0) at VOP_INACTIVE+0xfb sys/kern/vfs_vops.c:498 vput(fffffd80660e5c08) at vput+0xdc sys/kern/vfs_subr.c:790 VOP_REMOVE(fffffd80660e5548,fffffd80660e5c08,ffff80003c95baa8) at VOP_REMOVE+0x199 sys/kern/vfs_vops.c:336 dounlinkat(ffff80003c99fcb0,ffffff9c,75e84f4e2790,0) at dounlinkat+0x1c4 sys/kern/vfs_syscalls.c:1904 syscall(ffff80003c95bc10) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c95bc10) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75e84f4e2c40, count: -11