uvm_fault(0xffffffff8355a950, 0xffff800026612004, 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 *429964 72749 0 0x2 0 0K syz-executor ufs_lookup() at ufs_lookup+0x5e1 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffffd8065563e78,ffff80002a13a678,ffff80002a13a6a8) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002a13a648) at vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 namei(ffff80002a13a648) at namei+0x7aa sys/kern/vfs_lookup.c:250 dounlinkat(ffff800029fd8cb0,ffffff9c,79a74596ac70,8) at dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1852 syscall(ffff80002a13a820) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a13a820) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79a74596ac60, 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(0xffffffff8355a950, 0xffff800026612004, 0, 1) -> d ddb{0}> trace ufs_lookup() at ufs_lookup+0x5e1 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffffd8065563e78,ffff80002a13a678,ffff80002a13a6a8) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002a13a648) at vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 namei(ffff80002a13a648) at namei+0x7aa sys/kern/vfs_lookup.c:250 dounlinkat(ffff800029fd8cb0,ffffff9c,79a74596ac70,8) at dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1852 syscall(ffff80002a13a820) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a13a820) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79a74596ac60, count: -7 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff80002a13a490 rbx 0 rdx 0 rcx 0xffffffff rax 0xfffffd806a1d0128 r8 0xffffffffffffffff r9 0xfffffd807f7d37b8 r10 0xa1b18e9ce98c8ffa r11 0x3d2677f393306e7c r12 0 r13 0xfffffd8066782008 r14 0 r15 0xffff800026612000 rip 0xffffffff81d560d1 ufs_lookup+0x5e1 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80002a13a380 ss 0x10 ufs_lookup+0x5e1: movzwl 0x4(%r15,%rbx,1),%r14d ddb{0}> show proc PROC (syz-executor) tid=429964 pid=72749 tcnt=1 stat=onproc flags process=2 proc=0 runpri=50, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a11f980,0xffff80002a03f978 process=0xffff8000ffff5fd0 user=0xffff80002a135000, vmspace=0xfffffd806c3a3540 estcpu=36, cpticks=1, pctcpu=0.5, user=0, sys=7, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND *72749 429964 54207 0 7 0x2 syz-executor 60337 399667 0 0 3 0x14280 nfsidl nfsio 52803 27981 0 0 3 0x14280 nfsidl nfsio 44039 382395 0 0 3 0x14280 nfsidl nfsio 76276 402305 0 0 3 0x14280 nfsidl nfsio 44871 172037 0 0 3 0x14280 nfsidl nfsio 3573 441515 0 0 3 0x14280 nfsidl nfsio 95092 523307 0 0 3 0x14280 nfsidl nfsio 69873 291897 0 0 3 0x14280 nfsidl nfsio 51401 434044 0 0 3 0x14280 nfsidl nfsio 2766 17169 0 0 3 0x14280 nfsidl nfsio 67815 259416 0 0 3 0x14280 nfsidl nfsio 20444 378404 0 0 3 0x14280 nfsidl nfsio 65827 55521 0 0 3 0x14280 nfsidl nfsio 91530 60653 0 0 3 0x14280 nfsidl nfsio 81505 287050 0 0 3 0x14280 nfsidl nfsio 43285 450301 0 0 3 0x14280 nfsidl nfsio 63362 359015 0 0 3 0x14280 nfsidl nfsio 26856 240406 0 0 3 0x14280 nfsidl nfsio 98992 248315 0 0 3 0x14280 nfsidl nfsio 23622 460538 0 0 3 0x14280 nfsidl nfsio 52705 75540 1 0 3 0x100083 ttyopn getty 89646 375426 0 0 3 0x14200 bored sosplice 54207 274216 13485 0 3 0x82 wait syz-executor 13485 347724 27042 0 3 0x10008a sigsusp ksh 27042 262733 7200 0 3 0x98 kqread sshd-session 7200 394934 83666 0 3 0x92 kqread sshd-session 83666 219656 1 0 3 0x88 kqread sshd 50056 213677 97672 74 3 0x1100092 bpf pflogd 97672 9976 1 0 3 0x80 sbwait pflogd 35357 87297 62635 73 3 0x1100090 kqread syslogd 62635 222078 1 0 3 0x100082 sbwait syslogd 80772 286950 1 0 3 0x100080 kqread resolvd 91357 47267 18342 77 3 0x100092 kqread dhcpleased 57525 513902 18342 77 3 0x100092 kqread dhcpleased 18342 412896 1 0 3 0x80 kqread dhcpleased 15454 128406 0 0 3 0x14200 bored smr 30883 523107 0 0 3 0x14200 pgzero zerothread 40586 350457 0 0 3 0x14200 aiodoned aiodoned 15226 21593 0 0 3 0x14200 syncer update 33771 170134 0 0 3 0x14200 cleaner cleaner 85214 408187 0 0 3 0x14200 reaper reaper 90003 156005 0 0 3 0x14200 pgdaemon pagedaemon 86851 347853 0 0 3 0x14200 bored viomb 14498 342823 0 0 3 0x40014200 acpi0 acpi0 27305 142254 0 0 7 0x40014200 idle1 58508 33031 0 0 3 0x14200 bored softnet3 42341 171361 0 0 3 0x14200 bored softnet2 45171 461805 0 0 3 0x14200 bored softnet1 25049 220099 0 0 3 0x14200 bored softnet0 25865 317845 0 0 3 0x14200 bored systqmp 67692 453597 0 0 3 0x14200 bored systq 57445 500264 0 0 3 0x14200 tmoslp softclockmp 76131 159814 0 0 3 0x40014200 tmoslp softclock 28489 326039 0 0 3 0x40014200 idle0 1 27858 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 72749 (syz-executor) thread 0xffff800029fd8cb0 (429964) exclusive rrwlock inode r = 0 (0xfffffd80667820a0) #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 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1852 #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 (0xffffffff83513ac8) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 __mp_acquire_count+0x58 #2 mi_switch+0x658 sys/kern/sched_bsd.c:460 #3 yield+0x6a sys/kern/sched_bsd.c:320 #4 pool_get+0x242 sys/kern/subr_pool.c:589 #5 namei+0xdf sys/kern/vfs_lookup.c:145 #6 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1852 #7 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #7 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #8 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10194 10097K 10551K 166960K 12263 0 pcb 17 15K 17K 166960K 215 0 rtable 171 6K 8K 166960K 1424 0 pf 32 17K 25K 166960K 142 0 ifaddr 32 5K 8K 166960K 185 0 ifgroup 47 2K 2K 166960K 195 0 sysctl 2 0K 0K 166960K 4 0 counters 60 35K 36K 166960K 136 0 ioctlops 0 0K 4K 166960K 1576 0 iov 0 0K 25K 166960K 87 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1362 86K 87K 166960K 2352 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 15 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 30 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1690 195K 286K 166960K 12418 0 file desc 7 21K 89K 166960K 1332 0 sigio 0 0K 0K 166960K 21 0 proc 72 91K 140K 166960K 1499 0 subproc 65 4K 6K 166960K 520 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 105 0 in_multi 66 4K 7K 166960K 497 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 91 413K 413K 166960K 91 0 exec 0 0K 1K 166960K 945 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 159 47K 77K 166960K 11956 0 UVM aobj 21 2K 2K 166960K 22 0 pinsyscall 32 64K 104K 166960K 3259 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 37 0 NDP 10 0K 2K 166960K 64 0 temp 43 6818K 7077K 166960K 36590 0 kqueue 13 20K 30K 166960K 127 0 SYN cache 2 16K 16K 166960K 2 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 143 0 140 1 0 1 1 0 8 0 rtentry 112 488 0 411 4 0 4 4 0 8 0 unpcb 144 675 0 658 7 6 1 4 0 8 0 syncache 336 8 0 8 4 4 0 1 0 8 0 tcpqe 32 5 0 5 3 3 0 1 0 8 0 tcpcb 808 319 0 311 11 9 2 11 0 8 0 arp 120 85 0 73 1 0 1 1 0 8 0 inpcb 336 1367 0 1356 24 22 2 15 0 8 0 nd6 136 129 0 114 1 0 1 1 0 8 0 pkpcb 40 8 0 8 3 3 0 1 0 8 0 kcovpl 48 40 0 35 1 0 1 1 0 8 0 ppxss 1168 2 0 2 2 2 0 1 0 8 0 pffrag 232 9 0 5 1 0 1 1 0 482 0 pffrnode 88 9 0 5 1 0 1 1 0 8 0 pffrent 40 57 0 52 1 0 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 pfanchor 1288 1 0 1 1 1 0 1 0 8 0 pftag 88 1 0 1 1 1 0 1 0 8 0 pfstitem 24 86 0 57 1 0 1 1 0 8 0 pfstkey 128 86 0 57 2 0 2 2 0 8 0 pfstate 376 84 0 57 5 0 5 5 0 8 0 pfrule 1344 26 0 21 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 2023 0 1699 35 6 29 32 0 8 6 art_table 32 2024 0 1699 5 1 4 5 0 8 0 art_node 16 485 0 415 1 0 1 1 0 8 0 sysvmsgpl 40 13 0 10 1 0 1 1 0 8 0 semapl 112 26 0 16 1 0 1 1 0 8 0 shmpl 112 19 0 1 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2979 0 1419 98 0 98 98 0 8 0 ffsino 272 2981 0 1421 105 0 105 105 0 8 0 nchpl 144 4246 0 2525 65 0 65 65 0 8 0 uvmvnodes 80 3792 0 0 78 0 78 78 0 8 0 vnodes 216 3792 0 0 211 0 211 211 0 8 0 namei 1024 17260 0 17259 5 4 1 2 0 8 0 percpumem 16 82 0 38 1 0 1 1 0 8 0 kstatmem 264 96 0 76 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 24338 0 24338 13 12 1 8 1 8 1 plimitpl 152 212 0 195 1 0 1 1 0 8 0 sigapl 424 1595 0 1532 10 1 9 9 0 8 0 futexpl 64 11745 0 11745 3 2 1 1 0 8 1 knotepl 120 559 0 0 17 0 17 17 0 8 0 kqueuepl 216 269 0 260 5 4 1 5 0 8 0 pipepl 320 381 0 354 11 5 6 8 0 8 3 fdescpl 496 1554 0 1533 6 1 5 5 0 8 0 filepl 152 8632 0 8449 29 15 14 18 0 8 3 lockfpl 104 378 0 376 2 1 1 2 0 8 0 lockfspl 48 104 0 102 1 0 1 1 0 8 0 sessionpl 144 57 0 48 1 0 1 1 0 8 0 pgrppl 48 113 0 96 1 0 1 1 0 8 0 ucredpl 104 1270 0 1257 1 0 1 1 0 8 0 zombiepl 144 1550 0 1543 2 1 1 1 0 8 0 processpl 1160 1595 0 1532 7 1 6 6 0 8 0 procpl 648 2781 0 2718 8 0 8 8 0 8 0 srpgc 96 8 0 8 2 2 0 1 0 8 0 sosppl 168 7 0 7 2 2 0 1 0 8 0 sockpl 664 2251 0 2220 24 20 4 16 0 8 0 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 241 0 0 31 0 31 31 0 8 0 mtagpl 96 14 0 0 1 0 1 1 0 8 0 mbufpl 256 313 0 0 19 0 19 19 0 8 0 bufpl 280 7308 0 1134 442 0 442 442 0 8 0 anonpl 24 251469 0 247098 70 35 35 62 0 185 0 amapchunkpl 152 38000 0 37662 45 20 25 35 0 158 2 amappl16 200 4737 0 4709 19 15 4 16 0 8 0 amappl15 192 22 0 22 1 1 0 1 0 8 0 amappl14 184 185 0 173 1 0 1 1 0 8 0 amappl13 176 9 0 9 1 1 0 1 0 8 0 amappl12 168 2721 0 2700 4 2 2 3 0 8 0 amappl11 160 78 0 64 1 0 1 1 0 8 0 amappl10 152 12 0 12 1 1 0 1 0 8 0 amappl9 144 148 0 148 2 2 0 1 0 8 0 amappl8 136 24 0 21 1 0 1 1 0 8 0 amappl7 128 201 0 189 1 0 1 1 0 8 0 amappl6 120 491 0 489 1 0 1 1 0 8 0 amappl5 112 266 0 254 1 0 1 1 0 8 0 amappl4 104 413 0 395 1 0 1 1 0 8 0 amappl3 96 7557 0 7499 4 0 4 4 0 8 0 amappl2 88 1143 0 1074 2 0 2 2 0 8 0 amappl1 80 13547 0 13014 16 3 13 14 0 8 0 amappl 88 11275 0 11175 5 0 5 5 0 92 0 dma4096 4096 2 0 2 2 1 1 1 0 8 1 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 20 0 19 1 0 1 1 0 8 0 aobjpl 72 21 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1554 0 1533 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1554 0 1533 1 0 1 1 0 8 0 vmmpekpl 168 13730 0 13673 4 0 4 4 0 8 0 vmmpepl 168 101333 0 99944 100 15 85 96 0 357 3 vmsppl 440 1553 0 1533 6 2 4 5 0 8 0 rwobjpl 56 33548 0 28913 69 1 68 68 0 8 0 pdppl 4096 3115 0 3066 155 84 71 83 0 8 22 pvpl 32 31146 0 0 251 0 251 251 0 265 0 pmappl 248 1553 0 1533 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 501 0 133 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(fffffd8065563e78,ffff80002a13a678,ffff80002a13a6a8) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002a13a648) at vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 namei(ffff80002a13a648) at namei+0x7aa sys/kern/vfs_lookup.c:250 dounlinkat(ffff800029fd8cb0,ffffff9c,79a74596ac70,8) at dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1852 syscall(ffff80002a13a820) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a13a820) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79a74596ac60, 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 acpicpu_idle() at acpicpu_idle+0x41e sys/dev/acpi/acpicpu.c:1219 sched_idle(ffff800029b7bff0) at sched_idle+0x558 sys/kern/kern_sched.c:182 end trace frame: 0x0, count: 10 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 acpicpu_idle() at acpicpu_idle+0x41e sys/dev/acpi/acpicpu.c:1219 sched_idle(ffff800029b7bff0) at sched_idle+0x558 sys/kern/kern_sched.c:182 end trace frame: 0x0, count: -5