panic: missing alias Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 501287 44254 0 0 0 1 syz-executor *347582 22449 0 0x2 0 0 syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8331cbbd) at panic+0x1e5 sys/kern/subr_prf.c:198 vgonel(fffffd8078f21888,ffff80002a3919b8) at vgonel+0x681 sys/kern/vfs_subr.c:1218 vrecycle(fffffd8078f21888,ffff80002a3919b8) at vrecycle+0x7c sys/kern/vfs_subr.c:1144 ufs_inactive(ffff80002a438b28) at ufs_inactive+0x360 sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd8078f21888,ffff80002a3919b8) at VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495 vput(fffffd8078f21888) at vput+0xe5 sys/kern/vfs_subr.c:797 VOP_REMOVE(fffffd8078f54958,fffffd8078f21888,ffff80002a438ca8) at VOP_REMOVE+0x19d sys/kern/vfs_vops.c:336 dounlinkat(ffff80002a3919b8,ffffff9c,7f730c569020,0) at dounlinkat+0x177 sys/kern/vfs_syscalls.c:1902 syscall(ffff80002a438e20) at syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a438e20) at syscall+0xb08 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f730c5694d0, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: missing alias ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8331cbbd) at panic+0x1e5 sys/kern/subr_prf.c:198 vgonel(fffffd8078f21888,ffff80002a3919b8) at vgonel+0x681 sys/kern/vfs_subr.c:1218 vrecycle(fffffd8078f21888,ffff80002a3919b8) at vrecycle+0x7c sys/kern/vfs_subr.c:1144 ufs_inactive(ffff80002a438b28) at ufs_inactive+0x360 sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd8078f21888,ffff80002a3919b8) at VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495 vput(fffffd8078f21888) at vput+0xe5 sys/kern/vfs_subr.c:797 VOP_REMOVE(fffffd8078f54958,fffffd8078f21888,ffff80002a438ca8) at VOP_REMOVE+0x19d sys/kern/vfs_vops.c:336 dounlinkat(ffff80002a3919b8,ffffff9c,7f730c569020,0) at dounlinkat+0x177 sys/kern/vfs_syscalls.c:1902 syscall(ffff80002a438e20) at syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a438e20) at syscall+0xb08 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f730c5694d0, count: -11 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a438960 rbx 0xffffffff83805dc7 cpu_info_full_primary+0x2dc7 rdx 0 rcx 0xffff80002a3919b8 rax 0xffffffff83804ff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xb4594ffcf099a42d r11 0x1dbe47f4c43a001 r12 0xffffffff83805bc8 cpu_info_full_primary+0x2bc8 r13 0 r14 0 r15 0x1 rip 0xffffffff82fec615 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a438950 ss 0 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor) tid=347582 pid=22449 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=0xffff80002a391728,0xffff80003c4c5228 process=0xffff80002a3024c8 user=0xffff80002a433000, vmspace=0xfffffd806ed5a560 estcpu=36, cpticks=0, pctcpu=0.15, user=1, sys=151, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 24198 416076 57531 0 3 0 futex syz-executor 31318 290565 58781 0 2 0 syz-executor 31318 271771 58781 0 2 0x4000000 syz-executor 99706 342019 51667 0 3 0x80 nanoslp syz-executor 99706 69058 51667 0 3 0x4000080 fsleep syz-executor 99706 396204 51667 0 3 0x4000080 fsleep syz-executor 44254 501287 19354 0 7 0 syz-executor 44254 228513 19354 0 3 0x4000080 piperd syz-executor 44254 130043 19354 0 2 0x4000000 syz-executor 44254 243261 19354 0 3 0x4000080 fsleep syz-executor 97808 467288 73348 0 2 0 syz-executor 97808 188436 73348 0 2 0x4000000 syz-executor 97808 92614 73348 0 3 0x4000080 fsleep syz-executor 19915 90195 45452 0 2 0x1 syz-executor 19915 438074 45452 0 3 0x4000080 msgwait syz-executor 19915 402356 45452 0 3 0x4000080 fsleep syz-executor 88566 197502 0 0 3 0x14200 acct acct 58781 311105 98330 0 3 0x82 nanoslp syz-executor 51667 1757 98330 0 3 0x82 nanoslp syz-executor 45452 96566 98330 0 3 0x82 nanoslp syz-executor 25627 202819 0 0 3 0x14200 bored sosplice 82260 164195 0 0 3 0x14280 nfsidl nfsio 80596 65329 0 0 3 0x14280 nfsidl nfsio 96233 297571 0 0 3 0x14280 nfsidl nfsio 87051 225046 0 0 3 0x14280 nfsidl nfsio 75211 288038 0 0 3 0x14280 nfsidl nfsio 99003 514053 0 0 3 0x14280 nfsidl nfsio 28201 41853 0 0 3 0x14280 nfsidl nfsio 763 290200 0 0 3 0x14280 nfsidl nfsio 71639 308120 0 0 3 0x14280 nfsidl nfsio 52652 301902 0 0 3 0x14280 nfsidl nfsio 98473 123073 0 0 3 0x14280 nfsidl nfsio 95637 41040 0 0 3 0x14280 nfsidl nfsio 69822 208215 0 0 3 0x14280 nfsidl nfsio 96551 440227 0 0 3 0x14280 nfsidl nfsio 54136 161747 0 0 3 0x14280 nfsidl nfsio 81081 486187 0 0 3 0x14280 nfsidl nfsio 46324 234741 0 0 3 0x14280 nfsidl nfsio 72214 355938 0 0 3 0x14280 nfsidl nfsio 63032 65663 0 0 3 0x14280 nfsidl nfsio 80591 903 0 0 3 0x14280 nfsidl nfsio *22449 347582 98330 0 7 0x2 syz-executor 19354 228568 98330 0 3 0x82 nanoslp syz-executor 57531 367763 98330 0 3 0x82 nanoslp syz-executor 73348 233544 98330 0 3 0x82 nanoslp syz-executor 98330 80688 6115 0 3 0x82 wait syz-executor 6115 159939 54180 0 3 0x10008a sigsusp ksh 54180 64145 83054 0 3 0x98 kqread sshd-session 83054 7243 22476 0 3 0x92 kqread sshd-session 26429 92228 1 0 3 0x100083 ttyin getty 22476 74276 1 0 3 0x88 kqread sshd 21005 504627 84872 74 3 0x1100092 bpf pflogd 84872 186558 1 0 3 0x80 sbwait pflogd 57945 33910 13109 73 3 0x1100090 kqread syslogd 13109 400989 1 0 3 0x100082 sbwait syslogd 26687 135311 1 0 3 0x100080 kqread resolvd 85674 305238 90172 77 3 0x100092 kqread dhcpleased 81519 370198 90172 77 3 0x100092 kqread dhcpleased 90172 325531 1 0 3 0x80 kqread dhcpleased 52057 156576 0 0 3 0x14200 bored smr 2813 454392 0 0 2 0x14200 zerothread 92896 140297 0 0 3 0x14200 aiodoned aiodoned 3653 443995 0 0 3 0x14200 syncer update 61332 294674 0 0 3 0x14200 cleaner cleaner 49275 320854 0 0 3 0x14200 reaper reaper 71116 367578 0 0 3 0x14200 pgdaemon pagedaemon 43583 186518 0 0 3 0x14200 bored viomb 91022 510609 0 0 3 0x40014200 acpi0 acpi0 38621 130738 0 0 3 0x40014200 idle1 93884 14429 0 0 3 0x14200 bored softnet3 37151 126506 0 0 3 0x14200 bored softnet2 75907 51813 0 0 3 0x14200 bored softnet1 73260 21580 0 0 3 0x14200 bored softnet0 99083 121289 0 0 3 0x14200 bored systqmp 66399 510052 0 0 3 0x14200 bored systq 8527 424969 0 0 3 0x14200 tmoslp softclockmp 88942 315588 0 0 3 0x40014200 tmoslp softclock 86082 32453 0 0 3 0x40014200 idle0 1 31945 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks Process 97808 (syz-executor) thread 0xffff80003c4cf4b8 (188436) Process 22449 (syz-executor) thread 0xffff80002a3919b8 (347582) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10215 11123K 11604K 166960K 13109 0 pcb 19 14K 17K 166960K 241 0 rtable 188 10K 11K 166960K 1061 0 pf 39 18K 26K 166960K 195 0 ifaddr 36 6K 8K 166960K 178 0 ifgroup 55 2K 2K 166960K 267 0 sysctl 4 1K 1K 166960K 6 0 counters 64 36K 37K 166960K 238 0 ioctlops 0 0K 4K 166960K 1828 0 iov 0 0K 16K 166960K 123 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1404 88K 88K 166960K 2685 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 24 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 87 0 dirhash 12 2K 3K 166960K 36 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 94K 166960K 1578 0 sigio 0 0K 0K 166960K 24 0 proc 72 91K 127K 166960K 1215 0 subproc 72 4K 4K 166960K 243 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 475 0 in_multi 73 5K 7K 166960K 344 0 ether_multi 1 0K 0K 166960K 8 0 mrt 2 0K 0K 166960K 5 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 91 413K 413K 166960K 91 0 exec 0 0K 1K 166960K 731 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 223 73K 87K 166960K 15397 0 UVM aobj 36 2K 2K 166960K 37 0 pinsyscall 41 82K 106K 166960K 3166 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 57 0 NDP 14 0K 2K 166960K 123 0 temp 73 8688K 8764K 166960K 53131 0 kqueue 13 20K 34K 166960K 244 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 24 0 0 1 0 1 1 0 8 0 rtpcb 120 150 0 147 1 0 1 1 0 8 0 rtentry 160 347 0 272 5 0 5 5 0 8 0 unpcb 144 877 0 860 7 6 1 4 0 8 0 syncache 336 8 0 8 3 3 0 1 0 8 0 tcpcb 808 389 0 385 12 11 1 7 0 8 0 arp 120 59 0 43 1 0 1 1 0 8 0 inpcb 376 1576 0 1563 12 10 2 8 0 8 0 nd6 136 84 0 67 1 0 1 1 0 8 0 pkpcb 40 9 0 9 4 4 0 1 0 8 0 kcovpl 48 27 0 19 1 0 1 1 0 8 0 mppekey 1024 2 0 2 1 1 0 1 0 8 0 ppxss 1168 46 0 46 3 2 1 1 0 8 1 pppxif 1480 12 0 12 3 3 0 1 0 8 0 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pffrag 232 11 0 2 1 0 1 1 0 482 0 pffrnode 88 10 0 2 1 0 1 1 0 8 0 pffrent 40 18 0 9 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfrktable 1344 6 0 2 1 0 1 1 0 8 0 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pfstitem 24 76 0 36 1 0 1 1 0 8 0 pfstkey 128 78 0 38 2 0 2 2 0 8 0 pfstate 376 76 0 37 6 0 6 6 0 8 0 pfrule 1344 29 0 18 2 0 2 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 1432 0 1075 35 9 26 29 0 8 0 art_table 32 1434 0 1075 4 0 4 4 0 8 0 art_node 16 338 0 271 1 0 1 1 0 8 0 sysvmsgpl 40 15 0 13 1 0 1 1 0 8 0 semapl 112 85 0 75 1 0 1 1 0 8 0 shmpl 112 34 0 1 1 0 1 1 0 8 0 dirhash 1024 33 0 16 3 0 3 3 0 8 0 dino2pl 256 3905 0 2363 97 0 97 97 0 8 0 ffsino 280 3905 0 2363 111 0 111 111 0 8 0 nchpl 144 5717 0 3975 65 0 65 65 0 8 0 rtmask 32 8 0 8 5 5 0 1 0 8 0 uvmvnodes 80 4759 0 0 98 0 98 98 0 8 0 vnodes 216 4759 0 0 265 0 265 265 0 8 0 namei 1024 20687 0 20687 4 3 1 2 0 8 1 percpumem 16 133 0 87 1 0 1 1 0 8 0 pfiaddrpl 120 2 0 0 1 0 1 1 0 8 0 kstatmem 264 138 0 114 2 0 2 2 0 8 0 scsiplug 72 2 0 2 2 2 0 1 0 8 0 scxspl 216 16838 0 16838 13 12 1 8 1 8 1 plimitpl 152 244 0 227 1 0 1 1 0 8 0 sigapl 424 1862 0 1792 9 0 9 9 0 8 0 futexpl 64 17633 0 17627 1 0 1 1 0 8 0 knotepl 120 531 0 0 16 0 16 16 0 8 0 kqueuepl 216 449 0 440 4 3 1 2 0 8 0 pipepl 328 355 0 326 3 0 3 3 0 8 0 fdescpl 504 1818 0 1788 5 0 5 5 0 8 0 filepl 152 10482 0 10262 17 6 11 15 0 8 0 lockfpl 104 297 0 295 1 0 1 1 0 8 0 lockfspl 48 121 0 119 1 0 1 1 0 8 0 sessionpl 144 45 0 36 1 0 1 1 0 8 0 pgrppl 48 83 0 66 1 0 1 1 0 8 0 ucredpl 104 1778 0 1765 1 0 1 1 0 8 0 zombiepl 144 2026 0 2025 1 0 1 1 0 8 0 processpl 1176 1862 0 1792 6 0 6 6 0 8 0 procpl 656 3897 0 3817 8 0 8 8 0 8 0 srpgc 96 16 0 16 3 3 0 1 0 8 0 sosppl 168 5 0 5 3 3 0 1 0 8 0 sockpl 688 2633 0 2602 17 13 4 10 0 8 0 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 133 0 0 17 0 17 17 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 37 0 0 5 0 5 5 0 8 0 mtagpl 96 120 0 0 3 0 3 3 0 8 0 mbufpl 256 397 0 0 24 0 24 24 0 8 0 bufpl 280 5783 0 171 401 0 401 401 0 8 0 anonpl 24 220587 0 214951 62 14 48 60 0 184 0 amapchunkpl 152 48738 0 48203 44 12 32 32 0 158 4 amappl16 200 3582 0 3482 21 12 9 18 0 8 0 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 157 0 145 1 0 1 1 0 8 0 amappl13 176 6 0 6 1 1 0 1 0 8 0 amappl12 168 2766 0 2736 3 1 2 2 0 8 0 amappl11 160 52 0 38 1 0 1 1 0 8 0 amappl10 152 3 0 3 1 1 0 1 0 8 0 amappl9 144 241 0 241 1 1 0 1 0 8 0 amappl8 136 28 0 25 1 0 1 1 0 8 0 amappl7 128 150 0 138 1 0 1 1 0 8 0 amappl6 120 371 0 367 1 0 1 1 0 8 0 amappl5 112 226 0 217 1 0 1 1 0 8 0 amappl4 104 415 0 396 1 0 1 1 0 8 0 amappl3 96 9838 0 9730 4 0 4 4 0 8 0 amappl2 88 955 0 891 2 0 2 2 0 8 0 amappl1 80 14168 0 13594 16 2 14 15 0 8 0 amappl 88 14810 0 14643 5 0 5 5 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma2048 2048 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 8 0 8 2 2 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 36 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1818 0 1788 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1818 0 1788 1 0 1 1 0 8 0 vmmpekpl 168 15800 0 15743 3 0 3 3 0 8 0 vmmpepl 168 115850 0 113955 103 13 90 98 0 357 1 vmsppl 456 1817 0 1788 7 2 5 5 0 8 0 rwobjpl 64 35934 0 30139 96 1 95 95 0 8 0 pdppl 4096 3644 0 3576 116 42 74 86 0 8 6 pvpl 32 18359 0 0 151 2 149 149 0 265 0 pmappl 248 1817 0 1788 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 337 0 77 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8331cbbd) at panic+0x1e5 sys/kern/subr_prf.c:198 vgonel(fffffd8078f21888,ffff80002a3919b8) at vgonel+0x681 sys/kern/vfs_subr.c:1218 vrecycle(fffffd8078f21888,ffff80002a3919b8) at vrecycle+0x7c sys/kern/vfs_subr.c:1144 ufs_inactive(ffff80002a438b28) at ufs_inactive+0x360 sys/ufs/ufs/ufs_inode.c:107 VOP_INACTIVE(fffffd8078f21888,ffff80002a3919b8) at VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495 vput(fffffd8078f21888) at vput+0xe5 sys/kern/vfs_subr.c:797 VOP_REMOVE(fffffd8078f54958,fffffd8078f21888,ffff80002a438ca8) at VOP_REMOVE+0x19d sys/kern/vfs_vops.c:336 dounlinkat(ffff80002a3919b8,ffffff9c,7f730c569020,0) at dounlinkat+0x177 sys/kern/vfs_syscalls.c:1902 syscall(ffff80002a438e20) at syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a438e20) at syscall+0xb08 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f730c5694d0, count: -11 ddb{0}> machine ddbcpu 1