panic: missing alias Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *226394 97966 0 0x8000002 0 0 syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82faa355) at panic+0x1cf sys/kern/subr_prf.c:198 vgonel(fffffd806f637a60,ffff80002a4fc548) at vgonel+0x681 sys/kern/vfs_subr.c:1200 vrecycle(fffffd806f637a60,ffff80002a4fc548) at vrecycle+0x7c sys/kern/vfs_subr.c:1126 ufs_inactive(ffff80002a589508) at ufs_inactive+0x35d sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd806f637a60,ffff80002a4fc548) at VOP_INACTIVE+0xfe sys/kern/vfs_vops.c:495 vput(fffffd806f637a60) at vput+0xdc sys/kern/vfs_subr.c:779 VOP_REMOVE(fffffd807cfb81e8,fffffd806f637a60,ffff80002a589688) at VOP_REMOVE+0x19d sys/kern/vfs_vops.c:336 dounlinkat(ffff80002a4fc548,ffffff9c,7f2385fa1100,0) at dounlinkat+0x177 sys/kern/vfs_syscalls.c:1888 syscall(ffff80002a589800) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f2385fa15b0, 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(ffffffff82faa355) at panic+0x1cf sys/kern/subr_prf.c:198 vgonel(fffffd806f637a60,ffff80002a4fc548) at vgonel+0x681 sys/kern/vfs_subr.c:1200 vrecycle(fffffd806f637a60,ffff80002a4fc548) at vrecycle+0x7c sys/kern/vfs_subr.c:1126 ufs_inactive(ffff80002a589508) at ufs_inactive+0x35d sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd806f637a60,ffff80002a4fc548) at VOP_INACTIVE+0xfe sys/kern/vfs_vops.c:495 vput(fffffd806f637a60) at vput+0xdc sys/kern/vfs_subr.c:779 VOP_REMOVE(fffffd807cfb81e8,fffffd806f637a60,ffff80002a589688) at VOP_REMOVE+0x19d sys/kern/vfs_vops.c:336 dounlinkat(ffff80002a4fc548,ffffff9c,7f2385fa1100,0) at dounlinkat+0x177 sys/kern/vfs_syscalls.c:1888 syscall(ffff80002a589800) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f2385fa15b0, count: -11 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80002a589350 rbx 0 rdx 0 rcx 0 rax 0xffff80002a4fc548 r8 0x101010101010101 r9 0x8080808080808080 r10 0x1a4a98f4d80090d6 r11 0x5dbe457fc4619e0e r12 0 r13 0x800 r14 0 r15 0x1 rip 0xffffffff822db035 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a589340 ss 0 db_enter+0x25: addq $0x8,%rsp ddb> show proc PROC (syz-executor) tid=226394 pid=97966 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=0xffff80002a4d4cd0,0xffff80002a4fd998 process=0xffff80002a4e3110 user=0xffff80002a584000, vmspace=0xfffffd806cd4d2d0 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 41721 91270 38364 0 2 0x8000000 syz-executor 33117 422543 84803 0 2 0x8000000 syz-executor 33117 388478 84803 0 3 0xc000000 futex syz-executor 36892 402897 71253 0 2 0x8000000 syz-executor 36892 238511 71253 0 3 0xc000080 fsleep syz-executor 72561 147258 96068 0 3 0x8000000 futex syz-executor 72561 496406 96068 0 2 0xc000000 syz-executor 72561 366026 96068 0 2 0xc000000 syz-executor 77632 264287 48186 0 2 0x8000000 syz-executor 77632 277513 48186 0 3 0xc000000 futex syz-executor 77632 5095 48186 0 2 0xc000000 syz-executor 83029 347481 50844 0 2 0x8100002 sh 38364 250069 90092 0 3 0x8000082 nanoslp syz-executor 48186 118826 90092 0 3 0x8000082 nanoslp syz-executor 8779 294633 90092 0 2 0x8000002 syz-executor 50844 274095 90092 0 3 0x8000082 wait syz-executor 96068 478753 90092 0 3 0x8000082 nanoslp syz-executor 84803 29339 90092 0 3 0x8000082 nanoslp syz-executor 71253 111094 90092 0 3 0x8000082 nanoslp syz-executor *97966 226394 90092 0 7 0x8000002 syz-executor 49409 234406 1 0 3 0x18100083 ttyopn getty 58873 293765 0 0 3 0x14200 acct acct 92481 100968 0 0 3 0x14200 bored sosplice 81893 297511 0 0 3 0x14280 nfsidl nfsio 75648 421643 0 0 3 0x14280 nfsidl nfsio 53914 512639 0 0 3 0x14280 nfsidl nfsio 9852 254560 0 0 3 0x14280 nfsidl nfsio 73942 346309 0 0 3 0x14280 nfsidl nfsio 97645 144155 0 0 3 0x14280 nfsidl nfsio 1399 84339 0 0 3 0x14280 nfsidl nfsio 41242 164307 0 0 3 0x14280 nfsidl nfsio 98194 72842 0 0 3 0x14280 nfsidl nfsio 81978 337222 0 0 3 0x14280 nfsidl nfsio 38211 480030 0 0 3 0x14280 nfsidl nfsio 73961 13382 0 0 3 0x14280 nfsidl nfsio 10776 453843 0 0 3 0x14280 nfsidl nfsio 3868 429976 0 0 3 0x14280 nfsidl nfsio 8806 42333 0 0 3 0x14280 nfsidl nfsio 89465 475540 0 0 3 0x14280 nfsidl nfsio 22962 224372 0 0 3 0x14280 nfsidl nfsio 86829 287907 0 0 3 0x14280 nfsidl nfsio 39607 136629 0 0 3 0x14280 nfsidl nfsio 81805 105114 0 0 3 0x14280 nfsidl nfsio 90092 223537 46265 0 3 0x8000082 kqread syz-executor 46265 101627 5179 0 3 0x810008a sigsusp ksh 5179 406760 89809 0 3 0x18000098 kqread sshd-session 89809 147818 4356 0 3 0x18000092 kqread sshd-session 4356 329957 1 0 3 0x18000088 kqread sshd 21545 263157 2081 73 2 0x19100010 syslogd 2081 518071 1 0 3 0x18100082 sbwait syslogd 79131 403247 1 0 3 0x18100080 kqread resolvd 64904 362185 76443 77 3 0x18100092 kqread dhcpleased 35939 123599 76443 77 3 0x18100092 kqread dhcpleased 76443 306029 1 0 3 0x18000080 kqread dhcpleased 36465 167187 0 0 3 0x14200 bored smr 51638 367279 0 0 2 0x14200 zerothread 99123 293678 0 0 3 0x14200 aiodoned aiodoned 24355 125926 0 0 3 0x14200 syncer update 6929 161533 0 0 3 0x14200 cleaner cleaner 47863 355608 0 0 3 0x14200 reaper reaper 63319 373725 0 0 3 0x14200 pgdaemon pagedaemon 98180 28814 0 0 3 0x14200 bored viomb 10838 379450 0 0 3 0x40014200 acpi0 acpi0 14852 381213 0 0 3 0x14200 bored softnet3 79498 164276 0 0 3 0x14200 bored softnet2 31391 60969 0 0 3 0x14200 bored softnet1 67878 96525 0 0 3 0x14200 bored softnet0 25918 372090 0 0 3 0x14200 bored systqmp 70041 24239 0 0 3 0x14200 bored systq 33986 72574 0 0 3 0x40014200 tmoslp softclock 54173 394277 0 0 3 0x40014200 idle0 1 179322 0 0 3 0x8080082 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 10184 10092K 14387K 166960K 12560 0 pcb 18 17K 19K 166960K 222 0 rtable 211 8K 9K 166960K 1705 0 pf 33 13K 15K 166960K 150 0 ifaddr 41 7K 8K 166960K 234 0 ifgroup 54 2K 2K 166960K 265 0 sysctl 3 0K 0K 166960K 3 0 counters 31 17K 17K 166960K 85 0 ioctlops 0 0K 4K 166960K 244 0 iov 0 0K 16K 166960K 116 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1474 93K 93K 166960K 2997 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 17K 166960K 20 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 109 0 dirhash 12 2K 2K 166960K 33 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 16 57K 93K 166960K 1380 0 sigio 0 0K 0K 166960K 22 0 proc 58 59K 100K 166960K 1708 0 subproc 104 6K 7K 166960K 663 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 266 0 in_multi 89 6K 7K 166960K 576 0 ether_multi 1 0K 0K 166960K 4 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 109 493K 493K 166960K 109 0 exec 0 0K 2K 166960K 1288 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 205 72K 90K 166960K 12097 0 UVM aobj 77 5K 5K 166960K 78 0 pinsyscall 37 74K 94K 166960K 3494 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 31 0 NDP 12 0K 1K 166960K 167 0 temp 75 6812K 6926K 166960K 46993 0 kqueue 13 20K 28K 166960K 116 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 204 0 201 1 0 1 1 0 8 0 rtentry 112 597 0 502 4 0 4 4 0 8 1 unpcb 144 766 0 751 6 0 6 6 0 8 5 syncache 336 4 0 4 2 1 1 1 0 8 1 tcpcb 808 317 0 313 8 0 8 8 0 8 7 arp 88 106 0 88 1 0 1 1 0 8 0 ipq 40 6 0 5 1 0 1 1 0 8 0 ipqe 40 8 0 6 1 0 1 1 0 8 0 inpcb 336 1490 0 1482 16 7 9 13 0 8 8 nd6 104 156 0 134 1 0 1 1 0 8 0 pkpcb 40 17 0 17 1 0 1 1 0 8 1 kcovpl 48 51 0 43 1 0 1 1 0 8 0 ppxss 1072 5 0 5 1 0 1 1 0 8 1 pfstscr 40 2 0 2 1 0 1 1 0 8 1 pfrktable 1344 1 0 1 1 0 1 1 0 8 1 pftag 88 2 0 2 1 0 1 1 0 8 1 pfstkey 128 2 0 2 1 0 1 1 0 8 1 pfstate 344 1 0 1 1 0 1 1 0 8 1 pfrule 1344 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 2353 0 1942 30 1 29 30 0 8 3 art_table 32 2355 0 1942 4 0 4 4 0 8 0 art_node 16 589 0 503 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 2 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 106 0 96 1 0 1 1 0 8 0 shmpl 112 75 0 1 3 0 3 3 0 8 0 dirhash 1024 31 0 14 3 0 3 3 0 8 0 dino2pl 256 3205 0 1631 99 0 99 99 0 8 0 ffsino 240 3205 0 1631 93 0 93 93 0 8 0 nchpl 144 4387 0 2649 65 0 65 65 0 8 0 uvmvnodes 80 4380 0 0 90 0 90 90 0 8 0 vnodes 216 4380 0 0 244 0 244 244 0 8 0 namei 1024 20207 0 20206 4 2 2 2 0 8 1 vcpupl 3904 10 0 0 2 0 2 2 0 8 0 vmpool 664 14 0 4 1 0 1 1 0 8 0 kstatmem 264 132 0 108 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 29718 0 29718 9 1 8 8 1 8 8 plimitpl 152 209 0 192 1 0 1 1 0 8 0 sigapl 424 1597 0 1531 8 0 8 8 0 8 0 futexpl 64 14023 0 14021 2 1 1 1 0 8 0 knotepl 120 25468 0 25421 9 0 9 9 0 8 7 kqueuepl 184 420 0 410 7 0 7 7 0 8 6 pipepl 288 370 0 343 3 0 3 3 0 8 0 fdescpl 432 1559 0 1531 5 1 4 5 0 8 0 filepl 120 10576 0 10334 14 0 14 14 0 8 6 lockfpl 104 399 0 396 1 0 1 1 0 8 0 lockfspl 48 119 0 116 1 0 1 1 0 8 0 sessionpl 144 67 0 59 1 0 1 1 0 8 0 pgrppl 48 137 0 121 1 0 1 1 0 8 0 ucredpl 104 1945 0 1934 1 0 1 1 0 8 0 zombiepl 144 1956 0 1956 2 1 1 1 0 8 1 processpl 1088 1597 0 1531 5 0 5 5 0 8 0 procpl 648 2784 0 2712 8 0 8 8 0 8 0 sockpl 504 2484 0 2458 48 36 12 26 0 8 8 mcl64k 65536 4 0 4 1 0 1 1 0 8 1 mcl8k 8192 19 0 19 2 1 1 1 0 8 1 mcl4k 4096 5 0 5 2 1 1 1 0 8 1 mcl2k 2048 7705 0 7610 27 11 16 25 0 8 3 mtagpl 96 22 0 19 2 1 1 1 0 8 0 mbufpl 256 18333 0 18129 61 39 22 60 0 8 8 bufpl 280 6475 0 230 447 0 447 447 0 8 0 anonpl 24 267498 0 264416 78 4 74 74 0 187 46 amapchunkpl 152 38550 0 38137 36 0 36 36 0 158 17 amappl16 200 4996 0 4981 25 16 9 15 0 8 8 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 194 0 184 1 0 1 1 0 8 0 amappl13 176 36 0 36 1 1 0 1 0 8 0 amappl12 168 2836 0 2808 3 1 2 3 0 8 0 amappl11 160 50 0 40 1 0 1 1 0 8 0 amappl10 152 12 0 12 1 1 0 1 0 8 0 amappl9 144 134 0 134 1 1 0 1 0 8 0 amappl8 136 27 0 26 1 0 1 1 0 8 0 amappl7 128 176 0 166 1 0 1 1 0 8 0 amappl6 120 577 0 575 1 0 1 1 0 8 0 amappl5 112 310 0 300 1 0 1 1 0 8 0 amappl4 104 420 0 402 1 0 1 1 0 8 0 amappl3 96 7518 0 7423 4 0 4 4 0 8 1 amappl2 88 1193 0 1136 2 0 2 2 0 8 0 amappl1 80 13836 0 13310 14 1 13 13 0 8 0 amappl 88 11391 0 11244 5 0 5 5 0 92 0 dma65536 65536 2 0 2 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 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 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 77 0 1 2 0 2 2 0 8 0 uaddrrnd 24 1573 0 1535 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1573 0 1535 1 0 1 1 0 8 0 vmmpekpl 168 15078 0 15015 4 0 4 4 0 8 0 vmmpepl 168 102230 0 100594 92 0 92 92 0 357 15 vmsppl 344 1572 0 1535 5 1 4 4 0 8 0 rwobjpl 24 35782 0 30502 33 0 33 33 0 8 0 pdppl 4096 3152 0 3080 180 102 78 82 0 8 6 pvpl 32 781558 0 772571 257 0 257 257 0 265 161 pmappl 216 1572 0 1535 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 590 0 203 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(ffffffff82faa355) at panic+0x1cf sys/kern/subr_prf.c:198 vgonel(fffffd806f637a60,ffff80002a4fc548) at vgonel+0x681 sys/kern/vfs_subr.c:1200 vrecycle(fffffd806f637a60,ffff80002a4fc548) at vrecycle+0x7c sys/kern/vfs_subr.c:1126 ufs_inactive(ffff80002a589508) at ufs_inactive+0x35d sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd806f637a60,ffff80002a4fc548) at VOP_INACTIVE+0xfe sys/kern/vfs_vops.c:495 vput(fffffd806f637a60) at vput+0xdc sys/kern/vfs_subr.c:779 VOP_REMOVE(fffffd807cfb81e8,fffffd806f637a60,ffff80002a589688) at VOP_REMOVE+0x19d sys/kern/vfs_vops.c:336 dounlinkat(ffff80002a4fc548,ffffff9c,7f2385fa1100,0) at dounlinkat+0x177 sys/kern/vfs_syscalls.c:1888 syscall(ffff80002a589800) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f2385fa15b0, 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(ffffffff82faa355) at panic+0x1cf sys/kern/subr_prf.c:198 vgonel(fffffd806f637a60,ffff80002a4fc548) at vgonel+0x681 sys/kern/vfs_subr.c:1200 vrecycle(fffffd806f637a60,ffff80002a4fc548) at vrecycle+0x7c sys/kern/vfs_subr.c:1126 ufs_inactive(ffff80002a589508) at ufs_inactive+0x35d sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd806f637a60,ffff80002a4fc548) at VOP_INACTIVE+0xfe sys/kern/vfs_vops.c:495 vput(fffffd806f637a60) at vput+0xdc sys/kern/vfs_subr.c:779 VOP_REMOVE(fffffd807cfb81e8,fffffd806f637a60,ffff80002a589688) at VOP_REMOVE+0x19d sys/kern/vfs_vops.c:336 dounlinkat(ffff80002a4fc548,ffffff9c,7f2385fa1100,0) at dounlinkat+0x177 sys/kern/vfs_syscalls.c:1888 syscall(ffff80002a589800) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f2385fa15b0, count: -11