bŠH‹` 2þWÒÓô+:k{»×÷øz£’²œ§†ÌÁˆ@‰I¬Ÿá[•*m}aÕøï;3iƘoq¿¦?Í‘ªJ'š§uvm_fault(0xffffffff8354a888, 0xffff800027fe2004, 0, 1) -> d kernel: page fault trap, code=0 Stopped at ufs_lookup+0x5e1: movzwl 0x4(%r15,%rbx,1),%r14d TID PID UID PRFLAGS PFLAGS CPU COMMAND *318663 97447 0 0 0x4000000 0K syz-executor 481192 503 0 0 0 1 syz-executor ufs_lookup() at ufs_lookup+0x5e1 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffffd8077f457f0,ffff80002a7889f0,ffff80002a788a20) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002a7889c0) at vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 namei(ffff80002a7889c0) at namei+0x7aa sys/kern/vfs_lookup.c:250 domknodat(ffff8000ffff62a8,ffffff9c,20000040,2000,d02) at domknodat+0xb4 sys/kern/vfs_syscalls.c:1576 syscall(ffff80002a788bc0) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a788bc0) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfa18f7af0, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: uvm_fault(0xffffffff8354a888, 0xffff800027fe2004, 0, 1) -> d ddb{0}> trace ufs_lookup() at ufs_lookup+0x5e1 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffffd8077f457f0,ffff80002a7889f0,ffff80002a788a20) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002a7889c0) at vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 namei(ffff80002a7889c0) at namei+0x7aa sys/kern/vfs_lookup.c:250 domknodat(ffff8000ffff62a8,ffffff9c,20000040,2000,d02) at domknodat+0xb4 sys/kern/vfs_syscalls.c:1576 syscall(ffff80002a788bc0) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a788bc0) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfa18f7af0, count: -7 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff80002a788760 rbx 0 rdx 0xffff8000011bc100 rcx 0xffffffff rax 0xfffffd8074bb8358 r8 0xffffffffffffffff r9 0xfffffd807f7d3270 r10 0xb90d70c8d056bf2c r11 0xe141c41953a407c4 r12 0 r13 0xfffffd8078de1118 r14 0 r15 0xffff800027fe2000 rip 0xffffffff829bc8c1 ufs_lookup+0x5e1 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80002a788650 ss 0x10 ufs_lookup+0x5e1: movzwl 0x4(%r15,%rbx,1),%r14d ddb{0}> show proc PROC (syz-executor) tid=318663 pid=97447 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000ffff6020,0xffffffff83569200 process=0xffff8000ffff96b8 user=0xffff80002a783000, vmspace=0xfffffd806c330a68 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 97447 407901 15237 0 2 0 syz-executor *97447 318663 15237 0 7 0x4000000 syz-executor 503 481192 51653 0 7 0 syz-executor 503 154284 51653 0 3 0x4000080 fsleep syz-executor 503 116231 51653 0 3 0x4000080 fsleep syz-executor 51653 398548 4803 0 2 0x482 syz-executor 15237 310274 4803 0 3 0x82 nanoslp syz-executor 54039 379334 1 0 3 0x100083 ttyin getty 64256 46065 0 0 3 0x14200 bored sosplice 4803 372394 97668 0 3 0x82 wait syz-executor 97668 365155 43530 0 3 0x10008a sigsusp ksh 43530 260757 63682 0 3 0x98 kqread sshd-session 63682 218981 80460 0 3 0x92 kqread sshd-session 80460 146724 1 0 3 0x88 kqread sshd 42036 129770 35772 74 3 0x1100092 bpf pflogd 35772 92440 1 0 3 0x80 sbwait pflogd 67357 45388 57573 73 3 0x1100090 kqread syslogd 57573 392956 1 0 3 0x100082 sbwait syslogd 79557 69888 1 0 3 0x100080 kqread resolvd 12932 459571 97635 77 3 0x100092 kqread dhcpleased 49231 269785 97635 77 3 0x100092 kqread dhcpleased 97635 60460 1 0 3 0x80 kqread dhcpleased 76147 137968 0 0 3 0x14200 bored smr 52956 189210 0 0 2 0x14200 zerothread 55842 233152 0 0 3 0x14200 aiodoned aiodoned 17024 514529 0 0 3 0x14200 syncer update 21926 434958 0 0 3 0x14200 cleaner cleaner 60319 237064 0 0 3 0x14200 reaper reaper 41604 21086 0 0 3 0x14200 pgdaemon pagedaemon 20280 17188 0 0 3 0x14200 bored viomb 44782 358709 0 0 3 0x40014200 acpi0 acpi0 20630 187094 0 0 3 0x40014200 idle1 40376 306522 0 0 3 0x14200 bored softnet3 21113 519621 0 0 3 0x14200 bored softnet2 99534 473439 0 0 3 0x14200 bored softnet1 29872 269457 0 0 3 0x14200 bored softnet0 83723 118443 0 0 3 0x14200 bored systqmp 65485 182578 0 0 3 0x14200 bored systq 36417 515736 0 0 3 0x14200 tmoslp softclockmp 94367 81943 0 0 3 0x40014200 tmoslp softclock 62573 86144 0 0 3 0x40014200 idle0 1 143760 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 97447 (syz-executor) thread 0xffff8000ffff62a8 (318663) exclusive rrwlock inode r = 0 (0xfffffd8078de11b0) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:564 #5 vfs_lookup+0x109 sys/kern/vfs_lookup.c:418 #6 namei+0x7aa sys/kern/vfs_lookup.c:250 #7 domknodat+0xb4 sys/kern/vfs_syscalls.c:1576 #8 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #8 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #9 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83561d10) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 syscall+0xad6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #1 syscall+0xad6 sys/arch/amd64/amd64/trap.c:577 #2 Xsyscall+0x128 Process 503 (syz-executor) thread 0xffff800030d82cd8 (481192) shared rwlock vmmaplk r = 0 (0xfffffd806c330ec8) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 uvmfault_lookup+0x122 sys/uvm/uvm_fault.c:1785 #2 uvm_fault_check+0x47 sys/uvm/uvm_fault.c:672 #3 uvm_fault+0x112 sys/uvm/uvm_fault.c:600 #4 upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:188 #5 usertrap+0x2d8 sys/arch/amd64/amd64/trap.c:436 #6 recall_trap+0x8 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10237 10222K 10422K 166960K 11775 0 pcb 17 13K 14K 166960K 107 0 rtable 237 7K 7K 166960K 1128 0 pf 36 18K 19K 166960K 110 0 ifaddr 43 7K 8K 166960K 153 0 ifgroup 55 2K 2K 166960K 165 0 sysctl 2 0K 0K 166960K 2 0 counters 64 36K 36K 166960K 124 0 ioctlops 0 0K 4K 166960K 1573 0 iov 0 0K 26K 166960K 90 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1368 86K 86K 166960K 1925 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 11 2K 3K 166960K 20 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1690 195K 286K 166960K 12418 0 file desc 12 41K 89K 166960K 852 0 sigio 0 0K 0K 166960K 7 0 proc 72 91K 128K 166960K 1251 0 subproc 104 6K 6K 166960K 416 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 131 0 in_multi 99 7K 7K 166960K 373 0 ether_multi 1 0K 0K 166960K 1 0 mrt 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 247 1102K 1102K 166960K 247 0 exec 0 0K 1K 166960K 722 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 189 71K 91K 166960K 8150 0 UVM aobj 35 2K 2K 166960K 36 0 pinsyscall 37 74K 106K 166960K 2604 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 13 0 NDP 16 0K 1K 166960K 107 0 temp 75 6824K 6904K 166960K 23878 0 kqueue 13 20K 29K 166960K 78 0 SYN cache 2 8K 16K 166960K 3 0 ddb{0}> 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 144 0 141 2 1 1 2 0 8 0 rtentry 112 389 0 279 4 0 4 4 0 8 0 unpcb 144 276 0 259 3 2 1 2 0 8 0 syncache 336 6 0 6 4 4 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 808 185 0 181 7 6 1 5 0 8 0 arp 120 69 0 51 1 0 1 1 0 8 0 inpcb 336 687 0 680 16 12 4 7 0 8 3 nd6 136 97 0 73 1 0 1 1 0 8 0 pkpcb 40 5 0 5 3 3 0 1 0 8 0 kcovpl 48 32 0 24 1 0 1 1 0 8 0 ppxss 1168 5 0 5 3 2 1 1 0 8 1 pffrag 232 2 0 0 1 0 1 1 0 482 0 pffrnode 88 2 0 0 1 0 1 1 0 8 0 pffrent 40 3 0 1 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 69 0 32 1 0 1 1 0 8 0 pfstkey 128 73 0 36 2 0 2 2 0 8 0 pfstate 376 70 0 34 4 0 4 4 0 8 0 pfrule 1344 22 0 16 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1545 0 1089 29 0 29 29 0 8 0 art_table 32 1546 0 1089 4 0 4 4 0 8 0 art_node 16 387 0 287 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 5 1 1 0 1 0 8 0 semapl 112 11 0 2 1 0 1 1 0 8 0 shmpl 112 33 0 1 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2239 0 687 98 0 98 98 0 8 0 ffsino 272 2239 0 687 104 0 104 104 0 8 0 nchpl 144 2936 0 1224 64 0 64 64 0 8 0 uvmvnodes 80 2793 0 0 57 0 57 57 0 8 0 vnodes 216 2793 0 0 156 0 156 156 0 8 0 namei 1024 12144 0 12143 3 2 1 1 0 8 0 percpumem 16 76 0 30 1 0 1 1 0 8 0 kstatmem 264 84 0 60 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 16117 0 16117 11 10 1 8 1 8 1 plimitpl 152 205 0 187 1 0 1 1 0 8 0 sigapl 424 1119 0 1074 9 3 6 7 0 8 0 futexpl 64 5573 0 5571 3 2 1 1 0 8 0 knotepl 120 338 0 0 10 0 10 10 0 8 0 kqueuepl 216 96 0 87 1 0 1 1 0 8 0 pipepl 320 259 0 232 3 0 3 3 0 8 0 fdescpl 496 1100 0 1074 7 2 5 5 0 8 0 filepl 152 5128 0 4892 20 8 12 15 0 8 2 lockfpl 104 119 0 117 1 0 1 1 0 8 0 lockfspl 48 52 0 50 1 0 1 1 0 8 0 sessionpl 144 50 0 41 1 0 1 1 0 8 0 pgrppl 48 86 0 69 1 0 1 1 0 8 0 ucredpl 104 650 0 636 1 0 1 1 0 8 0 zombiepl 144 1080 0 1074 1 0 1 1 0 8 0 processpl 1160 1119 0 1074 5 1 4 5 0 8 0 procpl 648 1714 0 1666 8 2 6 6 0 8 0 srpgc 96 2 0 2 1 1 0 1 0 8 0 sockpl 664 1119 0 1092 19 13 6 10 0 8 3 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 263 0 0 33 0 33 33 0 8 0 mtagpl 96 8 0 0 1 0 1 1 0 8 0 mbufpl 256 376 0 0 21 0 21 21 0 8 0 bufpl 280 6478 0 304 442 0 442 442 0 8 0 anonpl 24 233602 0 230486 82 30 52 52 0 185 25 amapchunkpl 152 26030 0 25676 45 13 32 33 0 158 12 amappl16 200 5201 0 5188 26 16 10 14 0 8 8 amappl15 192 7 0 7 1 1 0 1 0 8 0 amappl14 184 207 0 195 1 0 1 1 0 8 0 amappl13 176 20 0 20 1 1 0 1 0 8 0 amappl12 168 2159 0 2133 3 1 2 2 0 8 0 amappl11 160 59 0 45 1 0 1 1 0 8 0 amappl10 152 16 0 16 1 1 0 1 0 8 0 amappl9 144 153 0 152 1 0 1 1 0 8 0 amappl8 136 23 0 21 1 0 1 1 0 8 0 amappl7 128 192 0 180 1 0 1 1 0 8 0 amappl6 120 408 0 407 1 0 1 1 0 8 0 amappl5 112 230 0 219 1 0 1 1 0 8 0 amappl4 104 399 0 380 1 0 1 1 0 8 0 amappl3 96 4960 0 4877 5 1 4 4 0 8 0 amappl2 88 1057 0 988 2 0 2 2 0 8 0 amappl1 80 12025 0 11469 14 0 14 14 0 8 0 amappl 88 7544 0 7416 5 0 5 5 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma2048 2048 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 7 0 7 2 2 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 35 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1100 0 1074 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1100 0 1074 1 0 1 1 0 8 0 vmmpekpl 168 10774 0 10722 3 0 3 3 0 8 0 vmmpepl 168 76125 0 74545 105 16 89 94 0 357 6 vmsppl 440 1099 0 1074 6 2 4 5 0 8 0 rwobjpl 56 28332 0 24632 57 3 54 54 0 8 0 pdppl 4096 2207 0 2148 126 51 75 83 0 8 16 pvpl 32 27552 0 0 222 0 222 222 0 265 0 pmappl 248 1099 0 1074 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 456 0 80 11 0 11 11 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace ufs_lookup() at ufs_lookup+0x5e1 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffffd8077f457f0,ffff80002a7889f0,ffff80002a788a20) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002a7889c0) at vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 namei(ffff80002a7889c0) at namei+0x7aa sys/kern/vfs_lookup.c:250 domknodat(ffff8000ffff62a8,ffffff9c,20000040,2000,d02) at domknodat+0xb4 sys/kern/vfs_syscalls.c:1576 syscall(ffff80002a788bc0) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a788bc0) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfa18f7af0, count: -7 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff800029b7bff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff83561b08) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff83561b08) at __mp_lock+0x192 sys/kern/kern_lock.c:144 uvm_fault(fffffd806c330dd8,f1717f23000,0,1) at uvm_fault+0x1ed sys/uvm/uvm_fault.c:622 upageflttrap(ffff8000371b7900,f1717f23000) at upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:188 usertrap(ffff8000371b7900) at usertrap+0x2d8 sys/arch/amd64/amd64/trap.c:436 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7e31c8b134a0, count: 7 ddb{1}> trace x86_ipi_db(ffff800029b7bff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff83561b08) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff83561b08) at __mp_lock+0x192 sys/kern/kern_lock.c:144 uvm_fault(fffffd806c330dd8,f1717f23000,0,1) at uvm_fault+0x1ed sys/uvm/uvm_fault.c:622 upageflttrap(ffff8000371b7900,f1717f23000) at upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:188 usertrap(ffff8000371b7900) at usertrap+0x2d8 sys/arch/amd64/amd64/trap.c:436 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7e31c8b134a0, count: -8