panic: missing alias Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *163567 20096 0 0 0x4000000 0K syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff833dce49) at panic+0x1e5 sys/kern/subr_prf.c:198 vgonel(fffffd807003c450,ffff80003c4c42d8) at vgonel+0x663 checkalias(fffffd806e7e6490,e02,ffff800000c5a000) at checkalias+0x1ab sys/kern/vfs_subr.c:-1 ffs_vinit(ffff800000c5a000,ffff80003c4d14f0) at ffs_vinit+0x111 sys/ufs/ffs/ffs_subr.c:-1 ffs_vget(ffff800000c5a000,66ae,ffff80003c4d15c0) at ffs_vget+0x40e sys/ufs/ffs/ffs_vfsops.c:1285 ufs_lookup() at ufs_lookup+0x16bd sys/ufs/ufs/ufs_lookup.c:573 VOP_LOOKUP(fffffd806ea37bd0,ffff80003c4d18e8,ffff80003c4d1918) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80003c4d18b8) at vfs_lookup+0x98a sys/kern/vfs_lookup.c:567 namei(ffff80003c4d18b8) at namei+0x7ca sys/kern/vfs_lookup.c:250 dofchmodat(ffff80003c4c42d8,ffffff9c,2000000002c0,80,0) at dofchmodat+0x162 sys/kern/vfs_syscalls.c:2405 syscall(ffff80003c4d1ab0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4d1ab0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x83653e21510, 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{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(ffffffff833dce49) at panic+0x1e5 sys/kern/subr_prf.c:198 vgonel(fffffd807003c450,ffff80003c4c42d8) at vgonel+0x663 checkalias(fffffd806e7e6490,e02,ffff800000c5a000) at checkalias+0x1ab sys/kern/vfs_subr.c:-1 ffs_vinit(ffff800000c5a000,ffff80003c4d14f0) at ffs_vinit+0x111 sys/ufs/ffs/ffs_subr.c:-1 ffs_vget(ffff800000c5a000,66ae,ffff80003c4d15c0) at ffs_vget+0x40e sys/ufs/ffs/ffs_vfsops.c:1285 ufs_lookup() at ufs_lookup+0x16bd sys/ufs/ufs/ufs_lookup.c:573 VOP_LOOKUP(fffffd806ea37bd0,ffff80003c4d18e8,ffff80003c4d1918) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80003c4d18b8) at vfs_lookup+0x98a sys/kern/vfs_lookup.c:567 namei(ffff80003c4d18b8) at namei+0x7ca sys/kern/vfs_lookup.c:250 dofchmodat(ffff80003c4c42d8,ffffff9c,2000000002c0,80,0) at dofchmodat+0x162 sys/kern/vfs_syscalls.c:2405 syscall(ffff80003c4d1ab0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4d1ab0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x83653e21510, count: -13 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80003c4d12c0 rbx 0xffffffff83888e07 cpu_info_full_primary+0x2e07 rdx 0xffff800001699800 rcx 0xffff80003c4c42d8 rax 0xffffffff83887ff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xd24ed54d1c9cfa03 r11 0x2f7e2c871a2bf06e r12 0xffffffff83888c08 cpu_info_full_primary+0x2c08 r13 0 r14 0 r15 0x1 rip 0xffffffff811f5155 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80003c4d12b0 ss 0 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor) tid=163567 pid=20096 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=86, usrpri=86, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c4c5cc8,0xffff8000fffe8fc0 process=0xffff80003c49a6a8 user=0xffff80003c4cc000, vmspace=0xfffffd800b0631e8 estcpu=36, cpticks=11, pctcpu=0.0, user=0, sys=10, intr=1 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 14193 87726 12264 0 3 0x80 nanoslp syz-executor 14193 315475 12264 0 3 0x4000080 fsleep syz-executor 20096 410305 4346 0 2 0 syz-executor *20096 163567 4346 0 7 0x4000000 syz-executor 20096 432761 4346 0 3 0x4000080 fsleep syz-executor 1651 100448 93461 0 3 0x80 nanoslp syz-executor 1651 29126 93461 0 3 0x4000080 fsleep syz-executor 1651 207747 93461 0 3 0x4000080 fsleep syz-executor 1651 409555 93461 0 3 0x4000080 fsleep syz-executor 1651 337374 93461 0 3 0x4000080 fsleep syz-executor 1651 267300 93461 0 3 0x4000080 fsleep syz-executor 31267 119813 30022 0 2 0x2 syz-executor 4346 468272 30022 0 3 0x82 nanoslp syz-executor 89591 344247 30022 0 3 0x82 wait syz-executor 54818 292042 30022 0 2 0x2 syz-executor 12264 196772 30022 0 3 0x82 nanoslp syz-executor 81731 95314 1 0 3 0x100083 ttyopn getty 89625 322763 30022 0 2 0x2 syz-executor 66283 13675 0 0 3 0x14280 nfsidl nfsio 35534 64755 0 0 3 0x14280 nfsidl nfsio 25651 429728 0 0 3 0x14280 nfsidl nfsio 97583 75347 0 0 3 0x14280 nfsidl nfsio 75863 443676 0 0 3 0x14280 nfsidl nfsio 17884 247906 0 0 3 0x14280 nfsidl nfsio 91560 177573 0 0 3 0x14280 nfsidl nfsio 13715 174798 0 0 3 0x14280 nfsidl nfsio 97913 43771 0 0 3 0x14280 nfsidl nfsio 20055 392598 0 0 3 0x14280 nfsidl nfsio 6625 344515 0 0 3 0x14280 nfsidl nfsio 24216 447177 0 0 3 0x14280 nfsidl nfsio 7181 481081 0 0 3 0x14280 nfsidl nfsio 23229 110653 0 0 3 0x14280 nfsidl nfsio 63128 174670 0 0 3 0x14280 nfsidl nfsio 55743 21549 0 0 3 0x14280 nfsidl nfsio 85016 460948 0 0 3 0x14280 nfsidl nfsio 9474 280423 0 0 3 0x14280 nfsidl nfsio 8164 2618 0 0 3 0x14280 nfsidl nfsio 23845 253577 0 0 3 0x14280 nfsidl nfsio 93461 428598 30022 0 3 0x82 nanoslp syz-executor 65585 378391 30022 0 3 0x82 nanoslp syz-executor 30022 226553 43745 0 3 0x82 kqread syz-executor 43745 7473 43564 0 3 0x10008a sigsusp ksh 43564 502558 26666 0 3 0x98 kqread sshd-session 26666 226740 47448 0 3 0x92 kqread sshd-session 47448 313409 1 0 3 0x88 kqread sshd 70536 494329 11243 74 3 0x1100092 bpf pflogd 11243 472844 1 0 3 0x80 sbwait pflogd 88918 148182 3478 73 3 0x1100090 kqread syslogd 3478 450516 1 0 3 0x100082 sbwait syslogd 91688 60665 1 0 3 0x100080 kqread resolvd 79520 507487 93937 77 3 0x100092 kqread dhcpleased 33122 128990 93937 77 3 0x100092 kqread dhcpleased 93937 30706 1 0 3 0x80 kqread dhcpleased 41660 462416 0 0 3 0x14200 bored smr 47434 363980 0 0 2 0x14200 zerothread 29098 468626 0 0 3 0x14200 aiodoned aiodoned 78958 43642 0 0 3 0x14200 syncer update 28302 155286 0 0 3 0x14200 cleaner cleaner 74864 301179 0 0 3 0x14200 reaper reaper 67688 381295 0 0 3 0x14200 pgdaemon pagedaemon 67691 365723 0 0 3 0x14200 bored viomb 92904 502487 0 0 3 0x40014200 acpi0 acpi0 27719 46429 0 0 7 0x40014200 idle1 47888 2742 0 0 3 0x14200 bored softnet1 58680 90755 0 0 3 0x14200 bored softnet0 72084 90973 0 0 3 0x14200 smrbar systqmp 44302 173710 0 0 3 0x14200 bored systq 7157 463427 0 0 3 0x14200 tmoslp softclockmp 41572 243053 0 0 3 0x40014200 tmoslp softclock 6182 151380 0 0 3 0x40014200 idle0 1 128332 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks Process 20096 (syz-executor) thread 0xffff80003c4c42d8 (163567) Process 31267 (syz-executor) thread 0xffff8000fffe9a10 (119813) Process 54818 (syz-executor) thread 0xffff80002a28f4d8 (292042) Process 72084 (systqmp) thread 0xffff8000ffffe530 (90973) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11118 12113K 14094K 166960K 19180 0 pcb 18 18K 36K 166960K 1807 0 rtable 274 19K 20K 166960K 2197 0 pf 41 18K 21K 166960K 879 0 ifaddr 40 10K 11K 166960K 585 0 ifgroup 63 2K 3K 166960K 1177 0 sysctl 4 1K 9K 166960K 58 0 counters 74 37K 39K 166960K 1690 0 ioctlops 0 0K 4K 166960K 4080 0 iov 0 0K 24K 166960K 857 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1407 88K 89K 166960K 6946 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 9K 166960K 11 0 VM map 2 1K 1K 166960K 2 0 sem 28 16K 17K 166960K 89 0 dirhash 12 2K 2K 166960K 141 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 15 53K 240K 166960K 7918 0 sigio 0 0K 0K 166960K 230 0 proc 75 115K 180K 166960K 2119 0 subproc 72 4K 4K 166960K 325 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 1810 0 in_multi 81 5K 7K 166960K 754 0 ether_multi 1 0K 0K 166960K 121 0 mrt 2 0K 0K 166960K 135 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 271 1208K 1208K 166960K 271 0 exec 0 0K 1K 166960K 2464 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 14 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 240 168K 203K 166960K 69957 0 UVM aobj 233 85K 85K 166960K 254 0 pinsyscall 41 82K 104K 166960K 9743 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 704 0 NDP 14 0K 1K 166960K 448 0 temp 119 9084K 9340K 166960K 481620 0 kqueue 13 20K 36K 166960K 1661 0 SYN cache 2 8K 16K 166960K 3 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 26 0 0 1 0 1 1 0 8 0 rtpcb 120 992 0 989 10 8 2 3 0 8 1 rtentry 176 683 0 590 6 1 5 6 0 8 0 unpcb 144 6153 0 6135 37 36 1 6 0 8 0 syncache 336 13 0 13 7 7 0 1 0 8 0 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 736 3682 0 3675 74 70 4 13 0 8 3 arp 136 103 0 84 1 0 1 1 0 8 0 inpcb 328 10702 0 10690 98 93 5 18 0 8 3 ip6q 72 1 0 1 1 1 0 1 0 8 0 ip6af 40 2 0 2 1 1 0 1 0 8 0 nd6 152 132 0 110 2 1 1 2 0 8 0 pkpcb 40 80 0 80 14 14 0 1 0 8 0 kcovpl 48 36 0 28 1 0 1 1 0 8 0 mppekey 1024 3 0 3 3 3 0 1 0 8 0 ppxss 1192 659 0 659 6 5 1 1 0 8 1 pppxif 1504 126 0 126 17 16 1 1 0 8 1 pfstscr 40 1 0 1 1 1 0 1 0 8 0 pffrag 232 76 0 65 2 1 1 2 0 482 0 pffrnode 88 65 0 54 1 0 1 1 0 8 0 pffrent 40 362 0 351 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 1 0 0 1 0 1 1 0 8 0 pfstitem 24 501 0 427 1 0 1 1 0 8 0 pfstkey 128 505 0 431 4 0 4 4 0 8 0 pfstate 448 503 0 429 13 1 12 13 0 8 0 pfrule 1360 26 0 20 2 1 1 2 0 8 0 rttmr 136 12 0 12 7 6 1 1 0 8 1 art_heap8 4096 5 0 0 5 0 5 5 0 8 0 art_heap4 256 2751 0 2310 50 22 28 30 0 8 0 art_table 40 2756 0 2310 5 0 5 5 0 8 0 art_node 32 666 0 583 1 0 1 1 0 8 0 sysvmsgpl 40 14 0 11 1 0 1 1 0 8 0 semupl 112 8 0 8 5 5 0 1 0 8 0 semapl 112 77 0 51 1 0 1 1 0 8 0 shmpl 112 208 0 17 6 0 6 6 0 8 0 dirhash 1024 105 0 88 3 0 3 3 0 8 0 dino2pl 256 17199 0 15668 97 0 97 97 0 8 0 ffsino 296 17199 0 15668 119 0 119 119 0 8 0 nchpl 144 27886 0 26112 67 0 67 67 0 8 0 rtmask 32 100 0 100 15 15 0 1 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 104895 0 104893 12 11 1 4 0 8 0 percpumem 16 860 0 808 1 0 1 1 0 8 0 vcpupl 3968 43 0 4 5 0 5 5 0 8 0 vmpool 848 43 0 4 5 0 5 5 0 8 0 kstatmem 264 754 0 720 6 3 3 3 0 8 0 acpiwqpl 32 2 0 2 1 0 1 1 1 8 1 scsiplug 72 41 0 41 18 17 1 1 0 8 1 scxspl 216 214007 0 214007 24 22 2 8 1 8 2 plimitpl 152 1744 0 1725 1 0 1 1 0 8 0 sigapl 424 8190 0 8124 11 3 8 9 0 8 0 knotepl 120 861 0 0 25 0 25 25 0 8 0 kqueuepl 224 3657 0 3648 39 34 5 5 0 8 4 pipepl 344 1559 0 1532 28 25 3 9 0 8 0 fdescpl 528 8083 0 8053 3 0 3 3 0 8 0 filepl 160 64439 0 64216 70 56 14 23 0 8 0 lockfpl 104 3868 0 3866 6 5 1 2 0 8 0 lockfspl 48 1281 0 1279 1 0 1 1 0 8 0 sessionpl 144 60 0 51 1 0 1 1 0 8 0 pgrppl 48 310 0 293 1 0 1 1 0 8 0 ucredpl 104 11483 0 11469 1 0 1 1 0 8 0 zombiepl 144 8593 0 8591 1 0 1 1 0 8 0 processpl 1232 8190 0 8124 6 0 6 6 0 8 0 procpl 664 19969 0 19894 9 1 8 8 0 8 0 sosppl 176 72 0 72 14 14 0 1 0 8 0 sockpl 752 18312 0 18279 146 136 10 24 0 8 5 mcl64k 65536 7 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 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 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 125 0 0 16 0 16 16 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 67 0 0 5 0 5 5 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 1387 0 0 73 0 73 73 0 8 0 bufpl 280 86205 0 80075 441 2 439 439 0 8 0 anonpl 32 26004 0 0 208 0 208 208 0 246 0 amapchunkpl 152 252778 0 252131 101 64 37 45 0 158 0 amappl16 200 29434 0 28693 160 110 50 61 0 8 0 amappl15 192 6 0 4 2 1 1 1 0 8 0 amappl14 184 762 0 761 1 0 1 1 0 8 0 amappl13 176 185 0 173 1 0 1 1 0 8 0 amappl12 168 8446 0 8418 2 0 2 2 0 8 0 amappl11 160 6 0 5 2 1 1 1 0 8 0 amappl10 152 105 0 91 1 0 1 1 0 8 0 amappl9 144 276 0 276 1 1 0 1 0 8 0 amappl8 136 220 0 217 1 0 1 1 0 8 0 amappl7 128 220 0 206 1 0 1 1 0 8 0 amappl6 120 433 0 431 1 0 1 1 0 8 0 amappl5 112 125 0 112 1 0 1 1 0 8 0 amappl4 104 413 0 393 1 0 1 1 0 8 0 amappl3 96 44993 0 44905 4 0 4 4 0 8 0 amappl2 88 8161 0 8083 3 0 3 3 0 8 0 amappl1 80 43478 0 42877 18 4 14 17 0 8 0 amappl 88 67444 0 67278 5 0 5 5 0 92 0 uvmvnodes 80 277 0 0 6 0 6 6 0 8 0 dma16384 16384 1 0 1 1 1 0 1 0 8 0 dma8192 8192 3 0 3 3 3 0 1 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma2048 2048 67 0 67 2 2 0 1 0 8 0 dma1024 1024 5 0 4 1 0 1 1 0 8 0 dma512 512 1 0 1 1 1 0 1 0 8 0 dma256 256 10 0 10 5 5 0 1 0 8 0 dma128 128 266 0 266 10 9 1 1 0 8 1 dma64 64 11 0 11 6 6 0 1 0 8 0 dma32 32 8 0 8 2 2 0 1 0 8 0 dma16 16 24 0 23 1 0 1 1 0 8 0 aobjpl 72 253 0 21 5 0 5 5 0 8 0 uaddrrnd 24 8082 0 8053 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 8082 0 8053 1 0 1 1 0 8 0 vmmpekpl 168 53799 0 53721 4 0 4 4 0 8 0 vmmpepl 168 510980 0 508408 238 105 133 159 0 357 0 vmsppl 488 8082 0 8053 5 0 5 5 0 8 0 rwobjpl 80 123386 0 121211 69 18 51 54 0 8 0 pdppl 4096 16258 0 16153 204 94 110 112 0 8 5 pvpl 32 33607 0 0 270 1 269 269 0 265 0 pmappl 256 8125 0 8057 5 0 5 5 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 586 0 222 11 0 11 11 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(ffffffff833dce49) at panic+0x1e5 sys/kern/subr_prf.c:198 vgonel(fffffd807003c450,ffff80003c4c42d8) at vgonel+0x663 checkalias(fffffd806e7e6490,e02,ffff800000c5a000) at checkalias+0x1ab sys/kern/vfs_subr.c:-1 ffs_vinit(ffff800000c5a000,ffff80003c4d14f0) at ffs_vinit+0x111 sys/ufs/ffs/ffs_subr.c:-1 ffs_vget(ffff800000c5a000,66ae,ffff80003c4d15c0) at ffs_vget+0x40e sys/ufs/ffs/ffs_vfsops.c:1285 ufs_lookup() at ufs_lookup+0x16bd sys/ufs/ufs/ufs_lookup.c:573 VOP_LOOKUP(fffffd806ea37bd0,ffff80003c4d18e8,ffff80003c4d1918) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80003c4d18b8) at vfs_lookup+0x98a sys/kern/vfs_lookup.c:567 namei(ffff80003c4d18b8) at namei+0x7ca sys/kern/vfs_lookup.c:250 dofchmodat(ffff80003c4c42d8,ffffff9c,2000000002c0,80,0) at dofchmodat+0x162 sys/kern/vfs_syscalls.c:2405 syscall(ffff80003c4d1ab0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4d1ab0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x83653e21510, count: -13 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff8000299bdff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224 sched_idle(ffff8000299bdff0) at sched_idle+0x391 sys/kern/kern_sched.c:191 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff8000299bdff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224 sched_idle(ffff8000299bdff0) at sched_idle+0x391 sys/kern/kern_sched.c:191 end trace frame: 0x0, count: -5