Warning: Permanently added '10.128.1.132' (ED25519) to the list of known hosts. 2025/07/10 16:43:32 ignoring optional flag "sandboxArg"="0" 2025/07/10 16:43:32 ignoring optional flag "type"="gce" 2025/07/10 16:43:32 parsed 1 programs 2025/07/10 16:43:33 executed programs: 0 panic: ufsdirhash_lookup: bad offset in hash array Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *306011 80560 0 0 0x4000000 0 syz-executor.0 db_enter() at db_enter+0x25 panic(ffffffff833e8f76) at panic+0x1cf ufsdirhash_lookup(fffffd80681bfaa8,ffffffff83317b78,2,fffffd80681bfb5c,ffff80002a896b00,0) at ufsdirhash_lookup+0xb9a ufs_lookup() at ufs_lookup+0xf58 VOP_LOOKUP(fffffd8070f55a68,ffff80002a896ca8,ffff80002a896c48) at VOP_LOOKUP+0x6e unveil_find_cover(fffffd8070f55a68,ffff80002a8222b0) at unveil_find_cover+0x16d unveil_start_relative(ffff80002a8222b0,ffff80002a896fe8,fffffd8070f55a68) at unveil_start_relative+0x14b namei(ffff80002a896fe8) at namei+0x62e vn_open(ffff80002a896fe8,201,0) at vn_open+0x1f4 doopenat(ffff80002a8222b0,4,20000240,200,0,ffff80002a897190) at doopenat+0x31d syscall(ffff80002a897240) at syscall+0x97e Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa03f8fb9490, count: 3 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: ufsdirhash_lookup: bad offset in hash array ddb> trace db_enter() at db_enter+0x25 panic(ffffffff833e8f76) at panic+0x1cf ufsdirhash_lookup(fffffd80681bfaa8,ffffffff83317b78,2,fffffd80681bfb5c,ffff80002a896b00,0) at ufsdirhash_lookup+0xb9a ufs_lookup() at ufs_lookup+0xf58 VOP_LOOKUP(fffffd8070f55a68,ffff80002a896ca8,ffff80002a896c48) at VOP_LOOKUP+0x6e unveil_find_cover(fffffd8070f55a68,ffff80002a8222b0) at unveil_find_cover+0x16d unveil_start_relative(ffff80002a8222b0,ffff80002a896fe8,fffffd8070f55a68) at unveil_start_relative+0x14b namei(ffff80002a896fe8) at namei+0x62e vn_open(ffff80002a896fe8,201,0) at vn_open+0x1f4 doopenat(ffff80002a8222b0,4,20000240,200,0,ffff80002a897190) at doopenat+0x31d syscall(ffff80002a897240) at syscall+0x97e Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa03f8fb9490, count: -12 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80002a896920 rbx 0xffff800000b49ba0 rdx 0x3fd rcx 0 rax 0x33 r8 0x101010101010101 r9 0x8080808080808080 r10 0x9c12f5962412ffe1 r11 0xcff6c782709e358d r12 0 r13 0xffff800001429a00 r14 0 r15 0x1 rip 0xffffffff81093a75 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a896910 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) tid=306011 pid=80560 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=53, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a822020,0xffffffff83990f48 process=0xffff80002a784490 user=0xffff80002a892000, vmspace=0xfffffd807ebb15a0 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 80560 63476 5102 0 2 0 syz-executor.0 *80560 306011 5102 0 7 0x4000000 syz-executor.0 5102 318633 25157 0 3 0x82 nanoslp syz-executor.0 25157 80319 38474 0 3 0x82 thrsleep syz-execprog 25157 261865 38474 0 3 0x4000082 thrsleep syz-execprog 25157 241048 38474 0 3 0x4000082 kqread syz-execprog 25157 207214 38474 0 3 0x4000082 wait syz-execprog 25157 221877 38474 0 3 0x4000082 thrsleep syz-execprog 25157 44755 38474 0 3 0x4000082 thrsleep syz-execprog 25157 489786 38474 0 3 0x4000082 thrsleep syz-execprog 25157 308530 38474 0 3 0x4000082 thrsleep syz-execprog 25157 261460 38474 0 3 0x4000082 thrsleep syz-execprog 25157 503646 38474 0 3 0x4000082 thrsleep syz-execprog 38474 451591 60008 0 3 0x10008a sigsusp ksh 60008 41417 79262 0 3 0x98 kqread sshd-session 79262 300593 97966 0 3 0x92 kqread sshd-session 19927 441004 1 0 3 0x100083 ttyin getty 97966 44062 1 0 3 0x88 kqread sshd 38880 2378 77811 73 3 0x1100090 kqread syslogd 77811 200990 1 0 3 0x100082 sbwait syslogd 85767 427679 1 0 3 0x100080 kqread resolvd 56611 117256 74129 77 3 0x100092 kqread dhcpleased 17911 448666 74129 77 3 0x100092 kqread dhcpleased 74129 143828 1 0 3 0x80 kqread dhcpleased 28857 215947 0 0 3 0x14200 bored smr 48944 451915 0 0 2 0x14200 zerothread 41636 184616 0 0 3 0x14200 aiodoned aiodoned 69219 488570 0 0 3 0x14200 syncer update 98153 143387 0 0 3 0x14200 cleaner cleaner 38531 285550 0 0 3 0x14200 reaper reaper 91425 198128 0 0 3 0x14200 pgdaemon pagedaemon 38730 92297 0 0 3 0x14200 bored viomb 58027 481675 0 0 3 0x40014200 acpi0 acpi0 22172 278397 0 0 3 0x14200 bored softnet3 75743 362987 0 0 3 0x14200 bored softnet2 764 84718 0 0 3 0x14200 bored softnet1 48829 465126 0 0 3 0x14200 bored softnet0 94562 482530 0 0 3 0x14200 smrbar systqmp 12227 81182 0 0 3 0x14200 bored systq 26450 281216 0 0 3 0x40014200 tmoslp softclock 53324 128903 0 0 3 0x40014200 idle0 1 303829 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 10144 11024K 11052K 166960K 11224 0 pcb 17 12K 12K 166960K 17 0 rtable 83 2K 2K 166960K 173 0 pf 16 10K 10K 166960K 19 0 ifaddr 14 2K 2K 166960K 18 0 ifgroup 22 1K 1K 166960K 27 0 sysctl 1 1K 9K 166960K 5 0 counters 25 16K 16K 166960K 26 0 ioctlops 0 0K 2K 166960K 23 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1262 79K 80K 166960K 1278 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 1K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 2 0K 0K 166960K 2 0 dirhash 30 5K 5K 166960K 30 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 3 8K 12K 166960K 35 0 proc 58 66K 67K 166960K 305 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 in_multi 22 1K 1K 166960K 33 0 ether_multi 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 25 122K 122K 166960K 25 0 exec 0 0K 1K 166960K 324 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 160 86K 199K 166960K 3583 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 26 52K 104K 166960K 1199 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 NDP 6 0K 0K 166960K 9 0 temp 1 8660K 8724K 166960K 3880 0 kqueue 13 20K 20K 166960K 46 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 24 0 21 1 0 1 1 0 8 0 rtentry 136 45 0 12 2 0 2 2 0 8 0 unpcb 144 67 0 52 1 0 1 1 0 8 0 syncache 336 9 0 9 1 0 1 1 0 8 1 tcpcb 736 12 0 9 1 0 1 1 0 8 0 arp 88 6 0 2 1 0 1 1 0 8 0 inpcb 328 38 0 32 1 0 1 1 0 8 0 nd6 104 6 0 3 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 193 0 48 10 0 10 10 0 8 0 art_table 40 194 0 48 2 0 2 2 0 8 0 art_node 32 45 0 14 1 0 1 1 0 8 0 dirhash 1024 23 0 0 3 0 3 3 0 8 0 dino2pl 256 1563 0 73 94 0 94 94 0 8 0 ffsino 248 1563 0 73 94 0 94 94 0 8 0 nchpl 144 1828 0 101 65 0 65 65 0 8 1 uvmvnodes 80 1572 0 0 33 0 33 33 0 8 0 vnodes 216 1572 0 0 88 0 88 88 0 8 0 namei 1024 6697 0 6696 3 0 3 3 0 8 2 kstatmem 264 10 0 2 1 0 1 1 0 8 0 scxspl 216 8733 0 8733 8 0 8 8 1 8 8 plimitpl 152 51 0 42 1 0 1 1 0 8 0 sigapl 424 395 0 363 5 0 5 5 0 8 1 knotepl 120 6923 0 6886 2 0 2 2 0 8 0 kqueuepl 184 42 0 33 1 0 1 1 0 8 0 pipepl 296 146 0 139 2 0 2 2 0 8 1 fdescpl 440 379 0 363 4 0 4 4 0 8 2 filepl 120 1891 0 1819 3 0 3 3 0 8 0 lockfpl 104 6 0 4 1 0 1 1 0 8 0 lockfspl 48 4 0 2 1 0 1 1 0 8 0 sessionpl 144 27 0 18 1 0 1 1 0 8 0 pgrppl 48 27 0 18 1 0 1 1 0 8 0 ucredpl 104 147 0 136 1 0 1 1 0 8 0 zombiepl 144 363 0 363 1 0 1 1 0 8 1 processpl 1160 395 0 363 4 0 4 4 0 8 1 procpl 656 415 0 373 5 0 5 5 0 8 0 sockpl 528 129 0 105 2 0 2 2 0 8 0 mcl8k 8192 4 0 4 1 0 1 1 0 8 1 mcl4k 4096 8927 0 8871 16 0 16 16 0 8 8 mcl2k 2048 168 0 168 1 0 1 1 0 8 1 mtagpl 96 4 0 4 1 0 1 1 0 8 1 mbufpl 256 11983 0 11913 8 0 8 8 0 8 3 bufpl 280 4326 0 181 297 0 297 297 0 8 0 anonpl 24 191377 0 188020 53 0 53 53 0 187 24 amapchunkpl 152 11501 0 11160 27 0 27 27 0 158 10 amappl16 200 4010 0 3943 5 0 5 5 0 8 1 amappl15 192 26 0 26 1 0 1 1 0 8 1 amappl14 184 208 0 196 2 0 2 2 0 8 0 amappl13 176 13 0 13 1 0 1 1 0 8 1 amappl12 168 953 0 934 2 0 2 2 0 8 0 amappl11 160 63 0 53 1 0 1 1 0 8 0 amappl10 152 74 0 71 1 0 1 1 0 8 0 amappl9 144 1023 0 1023 1 0 1 1 0 8 1 amappl8 136 156 0 136 1 0 1 1 0 8 0 amappl7 128 207 0 194 2 0 2 2 0 8 0 amappl6 120 236 0 232 2 0 2 2 0 8 1 amappl5 112 162 0 155 1 0 1 1 0 8 0 amappl4 104 491 0 472 2 0 2 2 0 8 1 amappl3 96 1154 0 1107 2 0 2 2 0 8 0 amappl2 88 1007 0 948 4 0 4 4 0 8 1 amappl1 80 14470 0 13957 28 7 21 23 0 8 9 amappl 88 2606 0 2520 4 0 4 4 0 92 0 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 0 1 1 0 8 1 dma128 128 253 0 253 1 0 1 1 0 8 1 dma64 64 6 0 6 1 0 1 1 0 8 1 dma32 32 7 0 7 1 0 1 1 0 8 1 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 379 0 363 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 379 0 363 1 0 1 1 0 8 0 vmmpekpl 168 11113 0 11092 2 0 2 2 0 8 0 vmmpepl 168 53759 0 52381 122 0 122 122 0 357 57 vmsppl 360 378 0 363 3 0 3 3 0 8 1 rwobjpl 32 23026 0 20682 27 0 27 27 0 8 2 pdppl 4096 765 0 726 101 42 59 63 0 8 20 pvpl 32 511910 0 503862 419 102 317 396 0 265 240 pmappl 216 378 0 363 2 0 2 2 0 8 1 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 243 0 42 6 0 6 6 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace db_enter() at db_enter+0x25 panic(ffffffff833e8f76) at panic+0x1cf ufsdirhash_lookup(fffffd80681bfaa8,ffffffff83317b78,2,fffffd80681bfb5c,ffff80002a896b00,0) at ufsdirhash_lookup+0xb9a ufs_lookup() at ufs_lookup+0xf58 VOP_LOOKUP(fffffd8070f55a68,ffff80002a896ca8,ffff80002a896c48) at VOP_LOOKUP+0x6e unveil_find_cover(fffffd8070f55a68,ffff80002a8222b0) at unveil_find_cover+0x16d unveil_start_relative(ffff80002a8222b0,ffff80002a896fe8,fffffd8070f55a68) at unveil_start_relative+0x14b namei(ffff80002a896fe8) at namei+0x62e vn_open(ffff80002a896fe8,201,0) at vn_open+0x1f4 doopenat(ffff80002a8222b0,4,20000240,200,0,ffff80002a897190) at doopenat+0x31d syscall(ffff80002a897240) at syscall+0x97e Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa03f8fb9490, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x25 panic(ffffffff833e8f76) at panic+0x1cf ufsdirhash_lookup(fffffd80681bfaa8,ffffffff83317b78,2,fffffd80681bfb5c,ffff80002a896b00,0) at ufsdirhash_lookup+0xb9a ufs_lookup() at ufs_lookup+0xf58 VOP_LOOKUP(fffffd8070f55a68,ffff80002a896ca8,ffff80002a896c48) at VOP_LOOKUP+0x6e unveil_find_cover(fffffd8070f55a68,ffff80002a8222b0) at unveil_find_cover+0x16d unveil_start_relative(ffff80002a8222b0,ffff80002a896fe8,fffffd8070f55a68) at unveil_start_relative+0x14b namei(ffff80002a896fe8) at namei+0x62e vn_open(ffff80002a896fe8,201,0) at vn_open+0x1f4 doopenat(ffff80002a8222b0,4,20000240,200,0,ffff80002a897190) at doopenat+0x31d syscall(ffff80002a897240) at syscall+0x97e Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa03f8fb9490, count: -12