Warning: Permanently added '10.128.1.153' (ED25519) to the list of known hosts. 2025/09/23 16:30:08 ignoring optional flag "type"="gce" 2025/09/23 16:30:08 parsed 1 programs 2025/09/23 16:30:09 executed programs: 0 panic: ufs_rename: lost dir entry Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 113190 57273 0 0 0 0 syz-executor.4 *378364 7280 0 0 0x4000000 1K syz-executor.3 db_enter() at db_enter+0x25 panic(ffffffff8342592f) at panic+0x1e5 ufs_rename(ffff80002a4b4398) at ufs_rename+0x175f VOP_RENAME(fffffd8072516010,fffffd806a3ee890,ffff80002a4b4568,fffffd8072516010,0,ffff80002a4b44b8) at VOP_RENAME+0x137 dorenameat(ffff80002a271780,ffffff9c,200005c0,ffffff9c,20000800) at dorenameat+0x3f7 syscall(ffff80002a4b4700) at syscall+0xb17 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc86088e52a0, 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(ffffffff8342592f) at panic+0x1e5 ufs_rename(ffff80002a4b4398) at ufs_rename+0x175f VOP_RENAME(fffffd8072516010,fffffd806a3ee890,ffff80002a4b4568,fffffd8072516010,0,ffff80002a4b44b8) at VOP_RENAME+0x137 dorenameat(ffff80002a271780,ffffff9c,200005c0,ffffff9c,20000800) at dorenameat+0x3f7 syscall(ffff80002a4b4700) at syscall+0xb17 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc86088e52a0, count: -7 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a4b4120 rbx 0xffff8000299eeddf rdx 0x3fd rcx 0 rax 0x22 r8 0x101010101010101 r9 0x8080808080808080 r10 0xb333dcc4137ff414 r11 0xa3fd8b8ebc8b0928 r12 0xffff8000299eebe0 r13 0 r14 0 r15 0x1 rip 0xffffffff816f0ab5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a4b4110 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.3) tid=378364 pid=7280 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=17, usrpri=62, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a416570,0xffff80002a271a28 process=0xffff80002a4184f8 user=0xffff80002a4af000, vmspace=0xfffffd806f462d60 estcpu=12, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 20608 112383 81718 0 2 0 syz-executor.7 97420 73353 20968 0 2 0 syz-executor.5 57273 113190 4392 0 7 0 syz-executor.4 57273 111381 4392 0 2 0x4000000 syz-executor.4 7280 143853 79729 0 2 0 syz-executor.3 7280 277071 79729 0 3 0x4000000 inode syz-executor.3 7280 364992 79729 0 2 0x4000000 syz-executor.3 * 7280 378364 79729 0 7 0x4000000 syz-executor.3 54523 293320 89942 0 2 0 syz-executor.0 54523 205899 89942 0 2 0x4000000 syz-executor.0 54523 129115 89942 0 3 0x4000000 biowait syz-executor.0 54523 276601 89942 0 2 0x4000000 syz-executor.0 40320 514079 7565 0 3 0x80 nanoslp syz-executor.6 40320 495107 7565 0 3 0x4000080 fsleep syz-executor.6 40320 92162 7565 0 2 0x4000000 syz-executor.6 40320 107711 7565 0 3 0x4000080 fsleep syz-executor.6 7565 126483 45885 0 3 0x82 nanoslp syz-executor.6 81718 192696 45885 0 3 0x82 nanoslp syz-executor.7 3888 332604 45885 0 2 0x2 syz-executor.2 79729 319788 45885 0 3 0x82 nanoslp syz-executor.3 22233 400989 45885 0 3 0x2 biowait syz-executor.1 4392 39397 45885 0 3 0x82 nanoslp syz-executor.4 20968 265032 45885 0 3 0x82 nanoslp syz-executor.5 89942 434318 45885 0 3 0x82 nanoslp syz-executor.0 45885 73838 62553 0 3 0x82 thrsleep syz-execprog 45885 75008 62553 0 3 0x4000082 nanoslp syz-execprog 45885 458740 62553 0 3 0x4000082 wait syz-execprog 45885 384820 62553 0 3 0x4000082 wait syz-execprog 45885 396489 62553 0 3 0x4000082 wait syz-execprog 45885 372708 62553 0 3 0x4000082 wait syz-execprog 45885 370847 62553 0 3 0x4000082 wait syz-execprog 45885 415777 62553 0 3 0x4000082 thrsleep syz-execprog 45885 198933 62553 0 3 0x4000082 wait syz-execprog 45885 15043 62553 0 3 0x4000082 wait syz-execprog 45885 69980 62553 0 3 0x4000082 wait syz-execprog 45885 305800 62553 0 3 0x4000082 thrsleep syz-execprog 45885 390954 62553 0 3 0x4000082 kqread syz-execprog 45885 502095 62553 0 3 0x4000082 thrsleep syz-execprog 45885 352880 62553 0 3 0x4000082 thrsleep syz-execprog 62553 453130 55201 0 3 0x10008a sigsusp ksh 55201 180278 62755 0 3 0x98 kqread sshd-session 62755 213206 59146 0 3 0x92 kqread sshd-session 63763 450512 1 0 3 0x100083 ttyin getty 59146 197744 1 0 3 0x88 kqread sshd 98351 502772 76993 74 3 0x1100092 bpf pflogd 76993 262507 1 0 3 0x80 sbwait pflogd 65377 340607 63905 73 3 0x1100090 kqread syslogd 63905 407182 1 0 3 0x100082 sbwait syslogd 82876 92441 1 0 3 0x100080 kqread resolvd 10224 482624 19038 77 3 0x100092 kqread dhcpleased 90690 234902 19038 77 3 0x100092 kqread dhcpleased 19038 413962 1 0 3 0x80 kqread dhcpleased 55779 463933 0 0 3 0x14200 bored smr 16831 31092 0 0 3 0x14200 pgzero zerothread 95866 300657 0 0 3 0x14200 aiodoned aiodoned 92473 447381 0 0 3 0x14200 syncer update 46457 286099 0 0 3 0x14200 cleaner cleaner 6416 390116 0 0 3 0x14200 reaper reaper 88063 392200 0 0 3 0x14200 pgdaemon pagedaemon 42352 520548 0 0 3 0x14200 bored viomb 58973 325059 0 0 3 0x40014200 acpi0 acpi0 22003 23945 0 0 3 0x40014200 idle1 15018 316054 0 0 3 0x14200 bored softnet1 62293 319741 0 0 3 0x14200 bored softnet0 5928 264495 0 0 3 0x14200 bored systqmp 7987 439487 0 0 3 0x14200 bored systq 35748 44434 0 0 3 0x14200 tmoslp softclockmp 24250 203131 0 0 3 0x40014200 tmoslp softclock 947 491697 0 0 3 0x40014200 idle0 1 471258 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 7280 (syz-executor.3) thread 0xffff80002a271780 (378364) exclusive rrwlock inode r = 0 (0xfffffd8073114c80) #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 (0xfffffd8073114218) #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 (0xffffffff83997cf0) #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 54523 (syz-executor.0) thread 0xffff80002a417268 (129115) exclusive rrwlock inode r = 0 (0xfffffd80731146b8) #0 witness_lock+0x5f1 #1 rw_do_enter_write+0x419 #2 rrw_enter+0xc6 #3 VOP_LOCK+0xa3 #4 vn_lock+0xa4 #5 ufs_rename+0x214 #6 VOP_RENAME+0x137 #7 dorenameat+0x3f7 #8 syscall+0xb17 #9 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd8073114590) #0 witness_lock+0x5f1 #1 rw_do_enter_write+0x419 #2 rrw_enter+0xc6 #3 VOP_LOCK+0xa3 #4 vn_lock+0xa4 #5 vfs_lookup+0x11c #6 namei+0x7ca #7 dorenameat+0x144 #8 syscall+0xb17 #9 Xsyscall+0x128 Process 3888 (syz-executor.2) thread 0xffff80002a355a20 (332604) exclusive rrwlock inode r = 0 (0xfffffd806aa72d98) #0 witness_lock+0x5f1 #1 rw_do_enter_write+0x419 #2 rrw_enter+0xc6 #3 VOP_LOCK+0xa3 #4 vn_lock+0xa4 #5 vfs_lookup+0x11c #6 namei+0x7ca #7 domkdirat+0x8b #8 syscall+0xb17 #9 Xsyscall+0x128 Process 22233 (syz-executor.1) thread 0xffff80002a3554f0 (400989) exclusive rrwlock inode r = 0 (0xfffffd806785eec8) #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 (0xfffffd806aa727d0) #0 witness_lock+0x5f1 #1 rw_do_enter_write+0x419 #2 rrw_enter+0xc6 #3 VOP_LOCK+0xa3 #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 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 16 57K 81K 166960K 195 0 proc 69 115K 147K 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 433 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 281 171K 224K 166960K 4843 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 42 84K 112K 166960K 1590 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 NDP 22 1K 2K 166960K 31 0 temp 1 8640K 8708K 166960K 5249 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 2 0 1 0 8 0 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 1716 0 178 97 0 97 97 0 8 0 ffsino 296 1716 0 178 119 0 119 119 0 8 0 nchpl 144 2066 0 283 67 0 67 67 0 8 0 uvmvnodes 80 1730 0 0 36 0 36 36 0 8 0 vnodes 216 1731 0 0 97 0 97 97 0 8 0 namei 1024 10519 0 10509 9 7 2 5 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 10756 0 10754 10 9 1 8 1 8 0 plimitpl 152 59 0 42 1 0 1 1 0 8 0 sigapl 424 544 0 498 8 2 6 6 0 8 0 knotepl 120 131 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 528 0 498 4 1 3 3 0 8 0 filepl 160 2274 0 2137 8 2 6 6 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 153 0 140 1 0 1 1 0 8 0 zombiepl 144 507 0 507 6 5 1 1 0 8 1 processpl 1232 544 0 498 6 1 5 5 0 8 0 procpl 664 622 0 552 9 2 7 7 0 8 0 sockpl 752 174 0 148 3 0 3 3 0 8 0 mcl8k 8192 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 134 0 0 15 0 15 15 0 8 0 mcl2k 2048 21 0 0 3 0 3 3 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 142 0 0 8 0 8 8 0 8 0 bufpl 280 5192 0 186 358 0 358 358 0 8 0 anonpl 32 8438 0 0 69 0 69 69 0 246 0 amapchunkpl 152 15027 0 14399 48 22 26 27 0 158 0 amappl16 200 4622 0 4525 10 4 6 6 0 8 0 amappl15 192 12 0 12 2 2 0 1 0 8 0 amappl14 184 222 0 208 3 2 1 2 0 8 0 amappl13 176 22 0 22 2 2 0 1 0 8 0 amappl12 168 1244 0 1215 4 2 2 2 0 8 0 amappl11 160 64 0 50 1 0 1 1 0 8 0 amappl10 152 69 0 59 3 2 1 1 0 8 0 amappl9 144 1001 0 1001 2 2 0 1 0 8 0 amappl8 136 240 0 201 3 1 2 2 0 8 0 amappl7 128 240 0 219 3 1 2 2 0 8 0 amappl6 120 340 0 332 2 1 1 2 0 8 0 amappl5 112 203 0 194 1 0 1 1 0 8 0 amappl4 104 553 0 528 3 2 1 2 0 8 0 amappl3 96 1700 0 1607 8 5 3 3 0 8 0 amappl2 88 1211 0 1132 6 3 3 4 0 8 0 amappl1 80 16029 0 15404 35 20 15 24 0 8 0 amappl 88 3688 0 3510 7 2 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 528 0 498 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 528 0 498 1 0 1 1 0 8 0 vmmpekpl 168 12059 0 12014 3 0 3 3 0 8 0 vmmpepl 168 64689 0 62651 137 44 93 127 0 357 0 vmsppl 488 527 0 498 6 2 4 5 0 8 0 rwobjpl 80 26014 0 23205 80 17 63 68 0 8 0 pdppl 4096 1064 0 996 138 68 70 80 0 8 2 pvpl 32 45689 0 0 370 1 369 369 0 265 0 pmappl 256 527 0 498 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 314 0 81 7 0 7 7 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff837e9ff0) at x86_ipi_db+0x27 x86_ipi_handler() at x86_ipi_handler+0xd9 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff83997ae8) at __mp_lock+0x190 intr_handler(ffff80002a40fdf0,ffff80000007aa80) at intr_handler+0xe9 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f sys_clock_gettime(ffff80002a40ff80,ffff80002a40ff80,1bc254decc69d3d2) at sys_clock_gettime+0xf Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x78b150617040, count: 7 ddb{0}> trace x86_ipi_db(ffffffff837e9ff0) at x86_ipi_db+0x27 x86_ipi_handler() at x86_ipi_handler+0xd9 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff83997ae8) at __mp_lock+0x190 intr_handler(ffff80002a40fdf0,ffff80000007aa80) at intr_handler+0xe9 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f sys_clock_gettime(ffff80002a40ff80,ffff80002a40ff80,1bc254decc69d3d2) at sys_clock_gettime+0xf Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x78b150617040, count: -8 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x25: addq $0x8,%rsp db_enter() at db_enter+0x25 panic(ffffffff8342592f) at panic+0x1e5 ufs_rename(ffff80002a4b4398) at ufs_rename+0x175f VOP_RENAME(fffffd8072516010,fffffd806a3ee890,ffff80002a4b4568,fffffd8072516010,0,ffff80002a4b44b8) at VOP_RENAME+0x137 dorenameat(ffff80002a271780,ffffff9c,200005c0,ffffff9c,20000800) at dorenameat+0x3f7 syscall(ffff80002a4b4700) at syscall+0xb17 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc86088e52a0, count: 8 ddb{1}> trace db_enter() at db_enter+0x25 panic(ffffffff8342592f) at panic+0x1e5 ufs_rename(ffff80002a4b4398) at ufs_rename+0x175f VOP_RENAME(fffffd8072516010,fffffd806a3ee890,ffff80002a4b4568,fffffd8072516010,0,ffff80002a4b44b8) at VOP_RENAME+0x137 dorenameat(ffff80002a271780,ffffff9c,200005c0,ffffff9c,20000800) at dorenameat+0x3f7 syscall(ffff80002a4b4700) at syscall+0xb17 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc86088e52a0, count: -7