Warning: Permanently added '10.128.0.56' (ED25519) to the list of known hosts. 2025/12/25 10:56:50 ignoring optional flag "type"="gce" 2025/12/25 10:56:50 parsed 1 programs 2025/12/25 10:56:52 executed programs: 0 panic: ufs_rename: lost dir entry Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 337597 55628 0 0 0x4000000 0 syz-executor.6 *437471 71510 0 0 0x4000000 1K syz-executor.1 db_enter() at db_enter+0x25 panic(ffffffff8344f4d1) at panic+0x1e5 ufs_rename(ffff80002a408068) at ufs_rename+0x175f VOP_RENAME(fffffd806a859440,fffffd807b872cb8,ffff80002a408238,fffffd806a859440,0,ffff80002a408188) at VOP_RENAME+0x137 dorenameat(ffff80002a27ba18,ffffff9c,200005c0,ffffff9c,20000800) at dorenameat+0x3f7 syscall(ffff80002a4083d0) at syscall+0xb17 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6187608b580, count: 8 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: ufs_rename: lost dir entry ddb{1}> trace db_enter() at db_enter+0x25 panic(ffffffff8344f4d1) at panic+0x1e5 ufs_rename(ffff80002a408068) at ufs_rename+0x175f VOP_RENAME(fffffd806a859440,fffffd807b872cb8,ffff80002a408238,fffffd806a859440,0,ffff80002a408188) at VOP_RENAME+0x137 dorenameat(ffff80002a27ba18,ffffff9c,200005c0,ffffff9c,20000800) at dorenameat+0x3f7 syscall(ffff80002a4083d0) at syscall+0xb17 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6187608b580, count: -7 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a407df0 rbx 0xffff8000299dee07 rdx 0x3fd rcx 0 rax 0x22 r8 0x101010101010101 r9 0x8080808080808080 r10 0x6bcd10712743e686 r11 0x1314e91b08c2b2ad r12 0xffff8000299dec08 r13 0 r14 0 r15 0x1 rip 0xffffffff82d07265 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a407de0 ss 0 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.1) tid=437471 pid=71510 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=17, usrpri=57, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a27b780,0xffff80002a314aa8 process=0xffff80002a44a1d8 user=0xffff80002a403000, vmspace=0xfffffd8069949d80 estcpu=7, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 55628 381435 6108 0 2 0 syz-executor.6 55628 337597 6108 0 7 0x4000000 syz-executor.6 19346 220397 20361 0 3 0x80 nanoslp syz-executor.5 19346 118963 20361 0 3 0x4000080 fsleep syz-executor.5 19346 430459 20361 0 3 0x4000080 fsleep syz-executor.5 71510 290458 9078 0 3 0x80 nanoslp syz-executor.1 71510 93589 9078 0 2 0x4000000 syz-executor.1 71510 402469 9078 0 3 0x4000000 inode syz-executor.1 *71510 437471 9078 0 7 0x4000000 syz-executor.1 98728 227596 21022 0 3 0x82 piperd syz-executor.2 39158 385871 21022 0 3 0x2 biowait syz-executor.7 73033 398720 21022 0 3 0x82 piperd syz-executor.3 71295 328967 21022 0 3 0x82 piperd syz-executor.4 71661 239566 21022 0 3 0x82 piperd syz-executor.0 6108 169212 21022 0 3 0x82 nanoslp syz-executor.6 20361 505531 21022 0 3 0x82 nanoslp syz-executor.5 9078 482926 21022 0 3 0x82 nanoslp syz-executor.1 21022 205122 10385 0 3 0x82 wait syz-execprog 21022 101300 10385 0 3 0x4000082 thrsleep syz-execprog 21022 263520 10385 0 3 0x4000082 wait syz-execprog 21022 417725 10385 0 3 0x4000082 wait syz-execprog 21022 450585 10385 0 3 0x4000082 thrsleep syz-execprog 21022 141242 10385 0 3 0x4000082 wait syz-execprog 21022 125791 10385 0 3 0x4000082 thrsleep syz-execprog 21022 95832 10385 0 3 0x4000082 wait syz-execprog 21022 277642 10385 0 3 0x4000082 wait syz-execprog 21022 7932 10385 0 3 0x4000082 wait syz-execprog 21022 255883 10385 0 3 0x4000082 thrsleep syz-execprog 21022 67217 10385 0 3 0x4000082 wait syz-execprog 21022 404764 10385 0 3 0x4000082 thrsleep syz-execprog 21022 415677 10385 0 3 0x4000082 thrsleep syz-execprog 21022 358466 10385 0 3 0x4000082 kqread syz-execprog 10385 295482 56674 0 3 0x10008a sigsusp ksh 56674 511958 92483 0 3 0x98 kqread sshd-session 92483 246788 2200 0 3 0x92 kqread sshd-session 44256 500008 1 0 3 0x100083 ttyin getty 2200 8911 1 0 3 0x88 kqread sshd 14335 9613 93825 74 3 0x1100092 bpf pflogd 93825 3461 1 0 3 0x80 sbwait pflogd 84494 199052 42180 73 3 0x1100090 kqread syslogd 42180 414556 1 0 3 0x100082 sbwait syslogd 69762 494475 1 0 3 0x100080 kqread resolvd 72520 225946 41285 77 3 0x100092 kqread dhcpleased 86109 115521 41285 77 3 0x100092 kqread dhcpleased 41285 231829 1 0 3 0x80 kqread dhcpleased 59324 294790 0 0 3 0x14200 bored smr 50362 306979 0 0 3 0x14200 pgzero zerothread 13261 397926 0 0 3 0x14200 aiodoned aiodoned 32493 388602 0 0 3 0x14200 syncer update 14637 173559 0 0 3 0x14200 cleaner cleaner 23103 184892 0 0 3 0x14200 reaper reaper 73327 303537 0 0 3 0x14200 pgdaemon pagedaemon 80322 377221 0 0 3 0x14200 bored viomb 78266 351494 0 0 3 0x40014200 acpi0 acpi0 31007 68592 0 0 3 0x40014200 idle1 90658 465659 0 0 3 0x14200 bored softnet1 19751 476978 0 0 3 0x14200 bored softnet0 68913 514134 0 0 3 0x14200 bored systqmp 72354 126267 0 0 3 0x14200 bored systq 54433 97245 0 0 3 0x14200 tmoslp softclockmp 45523 60472 0 0 3 0x40014200 tmoslp softclock 53556 39996 0 0 3 0x40014200 idle0 1 115760 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 71510 (syz-executor.1) thread 0xffff80002a27ba18 (437471) exclusive rrwlock inode r = 0 (0xfffffd807bf9f218) #0 witness_lock+0x5f1 #1 rw_do_enter_write+0x419 #2 rrw_enter+0xc6 #3 VOP_LOCK+0xbd #4 vn_lock+0xa4 #5 vget+0x2a2 #6 ufs_ihashget+0x185 #7 ffs_vget+0x8c #8 ufs_lookup+0x1a36 #9 VOP_LOOKUP+0x6e #10 vfs_relookup+0xd4 #11 ufs_rename+0x14aa #12 VOP_RENAME+0x137 #13 dorenameat+0x3f7 #14 syscall+0xb17 #15 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd807bf9fed0) #0 witness_lock+0x5f1 #1 rw_do_enter_write+0x419 #2 rrw_enter+0xc6 #3 VOP_LOCK+0xbd #4 vn_lock+0xa4 #5 vfs_relookup+0x5c #6 ufs_rename+0x14aa #7 VOP_RENAME+0x137 #8 dorenameat+0x3f7 #9 syscall+0xb17 #10 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff838fec48) #0 witness_lock+0x5f1 #1 __mp_acquire_count+0x58 #2 sleep_finish+0x2d8 #3 biowait+0xc6 #4 bwrite+0x2e7 #5 VOP_BWRITE+0x60 #6 ufs_direnter+0x7ac #7 ufs_rename+0xdb2 #8 VOP_RENAME+0x137 #9 dorenameat+0x3f7 #10 syscall+0xb17 #11 Xsyscall+0x128 Process 39158 (syz-executor.7) thread 0xffff80002a27afb8 (385871) exclusive rrwlock inode r = 0 (0xfffffd807bf9fb58) #0 witness_lock+0x5f1 #1 rw_do_enter_write+0x419 #2 rrw_enter+0xc6 #3 VOP_LOCK+0xbd #4 ufs_ihashins+0x4f #5 ffs_vget+0x187 #6 ffs_inode_alloc+0x279 #7 ufs_mkdir+0xfc #8 VOP_MKDIR+0x101 #9 domkdirat+0x179 #10 syscall+0xb17 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd8068ec77d8) #0 witness_lock+0x5f1 #1 rw_do_enter_write+0x419 #2 rrw_enter+0xc6 #3 VOP_LOCK+0xbd #4 vn_lock+0xa4 #5 vfs_lookup+0x11c #6 namei+0x7ca #7 domkdirat+0x8b #8 syscall+0xb17 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11050 12084K 12084K 166960K 12144 0 pcb 17 12K 12K 166960K 17 0 rtable 237 6K 7K 166960K 381 0 pf 34 17K 18K 166960K 48 0 ifaddr 43 7K 7K 166960K 49 0 ifgroup 55 2K 2K 166960K 60 0 sysctl 1 1K 9K 166960K 5 0 counters 70 37K 37K 166960K 72 0 ioctlops 0 0K 4K 166960K 1484 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1265 80K 80K 166960K 1288 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 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 13 45K 85K 166960K 166 0 proc 69 115K 164K 166960K 555 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 in_multi 99 7K 7K 166960K 110 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 445 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 272 164K 216K 166960K 4741 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 39 78K 112K 166960K 1615 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 NDP 28 2K 2K 166960K 31 0 temp 1 8664K 8729K 166960K 5328 0 kqueue 13 20K 20K 166960K 46 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> 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 35 0 32 1 0 1 1 0 8 0 rtentry 176 122 0 12 6 1 5 5 0 8 0 unpcb 144 69 0 52 1 0 1 1 0 8 0 syncache 336 9 0 9 2 2 0 1 0 8 0 tcpcb 736 12 0 9 1 0 1 1 0 8 0 arp 136 20 0 2 1 0 1 1 0 8 0 inpcb 328 73 0 67 1 0 1 1 0 8 0 nd6 152 27 0 3 2 1 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 pfstitem 24 24 0 4 1 0 1 1 0 8 0 pfstkey 128 24 0 4 1 0 1 1 0 8 0 pfstate 448 24 0 4 3 0 3 3 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 500 0 48 32 3 29 29 0 8 0 art_table 40 501 0 48 6 1 5 5 0 8 0 art_node 32 122 0 22 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1667 0 128 98 1 97 97 0 8 0 ffsino 296 1667 0 128 119 0 119 119 0 8 0 nchpl 144 1969 0 186 67 0 67 67 0 8 0 vnodes 216 1681 0 0 94 0 94 94 0 8 0 namei 1024 8734 0 8729 10 7 3 3 0 8 2 percpumem 16 51 0 1 1 0 1 1 0 8 0 kstatmem 264 28 0 2 2 0 2 2 0 8 0 scxspl 216 9852 0 9851 10 9 1 8 1 8 0 plimitpl 152 59 0 42 1 0 1 1 0 8 0 sigapl 424 535 0 492 8 2 6 6 0 8 0 knotepl 120 99 0 0 3 0 3 3 0 8 0 kqueuepl 224 42 0 33 1 0 1 1 0 8 0 pipepl 344 192 0 164 5 2 3 3 0 8 0 fdescpl 528 519 0 492 4 1 3 3 0 8 0 filepl 160 2254 0 2117 8 2 6 7 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 35 0 18 1 0 1 1 0 8 0 pgrppl 48 35 0 18 1 0 1 1 0 8 0 ucredpl 104 152 0 139 1 0 1 1 0 8 0 zombiepl 144 493 0 493 4 3 1 1 0 8 1 processpl 1232 535 0 492 6 1 5 5 0 8 0 procpl 664 582 0 519 8 2 6 6 0 8 0 sockpl 752 177 0 151 4 1 3 4 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 158 0 0 20 0 20 20 0 8 0 mcl2k 2048 35 0 0 4 0 4 4 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 190 0 0 11 0 11 11 0 8 0 bufpl 280 4832 0 222 330 0 330 330 0 8 0 anonpl 32 10020 0 0 81 0 81 81 0 246 0 amapchunkpl 152 14291 0 13717 43 18 25 30 0 158 0 amappl16 200 4149 0 4068 9 4 5 5 0 8 0 amappl15 192 62 0 61 2 1 1 1 0 8 0 amappl14 184 27 0 25 2 1 1 1 0 8 0 amappl13 176 488 0 487 2 1 1 1 0 8 0 amappl12 168 1042 0 1001 5 2 3 3 0 8 0 amappl11 160 10 0 10 2 2 0 1 0 8 0 amappl10 152 249 0 226 3 2 1 2 0 8 0 amappl9 144 1019 0 1019 2 2 0 1 0 8 0 amappl8 136 218 0 186 2 0 2 2 0 8 0 amappl7 128 207 0 197 1 0 1 1 0 8 0 amappl6 120 454 0 436 3 2 1 2 0 8 0 amappl5 112 176 0 165 1 0 1 1 0 8 0 amappl4 104 698 0 665 3 1 2 2 0 8 0 amappl3 96 1683 0 1595 5 2 3 3 0 8 0 amappl2 88 1043 0 981 7 4 3 5 0 8 0 amappl1 80 17979 0 17376 36 21 15 24 0 8 0 amappl 88 3502 0 3338 8 3 5 5 0 92 0 uvmvnodes 80 118 0 0 3 0 3 3 0 8 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 519 0 492 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 519 0 492 1 0 1 1 0 8 0 vmmpekpl 168 12334 0 12283 3 0 3 3 0 8 0 vmmpepl 168 67622 0 65791 145 56 89 129 0 357 0 vmsppl 488 518 0 492 6 1 5 5 0 8 0 rwobjpl 80 26003 0 24855 59 32 27 40 0 8 0 pdppl 4096 1045 0 984 127 52 75 81 0 8 14 pvpl 32 55764 0 0 450 0 450 450 0 265 0 pmappl 256 518 0 492 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 319 0 67 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83804ff0) at x86_ipi_db+0x27 x86_ipi_handler() at x86_ipi_handler+0xd9 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff838fea40) at __mp_lock+0x199 intr_handler(ffff80002a418a10,ffff8000002a3480) at intr_handler+0xe9 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __mp_lock(ffffffff838fea40) at __mp_lock+0x199 syscall(ffff80002a418be0) at syscall+0xaf4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9e055e90650, count: 6 ddb{0}> trace x86_ipi_db(ffffffff83804ff0) at x86_ipi_db+0x27 x86_ipi_handler() at x86_ipi_handler+0xd9 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff838fea40) at __mp_lock+0x199 intr_handler(ffff80002a418a10,ffff8000002a3480) at intr_handler+0xe9 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __mp_lock(ffffffff838fea40) at __mp_lock+0x199 syscall(ffff80002a418be0) at syscall+0xaf4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9e055e90650, count: -9 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x25: addq $0x8,%rsp db_enter() at db_enter+0x25 panic(ffffffff8344f4d1) at panic+0x1e5 ufs_rename(ffff80002a408068) at ufs_rename+0x175f VOP_RENAME(fffffd806a859440,fffffd807b872cb8,ffff80002a408238,fffffd806a859440,0,ffff80002a408188) at VOP_RENAME+0x137 dorenameat(ffff80002a27ba18,ffffff9c,200005c0,ffffff9c,20000800) at dorenameat+0x3f7 syscall(ffff80002a4083d0) at syscall+0xb17 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6187608b580, count: 8 ddb{1}> trace db_enter() at db_enter+0x25 panic(ffffffff8344f4d1) at panic+0x1e5 ufs_rename(ffff80002a408068) at ufs_rename+0x175f VOP_RENAME(fffffd806a859440,fffffd807b872cb8,ffff80002a408238,fffffd806a859440,0,ffff80002a408188) at VOP_RENAME+0x137 dorenameat(ffff80002a27ba18,ffffff9c,200005c0,ffffff9c,20000800) at dorenameat+0x3f7 syscall(ffff80002a4083d0) at syscall+0xb17 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6187608b580, count: -7