uvm_fault(0xffffffff83a877c8, 0xffff800026c82004, 0, 1) -> d kernel: page fault trap, code=0 Stopped at ufs_lookup+0x613: movzwl 0x4(%r15,%r14,1),%ebx TID PID UID PRFLAGS PFLAGS CPU COMMAND *142260 31162 0 0 0x4000000 0 syz-executor ufs_lookup() at ufs_lookup+0x613 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffff8006ab812a8,ffff80002a783708,ffff80002a783738) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002a7836d8) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff80002a7836d8) at namei+0x7c3 sys/kern/vfs_lookup.c:250 domknodat(ffff80002f0b07e0,ffffff9c,2000000000c0,2000,0) at domknodat+0xb4 sys/kern/vfs_syscalls.c:1530 syscall(ffff80002a7838c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a7838c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x38c25a49200, 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: uvm_fault(0xffffffff83a877c8, 0xffff800026c82004, 0, 1) -> d ddb> trace ufs_lookup() at ufs_lookup+0x613 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffff8006ab812a8,ffff80002a783708,ffff80002a783738) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002a7836d8) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff80002a7836d8) at namei+0x7c3 sys/kern/vfs_lookup.c:250 domknodat(ffff80002f0b07e0,ffffff9c,2000000000c0,2000,0) at domknodat+0xb4 sys/kern/vfs_syscalls.c:1530 syscall(ffff80002a7838c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a7838c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x38c25a49200, count: -7 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002a783470 rbx 0 rdx 0 rcx 0xffffffff rax 0xffff80002f0b07e0 r8 0xffffffffffffffff r9 0xfffff80007ffd5b0 r10 0x1d9c8864224adbf2 r11 0x95f217e3550c3060 r12 0xfffff8006ab9fee8 r13 0 r14 0 r15 0xffff800026c82000 rip 0xffffffff826393f3 ufs_lookup+0x613 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a783380 ss 0x10 ufs_lookup+0x613: movzwl 0x4(%r15,%r14,1),%ebx ddb> show proc PROC (syz-executor) tid=142260 pid=31162 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=0xffff80002f0b14d8,0xffff800035cce2d0 process=0xffff8000380db620 user=0xffff80002a77e000, vmspace=0xfffff8006cfd7b98 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 21978 464111 99099 0 2 0 syz-executor 21978 338226 99099 0 3 0x4000080 fsleep syz-executor 21978 327103 99099 0 3 0x4000080 fsleep syz-executor 44444 334055 30551 0 2 0 syz-executor 44444 228091 30551 0 2 0x4000000 syz-executor 31162 11421 3925 0 2 0 syz-executor *31162 142260 3925 0 7 0x4000000 syz-executor 37157 148681 9532 0 2 0 syz-executor 37157 247097 9532 0 3 0x4000080 fsleep syz-executor 47872 193981 11621 0 3 0x80 nanoslp syz-executor 47872 450730 11621 0 3 0x4000080 fifor syz-executor 47872 138362 11621 0 3 0x4000080 fsleep syz-executor 47872 434271 11621 0 3 0x4000080 fsleep syz-executor 63850 34090 0 0 3 0x14280 nfsidl nfsio 13927 131651 0 0 3 0x14280 nfsidl nfsio 58846 459536 0 0 3 0x14280 nfsidl nfsio 8112 382414 0 0 3 0x14280 nfsidl nfsio 12450 522538 0 0 3 0x14280 nfsidl nfsio 74325 475110 0 0 3 0x14280 nfsidl nfsio 18489 360724 0 0 3 0x14280 nfsidl nfsio 39719 36563 0 0 3 0x14280 nfsidl nfsio 15123 370515 0 0 3 0x14280 nfsidl nfsio 68419 286296 0 0 3 0x14280 nfsidl nfsio 38942 121070 0 0 3 0x14280 nfsidl nfsio 91051 88847 0 0 3 0x14280 nfsidl nfsio 26386 113633 0 0 3 0x14280 nfsidl nfsio 18948 28709 0 0 3 0x14280 nfsidl nfsio 86388 32206 0 0 3 0x14280 nfsidl nfsio 7988 130193 0 0 3 0x14280 nfsidl nfsio 56960 161522 0 0 3 0x14280 nfsidl nfsio 87196 478622 0 0 3 0x14280 nfsidl nfsio 77217 408928 0 0 3 0x14280 nfsidl nfsio 33820 14324 0 0 3 0x14280 nfsidl nfsio 85663 57736 1 0 3 0x100083 ttyin getty 30551 150867 58554 0 2 0xc82 syz-executor 3925 62310 58554 0 2 0xc82 syz-executor 99099 491389 58554 0 2 0xc82 syz-executor 9532 373546 58554 0 2 0xc82 syz-executor 11621 103144 58554 0 3 0x82 nanoslp syz-executor 58554 380615 1 0 3 0x82 wait syz-executor 42566 12514 27495 0 3 0x98 kqread sshd-session 27495 125012 1 0 3 0x92 kqread sshd-session 75200 493433 1 73 3 0x1100090 kqread syslogd 96556 515747 0 0 3 0x14200 bored smr 65400 68967 0 0 2 0x14200 zerothread 20042 387199 0 0 3 0x14200 aiodoned aiodoned 16985 260853 0 0 3 0x14200 syncer update 4414 296293 0 0 3 0x14200 cleaner cleaner 57983 502805 0 0 3 0x14200 reaper reaper 88704 266762 0 0 3 0x14200 pgdaemon pagedaemon 14756 273121 0 0 3 0x14200 bored viomb 83174 308775 0 0 3 0x40014200 acpi0 acpi0 78466 51214 0 0 3 0x14200 bored softnet0 73663 178330 0 0 3 0x14200 bored systqmp 89624 363094 0 0 3 0x14200 bored systq 12385 144650 0 0 3 0x40014200 tmoslp softclock 61641 20761 0 0 3 0x40014200 idle0 1 275537 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 11064 12233K 12461K 166960K 12517 0 pcb 83 16K 16K 166960K 193 0 rtable 235 10K 11K 166960K 509 0 pf 32 13K 21K 166960K 81 0 ifaddr 40 7K 8K 166960K 64 0 ifgroup 48 2K 2K 166960K 81 0 sysctl 1 1K 9K 166960K 9 0 counters 34 17K 18K 166960K 56 0 ioctlops 0 0K 4K 166960K 125 0 iov 0 0K 12K 166960K 15 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1299 82K 82K 166960K 1704 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 13 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 62 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 15 53K 93K 166960K 456 0 sigio 0 0K 0K 166960K 1 0 proc 20 25K 83K 166960K 536 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 38 0 in_multi 91 6K 7K 166960K 114 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 15 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 241 1076K 1076K 166960K 241 0 exec 0 0K 1K 166960K 411 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 143 91K 160K 166960K 5737 0 UVM aobj 14 2K 2K 166960K 17 0 pinsyscall 23 46K 94K 166960K 1573 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 8 0 NDP 11 0K 2K 166960K 40 0 temp 44 9112K 9170K 166960K 18661 0 kqueue 6 10K 24K 166960K 98 0 SYN cache 2 16K 16K 166960K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 125 0 60 3 0 3 3 0 8 1 rtentry 136 131 0 36 4 0 4 4 0 8 0 unpcb 144 321 0 312 6 0 6 6 0 8 5 syncache 336 7 0 7 1 0 1 1 0 8 1 tcpcb 736 111 0 109 4 0 4 4 0 8 3 arp 96 19 0 3 1 0 1 1 0 8 0 ipq 40 4 0 0 1 0 1 1 0 8 0 ipqe 40 6 0 2 1 0 1 1 0 8 0 inpcb 328 420 0 352 7 0 7 7 0 8 1 ip6q 72 2 0 1 1 0 1 1 0 8 0 ip6af 40 4 0 2 1 0 1 1 0 8 0 nd6 112 30 0 6 1 0 1 1 0 8 0 pkpcb 40 8 0 8 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1072 21 0 19 1 0 1 1 0 8 0 pppxif 1416 2 0 2 1 0 1 1 0 8 1 pfsrclim 320 1 0 1 1 0 1 1 0 8 1 pfanchor 1288 2 0 0 1 0 1 1 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfqueue 320 1 0 0 1 0 1 1 0 8 0 pfrule 1360 3 0 3 1 0 1 1 0 8 1 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 597 0 174 31 0 31 31 0 8 2 art_table 40 599 0 174 5 0 5 5 0 8 0 art_node 32 131 0 46 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 2 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 72 58 0 48 1 0 1 1 0 8 0 shmpl 112 14 0 3 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2196 0 734 93 0 93 93 0 8 0 ffsino 256 2198 0 736 93 0 93 93 0 8 0 nchpl 144 2859 0 1166 64 0 64 64 0 8 0 rtmask 32 6 0 6 1 0 1 1 0 8 1 vnodes 216 2440 0 0 136 0 136 136 0 8 0 namei 1024 9079 0 9078 2 0 2 2 0 8 1 kstatmem 264 49 0 26 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 10908 0 10908 8 0 8 8 1 8 8 plimitpl 152 171 0 157 1 0 1 1 0 8 0 sigapl 424 776 0 723 7 0 7 7 0 8 0 knotepl 120 15216 0 14980 17 7 10 17 0 8 2 kqueuepl 184 132 0 126 1 0 1 1 0 8 0 pipepl 304 140 0 111 3 0 3 3 0 8 0 fdescpl 448 743 0 723 5 0 5 5 0 8 1 filepl 120 3976 0 3661 11 0 11 11 0 8 1 lockfpl 104 151 0 151 1 0 1 1 0 8 1 lockfspl 48 67 0 67 1 0 1 1 0 8 1 sessionpl 144 44 0 39 1 0 1 1 0 8 0 pgrppl 48 53 0 40 1 0 1 1 0 8 0 ucredpl 104 795 0 788 1 0 1 1 0 8 0 zombiepl 144 726 0 723 1 0 1 1 0 8 0 processpl 1152 776 0 723 5 0 5 5 0 8 0 procpl 664 1253 0 1192 6 0 6 6 0 8 0 sosppl 176 1 0 1 1 0 1 1 0 8 1 sockpl 552 889 0 747 15 3 12 12 0 8 1 mcl64k 65536 27 0 25 1 0 1 1 0 8 0 mcl16k 16384 3 0 3 1 0 1 1 0 8 1 mcl9k128 9344 3 0 2 1 0 1 1 0 8 0 mcl8k 8192 11 0 11 1 0 1 1 0 8 1 mcl4k 4096 2988 0 2937 14 0 14 14 0 8 6 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 370 0 367 3 0 3 3 0 8 2 mtagpl 96 10 0 6 1 0 1 1 0 8 0 mbufpl 256 7812 0 7234 41 0 41 41 0 8 0 bufpl 272 6640 0 424 415 0 415 415 0 8 0 anonpl 24 135423 0 133299 52 0 52 52 0 186 22 amapchunkpl 152 18624 0 18279 25 0 25 25 0 158 10 amappl16 200 2339 0 2320 15 3 12 15 0 8 8 amappl15 192 7 0 7 1 0 1 1 0 8 1 amappl14 184 414 0 414 1 0 1 1 0 8 1 amappl13 176 117 0 113 1 0 1 1 0 8 0 amappl12 168 982 0 963 2 0 2 2 0 8 0 amappl11 160 9 0 9 1 0 1 1 0 8 1 amappl10 152 60 0 57 1 0 1 1 0 8 0 amappl9 144 286 0 286 1 0 1 1 0 8 1 amappl8 136 97 0 97 1 0 1 1 0 8 1 amappl7 128 189 0 183 1 0 1 1 0 8 0 amappl6 120 160 0 160 1 0 1 1 0 8 1 amappl5 112 93 0 89 1 0 1 1 0 8 0 amappl4 104 266 0 258 1 0 1 1 0 8 0 amappl3 96 3565 0 3488 3 0 3 3 0 8 0 amappl2 88 539 0 512 2 0 2 2 0 8 0 amappl1 80 11663 0 11350 13 0 13 13 0 8 1 amappl 88 4929 0 4812 4 0 4 4 0 92 0 uvmvnodes 80 105 0 0 3 0 3 3 0 8 0 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 7 0 7 1 0 1 1 0 8 1 dma128 128 253 0 253 1 0 1 1 0 8 1 dma64 64 7 0 7 1 0 1 1 0 8 1 dma32 32 7 0 7 1 0 1 1 0 8 1 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 16 0 3 1 0 1 1 0 8 0 uaddrrnd 24 743 0 723 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 743 0 723 1 0 1 1 0 8 0 vmmpekpl 168 7603 0 7567 2 0 2 2 0 8 0 vmmpepl 168 55302 0 54185 80 0 80 80 0 357 15 vmsppl 368 742 0 723 4 0 4 4 0 8 1 rwobjpl 40 18018 0 17419 11 0 11 11 0 8 1 pdppl 4096 1492 0 1446 106 54 52 80 0 8 6 pvpl 32 349289 0 343846 114 0 114 114 0 265 34 pmappl 216 742 0 723 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 825 0 54 23 0 23 23 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ufs_lookup() at ufs_lookup+0x613 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffff8006ab812a8,ffff80002a783708,ffff80002a783738) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002a7836d8) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff80002a7836d8) at namei+0x7c3 sys/kern/vfs_lookup.c:250 domknodat(ffff80002f0b07e0,ffffff9c,2000000000c0,2000,0) at domknodat+0xb4 sys/kern/vfs_syscalls.c:1530 syscall(ffff80002a7838c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a7838c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x38c25a49200, count: -7 ddb> machine ddbcpu 1 No such command ddb> trace ufs_lookup() at ufs_lookup+0x613 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffff8006ab812a8,ffff80002a783708,ffff80002a783738) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002a7836d8) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff80002a7836d8) at namei+0x7c3 sys/kern/vfs_lookup.c:250 domknodat(ffff80002f0b07e0,ffffff9c,2000000000c0,2000,0) at domknodat+0xb4 sys/kern/vfs_syscalls.c:1530 syscall(ffff80002a7838c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a7838c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x38c25a49200, count: -7