Warning: Permanently added '10.128.1.23' (ED25519) to the list of known hosts. 2025/09/23 16:13:04 ignoring optional flag "type"="gce" 2025/09/23 16:13:04 parsed 1 programs 2025/09/23 16:13:05 executed programs: 0 panic: ufs_rename: lost dir entry Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 255145 26126 0 0 0 0 syz-executor.2 *269111 25483 0 0 0x4000000 1K syz-executor.0 db_enter() at db_enter+0x25 panic(ffffffff834249fe) at panic+0x1e5 ufs_rename(ffff80002a3b6248) at ufs_rename+0x175f VOP_RENAME(fffffd8069d4a998,fffffd8075595c28,ffff80002a3b6418,fffffd8069d4add0,0,ffff80002a3b6368) at VOP_RENAME+0x137 dorenameat(ffff80002a31b260,ffffff9c,200001c0,ffffff9c,20000200) at dorenameat+0x3f7 syscall(ffff80002a3b65b0) at syscall+0xb17 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xda11c6b97c0, 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(ffffffff834249fe) at panic+0x1e5 ufs_rename(ffff80002a3b6248) at ufs_rename+0x175f VOP_RENAME(fffffd8069d4a998,fffffd8075595c28,ffff80002a3b6418,fffffd8069d4add0,0,ffff80002a3b6368) at VOP_RENAME+0x137 dorenameat(ffff80002a31b260,ffffff9c,200001c0,ffffff9c,20000200) at dorenameat+0x3f7 syscall(ffff80002a3b65b0) at syscall+0xb17 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xda11c6b97c0, count: -7 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a3b5fd0 rbx 0xffff8000299eeddf rdx 0x3fd rcx 0 rax 0x22 r8 0x101010101010101 r9 0x8080808080808080 r10 0x5e939ae6a187d2d9 r11 0xa50b476867d4e04f r12 0xffff8000299eebe0 r13 0 r14 0 r15 0x1 rip 0xffffffff822f5c55 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a3b5fc0 ss 0 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.0) tid=269111 pid=25483 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a31aa98,0xffffffff839ad388 process=0xffff8000fffeeb78 user=0xffff80002a3b1000, vmspace=0xfffffd80754913f0 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 26126 255145 51798 0 7 0 syz-executor.2 26126 251264 51798 0 3 0x4000000 biowait syz-executor.2 25483 47999 58551 0 2 0 syz-executor.0 25483 23636 58551 0 2 0x4000000 syz-executor.0 25483 161003 58551 0 3 0x4000000 inode syz-executor.0 *25483 269111 58551 0 7 0x4000000 syz-executor.0 61964 200995 78562 0 3 0x82 piperd syz-executor.5 51798 151999 78562 0 3 0x82 nanoslp syz-executor.2 79554 63192 78562 0 3 0x82 piperd syz-executor.4 29723 429649 78562 0 3 0x82 piperd syz-executor.6 39380 374941 78562 0 3 0x10000082 nanoslp syz-executor.7 98688 480448 78562 0 3 0x82 piperd syz-executor.3 8363 67368 78562 0 3 0x82 piperd syz-executor.1 58551 485960 78562 0 3 0x82 nanoslp syz-executor.0 78562 460899 54094 0 3 0x82 wait syz-execprog 78562 90719 54094 0 3 0x4000082 thrsleep syz-execprog 78562 196002 54094 0 3 0x4000082 wait syz-execprog 78562 464352 54094 0 3 0x4000082 thrsleep syz-execprog 78562 33458 54094 0 3 0x4000082 thrsleep syz-execprog 78562 389057 54094 0 3 0x4000082 wait syz-execprog 78562 488679 54094 0 3 0x4000082 wait syz-execprog 78562 17691 54094 0 3 0x4000082 wait syz-execprog 78562 203836 54094 0 3 0x4000082 wait syz-execprog 78562 206139 54094 0 3 0x4000082 thrsleep syz-execprog 78562 519441 54094 0 3 0x4000082 wait syz-execprog 78562 464397 54094 0 3 0x4000082 wait syz-execprog 78562 208283 54094 0 3 0x4000082 kqread syz-execprog 78562 81244 54094 0 3 0x4000082 thrsleep syz-execprog 78562 124860 54094 0 3 0x4000082 thrsleep syz-execprog 54094 254196 99520 0 3 0x10008a sigsusp ksh 99520 489958 34276 0 3 0x98 kqread sshd-session 34276 158503 90314 0 3 0x92 kqread sshd-session 42167 393090 1 0 3 0x100083 ttyin getty 90314 401250 1 0 3 0x88 kqread sshd 87058 286836 42883 74 3 0x1100092 bpf pflogd 42883 384949 1 0 3 0x80 sbwait pflogd 76771 386727 22603 73 3 0x1100090 kqread syslogd 22603 449413 1 0 3 0x100082 sbwait syslogd 867 3217 1 0 3 0x100080 kqread resolvd 90432 8287 68654 77 3 0x100092 kqread dhcpleased 84184 319721 68654 77 3 0x100092 kqread dhcpleased 68654 86327 1 0 3 0x80 kqread dhcpleased 85136 55998 0 0 3 0x14200 bored smr 77809 54834 0 0 3 0x14200 pgzero zerothread 40451 460414 0 0 3 0x14200 aiodoned aiodoned 27643 492855 0 0 3 0x14200 syncer update 61679 73714 0 0 3 0x14200 cleaner cleaner 62563 18246 0 0 3 0x14200 reaper reaper 35390 313468 0 0 3 0x14200 pgdaemon pagedaemon 62728 364771 0 0 3 0x14200 bored viomb 96081 319509 0 0 3 0x40014200 acpi0 acpi0 41196 465698 0 0 3 0x40014200 idle1 74335 378114 0 0 3 0x14200 bored softnet1 17275 60605 0 0 3 0x14200 bored softnet0 56864 63097 0 0 3 0x14200 bored systqmp 56396 45207 0 0 3 0x14200 bored systq 20860 508234 0 0 3 0x14200 tmoslp softclockmp 57749 1186 0 0 3 0x40014200 tmoslp softclock 17791 200376 0 0 3 0x40014200 idle0 1 381740 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 26126 (syz-executor.2) thread 0xffff80002a31aa98 (251264) exclusive rrwlock inode r = 0 (0xfffffd806746f0f0) #0 witness_lock+0x5f1 #1 rw_do_enter_write+0x419 #2 rrw_enter+0xc6 #3 VOP_LOCK+0xa3 #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 (0xfffffd806746fc80) #0 witness_lock+0x5f1 #1 rw_do_enter_write+0x419 #2 rrw_enter+0xc6 #3 VOP_LOCK+0xa3 #4 vn_lock+0xa4 #5 vget+0x2a2 #6 ufs_ihashget+0x185 #7 ffs_vget+0x8c #8 ufs_lookup+0x16bd #9 VOP_LOOKUP+0x6e #10 vfs_lookup+0x93a #11 namei+0x7ca #12 domkdirat+0x8b #13 syscall+0xb17 #14 Xsyscall+0x128 Process 25483 (syz-executor.0) thread 0xffff80002a31a2d0 (161003) exclusive rrwlock inode r = 0 (0xfffffd80758026c0) #0 witness_lock+0x5f1 #1 rw_do_enter_write+0x419 #2 rrw_enter+0xc6 #3 VOP_LOCK+0xa3 #4 vn_lock+0xa4 #5 vget+0x2a2 #6 cache_lookup+0x351 #7 ufs_lookup+0x1e3 #8 VOP_LOOKUP+0x6e #9 vfs_lookup+0x93a #10 namei+0x7ca #11 dorenameat+0x91 #12 syscall+0xb17 #13 Xsyscall+0x128 Process 25483 (syz-executor.0) thread 0xffff80002a31b260 (269111) exclusive rrwlock inode r = 0 (0xfffffd806746fda8) #0 witness_lock+0x5f1 #1 rw_do_enter_write+0x419 #2 rrw_enter+0xc6 #3 VOP_LOCK+0xa3 #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 (0xfffffd8075802ed8) #0 witness_lock+0x5f1 #1 rw_do_enter_write+0x419 #2 rrw_enter+0xc6 #3 VOP_LOCK+0xa3 #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 (0xffffffff839b9a68) #0 witness_lock+0x5f1 #1 __mp_acquire_count+0x58 #2 sleep_finish+0x2d8 #3 rw_do_enter_write+0x1dc #4 rrw_enter+0xc6 #5 VOP_LOCK+0xa3 #6 vn_lock+0xa4 #7 vfs_relookup+0x5c #8 ufs_rename+0x14aa #9 VOP_RENAME+0x137 #10 dorenameat+0x3f7 #11 syscall+0xb17 #12 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10186 11022K 11022K 166960K 11280 0 pcb 17 12K 12K 166960K 17 0 rtable 205 5K 5K 166960K 273 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 68 36K 36K 166960K 70 0 ioctlops 0 0K 4K 166960K 1484 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1264 80K 80K 166960K 1283 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 12 41K 85K 166960K 207 0 proc 69 115K 164K 166960K 556 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 432 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 250 169K 225K 166960K 4843 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 38 76K 112K 166960K 1603 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 NDP 12 0K 2K 166960K 31 0 temp 1 8640K 8704K 166960K 5514 0 kqueue 13 20K 20K 166960K 45 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 104 0 10 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 1 1 1 0 8 1 tcpcb 736 11 0 8 1 0 1 1 0 8 0 arp 136 11 0 1 1 0 1 1 0 8 0 inpcb 328 70 0 64 1 0 1 1 0 8 0 nd6 152 18 0 2 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 21 0 2 1 0 1 1 0 8 0 pfstkey 128 21 0 2 1 0 1 1 0 8 0 pfstate 384 21 0 2 2 0 2 2 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 483 0 46 30 2 28 28 0 8 0 art_table 40 484 0 46 6 1 5 5 0 8 0 art_node 32 104 0 20 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1842 0 300 98 0 98 98 0 8 0 ffsino 296 1842 0 300 120 0 120 120 0 8 0 nchpl 144 2398 0 609 68 0 68 68 0 8 0 uvmvnodes 80 1856 0 0 38 0 38 38 0 8 0 vnodes 216 1856 0 0 104 0 104 104 0 8 0 namei 1024 15785 0 15781 4 2 2 2 0 8 0 percpumem 16 50 0 1 1 0 1 1 0 8 0 kstatmem 264 28 0 2 2 0 2 2 0 8 0 scxspl 216 11298 0 11297 10 7 3 8 1 8 2 plimitpl 152 59 0 42 1 0 1 1 0 8 0 sigapl 424 559 0 516 8 2 6 6 0 8 0 knotepl 120 111 0 0 4 0 4 4 0 8 0 kqueuepl 224 41 0 32 1 0 1 1 0 8 0 pipepl 344 178 0 150 5 2 3 3 0 8 0 fdescpl 528 543 0 517 4 1 3 3 0 8 0 filepl 160 2414 0 2277 9 2 7 7 0 8 1 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 153 0 140 1 0 1 1 0 8 0 zombiepl 144 517 0 516 2 1 1 1 0 8 0 processpl 1232 559 0 516 6 1 5 5 0 8 0 procpl 664 650 0 589 9 2 7 7 0 8 1 sockpl 752 174 0 148 4 0 4 4 0 8 1 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 162 0 0 19 0 19 19 0 8 0 mcl2k 2048 29 0 0 3 0 3 3 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 158 0 0 10 0 10 10 0 8 0 bufpl 280 5278 0 186 364 0 364 364 0 8 0 anonpl 32 9006 0 0 75 2 73 74 0 246 0 amapchunkpl 152 15319 0 14794 43 16 27 28 0 158 4 amappl16 200 3991 0 3895 9 3 6 6 0 8 0 amappl15 192 11 0 11 2 2 0 1 0 8 0 amappl14 184 231 0 217 3 1 2 2 0 8 0 amappl13 176 12 0 11 1 0 1 1 0 8 0 amappl12 168 1261 0 1233 4 2 2 2 0 8 0 amappl11 160 57 0 43 1 0 1 1 0 8 0 amappl10 152 66 0 56 2 1 1 1 0 8 0 amappl9 144 981 0 980 1 0 1 1 0 8 0 amappl8 136 208 0 178 3 1 2 2 0 8 0 amappl7 128 220 0 199 3 1 2 2 0 8 0 amappl6 120 339 0 330 4 2 2 2 0 8 1 amappl5 112 182 0 173 1 0 1 1 0 8 0 amappl4 104 543 0 519 3 1 2 2 0 8 1 amappl3 96 1783 0 1709 5 2 3 3 0 8 0 amappl2 88 1191 0 1115 6 2 4 4 0 8 1 amappl1 80 16160 0 15545 36 13 23 24 0 8 8 amappl 88 3689 0 3541 8 3 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 543 0 517 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 543 0 517 1 0 1 1 0 8 0 vmmpekpl 168 12072 0 12028 3 0 3 3 0 8 0 vmmpepl 168 64193 0 62336 136 14 122 128 0 357 31 vmsppl 488 542 0 517 6 1 5 5 0 8 0 rwobjpl 80 25632 0 22744 81 14 67 69 0 8 4 pdppl 4096 1094 0 1034 122 48 74 82 0 8 14 pvpl 32 49784 0 0 403 1 402 402 0 265 0 pmappl 256 542 0 517 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 300 0 55 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff837d1ff0) at x86_ipi_db+0x27 x86_ipi_handler() at x86_ipi_handler+0xd9 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0xf intr_handler(ffff80002a3c4220,ffff80000007aa80) at intr_handler+0xe9 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x7175b40503a0, count: 9 ddb{0}> trace x86_ipi_db(ffffffff837d1ff0) at x86_ipi_db+0x27 x86_ipi_handler() at x86_ipi_handler+0xd9 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0xf intr_handler(ffff80002a3c4220,ffff80000007aa80) at intr_handler+0xe9 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x7175b40503a0, count: -6 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x25: addq $0x8,%rsp db_enter() at db_enter+0x25 panic(ffffffff834249fe) at panic+0x1e5 ufs_rename(ffff80002a3b6248) at ufs_rename+0x175f VOP_RENAME(fffffd8069d4a998,fffffd8075595c28,ffff80002a3b6418,fffffd8069d4add0,0,ffff80002a3b6368) at VOP_RENAME+0x137 dorenameat(ffff80002a31b260,ffffff9c,200001c0,ffffff9c,20000200) at dorenameat+0x3f7 syscall(ffff80002a3b65b0) at syscall+0xb17 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xda11c6b97c0, count: 8 ddb{1}> trace db_enter() at db_enter+0x25 panic(ffffffff834249fe) at panic+0x1e5 ufs_rename(ffff80002a3b6248) at ufs_rename+0x175f VOP_RENAME(fffffd8069d4a998,fffffd8075595c28,ffff80002a3b6418,fffffd8069d4add0,0,ffff80002a3b6368) at VOP_RENAME+0x137 dorenameat(ffff80002a31b260,ffffff9c,200001c0,ffffff9c,20000200) at dorenameat+0x3f7 syscall(ffff80002a3b65b0) at syscall+0xb17 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xda11c6b97c0, count: -7