panic: missing alias Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *390309 34146 0 0x2 0 0 syz-executor.6 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff827593c4) at panic+0x161 sys/kern/subr_prf.c:198 vgonel(fffffd8067794880,ffff8000fffed078) at vgonel+0x4d5 sys/kern/vfs_subr.c:1200 checkalias(fffffd8067794e68,ffffffffac2a5bfd,ffff8000006db000) at checkalias+0x13c ffs_vinit(ffff8000006db000,ffff800029a424b0) at ffs_vinit+0x10c sys/ufs/ffs/ffs_subr.c:266 ffs_vget(ffff8000006db000,134de,ffff800029a42588) at ffs_vget+0x375 sys/ufs/ffs/ffs_vfsops.c:1409 ufs_lookup() at ufs_lookup+0x1229 sys/ufs/ufs/ufs_lookup.c:582 VOP_LOOKUP(fffffd80794ddbe8,ffff800029a42818,ffff800029a42848) at VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 vfs_lookup(ffff800029a427e8) at vfs_lookup+0x6cc sys/kern/vfs_lookup.c:566 namei(ffff800029a427e8) at namei+0x55a sys/kern/vfs_lookup.c:250 dofstatat(ffff8000fffed078,ffffff9c,7f7ffffd4e00,7f7ffffd5200,2) at dofstatat+0xab sys/kern/vfs_syscalls.c:2080 syscall(ffff800029a42a60) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:625 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd52b0, count: 2 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+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff827593c4) at panic+0x161 sys/kern/subr_prf.c:198 vgonel(fffffd8067794880,ffff8000fffed078) at vgonel+0x4d5 sys/kern/vfs_subr.c:1200 checkalias(fffffd8067794e68,ffffffffac2a5bfd,ffff8000006db000) at checkalias+0x13c ffs_vinit(ffff8000006db000,ffff800029a424b0) at ffs_vinit+0x10c sys/ufs/ffs/ffs_subr.c:266 ffs_vget(ffff8000006db000,134de,ffff800029a42588) at ffs_vget+0x375 sys/ufs/ffs/ffs_vfsops.c:1409 ufs_lookup() at ufs_lookup+0x1229 sys/ufs/ufs/ufs_lookup.c:582 VOP_LOOKUP(fffffd80794ddbe8,ffff800029a42818,ffff800029a42848) at VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 vfs_lookup(ffff800029a427e8) at vfs_lookup+0x6cc sys/kern/vfs_lookup.c:566 namei(ffff800029a427e8) at namei+0x55a sys/kern/vfs_lookup.c:250 dofstatat(ffff8000fffed078,ffffff9c,7f7ffffd4e00,7f7ffffd5200,2) at dofstatat+0xab sys/kern/vfs_syscalls.c:2080 syscall(ffff800029a42a60) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:625 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd52b0, count: -13 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff800029a422b0 rbx 0 rdx 0 rcx 0 rax 0xffff8000fffed078 r8 0x101010101010101 r9 0x8080808080808080 r10 0x27db94b1dd5498c0 r11 0x172904599e151e92 r12 0 r13 0xfffffd8067794880 r14 0 r15 0x1 rip 0xffffffff81a69eb8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800029a422a0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.6) pid=390309 stat=onproc flags process=2 proc=0 pri=82, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff800021726b10,0xffff8000fffed340 process=0xffff800021720000 user=0xffff800029a3d000, vmspace=0xfffffd807e42a2b8 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 92206 133844 41239 0 2 0 syz-executor.1 92206 229104 41239 0 2 0x4000000 syz-executor.1 65568 394538 42305 0 2 0 syz-executor.2 41239 259275 41402 0 3 0x82 nanoslp syz-executor.1 *34146 390309 41402 0 7 0x2 syz-executor.6 53492 396871 41402 0 2 0x2 syz-executor.5 42305 514541 41402 0 3 0x82 nanoslp syz-executor.2 18765 480733 0 0 3 0x14200 bored sosplice 70131 99488 41402 0 2 0x2 syz-executor.7 43699 307733 41402 0 2 0x2 syz-executor.4 45478 42424 41402 0 2 0x2 syz-executor.0 2223 334485 41402 0 2 0x2 syz-executor.3 41402 204163 28153 0 3 0x82 wait syz-fuzzer 41402 7975 28153 0 3 0x4000082 thrsleep syz-fuzzer 41402 94736 28153 0 3 0x4000082 wait syz-fuzzer 41402 402280 28153 0 3 0x4000082 thrsleep syz-fuzzer 41402 11129 28153 0 3 0x4000082 wait syz-fuzzer 41402 206943 28153 0 3 0x4000082 kqread syz-fuzzer 41402 581 28153 0 3 0x4000082 wait syz-fuzzer 41402 340444 28153 0 3 0x4000082 thrsleep syz-fuzzer 41402 483734 28153 0 3 0x4000082 wait syz-fuzzer 41402 133892 28153 0 3 0x4000082 thrsleep syz-fuzzer 41402 258756 28153 0 3 0x4000082 thrsleep syz-fuzzer 41402 264438 28153 0 3 0x4000082 wait syz-fuzzer 41402 64459 28153 0 3 0x4000082 wait syz-fuzzer 41402 495007 28153 0 3 0x4000082 wait syz-fuzzer 28153 508555 76880 0 3 0x10008a sigsusp ksh 76880 293500 26059 0 3 0x9a kqread sshd 5381 142910 1 0 3 0x100083 ttyin getty 26059 321907 1 0 3 0x88 kqread sshd 75461 406457 72916 73 3 0x1100090 kqread syslogd 72916 187079 1 0 3 0x100082 netio syslogd 71799 84111 1 0 3 0x100080 kqread resolvd 18644 394371 5570 77 3 0x100092 kqread dhcpleased 1153 73742 5570 77 3 0x100092 kqread dhcpleased 5570 433670 1 0 3 0x80 kqread dhcpleased 21540 266572 0 0 3 0x14200 bored smr 64365 401655 0 0 2 0x14200 zerothread 76944 272967 0 0 3 0x14200 aiodoned aiodoned 64355 253183 0 0 3 0x14200 syncer update 20406 432157 0 0 3 0x14200 cleaner cleaner 93697 441713 0 0 3 0x14200 reaper reaper 9477 90729 0 0 3 0x14200 pgdaemon pagedaemon 24865 68431 0 0 3 0x14200 bored viomb 87611 486710 0 0 3 0x40014200 acpi0 acpi0 20115 47338 0 0 3 0x14200 bored softnet 42908 479655 0 0 3 0x14200 bored softnet 5272 482457 0 0 3 0x14200 bored softnet 32847 401571 0 0 3 0x14200 bored softnet 59605 79496 0 0 3 0x14200 bored systqmp 51835 327482 0 0 3 0x14200 bored systq 19708 8022 0 0 3 0x40014200 bored softclock 80860 178413 0 0 3 0x40014200 idle0 1 389906 0 0 3 0x82 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 10227 6426K 6823K 78643K 17102 0 pcb 13 16K 18K 78643K 184 0 rtable 236 15K 15K 78643K 620 0 ifaddr 76 21K 21K 78643K 289 0 counters 28 17K 17K 78643K 100 0 ioctlops 0 0K 2K 78643K 511 0 iov 0 0K 16K 78643K 264 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1402 88K 88K 78643K 6353 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 14 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 1402 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 12 41K 73K 78643K 3601 0 sigio 0 0K 0K 78643K 9 0 proc 58 59K 75K 78643K 605 0 subproc 104 6K 6K 78643K 156 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 19 0 in_multi 99 6K 7K 78643K 239 0 ether_multi 1 0K 0K 78643K 13 0 mrt 1 0K 0K 78643K 4 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 271 1208K 1208K 78643K 271 0 exec 0 0K 1K 78643K 557 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 8 62K 64K 78643K 10 0 UVM amap 257 82K 84K 78643K 25788 0 UVM aobj 67 3K 3K 78643K 67 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 31 0 NDP 12 0K 2K 78643K 87 0 temp 128 5770K 5898K 78643K 23442 0 kqueue 12 18K 26K 78643K 145 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 109 0 106 2 1 1 2 0 8 0 rtentry 112 217 0 109 4 0 4 4 0 8 0 unpcb 144 2942 0 2929 48 47 1 6 0 8 0 syncache 296 16 0 16 4 4 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 209 0 209 2 2 0 1 0 8 0 tcpcb 776 434 0 430 18 17 1 14 0 8 0 arp 88 26 0 8 1 0 1 1 0 8 0 inpcb 336 1289 0 1282 27 26 1 13 0 8 0 nd6 48 43 0 21 1 0 1 1 0 8 0 pkpcb 40 3 0 3 1 1 0 1 0 8 0 kcovpl 48 12 0 4 1 0 1 1 0 8 0 ppxss 1160 34 0 34 4 4 0 1 0 8 0 pppxif 1360 28 0 28 4 4 0 1 0 8 0 pfstscr 40 35 0 34 1 0 1 1 0 8 0 pfanchor 1280 8 0 8 2 2 0 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfqueue 264 3 0 0 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 76 0 74 2 1 1 1 0 8 0 pfstate 352 38 0 37 2 1 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1010 0 564 35 7 28 29 0 8 0 art_table 32 1011 0 564 4 0 4 4 0 8 0 art_node 16 216 0 118 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 0 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 1400 0 1390 1 0 1 1 0 8 0 shmpl 112 64 0 0 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 10400 0 8966 90 0 90 90 0 8 0 ffsino 240 10400 0 8966 85 0 85 85 0 8 0 nchpl 144 15330 0 13703 63 0 63 63 0 8 0 uvmvnodes 80 5927 0 0 121 0 121 121 0 8 0 vnodes 216 5927 0 0 330 0 330 330 0 8 0 namei 1024 57019 0 57015 17 16 1 4 0 8 0 vmpool 664 6 0 6 2 2 0 1 0 8 0 kstatmem 264 112 0 88 2 0 2 2 0 8 0 scxspl 216 32010 0 32010 10 9 1 8 0 8 1 plimitpl 152 564 0 549 1 0 1 1 0 8 0 sigapl 424 3888 0 3848 6 0 6 6 0 8 0 futexpl 64 31707 0 31707 1 0 1 1 0 8 1 knotepl 120 39905 0 39825 23 18 5 16 0 8 0 kqueuepl 184 412 0 404 7 6 1 4 0 8 0 pipepl 288 606 0 578 18 11 7 7 0 8 4 fdescpl 432 3871 0 3848 4 0 4 4 0 8 0 filepl 120 34210 0 33974 75 63 12 15 0 8 4 lockfpl 104 647 0 645 2 1 1 2 0 8 0 lockfspl 48 223 0 221 1 0 1 1 0 8 0 sessionpl 144 27 0 11 1 0 1 1 0 8 0 pgrppl 48 106 0 90 1 0 1 1 0 8 0 ucredpl 104 16094 0 16084 1 0 1 1 0 8 0 zombiepl 144 5741 0 5741 2 1 1 1 0 8 1 processpl 1008 3888 0 3848 7 1 6 6 0 8 0 procpl 696 9970 0 9916 14 7 7 8 0 8 0 sosppl 168 15 0 15 3 3 0 1 0 8 0 sockpl 456 4343 0 4320 173 169 4 28 0 8 1 mcl64k 65536 110 0 110 17 16 1 1 0 8 1 mcl16k 16384 67 0 67 12 11 1 1 0 8 1 mcl12k 12288 129 0 129 16 15 1 1 0 8 1 mcl9k 9216 37 0 37 11 10 1 1 0 8 1 mcl8k 8192 100 0 100 18 18 0 1 0 8 0 mcl4k 4096 258 0 258 16 15 1 1 0 8 1 mcl2k2 2112 20 0 20 11 11 0 1 0 8 0 mcl2k 2048 82785 0 82711 52 41 11 38 0 8 0 mtagpl 96 216 0 81 6 1 5 5 0 8 0 mbufpl 256 152949 0 152550 90 56 34 78 0 8 0 bufpl 288 8283 0 1889 458 1 457 457 0 8 0 anonpl 24 759114 0 741711 131 18 113 126 0 188 0 amapchunkpl 152 71892 0 71229 53 23 30 36 0 158 0 amappl16 200 5833 0 5224 36 1 35 35 0 8 0 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 187 0 174 2 1 1 2 0 8 0 amappl13 176 7 0 7 1 1 0 1 0 8 0 amappl12 168 441 0 439 1 0 1 1 0 8 0 amappl11 160 50 0 38 1 0 1 1 0 8 0 amappl10 152 39 0 31 1 0 1 1 0 8 0 amappl9 144 983 0 982 1 0 1 1 0 8 0 amappl8 136 187 0 139 2 0 2 2 0 8 0 amappl7 128 168 0 145 2 0 2 2 0 8 0 amappl6 120 192 0 182 2 1 1 2 0 8 0 amappl5 112 179 0 173 1 0 1 1 0 8 0 amappl4 104 537 0 513 2 1 1 2 0 8 0 amappl3 96 11136 0 11095 2 0 2 2 0 8 0 amappl2 88 4293 0 4226 3 0 3 3 0 8 0 amappl1 80 89908 0 89278 29 13 16 26 0 8 0 amappl 88 25243 0 25093 5 0 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 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 66 0 0 2 0 2 2 0 8 0 uaddrrnd 24 3877 0 3854 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3877 0 3854 1 0 1 1 0 8 0 vmmpekpl 168 32486 0 32434 3 0 3 3 0 8 0 vmmpepl 168 353883 0 351506 241 118 123 156 0 357 0 vmsppl 344 3876 0 3854 3 0 3 3 0 8 0 rwobjpl 24 99377 0 91773 47 0 47 47 0 8 0 pdppl 4096 7760 0 7708 347 283 64 68 0 8 12 pvpl 32 1498979 0 1476666 359 165 194 333 0 265 0 pmappl 216 3876 0 3854 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1293 0 507 24 1 23 23 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff827593c4) at panic+0x161 sys/kern/subr_prf.c:198 vgonel(fffffd8067794880,ffff8000fffed078) at vgonel+0x4d5 sys/kern/vfs_subr.c:1200 checkalias(fffffd8067794e68,ffffffffac2a5bfd,ffff8000006db000) at checkalias+0x13c ffs_vinit(ffff8000006db000,ffff800029a424b0) at ffs_vinit+0x10c sys/ufs/ffs/ffs_subr.c:266 ffs_vget(ffff8000006db000,134de,ffff800029a42588) at ffs_vget+0x375 sys/ufs/ffs/ffs_vfsops.c:1409 ufs_lookup() at ufs_lookup+0x1229 sys/ufs/ufs/ufs_lookup.c:582 VOP_LOOKUP(fffffd80794ddbe8,ffff800029a42818,ffff800029a42848) at VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 vfs_lookup(ffff800029a427e8) at vfs_lookup+0x6cc sys/kern/vfs_lookup.c:566 namei(ffff800029a427e8) at namei+0x55a sys/kern/vfs_lookup.c:250 dofstatat(ffff8000fffed078,ffffff9c,7f7ffffd4e00,7f7ffffd5200,2) at dofstatat+0xab sys/kern/vfs_syscalls.c:2080 syscall(ffff800029a42a60) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:625 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd52b0, count: -13 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff827593c4) at panic+0x161 sys/kern/subr_prf.c:198 vgonel(fffffd8067794880,ffff8000fffed078) at vgonel+0x4d5 sys/kern/vfs_subr.c:1200 checkalias(fffffd8067794e68,ffffffffac2a5bfd,ffff8000006db000) at checkalias+0x13c ffs_vinit(ffff8000006db000,ffff800029a424b0) at ffs_vinit+0x10c sys/ufs/ffs/ffs_subr.c:266 ffs_vget(ffff8000006db000,134de,ffff800029a42588) at ffs_vget+0x375 sys/ufs/ffs/ffs_vfsops.c:1409 ufs_lookup() at ufs_lookup+0x1229 sys/ufs/ufs/ufs_lookup.c:582 VOP_LOOKUP(fffffd80794ddbe8,ffff800029a42818,ffff800029a42848) at VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 vfs_lookup(ffff800029a427e8) at vfs_lookup+0x6cc sys/kern/vfs_lookup.c:566 namei(ffff800029a427e8) at namei+0x55a sys/kern/vfs_lookup.c:250 dofstatat(ffff8000fffed078,ffffff9c,7f7ffffd4e00,7f7ffffd5200,2) at dofstatat+0xab sys/kern/vfs_syscalls.c:2080 syscall(ffff800029a42a60) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:625 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd52b0, count: -13