Warning: Permanently added '10.128.10.43' (ED25519) to the list of known hosts. 2024/02/11 11:28:47 ignoring optional flag "sandboxArg"="0" 2024/02/11 11:28:47 parsed 1 programs 2024/02/11 11:28:48 executed programs: 0 panic: ufs_rename: lost dir entry Stopped at db_enter+0x1c: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 310354 94562 0 0 0 0 syz-executor.3 *414585 48078 0 0 0x4000000 1K syz-executor.0 db_enter() at db_enter+0x1c panic(ffffffff8287747b) at panic+0x17b ufs_rename(ffff80002a3be168) at ufs_rename+0x1412 VOP_RENAME(fffffd8068b32988,fffffd80693d73a8,ffff80002a3be338,fffffd8068b32988,0,ffff80002a3be288) at VOP_RENAME+0xf4 dorenameat(ffff80002a155d50,ffffff9c,200005c0,ffffff9c,20000800) at dorenameat+0x2a0 syscall(ffff80002a3be4d0) at syscall+0x533 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xef15401e840, 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+0x1c panic(ffffffff8287747b) at panic+0x17b ufs_rename(ffff80002a3be168) at ufs_rename+0x1412 VOP_RENAME(fffffd8068b32988,fffffd80693d73a8,ffff80002a3be338,fffffd8068b32988,0,ffff80002a3be288) at VOP_RENAME+0xf4 dorenameat(ffff80002a155d50,ffffff9c,200005c0,ffffff9c,20000800) at dorenameat+0x2a0 syscall(ffff80002a3be4d0) at syscall+0x533 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xef15401e840, count: -7 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a3bdee0 rbx 0xffff800029cfcca7 rdx 0 rcx 0xffff80002a155d50 rax 0xffff800029cfbff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x5d682547f3199bc4 r11 0x7d42cbbcc6ad4da2 r12 0xffff800029cfcaa8 r13 0 r14 0 r15 0x1 rip 0xffffffff819330cc db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff80002a3bded0 ss 0 db_enter+0x1c: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.0) tid=414585 pid=48078 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=17, usrpri=64, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff80002a311808,0xffff80002a24c558 process=0xffff8000fffec908 user=0xffff80002a3b9000, vmspace=0xfffffd8074312ab8 estcpu=14, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 7972 501502 3035 0 2 0 syz-executor.2 94562 310354 62242 0 7 0 syz-executor.3 94562 202504 62242 0 2 0x4000000 syz-executor.3 738 513315 72470 0 2 0 syz-executor.1 738 416054 72470 0 3 0x4000080 fsleep syz-executor.1 83092 321188 47738 0 2 0 syz-executor.4 83092 104345 47738 0 3 0x4000000 biowait syz-executor.4 83092 400575 47738 0 3 0x4000000 inode syz-executor.4 90174 493715 78743 0 2 0 syz-executor.7 48078 440645 40059 0 2 0 syz-executor.0 48078 228699 40059 0 3 0x4000080 fsleep syz-executor.0 48078 121873 40059 0 2 0x4000000 syz-executor.0 *48078 414585 40059 0 7 0x4000000 syz-executor.0 6817 46438 86454 0 2 0 syz-executor.5 6817 27646 86454 0 3 0x4000000 inode syz-executor.5 6817 250176 86454 0 3 0x4000000 biowait syz-executor.5 6817 127623 86454 0 3 0x4000000 inode syz-executor.5 33232 368115 74789 0 3 0x80 nanoslp syz-executor.6 33232 277577 74789 0 3 0x4000080 fsleep syz-executor.6 33232 431445 74789 0 2 0x4000000 syz-executor.6 33232 4219 74789 0 3 0x4000080 fsleep syz-executor.6 3035 191553 85213 0 3 0x82 nanoslp syz-executor.2 78743 98835 85213 0 3 0x82 nanoslp syz-executor.7 86454 403656 85213 0 3 0x82 nanoslp syz-executor.5 74789 48324 85213 0 3 0x82 nanoslp syz-executor.6 62242 384076 85213 0 3 0x82 nanoslp syz-executor.3 47738 514717 85213 0 3 0x82 nanoslp syz-executor.4 40059 199325 85213 0 3 0x82 nanoslp syz-executor.0 72470 340858 85213 0 3 0x82 nanoslp syz-executor.1 85213 89315 14480 0 3 0x2000082 wait syz-execprog 85213 170172 14480 0 3 0x6000082 nanoslp syz-execprog 85213 127527 14480 0 3 0x6000082 thrsleep syz-execprog 85213 89013 14480 0 3 0x6000082 wait syz-execprog 85213 74758 14480 0 3 0x6000082 wait syz-execprog 85213 365360 14480 0 3 0x6000082 thrsleep syz-execprog 85213 152828 14480 0 3 0x6000082 wait syz-execprog 85213 344043 14480 0 3 0x6000082 wait syz-execprog 85213 271517 14480 0 3 0x6000082 wait syz-execprog 85213 473520 14480 0 3 0x6000082 wait syz-execprog 85213 523716 14480 0 3 0x6000082 thrsleep syz-execprog 85213 277783 14480 0 3 0x6000082 kqread syz-execprog 85213 273282 14480 0 3 0x6000082 wait syz-execprog 85213 463473 14480 0 3 0x6000082 thrsleep syz-execprog 85213 351715 14480 0 3 0x6000082 thrsleep syz-execprog 14480 320081 17347 0 3 0x10008a sigsusp ksh 17347 467141 11275 0 3 0x9a kqread sshd 42116 38256 1 0 3 0x100083 ttyin getty 11275 221109 1 0 3 0x88 kqread sshd 92252 396434 57214 74 3 0x1100092 bpf pflogd 57214 415992 1 0 3 0x80 netio pflogd 44915 472221 86191 73 3 0x1100090 kqread syslogd 86191 109972 1 0 3 0x100082 netio syslogd 22717 473481 1 0 3 0x100080 kqread resolvd 38187 275654 55180 77 3 0x100092 kqread dhcpleased 68621 98755 55180 77 3 0x100092 kqread dhcpleased 55180 363042 1 0 3 0x80 kqread dhcpleased 93707 464732 0 0 3 0x14200 bored smr 23668 410651 0 0 2 0x14200 zerothread 47969 81113 0 0 3 0x14200 aiodoned aiodoned 16699 318907 0 0 3 0x14200 syncer update 31280 287298 0 0 3 0x14200 cleaner cleaner 37066 360541 0 0 3 0x14200 reaper reaper 211 364706 0 0 3 0x14200 pgdaemon pagedaemon 25074 411252 0 0 3 0x14200 bored viomb 45831 52217 0 0 3 0x40014200 acpi0 acpi0 29663 19575 0 0 3 0x40014200 idle1 30619 263891 0 0 3 0x14200 bored softnet3 29045 270355 0 0 3 0x14200 bored softnet2 77027 283581 0 0 3 0x14200 bored softnet1 99885 250960 0 0 3 0x14200 bored softnet0 11002 341000 0 0 3 0x14200 bored systqmp 48837 310212 0 0 3 0x14200 bored systq 38457 226790 0 0 3 0x14200 tmoslp softclockmp 82887 354673 0 0 3 0x40014200 tmoslp softclock 7806 419812 0 0 3 0x40014200 idle0 1 65948 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 94562 (syz-executor.3) thread 0xffff80002a24baa8 (202504) exclusive rwlock vmmaplk r = 0 (0xfffffd8074312130) #0 witness_lock+0x447 #1 rw_enter+0x3c8 #2 vm_map_lock_ln+0xfa #3 uvmfault_lookup+0xb6 #4 uvm_fault_check+0x65d #5 uvm_fault+0xf2 #6 upageflttrap+0x86 #7 usertrap+0x226 #8 recall_trap+0x8 Process 83092 (syz-executor.4) thread 0xffff80002a19ad48 (104345) exclusive rrwlock inode r = 0 (0xfffffd8074240e70) #0 witness_lock+0x447 #1 rw_enter+0x3c8 #2 rrw_enter+0x8c #3 VOP_LOCK+0x8b #4 ufs_ihashins+0x46 #5 ffs_vget+0x141 #6 ffs_inode_alloc+0x1c5 #7 ufs_mkdir+0xfb #8 VOP_MKDIR+0xc3 #9 domkdirat+0x125 #10 syscall+0x533 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd80695185e8) #0 witness_lock+0x447 #1 rw_enter+0x3c8 #2 rrw_enter+0x8c #3 VOP_LOCK+0x8b #4 vn_lock+0x84 #5 vfs_lookup+0xd5 #6 namei+0x55a #7 domkdirat+0x79 #8 syscall+0x533 #9 Xsyscall+0x128 Process 48078 (syz-executor.0) thread 0xffff80002a155d50 (414585) exclusive rrwlock inode r = 0 (0xfffffd80742405f0) #0 witness_lock+0x447 #1 rw_enter+0x3c8 #2 rrw_enter+0x8c #3 VOP_LOCK+0x8b #4 vn_lock+0x84 #5 vget+0x200 #6 ufs_ihashget+0x121 #7 ffs_vget+0x7c #8 ufs_lookup+0x1323 #9 VOP_LOOKUP+0x5c #10 vfs_relookup+0xb4 #11 ufs_rename+0x120a #12 VOP_RENAME+0xf4 #13 dorenameat+0x2a0 #14 syscall+0x533 #15 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd8069518c48) #0 witness_lock+0x447 #1 rw_enter+0x3c8 #2 rrw_enter+0x8c #3 VOP_LOCK+0x8b #4 vn_lock+0x84 #5 vfs_relookup+0x57 #6 ufs_rename+0x120a #7 VOP_RENAME+0xf4 #8 dorenameat+0x2a0 #9 syscall+0x533 #10 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82d77fc0) #0 witness_lock+0x447 #1 __mp_acquire_count+0x48 #2 mi_switch+0x46f #3 sleep_finish+0x19b #4 biowait+0x91 #5 bwrite+0x21c #6 VOP_BWRITE+0x4e #7 ufs_direnter+0x646 #8 ufs_rename+0xb2d #9 VOP_RENAME+0xf4 #10 dorenameat+0x2a0 #11 syscall+0x533 #12 Xsyscall+0x128 Process 6817 (syz-executor.5) thread 0xffff80002a311010 (250176) exclusive rrwlock inode r = 0 (0xfffffd8074240f80) #0 witness_lock+0x447 #1 rw_enter+0x3c8 #2 rrw_enter+0x8c #3 VOP_LOCK+0x8b #4 ufs_ihashins+0x46 #5 ffs_vget+0x141 #6 ffs_inode_alloc+0x1c5 #7 ufs_mkdir+0xfb #8 VOP_MKDIR+0xc3 #9 domkdirat+0x125 #10 syscall+0x533 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd80695183c8) #0 witness_lock+0x447 #1 rw_enter+0x3c8 #2 rrw_enter+0x8c #3 VOP_LOCK+0x8b #4 vn_lock+0x84 #5 vfs_lookup+0xd5 #6 namei+0x55a #7 domkdirat+0x79 #8 syscall+0x533 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10179 6474K 6474K 166960K 11260 0 pcb 15 10K 10K 166960K 15 0 rtable 234 6K 6K 166960K 378 0 pf 32 9K 10K 166960K 46 0 ifaddr 45 15K 15K 166960K 51 0 ifgroup 55 2K 2K 166960K 60 0 counters 64 36K 36K 166960K 66 0 ioctlops 0 0K 4K 166960K 1484 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1189 74K 74K 166960K 1205 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 1697 195K 286K 166960K 12548 0 file desc 18 65K 89K 166960K 168 0 proc 67 91K 128K 166960K 554 0 subproc 0 0K 0K 166960K 13 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 421 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 277 77K 77K 166960K 4582 0 UVM aobj 3 2K 2K 166960K 3 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 6692K 6820K 166960K 4925 0 kqueue 12 18K 18K 166960K 34 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 24 0 0 1 0 1 1 0 8 0 rtpcb 120 35 0 32 1 0 1 1 0 8 0 rtentry 112 122 0 12 4 0 4 4 0 8 0 unpcb 144 47 0 32 1 0 1 1 0 8 0 syncache 320 8 0 8 2 2 0 1 0 8 0 tcpqe 32 152 0 152 2 2 0 1 0 8 0 tcpcb 808 12 0 9 1 0 1 1 0 8 0 arp 120 20 0 2 1 0 1 1 0 8 0 inpcb 376 73 0 67 1 0 1 1 0 8 0 nd6 136 27 0 3 2 1 1 1 0 8 0 kcovpl 48 1 0 1 1 1 0 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 376 24 0 4 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 501 0 48 32 3 29 29 0 8 0 art_table 32 502 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 1558 0 101 92 0 92 92 0 8 0 ffsino 272 1558 0 101 98 0 98 98 0 8 0 nchpl 144 1856 0 160 64 0 64 64 0 8 0 uvmvnodes 80 1585 0 0 33 0 33 33 0 8 0 vnodes 216 1585 0 0 89 0 89 89 0 8 0 namei 1024 8389 0 8380 11 6 5 5 0 8 3 percpumem 16 47 0 1 1 0 1 1 0 8 0 kstatmem 264 26 0 2 2 0 2 2 0 8 0 scxspl 216 8107 0 8105 11 10 1 8 1 8 0 plimitpl 152 50 0 34 1 0 1 1 0 8 0 sigapl 424 512 0 463 8 1 7 7 0 8 1 futexpl 64 52 0 48 3 2 1 1 0 8 0 knotepl 120 118 0 0 4 0 4 4 0 8 0 kqueuepl 216 30 0 22 1 0 1 1 0 8 0 pipepl 320 186 0 158 5 2 3 3 0 8 0 fdescpl 496 494 0 463 6 1 5 5 0 8 0 filepl 152 2156 0 2023 7 1 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 33 0 16 1 0 1 1 0 8 0 pgrppl 48 33 0 16 1 0 1 1 0 8 0 ucredpl 104 98 0 86 1 0 1 1 0 8 0 zombiepl 144 465 0 465 6 5 1 1 0 8 1 processpl 1136 512 0 463 6 1 5 5 0 8 0 procpl 680 564 0 488 8 1 7 7 0 8 0 sockpl 584 155 0 131 2 0 2 2 0 8 0 mcl8k 8192 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 314 0 0 40 0 40 40 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 336 0 0 21 0 21 21 0 8 0 bufpl 280 4983 0 143 346 0 346 346 0 8 0 anonpl 24 369310 0 364715 69 36 33 58 0 186 0 amapchunkpl 152 17683 0 17020 48 22 26 28 0 158 0 amappl16 200 11065 0 10981 9 4 5 6 0 8 0 amappl15 192 42 0 41 4 3 1 1 0 8 0 amappl14 184 217 0 205 3 2 1 2 0 8 0 amappl13 176 25 0 25 2 2 0 1 0 8 0 amappl12 168 1226 0 1194 4 2 2 2 0 8 0 amappl11 160 113 0 97 1 0 1 1 0 8 0 amappl10 152 130 0 119 2 1 1 1 0 8 0 amappl9 144 454 0 452 2 1 1 1 0 8 0 amappl8 136 244 0 215 3 1 2 2 0 8 0 amappl7 128 256 0 238 3 1 2 2 0 8 0 amappl6 120 281 0 275 1 0 1 1 0 8 0 amappl5 112 209 0 198 1 0 1 1 0 8 0 amappl4 104 647 0 622 3 2 1 2 0 8 0 amappl3 96 3702 0 3610 6 3 3 3 0 8 0 amappl2 88 1112 0 1037 4 1 3 3 0 8 0 amappl1 80 14737 0 14179 34 21 13 23 0 8 0 amappl 88 3902 0 3707 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 494 0 463 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 494 0 463 1 0 1 1 0 8 0 vmmpekpl 168 14305 0 14277 2 0 2 2 0 8 0 vmmpepl 168 69396 0 67545 136 54 82 119 0 357 1 vmsppl 448 493 0 463 8 3 5 5 0 8 0 rwobjpl 56 33344 0 30693 59 13 46 47 0 8 0 pdppl 4096 995 0 926 137 68 69 81 0 8 0 pvpl 32 45572 0 0 368 0 368 368 0 265 0 pmappl 248 493 0 463 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 459 0 83 11 0 11 11 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffffffff82cc6ff0) at x86_ipi_db+0x1e x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff82d77db8) at __mp_lock+0x122 intr_handler(ffff80002a3883a0,ffff80000006bc00) at intr_handler+0x62 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x70c65117dd10, count: 9 ddb{0}> trace x86_ipi_db(ffffffff82cc6ff0) at x86_ipi_db+0x1e x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff82d77db8) at __mp_lock+0x122 intr_handler(ffff80002a3883a0,ffff80000006bc00) at intr_handler+0x62 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x70c65117dd10, count: -6 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x1c: addq $0x8,%rsp db_enter() at db_enter+0x1c panic(ffffffff8287747b) at panic+0x17b ufs_rename(ffff80002a3be168) at ufs_rename+0x1412 VOP_RENAME(fffffd8068b32988,fffffd80693d73a8,ffff80002a3be338,fffffd8068b32988,0,ffff80002a3be288) at VOP_RENAME+0xf4 dorenameat(ffff80002a155d50,ffffff9c,200005c0,ffffff9c,20000800) at dorenameat+0x2a0 syscall(ffff80002a3be4d0) at syscall+0x533 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xef15401e840, count: 8 ddb{1}> trace db_enter() at db_enter+0x1c panic(ffffffff8287747b) at panic+0x17b ufs_rename(ffff80002a3be168) at ufs_rename+0x1412 VOP_RENAME(fffffd8068b32988,fffffd80693d73a8,ffff80002a3be338,fffffd8068b32988,0,ffff80002a3be288) at VOP_RENAME+0xf4 dorenameat(ffff80002a155d50,ffffff9c,200005c0,ffffff9c,20000800) at dorenameat+0x2a0 syscall(ffff80002a3be4d0) at syscall+0x533 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xef15401e840, count: -7