uvm_fault(0xffffffff839f2718, 0xffff800029cd2004, 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 *323975 25632 0 0x2 0 0 syz-executor ufs_readdir(ffff80002a8a4df0) at ufs_readdir+0x26e sys/ufs/ufs/ufs_vnops.c:1397 VOP_READDIR(fffff7007f196010,ffff80002a8a4e78,fffff70007ffd548,ffff80002a8a4ebc) at VOP_READDIR+0x125 sys/kern/vfs_vops.c:453 sys_getdents(ffff80002a737c90,ffff80002a8a5000,ffff80002a8a4f50) at sys_getdents+0x2dd sys/kern/vfs_syscalls.c:3133 syscall(ffff80002a8a5000) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a8a5000) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73a56d286a40, 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(0xffffffff839f2718, 0xffff800029cd2004, 0, 1) -> d ddb> show kasan No such command ddb> trace ufs_readdir(ffff80002a8a4df0) at ufs_readdir+0x26e sys/ufs/ufs/ufs_vnops.c:1397 VOP_READDIR(fffff7007f196010,ffff80002a8a4e78,fffff70007ffd548,ffff80002a8a4ebc) at VOP_READDIR+0x125 sys/kern/vfs_vops.c:453 sys_getdents(ffff80002a737c90,ffff80002a8a5000,ffff80002a8a4f50) at sys_getdents+0x2dd sys/kern/vfs_syscalls.c:3133 syscall(ffff80002a8a5000) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a8a5000) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73a56d286a40, count: -5 ddb> show registers rdi 0x200 rsi 0x800 rbp 0xffff80002a8a4de0 rbx 0x200 rdx 0 rcx 0xfffff700775d5488 rax 0xffff800029cd2200 r8 0xffffffffffffffff r9 0x3 r10 0xcab4d5c133e9a06 r11 0x80e544c0d3fabd78 r12 0 r13 0xffff80002a8a4e78 r14 0xffff800029cd2000 r15 0xffff800029cd2008 rip 0xffffffff8210e6ae ufs_readdir+0x26e cs 0x8 rflags 0x10283 __ALIGN_SIZE+0xf283 rsp 0xffff80002a8a4c30 ss 0x10 ufs_readdir+0x26e: movzwl 0x4(%r14),%ebx ddb> show proc PROC (syz-executor) tid=323975 pid=25632 tcnt=1 stat=onproc flags process=2 proc=0 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a736d00,0xffff8000338c42c8 process=0xffff80002a79b610 user=0xffff80002a8a0000, vmspace=0xfffff7006ffd55c8 estcpu=36, cpticks=12, pctcpu=0.2, user=1, sys=11, intr=0 ddb> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 78752 453382 78803 0 2 0 0xc80 syz-executor 78752 453920 78803 0 3 0 0x4000080 nanoslp syz-executor 78752 371654 78803 0 3 0 0x4000080 fsleep syz-executor 97035 311403 66168 0 2 0 0xc80 syz-executor 97035 244505 66168 0 3 0 0x4000080 netcon syz-executor 97035 465864 66168 0 3 0 0x4000080 fsleep syz-executor 65837 180074 4580 0 2 0 0xc80 syz-executor 65837 269053 4580 0 3 0 0x4000080 sbwait syz-executor 65837 413406 4580 0 3 0 0x4000080 fsleep syz-executor 65837 51773 4580 0 3 0 0x4000080 fsleep syz-executor 85702 488241 66098 0 2 0 0xc80 syz-executor 85702 46353 66098 0 3 0 0x4000080 ttyin syz-executor 85702 114185 66098 0 3 0 0x4000080 fsleep syz-executor 84849 83154 50960 0 2 0 0xc80 syz-executor 84849 229785 50960 0 3 0 0x4000080 fsleep syz-executor 84849 276804 50960 0 3 0 0x4000080 pipewr syz-executor 7890 96872 0 0 3 0x14000 0x200 acct acct 66292 464255 1 0 3 0x100003 0x80 ttyin getty 66098 286407 55345 0 2 0x2 0xc80 syz-executor *25632 323975 55345 0 7 0x2 0 syz-executor 90864 455396 55345 0 2 0x2 0xc80 syz-executor 4580 183453 55345 0 2 0x2 0xc80 syz-executor 50960 40356 55345 0 2 0x2 0xc80 syz-executor 66168 313147 55345 0 2 0x2 0xc80 syz-executor 78803 267732 55345 0 3 0x2 0x80 nanoslp syz-executor 55345 467339 1 0 2 0x2 0 syz-executor 38919 25479 1 73 3 0x1100010 0x80 kqread syslogd 80131 475573 0 0 3 0x14000 0x200 bored smr 94350 50490 0 0 2 0x14000 0x200 zerothread 97920 385953 0 0 3 0x14000 0x200 aiodoned aiodoned 77516 139249 0 0 3 0x14000 0x200 syncer update 9510 173142 0 0 3 0x14000 0x200 cleaner cleaner 41066 457640 0 0 3 0x14000 0x200 reaper reaper 73434 484779 0 0 3 0x14000 0x200 pgdaemon pagedaemon 55259 381027 0 0 3 0x14000 0x200 bored viomb 91245 101141 0 0 3 0x14000 0x40000200 acpi0 acpi0 91954 324609 0 0 3 0x14000 0x200 bored softnet0 17640 94342 0 0 3 0x14000 0x200 bored systqmp 63515 324361 0 0 3 0x14000 0x200 bored systq 83103 156556 0 0 3 0x14000 0x40000200 tmoslp softclock 162 292650 0 0 3 0x14000 0x40000200 idle0 1 111769 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10010000 0x200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11086 12177K 12407K 166960K 13023 0 pcb 17 13K 14K 166960K 153 0 rtable 212 8K 9K 166960K 484 0 pf 32 13K 19K 166960K 88 0 ifaddr 36 6K 7K 166960K 63 0 ifgroup 46 2K 2K 166960K 88 0 sysctl 4 1K 9K 166960K 12 0 counters 32 17K 18K 166960K 57 0 ioctlops 0 0K 4K 166960K 474 0 iov 0 0K 16K 166960K 68 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1329 84K 84K 166960K 2095 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 14 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 72 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 16 57K 236K 166960K 801 0 sigio 0 0K 0K 166960K 73 0 proc 21 25K 83K 166960K 606 0 subproc 72 4K 4K 166960K 81 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 79 0 in_multi 78 5K 7K 166960K 127 0 ether_multi 1 0K 0K 166960K 7 0 mrt 1 0K 0K 166960K 23 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 421 1871K 1871K 166960K 421 0 exec 0 0K 1K 166960K 469 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 152 83K 165K 166960K 8318 0 UVM aobj 23 2K 4K 166960K 25 0 pinsyscall 20 40K 96K 166960K 1909 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 10 0K 2K 166960K 41 0 temp 46 9112K 9128K 166960K 25333 0 kqueue 3 4K 31K 166960K 166 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 136 0 136 3 0 3 3 0 8 3 rtentry 136 139 0 55 4 0 4 4 0 8 0 unpcb 144 527 0 523 6 0 6 6 0 8 5 syncache 336 11 0 11 1 0 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 736 251 0 246 7 0 7 7 0 8 6 arp 96 22 0 6 1 0 1 1 0 8 0 ipq 40 9 0 0 1 0 1 1 0 8 0 ipqe 40 10 0 1 1 0 1 1 0 8 0 inpcb 328 675 0 667 7 0 7 7 0 8 5 ip6q 72 1 0 0 1 0 1 1 0 8 0 ip6af 40 2 0 0 1 0 1 1 0 8 0 nd6 112 32 0 10 1 0 1 1 0 8 0 pkpcb 40 5 0 5 1 0 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1072 19 0 19 1 0 1 1 0 8 1 pppxif 1416 1 0 1 1 0 1 1 0 8 1 pfstscr 40 80 0 78 1 0 1 1 0 8 0 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 1 0 0 1 0 1 1 0 8 0 pfsrclim 320 1 0 1 1 0 1 1 0 8 1 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pftag 88 3 0 0 1 0 1 1 0 8 0 pfqueue 320 1 0 1 1 0 1 1 0 8 1 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 82 0 80 1 0 1 1 0 8 0 pfstate 384 41 0 40 1 0 1 1 0 8 0 pfrule 1360 9 0 8 1 0 1 1 0 8 0 rttmr 136 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 574 0 232 29 0 29 29 0 8 5 art_table 40 575 0 232 5 0 5 5 0 8 0 art_node 32 135 0 61 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 6 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 72 67 0 57 1 0 1 1 0 8 0 shmpl 112 22 0 2 1 0 1 1 0 8 0 dirhash 1024 23 0 6 3 0 3 3 0 8 0 dino2pl 256 2889 0 1432 92 0 92 92 0 8 0 ffsino 256 2889 0 1432 92 0 92 92 0 8 0 nchpl 144 4005 0 2307 64 0 64 64 0 8 0 rtmask 32 4 0 4 1 0 1 1 0 8 1 vnodes 216 3323 0 0 185 0 185 185 0 8 0 namei 1024 14088 0 14088 1 0 1 1 0 8 1 kstatmem 264 47 0 26 2 0 2 2 0 8 0 scsiplug 72 3 0 3 1 0 1 1 0 8 1 scxspl 216 18478 0 18478 8 0 8 8 1 8 8 plimitpl 152 125 0 114 1 0 1 1 0 8 0 sigapl 424 1072 0 1039 6 0 6 6 0 8 1 knotepl 120 31947 0 31925 27 14 13 16 0 8 11 kqueuepl 184 271 0 269 4 0 4 4 0 8 3 pipepl 304 173 0 145 3 0 3 3 0 8 0 fdescpl 448 1057 0 1038 5 0 5 5 0 8 1 filepl 120 6646 0 6464 13 0 13 13 0 8 6 lockfpl 104 378 0 378 2 0 2 2 0 8 2 lockfspl 48 115 0 115 1 0 1 1 0 8 1 sessionpl 144 117 0 112 1 0 1 1 0 8 0 pgrppl 48 134 0 121 1 0 1 1 0 8 0 ucredpl 104 1692 0 1687 1 0 1 1 0 8 0 zombiepl 144 1041 0 1039 1 0 1 1 0 8 0 processpl 1152 1072 0 1039 4 0 4 4 0 8 0 procpl 664 2010 0 1966 6 0 6 6 0 8 1 sosppl 176 4 0 4 1 0 1 1 0 8 1 sockpl 552 1381 0 1369 12 2 10 12 0 8 8 mcl64k 65536 33 0 32 1 0 1 1 0 8 0 mcl9k128 9344 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 13 0 12 1 0 1 1 0 8 0 mcl4k 4096 3385 0 3334 15 0 15 15 0 8 7 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 771 0 769 1 0 1 1 0 8 0 mextrefs 64 362 0 362 1 0 1 1 0 8 1 mtagpl 96 10 0 7 1 0 1 1 0 8 0 mbufpl 256 10611 0 10464 18 0 18 18 0 8 5 bufpl 272 6911 0 695 415 0 415 415 0 8 0 anonpl 24 153792 0 151830 64 0 64 64 0 187 22 amapchunkpl 152 27720 0 27327 29 0 29 29 0 158 10 amappl16 200 2832 0 2805 33 18 15 25 0 8 8 amappl15 192 4 0 4 1 0 1 1 0 8 1 amappl14 184 421 0 421 1 0 1 1 0 8 1 amappl13 176 119 0 117 1 0 1 1 0 8 0 amappl12 168 1300 0 1282 2 0 2 2 0 8 0 amappl11 160 3 0 3 1 0 1 1 0 8 1 amappl10 152 58 0 56 1 0 1 1 0 8 0 amappl9 144 272 0 271 1 0 1 1 0 8 0 amappl8 136 106 0 106 1 0 1 1 0 8 1 amappl7 128 144 0 139 1 0 1 1 0 8 0 amappl6 120 158 0 156 1 0 1 1 0 8 0 amappl5 112 104 0 102 1 0 1 1 0 8 0 amappl4 104 274 0 266 1 0 1 1 0 8 0 amappl3 96 5500 0 5415 4 0 4 4 0 8 1 amappl2 88 544 0 528 2 0 2 2 0 8 0 amappl1 80 12853 0 12699 13 0 13 13 0 8 3 amappl 88 7488 0 7356 5 0 5 5 0 92 1 uvmvnodes 80 122 0 0 3 0 3 3 0 8 0 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 3 0 2 1 0 1 1 0 8 0 dma256 256 7 0 7 1 0 1 1 0 8 1 dma128 128 254 0 254 1 0 1 1 0 8 1 dma64 64 6 0 6 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 24 0 2 1 0 1 1 0 8 0 uaddrrnd 24 1057 0 1038 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1057 0 1038 1 0 1 1 0 8 0 vmmpekpl 168 9682 0 9640 3 0 3 3 0 8 1 vmmpepl 168 72870 0 71947 99 0 99 99 0 357 44 vmsppl 368 1056 0 1038 4 0 4 4 0 8 1 rwobjpl 40 21432 0 20893 15 0 15 15 0 8 0 pdppl 4096 2120 0 2076 100 52 48 82 0 8 4 pvpl 32 446223 0 440912 140 0 140 140 0 265 59 pmappl 216 1056 0 1038 3 0 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 790 0 52 22 0 22 22 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ufs_readdir(ffff80002a8a4df0) at ufs_readdir+0x26e sys/ufs/ufs/ufs_vnops.c:1397 VOP_READDIR(fffff7007f196010,ffff80002a8a4e78,fffff70007ffd548,ffff80002a8a4ebc) at VOP_READDIR+0x125 sys/kern/vfs_vops.c:453 sys_getdents(ffff80002a737c90,ffff80002a8a5000,ffff80002a8a4f50) at sys_getdents+0x2dd sys/kern/vfs_syscalls.c:3133 syscall(ffff80002a8a5000) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a8a5000) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73a56d286a40, count: -5 ddb> machine ddbcpu 1 No such command ddb> trace ufs_readdir(ffff80002a8a4df0) at ufs_readdir+0x26e sys/ufs/ufs/ufs_vnops.c:1397 VOP_READDIR(fffff7007f196010,ffff80002a8a4e78,fffff70007ffd548,ffff80002a8a4ebc) at VOP_READDIR+0x125 sys/kern/vfs_vops.c:453 sys_getdents(ffff80002a737c90,ffff80002a8a5000,ffff80002a8a4f50) at sys_getdents+0x2dd sys/kern/vfs_syscalls.c:3133 syscall(ffff80002a8a5000) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a8a5000) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73a56d286a40, count: -5 ddb>