uvm_fault(0xffffffff83a32b18, 0xffff8000296b2004, 0, 1) -> d kernel: page fault trap, code=0 Stopped at ufs_readdir+0x26e: movzwl 0x4(%r14),%ebx TID PID UID PRFLAGS PFLAGS CPU COMMAND * 11005 15662 0 0x2 0 0 syz-executor ufs_readdir(ffff80002a82b3d0) at ufs_readdir+0x26e sys/ufs/ufs/ufs_vnops.c:1397 VOP_READDIR(fffffd80702671c8,ffff80002a82b458,fffffd8007ffda28,ffff80002a82b49c) at VOP_READDIR+0x125 sys/kern/vfs_vops.c:453 sys_getdents(ffff80002a736538,ffff80002a82b5e0,ffff80002a82b530) at sys_getdents+0x2dd sys/kern/vfs_syscalls.c:3219 syscall(ffff80002a82b5e0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a82b5e0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ad0ba03cb50, count: 10 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(0xffffffff83a32b18, 0xffff8000296b2004, 0, 1) -> d ddb> trace ufs_readdir(ffff80002a82b3d0) at ufs_readdir+0x26e sys/ufs/ufs/ufs_vnops.c:1397 VOP_READDIR(fffffd80702671c8,ffff80002a82b458,fffffd8007ffda28,ffff80002a82b49c) at VOP_READDIR+0x125 sys/kern/vfs_vops.c:453 sys_getdents(ffff80002a736538,ffff80002a82b5e0,ffff80002a82b530) at sys_getdents+0x2dd sys/kern/vfs_syscalls.c:3219 syscall(ffff80002a82b5e0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a82b5e0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ad0ba03cb50, count: -5 ddb> show registers rdi 0x200 rsi 0x800 rbp 0xffff80002a82b3c0 rbx 0x200 rdx 0 rcx 0xfffffd806dd61590 rax 0xffff8000296b2200 r8 0xffffffffffffffff r9 0x3 r10 0xfce38a6b33774638 r11 0x8b6d3aaddaabf7c7 r12 0 r13 0xffff80002a82b458 r14 0xffff8000296b2000 r15 0xffff8000296b2008 rip 0xffffffff8293174e ufs_readdir+0x26e cs 0x8 rflags 0x10283 __ALIGN_SIZE+0xf283 rsp 0xffff80002a82b210 ss 0x10 ufs_readdir+0x26e: movzwl 0x4(%r14),%ebx ddb> show proc PROC (syz-executor) tid=11005 pid=15662 tcnt=1 stat=onproc flags process=2 proc=0 runpri=50, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a767c98,0xffff80002a736a78 process=0xffff80002a79df90 user=0xffff80002a826000, vmspace=0xfffffd806f9fc738 estcpu=36, cpticks=12, pctcpu=0.0, user=2, sys=9, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 50818 471633 44774 0 2 0 syz-executor 50818 41269 44774 0 3 0x4000080 fsleep syz-executor 54828 389314 50730 0 3 0x80 nanoslp syz-executor 54828 450605 50730 0 3 0x4000080 ttyin syz-executor 54828 15018 50730 0 3 0x4000000 inode syz-executor 54828 72454 50730 0 3 0x4000080 fsleep syz-executor 53013 485976 60874 0 2 0 syz-executor 53013 95463 60874 0 3 0x4000080 fsleep syz-executor 86852 216170 65165 0 2 0 syz-executor 86852 447597 65165 0 3 0x4000080 fsleep syz-executor 25298 207805 15621 0 3 0x80 nanoslp syz-executor 25298 211782 15621 0 3 0x4000080 ttyout syz-executor 36158 519196 83519 0 2 0 syz-executor 36158 193100 83519 0 3 0x4000080 sbwait syz-executor 68792 334784 98018 0 2 0 syz-executor 68792 439025 98018 0 3 0x4000080 fsleep syz-executor 68792 47439 98018 0 3 0x4000080 fsleep syz-executor 88503 105129 1 0 3 0x100083 ttyin getty 15621 98403 11240 0 3 0x82 nanoslp syz-executor 98018 108597 11240 0 3 0x82 nanoslp syz-executor 44774 272999 11240 0 3 0x82 nanoslp syz-executor 50730 462463 11240 0 3 0x82 nanoslp syz-executor *15662 11005 11240 0 7 0x2 syz-executor 83519 40275 11240 0 3 0x82 nanoslp syz-executor 65165 360655 11240 0 3 0x82 nanoslp syz-executor 60874 102585 11240 0 3 0x82 nanoslp syz-executor 11240 254111 1 0 2 0x2 syz-executor 29930 267581 0 0 3 0x14200 bored smr 657 205696 0 0 2 0x14200 zerothread 37059 213109 0 0 3 0x14200 aiodoned aiodoned 6616 24580 0 0 3 0x14200 syncer update 46529 496396 0 0 3 0x14200 cleaner cleaner 79430 1603 0 0 3 0x14200 reaper reaper 69071 462632 0 0 3 0x14200 pgdaemon pagedaemon 86066 17939 0 0 3 0x14200 bored viomb 54904 193628 0 0 3 0x40014200 acpi0 acpi0 75161 56089 0 0 2 0x14200 softnet0 35057 129418 0 0 3 0x14200 bored systqmp 61368 127381 0 0 3 0x14200 bored systq 45971 69076 0 0 3 0x40014200 tmoslp softclock 72846 97736 0 0 3 0x40014200 idle0 1 349746 0 0 3 0x80082 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 11032 12099K 12430K 166960K 12911 0 pcb 17 12K 12K 166960K 150 0 rtable 162 4K 7K 166960K 486 0 pf 36 14K 21K 166960K 150 0 ifaddr 32 5K 7K 166960K 78 0 ifgroup 49 2K 2K 166960K 130 0 sysctl 1 1K 9K 166960K 5 0 counters 32 17K 18K 166960K 56 0 ioctlops 0 0K 4K 166960K 166 0 iov 1 4K 16K 166960K 26 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1289 81K 81K 166960K 1994 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 20K 24K 166960K 11 0 VM map 2 1K 1K 166960K 2 0 sem 13 2K 3K 166960K 24 0 dirhash 12 2K 2K 166960K 36 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 61K 97K 166960K 1650 0 sigio 0 0K 0K 166960K 17 0 proc 21 25K 124K 166960K 605 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 80 0 in_multi 61 4K 7K 166960K 152 0 ether_multi 1 0K 0K 166960K 15 0 mrt 2 0K 0K 166960K 38 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 440 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 136 82K 148K 166960K 14948 0 UVM aobj 8 2K 2K 166960K 10 0 pinsyscall 19 38K 96K 166960K 2762 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 38 0 NDP 10 0K 2K 166960K 51 0 temp 61 9113K 9176K 166960K 42167 0 kqueue 1 2K 28K 166960K 231 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 60 0 60 1 0 1 1 0 8 1 rtentry 136 158 0 89 4 0 4 4 0 8 0 unpcb 144 332 0 329 1 0 1 1 0 8 0 syncache 336 12 0 12 1 0 1 1 0 8 1 tcpcb 736 173 0 172 1 0 1 1 0 8 0 arp 96 35 0 19 1 0 1 1 0 8 0 ipq 40 4 0 0 1 0 1 1 0 8 0 ipqe 40 7 0 3 1 0 1 1 0 8 0 inpcb 328 522 0 519 2 0 2 2 0 8 1 ip6q 72 6 0 1 1 0 1 1 0 8 0 ip6af 40 9 0 2 1 0 1 1 0 8 0 nd6 112 29 0 15 1 0 1 1 0 8 0 pkpcb 40 5 0 5 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 12 0 12 1 0 1 1 0 8 1 pfstscr 40 39 0 30 1 0 1 1 0 8 0 pffrag 232 1 0 0 1 0 1 1 0 482 0 pffrnode 88 1 0 0 1 0 1 1 0 8 0 pffrent 40 1 0 0 1 0 1 1 0 8 0 pfrktable 1344 2 0 2 1 0 1 1 0 8 1 pfsrclim 320 1 0 1 1 0 1 1 0 8 1 pfanchor 1288 5 0 0 1 0 1 1 0 8 0 pftag 88 5 0 0 1 0 1 1 0 8 0 pfstitem 24 16 0 3 1 0 1 1 0 8 0 pfstkey 128 44 0 30 1 0 1 1 0 8 0 pfstate 384 23 0 16 1 0 1 1 0 8 0 pfrule 1360 19 0 19 1 0 1 1 0 8 1 rttmr 136 4 0 4 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 746 0 429 29 0 29 29 0 8 6 art_table 40 747 0 429 5 0 5 5 0 8 0 art_node 32 158 0 97 1 0 1 1 0 8 0 sysvmsgpl 40 21 0 6 1 0 1 1 0 8 0 semupl 112 3 0 3 1 0 1 1 0 8 1 semapl 72 18 0 7 1 0 1 1 0 8 0 shmpl 112 7 0 2 1 0 1 1 0 8 0 dirhash 1024 33 0 16 3 0 3 3 0 8 0 dino2pl 256 3937 0 2483 92 0 92 92 0 8 0 ffsino 256 3937 0 2483 92 0 92 92 0 8 0 nchpl 144 5844 0 4150 64 0 64 64 0 8 0 vnodes 216 4310 0 0 240 0 240 240 0 8 0 namei 1024 15245 0 15244 2 0 2 2 0 8 1 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 kstatmem 264 69 0 48 2 0 2 2 0 8 0 scsiplug 72 11 0 11 1 0 1 1 0 8 1 scxspl 216 21067 0 21067 8 0 8 8 1 8 8 plimitpl 152 117 0 104 1 0 1 1 0 8 0 sigapl 424 1948 0 1916 6 0 6 6 0 8 2 knotepl 120 64604 0 64587 33 23 10 22 0 8 8 kqueuepl 184 221 0 220 1 0 1 1 0 8 0 pipepl 304 143 0 116 3 0 3 3 0 8 0 fdescpl 448 1935 0 1916 5 0 5 5 0 8 1 filepl 120 5475 0 5315 7 0 7 7 0 8 0 lockfpl 104 367 0 367 1 0 1 1 0 8 1 lockfspl 48 140 0 140 1 0 1 1 0 8 1 sessionpl 144 61 0 58 1 0 1 1 0 8 0 pgrppl 48 73 0 62 1 0 1 1 0 8 0 ucredpl 104 1043 0 1039 1 0 1 1 0 8 0 zombiepl 144 1916 0 1916 1 0 1 1 0 8 1 processpl 1152 1948 0 1916 4 0 4 4 0 8 0 procpl 664 3662 0 3620 6 0 6 6 0 8 2 sockpl 552 931 0 925 3 0 3 3 0 8 2 mcl64k 65536 547 0 545 1 0 1 1 0 8 0 mcl16k 16384 386 0 385 1 0 1 1 0 8 0 mcl12k 12288 285 0 285 1 0 1 1 0 8 1 mcl9k128 9344 124 0 124 1 0 1 1 0 8 1 mcl8k 8192 299 0 298 1 0 1 1 0 8 0 mcl4k 4096 5629 0 5577 15 0 15 15 0 8 8 mcl2k2 2112 2 0 2 1 0 1 1 0 8 1 mcl2k 2048 429 0 425 2 0 2 2 0 8 1 mtagpl 96 6 0 5 1 0 1 1 0 8 0 mbufpl 256 22711 0 22494 21 0 21 21 0 8 5 bufpl 280 6353 0 137 445 0 445 445 0 8 0 anonpl 24 232072 0 230007 46 0 46 46 0 186 24 amapchunkpl 152 51486 0 51123 29 0 29 29 0 158 14 amappl16 200 3647 0 3585 16 1 15 15 0 8 11 amappl15 192 6 0 6 1 0 1 1 0 8 1 amappl14 184 409 0 409 1 0 1 1 0 8 1 amappl13 176 136 0 135 1 0 1 1 0 8 0 amappl12 168 2180 0 2162 2 0 2 2 0 8 0 amappl11 160 60 0 60 1 0 1 1 0 8 1 amappl10 152 57 0 57 1 0 1 1 0 8 1 amappl9 144 341 0 341 1 0 1 1 0 8 1 amappl8 136 98 0 98 1 0 1 1 0 8 1 amappl7 128 146 0 144 1 0 1 1 0 8 0 amappl6 120 156 0 156 1 0 1 1 0 8 1 amappl5 112 108 0 108 1 0 1 1 0 8 1 amappl4 104 280 0 278 1 0 1 1 0 8 0 amappl3 96 11061 0 10980 4 0 4 4 0 8 1 amappl2 88 529 0 522 2 0 2 2 0 8 0 amappl1 80 16544 0 16422 14 0 14 14 0 8 5 amappl 88 14169 0 14047 5 0 5 5 0 92 0 uvmvnodes 80 147 0 0 3 0 3 3 0 8 0 dma65536 65536 1 0 1 1 0 1 1 0 8 1 dma32768 32768 1 0 1 1 0 1 1 0 8 1 dma8192 8192 1 0 1 1 0 1 1 0 8 1 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma2048 2048 5 0 5 1 0 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 0 1 1 0 8 1 dma128 128 259 0 259 1 0 1 1 0 8 1 dma64 64 6 0 6 1 0 1 1 0 8 1 dma32 32 8 0 8 1 0 1 1 0 8 1 dma16 16 21 0 20 1 0 1 1 0 8 0 aobjpl 72 9 0 2 1 0 1 1 0 8 0 uaddrrnd 24 1935 0 1916 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1935 0 1916 1 0 1 1 0 8 0 vmmpekpl 168 14453 0 14423 2 0 2 2 0 8 0 vmmpepl 168 121605 0 120711 87 0 87 87 0 357 39 vmsppl 368 1934 0 1916 4 0 4 4 0 8 1 rwobjpl 40 29574 0 29064 12 0 12 12 0 8 0 pdppl 4096 3876 0 3832 98 52 46 82 0 8 2 pvpl 32 820626 0 814616 118 0 118 118 0 265 63 pmappl 216 1934 0 1916 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 377 0 52 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ufs_readdir(ffff80002a82b3d0) at ufs_readdir+0x26e sys/ufs/ufs/ufs_vnops.c:1397 VOP_READDIR(fffffd80702671c8,ffff80002a82b458,fffffd8007ffda28,ffff80002a82b49c) at VOP_READDIR+0x125 sys/kern/vfs_vops.c:453 sys_getdents(ffff80002a736538,ffff80002a82b5e0,ffff80002a82b530) at sys_getdents+0x2dd sys/kern/vfs_syscalls.c:3219 syscall(ffff80002a82b5e0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a82b5e0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ad0ba03cb50, count: -5 ddb> machine ddbcpu 1 No such command ddb> trace ufs_readdir(ffff80002a82b3d0) at ufs_readdir+0x26e sys/ufs/ufs/ufs_vnops.c:1397 VOP_READDIR(fffffd80702671c8,ffff80002a82b458,fffffd8007ffda28,ffff80002a82b49c) at VOP_READDIR+0x125 sys/kern/vfs_vops.c:453 sys_getdents(ffff80002a736538,ffff80002a82b5e0,ffff80002a82b530) at sys_getdents+0x2dd sys/kern/vfs_syscalls.c:3219 syscall(ffff80002a82b5e0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a82b5e0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ad0ba03cb50, count: -5 ddb>