Warning: Permanently added '10.128.0.104' (ED25519) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program panic: ufs_rename: lost dir entry Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 1856 19756 0 0 0x4000000 0 syz-executor3016330700 db_enter() at db_enter+0x18 panic(ffffffff8257f9e1) at panic+0x161 ufs_rename(ffff8000216e6d28) at ufs_rename+0x1649 VOP_RENAME(fffffd807efd2620,fffffd806cd5ccb8,ffff8000216e6ef8,fffffd806cd5c318,fffffd806cc995c0,ffff8000216e6e48) at VOP_RENAME+0xf0 dorenameat(ffff8000216c2008,3,20000180,5,200001c0) at dorenameat+0x29c syscall(ffff8000216e7090) at syscall+0x44e Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe3a65886890, 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> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic *cpu0: ufs_rename: lost dir entry ddb> trace db_enter() at db_enter+0x18 panic(ffffffff8257f9e1) at panic+0x161 ufs_rename(ffff8000216e6d28) at ufs_rename+0x1649 VOP_RENAME(fffffd807efd2620,fffffd806cd5ccb8,ffff8000216e6ef8,fffffd806cd5c318,fffffd806cc995c0,ffff8000216e6e48) at VOP_RENAME+0xf0 dorenameat(ffff8000216c2008,3,20000180,5,200001c0) at dorenameat+0x29c syscall(ffff8000216e7090) at syscall+0x44e Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe3a65886890, count: -7 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff8000216e6ac0 rbx 0xfffffd806cc996a0 rdx 0x3fd rcx 0 rax 0x22 r8 0x101010101010101 r9 0x8080808080808080 r10 0x4d8b8593571ecc87 r11 0xb911414cc6260fc8 r12 0 r13 0xfffffd806cce6b48 r14 0 r15 0x1 rip 0xffffffff81e5b9b8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000216e6ab0 ss 0 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor3016330700) pid=1856 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000216c27e8,0xffff8000216c22b8 process=0xffff8000215f0fc8 user=0xffff8000216e2000, vmspace=0xfffffd806d36e120 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 63131 101774 34572 0 2 0 syz-executor3016330700 63131 367283 34572 0 3 0x4000080 fsleep syz-executor3016330700 77468 311698 83916 0 2 0 syz-executor3016330700 77468 447365 83916 0 2 0x4000000 syz-executor3016330700 70596 86673 48638 0 2 0 syz-executor3016330700 70596 326422 48638 0 2 0x4000000 syz-executor3016330700 79482 182772 4379 0 2 0 syz-executor3016330700 79482 95483 4379 0 3 0x4000080 fsleep syz-executor3016330700 79482 389010 4379 0 2 0x4000000 syz-executor3016330700 33775 474655 83732 0 2 0 syz-executor3016330700 33775 424025 83732 0 3 0x4000080 fsleep syz-executor3016330700 33775 261222 83732 0 2 0x4000000 syz-executor3016330700 19756 275780 81756 0 2 0 syz-executor3016330700 19756 196397 81756 0 3 0x4000080 fsleep syz-executor3016330700 *19756 1856 81756 0 7 0x4000000 syz-executor3016330700 61402 274897 32184 0 2 0 syz-executor3016330700 61402 162736 32184 0 3 0x4000080 fsleep syz-executor3016330700 64000 237869 99852 0 2 0 syz-executor3016330700 64000 350724 99852 0 3 0x4000080 fsleep syz-executor3016330700 64000 224193 99852 0 3 0x4000080 fsleep syz-executor3016330700 34572 91602 23405 0 3 0x80 nanoslp syz-executor3016330700 83916 31627 23405 0 3 0x80 nanoslp syz-executor3016330700 48638 181385 23405 0 3 0x80 nanoslp syz-executor3016330700 4379 387766 23405 0 3 0x80 nanoslp syz-executor3016330700 83732 23373 23405 0 3 0x80 nanoslp syz-executor3016330700 81756 102472 23405 0 3 0x80 nanoslp syz-executor3016330700 32184 96989 23405 0 3 0x80 nanoslp syz-executor3016330700 99852 434056 23405 0 3 0x80 nanoslp syz-executor3016330700 23405 196732 21224 0 3 0x82 nanoslp syz-executor3016330700 21224 515608 7348 0 3 0x10008a sigsusp ksh 7348 234078 85786 0 3 0x9a kqread sshd 83968 277583 1 0 3 0x100083 ttyin getty 85786 68880 1 0 3 0x88 kqread sshd 39324 303728 85358 73 3 0x1100090 kqread syslogd 85358 394070 1 0 3 0x100082 netio syslogd 62197 237771 1 0 3 0x100080 kqread resolvd 13388 271407 43639 77 3 0x100092 kqread dhcpleased 61185 13856 43639 77 3 0x100092 kqread dhcpleased 43639 453007 1 0 3 0x80 kqread dhcpleased 48780 146922 0 0 3 0x14200 bored smr 62710 504110 0 0 2 0x14200 zerothread 70627 261548 0 0 3 0x14200 aiodoned aiodoned 59645 446532 0 0 3 0x14200 syncer update 4571 428984 0 0 3 0x14200 cleaner cleaner 80647 278848 0 0 3 0x14200 reaper reaper 18913 391078 0 0 3 0x14200 pgdaemon pagedaemon 77751 397173 0 0 3 0x14200 bored viomb 808 435393 0 0 3 0x40014200 acpi0 acpi0 2861 243589 0 0 3 0x14200 bored softnet 64543 333110 0 0 3 0x14200 bored softnet 57414 321514 0 0 3 0x14200 bored softnet 90604 38557 0 0 3 0x14200 bored softnet 87214 10894 0 0 3 0x14200 bored systqmp 18715 443272 0 0 3 0x14200 bored systq 47480 220533 0 0 3 0x40014200 bored softclock 29047 252525 0 0 3 0x40014200 idle0 1 28457 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 10134 6381K 6413K 78643K 11224 0 pcb 13 8K 8K 78643K 13 0 rtable 58 1K 2K 78643K 108 0 ifaddr 24 7K 7K 78643K 24 0 counters 19 16K 16K 78643K 19 0 ioctlops 0 0K 2K 78643K 25 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1166 73K 73K 78643K 1179 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 0K 0K 78643K 2 0 sem 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 1 0K 0K 78643K 1 0 proc 55 58K 59K 78643K 226 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 11 0K 0K 78643K 11 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 25 122K 122K 78643K 25 0 exec 0 0K 2K 78643K 401 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 101 6K 6K 78643K 1337 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 3 0K 0K 78643K 3 0 temp 18 4709K 4773K 78643K 2355 0 kqueue 11 16K 18K 78643K 24 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 19 0 16 1 0 1 1 0 8 0 rtentry 112 23 0 1 1 0 1 1 0 8 0 unpcb 136 33 0 20 1 0 1 1 0 8 0 syncache 296 5 0 5 2 1 1 1 0 8 1 tcpcb 736 8 0 5 1 0 1 1 0 8 0 arp 88 2 0 0 1 0 1 1 0 8 0 inpcb 312 25 0 19 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 96 0 0 6 0 6 6 0 8 0 art_table 32 97 0 0 1 0 1 1 0 8 0 art_node 16 22 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1444 0 43 88 0 88 88 0 8 0 ffsino 240 1444 0 43 83 0 83 83 0 8 0 nchpl 144 1645 0 77 59 0 59 59 0 8 0 uvmvnodes 80 1453 0 0 30 0 30 30 0 8 0 vnodes 224 1453 0 0 86 0 86 86 0 8 0 namei 1024 4310 0 4306 3 1 2 2 0 8 1 kstatmem 264 6 0 0 1 0 1 1 0 8 0 scxspl 216 3998 0 3998 10 7 3 8 0 8 3 plimitpl 152 15 0 9 1 0 1 1 0 8 0 sigapl 424 316 0 271 5 0 5 5 0 8 0 futexpl 64 77 0 70 1 0 1 1 0 8 0 knotepl 120 5799 0 5770 3 1 2 2 0 8 1 kqueuepl 184 20 0 13 1 0 1 1 0 8 0 pipepl 304 81 0 78 2 1 1 1 0 8 0 fdescpl 432 300 0 271 4 0 4 4 0 8 0 filepl 120 1078 0 1002 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 17 0 9 1 0 1 1 0 8 0 pgrppl 48 17 0 9 1 0 1 1 0 8 0 ucredpl 96 64 0 54 1 0 1 1 0 8 0 zombiepl 144 271 0 271 2 1 1 1 0 8 1 processpl 1000 316 0 271 7 1 6 6 0 8 0 procpl 672 328 0 271 5 0 5 5 0 8 0 sockpl 448 77 0 55 3 0 3 3 0 8 0 mcl8k 8192 9 0 9 2 1 1 1 0 8 1 mcl4k 4096 5 0 5 2 1 1 1 0 8 1 mcl2k 2048 5780 0 5748 6 0 6 6 0 8 1 mtagpl 96 4 0 4 1 1 0 1 0 8 0 mbufpl 256 10578 0 10515 6 0 6 6 0 8 0 bufpl 288 1977 0 91 135 0 135 135 0 8 0 anonpl 24 37391 0 34501 21 3 18 18 0 188 0 amapchunkpl 152 2730 0 2554 8 1 7 7 0 158 0 amappl16 200 94 0 82 1 0 1 1 0 8 0 amappl13 176 32 0 31 2 1 1 1 0 8 0 amappl12 168 4 0 4 2 1 1 1 0 8 1 amappl11 160 60 0 47 1 0 1 1 0 8 0 amappl10 152 1 0 1 1 1 0 1 0 8 0 amappl9 144 495 0 493 1 0 1 1 0 8 0 amappl8 136 359 0 341 2 1 1 1 0 8 0 amappl7 128 48 0 45 1 0 1 1 0 8 0 amappl6 120 94 0 84 1 0 1 1 0 8 0 amappl5 112 82 0 74 1 0 1 1 0 8 0 amappl4 104 573 0 555 1 0 1 1 0 8 0 amappl3 96 362 0 330 1 0 1 1 0 8 0 amappl2 88 431 0 393 2 0 2 2 0 8 0 amappl1 80 9044 0 8486 14 2 12 12 0 8 0 amappl 88 1070 0 994 2 0 2 2 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 300 0 271 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 300 0 271 1 0 1 1 0 8 0 vmmpekpl 168 6074 0 6059 1 0 1 1 0 8 0 vmmpepl 168 26064 0 24611 72 8 64 64 0 357 0 vmsppl 272 299 0 271 3 1 2 2 0 8 0 rwobjpl 24 9418 0 7273 13 0 13 13 0 8 0 pdppl 4096 606 0 542 90 26 64 64 0 8 0 pvpl 32 123883 0 118510 51 7 44 44 0 265 0 pmappl 216 299 0 271 2 0 2 2 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 436 0 32 12 0 12 12 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace db_enter() at db_enter+0x18 panic(ffffffff8257f9e1) at panic+0x161 ufs_rename(ffff8000216e6d28) at ufs_rename+0x1649 VOP_RENAME(fffffd807efd2620,fffffd806cd5ccb8,ffff8000216e6ef8,fffffd806cd5c318,fffffd806cc995c0,ffff8000216e6e48) at VOP_RENAME+0xf0 dorenameat(ffff8000216c2008,3,20000180,5,200001c0) at dorenameat+0x29c syscall(ffff8000216e7090) at syscall+0x44e Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe3a65886890, count: -7 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x18 panic(ffffffff8257f9e1) at panic+0x161 ufs_rename(ffff8000216e6d28) at ufs_rename+0x1649 VOP_RENAME(fffffd807efd2620,fffffd806cd5ccb8,ffff8000216e6ef8,fffffd806cd5c318,fffffd806cc995c0,ffff8000216e6e48) at VOP_RENAME+0xf0 dorenameat(ffff8000216c2008,3,20000180,5,200001c0) at dorenameat+0x29c syscall(ffff8000216e7090) at syscall+0x44e Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe3a65886890, count: -7 ddb>