uvm_fault(0xffffffff83a6b080, 0xffff8000273c2004, 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 * 40703 62045 0 0 0x4000000 0 syz-executor ufs_lookup() at ufs_lookup+0x613 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffff8006c098cf8,ffff80003c9a7950,ffff80003c9a7980) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80003c9a7920) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff80003c9a7920) at namei+0x7c3 sys/kern/vfs_lookup.c:250 vn_open(ffff80003c9a7920,207,949) at vn_open+0x22e sys/kern/vfs_vnops.c:109 doopenat(ffff80002a7fd788,ffffff9c,200000000380,206,bbaf7949,0,38a2dc724cf8a1e4) at doopenat+0x352 sys/kern/vfs_syscalls.c:1162 sys_open(ffff80002a7fd788,ffff80003c9a7bc0,ffff80003c9a7b10) at sys_open+0x59 sys/kern/vfs_syscalls.c:1064 syscall(ffff80003c9a7bc0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9a7bc0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdcd9764c1b0, count: 6 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(0xffffffff83a6b080, 0xffff8000273c2004, 0, 1) -> d ddb> trace ufs_lookup() at ufs_lookup+0x613 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffff8006c098cf8,ffff80003c9a7950,ffff80003c9a7980) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80003c9a7920) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff80003c9a7920) at namei+0x7c3 sys/kern/vfs_lookup.c:250 vn_open(ffff80003c9a7920,207,949) at vn_open+0x22e sys/kern/vfs_vnops.c:109 doopenat(ffff80002a7fd788,ffffff9c,200000000380,206,bbaf7949,0,38a2dc724cf8a1e4) at doopenat+0x352 sys/kern/vfs_syscalls.c:1162 sys_open(ffff80002a7fd788,ffff80003c9a7bc0,ffff80003c9a7b10) at sys_open+0x59 sys/kern/vfs_syscalls.c:1064 syscall(ffff80003c9a7bc0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9a7bc0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdcd9764c1b0, count: -9 ddb> show registers rdi 0 rsi 0x2 rbp 0xffff80003c9a7580 rbx 0 rdx 0 rcx 0xffffffff rax 0xffff80002a7fd788 r8 0xffffffffffffffff r9 0xfffff80007ffd4e0 r10 0x4dfe0ef96260b31d r11 0xc22f5ef2583f1d45 r12 0xfffff80063d93ee0 r13 0 r14 0 r15 0xffff8000273c2000 rip 0xffffffff830d2a13 ufs_lookup+0x613 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c9a7490 ss 0x10 ufs_lookup+0x613: movzwl 0x4(%r15,%r14,1),%ebx ddb> show proc PROC (syz-executor) tid=40703 pid=62045 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=81, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7fda20,0xffff80002a7fc808 process=0xffff8000318b5698 user=0xffff80003c9a2000, vmspace=0xfffff8006bddad00 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 36530 61776 77309 0 2 0x2 sh 42281 130423 77987 0 2 0 syz-executor 42281 47341 77987 0 3 0x4000080 msgwait syz-executor 62045 173191 63181 0 2 0 syz-executor *62045 40703 63181 0 7 0x4000000 syz-executor 56757 3426 71608 0 2 0 syz-executor 45469 217980 70121 0 2 0x10 syz-executor 45469 224994 70121 0 3 0x4000090 piperd syz-executor 27307 451953 83873 0 2 0 syz-executor 27307 416077 83873 0 3 0x4000080 fsleep syz-executor 27307 304785 83873 0 3 0x4000080 fsleep syz-executor 44640 359206 80545 0 2 0x10 syz-executor 44640 342124 80545 0 3 0x4000090 fsleep syz-executor 77309 139747 58703 0 3 0x82 wait syz-executor 95355 344544 0 0 3 0x14280 nfsidl nfsio 50154 343545 0 0 3 0x14280 nfsidl nfsio 27576 158936 0 0 3 0x14280 nfsidl nfsio 88823 276372 0 0 3 0x14280 nfsidl nfsio 19266 191097 0 0 3 0x14280 nfsidl nfsio 84867 71164 0 0 3 0x14280 nfsidl nfsio 69075 233965 0 0 3 0x14280 nfsidl nfsio 8999 72393 0 0 3 0x14280 nfsidl nfsio 78211 153129 0 0 3 0x14280 nfsidl nfsio 19954 168677 0 0 3 0x14280 nfsidl nfsio 80039 57596 0 0 3 0x14280 nfsidl nfsio 45521 175664 0 0 3 0x14280 nfsidl nfsio 6343 335403 0 0 3 0x14280 nfsidl nfsio 50629 119180 0 0 3 0x14280 nfsidl nfsio 39891 281718 0 0 3 0x14280 nfsidl nfsio 14391 404815 0 0 3 0x14280 nfsidl nfsio 27382 65236 0 0 3 0x14280 nfsidl nfsio 20722 419503 0 0 3 0x14280 nfsidl nfsio 61167 67196 0 0 3 0x14280 nfsidl nfsio 56766 461488 0 0 3 0x14280 nfsidl nfsio 26533 361438 58703 0 3 0x82 wait syz-executor 70121 49480 58703 0 3 0x82 nanoslp syz-executor 71608 432482 58703 0 3 0x82 nanoslp syz-executor 77987 131794 58703 0 3 0x82 nanoslp syz-executor 83873 318621 58703 0 3 0x82 nanoslp syz-executor 80545 143606 58703 0 3 0x82 nanoslp syz-executor 63181 377265 58703 0 3 0x82 nanoslp syz-executor 58703 216729 83218 0 3 0x82 kqread syz-executor 83218 413686 66879 0 3 0x10008a sigsusp ksh 66879 318162 13638 0 3 0x98 kqread sshd-session 13638 308880 25933 0 3 0x92 kqread sshd-session 64470 289689 1 0 3 0x100083 ttyin getty 25933 360547 1 0 3 0x88 kqread sshd 97291 228825 33898 73 3 0x1100090 kqread syslogd 33898 257111 1 0 3 0x100082 sbwait syslogd 30848 421723 1 0 3 0x100080 kqread resolvd 38878 106270 7487 77 3 0x100092 kqread dhcpleased 82032 113942 7487 77 3 0x100092 kqread dhcpleased 7487 303815 1 0 3 0x80 kqread dhcpleased 52850 302731 0 0 3 0x14200 bored smr 85586 407369 0 0 2 0x14200 zerothread 35571 423251 0 0 3 0x14200 aiodoned aiodoned 4442 516617 0 0 3 0x14200 syncer update 68204 187051 0 0 3 0x14200 cleaner cleaner 99262 202497 0 0 3 0x14200 reaper reaper 52234 187681 0 0 3 0x14200 pgdaemon pagedaemon 76649 358289 0 0 3 0x14200 bored viomb 2229 76718 0 0 3 0x40014200 acpi0 acpi0 1854 410319 0 0 3 0x14200 bored softnet0 902 377032 0 0 3 0x14200 bored systqmp 50532 297167 0 0 3 0x14200 bored systq 49934 502290 0 0 3 0x40014200 tmoslp softclock 21560 440953 0 0 3 0x40014200 idle0 1 215613 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 11068 12102K 13284K 166960K 14106 0 pcb 17 15K 16K 166960K 332 0 rtable 171 6K 9K 166960K 686 0 pf 28 12K 73K 166960K 163 0 ifaddr 27 4K 7K 166960K 93 0 ifgroup 42 1K 2K 166960K 141 0 sysctl 4 1K 9K 166960K 9 0 counters 31 17K 18K 166960K 65 0 ioctlops 0 0K 4K 166960K 486 0 iov 1 0K 12K 166960K 169 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1538 97K 97K 166960K 2679 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 17 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 193 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 1024 0 sigio 0 0K 0K 166960K 17 0 proc 61 67K 100K 166960K 698 0 subproc 72 4K 4K 166960K 117 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 126 0 in_multi 54 3K 7K 166960K 182 0 ether_multi 1 0K 0K 166960K 3 0 mrt 1 0K 0K 166960K 21 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 283 1261K 1261K 166960K 283 0 exec 0 0K 1K 166960K 554 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 214 143K 158K 166960K 10222 0 UVM aobj 65 3K 4K 166960K 68 0 pinsyscall 39 78K 96K 166960K 2221 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 24 0 NDP 9 0K 2K 166960K 65 0 temp 62 9112K 9174K 166960K 34960 0 kqueue 13 20K 30K 166960K 165 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 122 0 119 2 0 2 2 0 8 1 rtentry 136 189 0 126 4 0 4 4 0 8 0 unpcb 144 895 0 878 11 5 6 6 0 8 5 syncache 336 6 0 6 2 1 1 1 0 8 1 tcpcb 736 342 0 338 8 1 7 7 0 8 6 arp 96 29 0 20 1 0 1 1 0 8 0 ipq 40 3 0 0 1 0 1 1 0 8 0 ipqe 40 35 0 32 1 0 1 1 0 8 0 inpcb 328 1134 0 1126 17 8 9 12 0 8 7 ip6q 72 1 0 0 1 0 1 1 0 8 0 ip6af 40 1 0 0 1 0 1 1 0 8 0 nd6 112 46 0 35 1 0 1 1 0 8 0 pkpcb 40 3 0 3 2 1 1 1 0 8 1 kcovpl 48 13 0 5 1 0 1 1 0 8 0 ppxss 1072 18 0 18 2 1 1 1 0 8 1 pppxif 1416 2 0 2 2 1 1 1 0 8 1 pfstscr 40 10 0 6 1 0 1 1 0 8 0 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 1 0 1 1 0 8 0 pfrktable 1344 6 0 6 1 0 1 1 0 8 1 pfsrclim 320 1 0 1 1 0 1 1 0 8 1 pfanchor 1288 9 0 4 1 0 1 1 0 8 0 pftag 88 4 0 2 1 0 1 1 0 8 0 pfqueue 320 2 0 2 1 0 1 1 0 8 1 pfstitem 24 6 0 0 1 0 1 1 0 8 0 pfstkey 128 12 0 6 1 0 1 1 0 8 0 pfstate 384 6 0 3 1 0 1 1 0 8 0 pfrule 1360 10 0 10 2 1 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 798 0 505 30 3 27 30 0 8 5 art_table 40 800 0 505 5 0 5 5 0 8 0 art_node 32 185 0 127 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 2 1 0 1 1 0 8 0 semapl 72 187 0 177 1 0 1 1 0 8 0 shmpl 112 65 0 3 2 0 2 2 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 3192 0 1730 92 0 92 92 0 8 0 ffsino 256 3192 0 1730 92 0 92 92 0 8 0 nchpl 144 4565 0 2849 64 0 64 64 0 8 0 rtmask 32 2 0 2 2 1 1 1 0 8 1 vnodes 216 4162 0 0 232 0 232 232 0 8 0 namei 1024 16892 0 16891 4 2 2 2 0 8 1 pfiaddrpl 120 2 0 2 1 0 1 1 0 8 1 kstatmem 264 79 0 60 2 0 2 2 0 8 0 scsiplug 72 8 0 8 1 0 1 1 0 8 1 scxspl 216 22170 0 22170 9 7 2 8 1 8 2 plimitpl 152 338 0 322 1 0 1 1 0 8 0 sigapl 424 1305 0 1242 9 1 8 8 0 8 0 knotepl 120 37358 0 37311 32 22 10 17 0 8 8 kqueuepl 184 313 0 304 4 0 4 4 0 8 3 pipepl 304 196 0 168 3 0 3 3 0 8 0 fdescpl 448 1272 0 1242 5 1 4 5 0 8 0 filepl 120 8991 0 8777 19 4 15 16 0 8 8 lockfpl 104 752 0 749 2 0 2 2 0 8 1 lockfspl 48 251 0 248 1 0 1 1 0 8 0 sessionpl 144 194 0 185 1 0 1 1 0 8 0 pgrppl 48 212 0 195 1 0 1 1 0 8 0 ucredpl 104 1584 0 1571 1 0 1 1 0 8 0 zombiepl 144 1243 0 1242 1 0 1 1 0 8 0 processpl 1152 1305 0 1242 5 0 5 5 0 8 0 procpl 664 2535 0 2466 7 0 7 7 0 8 0 sosppl 176 2 0 2 1 1 0 1 0 8 0 sockpl 552 2184 0 2156 24 13 11 13 0 8 8 mcl64k 65536 46 0 46 2 1 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl9k128 9344 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 11 0 10 2 1 1 1 0 8 0 mcl4k 4096 3645 0 3594 16 7 9 14 0 8 2 mcl2k 2048 858 0 855 4 0 4 4 0 8 3 mtagpl 96 13 0 10 1 0 1 1 0 8 0 mbufpl 256 14345 0 14170 22 0 22 22 0 8 4 bufpl 272 8058 0 1843 415 0 415 415 0 8 0 anonpl 24 222207 0 219029 98 16 82 82 0 88 43 amapchunkpl 152 34286 0 33844 36 8 28 30 0 158 9 amappl16 200 5054 0 5020 42 27 15 34 0 8 8 amappl15 192 7 0 6 1 0 1 1 0 8 0 amappl14 184 468 0 466 1 0 1 1 0 8 0 amappl13 176 124 0 114 1 0 1 1 0 8 0 amappl12 168 1525 0 1498 2 0 2 2 0 8 0 amappl11 160 9 0 9 1 1 0 1 0 8 0 amappl10 152 56 0 46 1 0 1 1 0 8 0 amappl9 144 269 0 269 1 1 0 1 0 8 0 amappl8 136 116 0 115 1 0 1 1 0 8 0 amappl7 128 153 0 141 1 0 1 1 0 8 0 amappl6 120 195 0 192 1 0 1 1 0 8 0 amappl5 112 90 0 82 1 0 1 1 0 8 0 amappl4 104 279 0 262 1 0 1 1 0 8 0 amappl3 96 6972 0 6868 4 0 4 4 0 8 0 amappl2 88 560 0 504 2 0 2 2 0 8 0 amappl1 80 13950 0 13407 13 1 12 13 0 8 0 amappl 88 9308 0 9157 5 0 5 5 0 92 1 uvmvnodes 80 117 0 0 3 0 3 3 0 8 0 dma32768 32768 1 0 1 1 0 1 1 0 8 1 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma2048 2048 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 1 0 1 0 8 0 dma128 128 255 0 255 2 1 1 1 0 8 1 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 67 0 3 2 0 2 2 0 8 0 uaddrrnd 24 1272 0 1242 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1272 0 1242 1 0 1 1 0 8 0 vmmpekpl 168 11111 0 11066 3 0 3 3 0 8 0 vmmpepl 168 88124 0 86337 115 7 108 108 0 357 27 vmsppl 368 1271 0 1242 4 1 3 4 0 8 0 rwobjpl 40 26358 0 25335 17 0 17 17 0 8 3 pdppl 4096 2550 0 2484 106 38 68 80 0 8 2 pvpl 32 597133 0 588195 199 32 167 167 0 265 66 pmappl 216 1271 0 1242 3 0 3 3 0 8 1 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 816 0 59 22 0 22 22 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(fffff8006c098cf8,ffff80003c9a7950,ffff80003c9a7980) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80003c9a7920) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff80003c9a7920) at namei+0x7c3 sys/kern/vfs_lookup.c:250 vn_open(ffff80003c9a7920,207,949) at vn_open+0x22e sys/kern/vfs_vnops.c:109 doopenat(ffff80002a7fd788,ffffff9c,200000000380,206,bbaf7949,0,38a2dc724cf8a1e4) at doopenat+0x352 sys/kern/vfs_syscalls.c:1162 sys_open(ffff80002a7fd788,ffff80003c9a7bc0,ffff80003c9a7b10) at sys_open+0x59 sys/kern/vfs_syscalls.c:1064 syscall(ffff80003c9a7bc0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9a7bc0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdcd9764c1b0, count: -9 ddb> machine ddbcpu 1 No such command ddb> trace ufs_lookup() at ufs_lookup+0x613 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffff8006c098cf8,ffff80003c9a7950,ffff80003c9a7980) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80003c9a7920) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff80003c9a7920) at namei+0x7c3 sys/kern/vfs_lookup.c:250 vn_open(ffff80003c9a7920,207,949) at vn_open+0x22e sys/kern/vfs_vnops.c:109 doopenat(ffff80002a7fd788,ffffff9c,200000000380,206,bbaf7949,0,38a2dc724cf8a1e4) at doopenat+0x352 sys/kern/vfs_syscalls.c:1162 sys_open(ffff80002a7fd788,ffff80003c9a7bc0,ffff80003c9a7b10) at sys_open+0x59 sys/kern/vfs_syscalls.c:1064 syscall(ffff80003c9a7bc0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9a7bc0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdcd9764c1b0, count: -9