Warning: Permanently added '10.128.0.183' (ED25519) to the list of known hosts. 2025/07/01 21:40:38 ignoring optional flag "sandboxArg"="0" 2025/07/01 21:40:38 ignoring optional flag "type"="gce" 2025/07/01 21:40:38 parsed 1 programs 2025/07/01 21:40:39 executed programs: 0 panic: ufs_rename: lost dir entry Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 292421 91483 0 0 0 0 syz-executor.0 * 31879 1441 0 0 0x4000000 1K syz-executor.6 db_enter() at db_enter+0x25 panic(ffffffff833612d5) at panic+0x1e5 ufs_rename(ffff80002a489018) at ufs_rename+0x18b2 VOP_RENAME(fffffd8077690b18,fffffd806ad98a50,ffff80002a4891e8,fffffd8077690530,0,ffff80002a489138) at VOP_RENAME+0x13c dorenameat(ffff80002a400d08,ffffff9c,200001c0,ffffff9c,20000200) at dorenameat+0x3f8 syscall(ffff80002a489380) at syscall+0xb08 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x980647d9440, 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(ffffffff833612d5) at panic+0x1e5 ufs_rename(ffff80002a489018) at ufs_rename+0x18b2 VOP_RENAME(fffffd8077690b18,fffffd806ad98a50,ffff80002a4891e8,fffffd8077690530,0,ffff80002a489138) at VOP_RENAME+0x13c dorenameat(ffff80002a400d08,ffffff9c,200001c0,ffffff9c,20000200) at dorenameat+0x3f8 syscall(ffff80002a489380) at syscall+0xb08 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x980647d9440, count: -7 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a488d90 rbx 0xffff8000299dedd7 rdx 0x3fd rcx 0 rax 0x22 r8 0x101010101010101 r9 0x8080808080808080 r10 0x66578f517f569cd6 r11 0x4c01c03b4a3158a3 r12 0xffff8000299debd8 r13 0 r14 0 r15 0x1 rip 0xffffffff82d8e215 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a488d80 ss 0 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.6) tid=31879 pid=1441 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=0xffff80002a400f98,0xffffffff838cde88 process=0xffff80002a36b568 user=0xffff80002a484000, vmspace=0xfffffd806e30d1f0 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 59312 369627 41203 0 2 0 syz-executor.3 59312 299592 41203 0 3 0x4000080 fsleep syz-executor.3 87359 472641 301 0 2 0 syz-executor.1 87359 157257 301 0 3 0x4000080 fsleep syz-executor.1 66394 102325 976 0 2 0 syz-executor.7 66394 418421 976 0 3 0x4000080 fsleep syz-executor.7 91483 292421 70165 0 7 0 syz-executor.0 91483 524145 70165 0 2 0x4000000 syz-executor.0 1441 446856 75025 0 2 0 syz-executor.6 1441 247171 75025 0 2 0x4000000 syz-executor.6 1441 200958 75025 0 2 0x4000000 syz-executor.6 * 1441 31879 75025 0 7 0x4000000 syz-executor.6 60655 402739 58466 0 3 0x82 piperd syz-executor.4 976 61610 58466 0 3 0x82 nanoslp syz-executor.7 75025 345476 58466 0 3 0x82 nanoslp syz-executor.6 89383 168613 58466 0 3 0x82 piperd syz-executor.5 13950 106973 58466 0 3 0x82 piperd syz-executor.2 41203 49756 58466 0 3 0x82 nanoslp syz-executor.3 70165 178221 58466 0 3 0x82 nanoslp syz-executor.0 301 173262 58466 0 3 0x82 nanoslp syz-executor.1 58466 51169 15515 0 3 0x82 thrsleep syz-execprog 58466 258986 15515 0 3 0x4000082 thrsleep syz-execprog 58466 256170 15515 0 3 0x4000082 wait syz-execprog 58466 119700 15515 0 3 0x4000082 wait syz-execprog 58466 119680 15515 0 3 0x4000082 wait syz-execprog 58466 463926 15515 0 3 0x4000082 thrsleep syz-execprog 58466 70303 15515 0 3 0x4000082 thrsleep syz-execprog 58466 106958 15515 0 3 0x4000082 wait syz-execprog 58466 289407 15515 0 3 0x4000082 thrsleep syz-execprog 58466 512021 15515 0 3 0x4000082 wait syz-execprog 58466 63727 15515 0 3 0x4000082 wait syz-execprog 58466 11010 15515 0 3 0x4000082 thrsleep syz-execprog 58466 351781 15515 0 3 0x4000082 wait syz-execprog 58466 102464 15515 0 3 0x4000082 wait syz-execprog 58466 327274 15515 0 3 0x4000082 kqread syz-execprog 58466 305776 15515 0 3 0x4000082 thrsleep syz-execprog 15515 64978 78705 0 3 0x10008a sigsusp ksh 78705 54696 53007 0 3 0x98 kqread sshd-session 53007 171900 9366 0 3 0x92 kqread sshd-session 64421 270785 1 0 3 0x100083 ttyin getty 9366 121815 1 0 3 0x88 kqread sshd 45313 430009 30983 74 3 0x1100092 bpf pflogd 30983 113125 1 0 3 0x80 sbwait pflogd 88626 505513 58600 73 3 0x1100090 kqread syslogd 58600 371873 1 0 3 0x100082 sbwait syslogd 71438 88285 1 0 3 0x100080 kqread resolvd 399 189102 58711 77 3 0x100092 kqread dhcpleased 68215 357873 58711 77 3 0x100092 kqread dhcpleased 58711 433056 1 0 3 0x80 kqread dhcpleased 57464 375490 0 0 3 0x14200 bored smr 80370 355834 0 0 2 0x14200 zerothread 3211 56837 0 0 3 0x14200 aiodoned aiodoned 75886 456770 0 0 3 0x14200 syncer update 93140 27494 0 0 3 0x14200 cleaner cleaner 5305 277372 0 0 3 0x14200 reaper reaper 16781 161132 0 0 3 0x14200 pgdaemon pagedaemon 57043 86257 0 0 3 0x14200 bored viomb 69768 390687 0 0 3 0x40014200 acpi0 acpi0 4798 129756 0 0 3 0x40014200 idle1 75243 453044 0 0 3 0x14200 bored softnet3 95436 7079 0 0 3 0x14200 bored softnet2 35980 447411 0 0 3 0x14200 bored softnet1 75656 180263 0 0 3 0x14200 bored softnet0 71857 36689 0 0 3 0x14200 bored systqmp 36977 251739 0 0 3 0x14200 bored systq 29253 46439 0 0 3 0x14200 tmoslp softclockmp 98814 99327 0 0 3 0x40014200 tmoslp softclock 91206 44930 0 0 3 0x40014200 idle0 1 408318 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 1441 (syz-executor.6) thread 0xffff80002a400d08 (31879) exclusive rrwlock inode r = 0 (0xfffffd80716199b8) #0 witness_lock+0x5bb #1 rw_do_enter_write+0x377 #2 rrw_enter+0xc6 #3 VOP_LOCK+0xa6 #4 vn_lock+0xa4 #5 vget+0x2bd #6 ufs_ihashget+0x185 #7 ffs_vget+0x8c #8 ufs_lookup+0x19f8 #9 VOP_LOOKUP+0x6e #10 vfs_relookup+0xd4 #11 ufs_rename+0x15e4 #12 VOP_RENAME+0x13c #13 dorenameat+0x3f8 #14 syscall+0xb08 #15 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83964448) #0 witness_lock+0x5bb #1 __mp_acquire_count+0x58 #2 sleep_finish+0x2da #3 rw_do_enter_write+0x1d3 #4 rrw_enter+0xc6 #5 VOP_LOCK+0xa6 #6 vn_lock+0xa4 #7 vget+0x2bd #8 ufs_ihashget+0x185 #9 ffs_vget+0x8c #10 ufs_lookup+0x19f8 #11 VOP_LOOKUP+0x6e #12 vfs_relookup+0xd4 #13 ufs_rename+0x15e4 #14 VOP_RENAME+0x13c #15 dorenameat+0x3f8 #16 syscall+0xb08 #17 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd8071619898) #0 witness_lock+0x5bb #1 rw_do_enter_write+0x377 #2 rrw_enter+0xc6 #3 VOP_LOCK+0xa6 #4 vn_lock+0xa4 #5 vfs_relookup+0x5c #6 ufs_rename+0x15e4 #7 VOP_RENAME+0x13c #8 dorenameat+0x3f8 #9 syscall+0xb08 #10 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10188 11021K 11021K 166960K 11269 0 pcb 17 12K 12K 166960K 17 0 rtable 234 6K 6K 166960K 384 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 15 53K 89K 166960K 353 0 proc 69 91K 115K 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 441 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 269 162K 216K 166960K 6123 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 41 82K 112K 166960K 1781 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 8680K 8744K 166960K 6790 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 38 0 35 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 1 1 1 0 8 1 tcpcb 736 12 0 9 1 0 1 1 0 8 0 arp 128 20 0 2 1 0 1 1 0 8 0 inpcb 328 73 0 67 1 0 1 1 0 8 0 nd6 144 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 28 0 4 1 0 1 1 0 8 0 pfstkey 128 28 0 4 1 0 1 1 0 8 0 pfstate 384 28 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 32 501 0 48 5 1 4 4 0 8 0 art_node 16 121 0 21 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2453 0 906 98 0 98 98 0 8 0 ffsino 288 2453 0 906 113 1 112 112 0 8 1 nchpl 144 3798 0 2000 68 0 68 68 0 8 1 uvmvnodes 80 2467 0 0 51 0 51 51 0 8 0 vnodes 216 2467 0 0 138 0 138 138 0 8 0 namei 1024 37928 0 37926 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 15269 0 15269 10 8 2 8 1 8 2 plimitpl 152 59 0 42 1 0 1 1 0 8 0 sigapl 424 718 0 671 8 1 7 7 0 8 1 knotepl 120 123 0 0 4 0 4 4 0 8 0 kqueuepl 224 42 0 33 1 0 1 1 0 8 0 pipepl 336 181 0 153 5 2 3 3 0 8 0 fdescpl 520 700 0 671 4 1 3 3 0 8 0 filepl 160 3040 0 2903 8 1 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 152 0 139 1 0 1 1 0 8 0 zombiepl 144 671 0 671 2 1 1 1 0 8 1 processpl 1240 718 0 671 6 1 5 5 0 8 1 procpl 656 980 0 911 8 1 7 7 0 8 0 sockpl 728 180 0 154 4 1 3 3 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 146 0 0 17 0 17 17 0 8 0 mcl2k 2048 17 0 0 3 0 3 3 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 147 0 0 8 0 8 8 0 8 0 bufpl 280 5320 0 187 367 0 367 367 0 8 0 anonpl 32 8990 0 0 74 1 73 73 0 246 0 amapchunkpl 152 19246 0 18643 39 12 27 28 0 158 3 amappl16 200 4341 0 4242 10 4 6 6 0 8 0 amappl15 192 9 0 9 2 2 0 1 0 8 0 amappl14 184 263 0 249 3 1 2 2 0 8 1 amappl13 176 14 0 13 3 2 1 1 0 8 0 amappl12 168 1457 0 1424 4 2 2 2 0 8 0 amappl11 160 54 0 40 1 0 1 1 0 8 0 amappl10 152 61 0 52 2 1 1 1 0 8 0 amappl9 144 966 0 966 3 2 1 1 0 8 1 amappl8 136 217 0 182 2 0 2 2 0 8 0 amappl7 128 225 0 202 3 1 2 2 0 8 0 amappl6 120 378 0 370 3 2 1 2 0 8 0 amappl5 112 194 0 185 1 0 1 1 0 8 0 amappl4 104 608 0 581 3 1 2 2 0 8 1 amappl3 96 2653 0 2565 5 2 3 3 0 8 0 amappl2 88 1372 0 1292 6 2 4 4 0 8 1 amappl1 80 16681 0 16063 36 14 22 24 0 8 7 amappl 88 4936 0 4768 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 700 0 671 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 700 0 671 1 0 1 1 0 8 0 vmmpekpl 168 12998 0 12946 3 0 3 3 0 8 0 vmmpepl 168 72274 0 70266 141 14 127 128 0 357 36 vmsppl 480 699 0 671 6 1 5 5 0 8 1 rwobjpl 72 27979 0 24445 79 14 65 65 0 8 0 pdppl 4096 1407 0 1342 127 56 71 83 0 8 6 pvpl 32 49621 0 0 403 2 401 401 0 265 0 pmappl 256 699 0 671 3 0 3 3 0 8 1 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 421 0 67 11 0 11 11 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff838c6ff0) at x86_ipi_db+0x27 x86_ipi_handler() at x86_ipi_handler+0xd9 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 end of kernel end trace frame: 0x706e0f2eb370, count: 12 ddb{0}> trace x86_ipi_db(ffffffff838c6ff0) at x86_ipi_db+0x27 x86_ipi_handler() at x86_ipi_handler+0xd9 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 end of kernel end trace frame: 0x706e0f2eb370, count: -3 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x25: addq $0x8,%rsp db_enter() at db_enter+0x25 panic(ffffffff833612d5) at panic+0x1e5 ufs_rename(ffff80002a489018) at ufs_rename+0x18b2 VOP_RENAME(fffffd8077690b18,fffffd806ad98a50,ffff80002a4891e8,fffffd8077690530,0,ffff80002a489138) at VOP_RENAME+0x13c dorenameat(ffff80002a400d08,ffffff9c,200001c0,ffffff9c,20000200) at dorenameat+0x3f8 syscall(ffff80002a489380) at syscall+0xb08 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x980647d9440, count: 8 ddb{1}> trace db_enter() at db_enter+0x25 panic(ffffffff833612d5) at panic+0x1e5 ufs_rename(ffff80002a489018) at ufs_rename+0x18b2 VOP_RENAME(fffffd8077690b18,fffffd806ad98a50,ffff80002a4891e8,fffffd8077690530,0,ffff80002a489138) at VOP_RENAME+0x13c dorenameat(ffff80002a400d08,ffffff9c,200001c0,ffffff9c,20000200) at dorenameat+0x3f8 syscall(ffff80002a489380) at syscall+0xb08 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x980647d9440, count: -7