uvm_fault(0xffffffff839feec0, 0xffff8000247b2004, 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 *337849 15508 0 0x1 0x4000000 0 syz-executor ufs_lookup() at ufs_lookup+0x613 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffffd005d585ea0,ffff800035cc8d50,ffff800035cc8d80) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff800035cc8d20) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff800035cc8d20) at namei+0x7c3 sys/kern/vfs_lookup.c:250 vn_open(ffff800035cc8d20,216,0) at vn_open+0x22e sys/kern/vfs_vnops.c:109 doopenat(ffff80002a77da08,ffffff9c,200000000240,615,0,0,ba0eba6ebb0d3541) at doopenat+0x352 sys/kern/vfs_syscalls.c:1163 sys_open(ffff80002a77da08,ffff800035cc8fc0,ffff800035cc8f10) at sys_open+0x59 sys/kern/vfs_syscalls.c:1065 syscall(ffff800035cc8fc0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800035cc8fc0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x60b4e1e63b0, 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(0xffffffff839feec0, 0xffff8000247b2004, 0, 1) -> d ddb> show kasan No such command ddb> trace ufs_lookup() at ufs_lookup+0x613 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffffd005d585ea0,ffff800035cc8d50,ffff800035cc8d80) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff800035cc8d20) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff800035cc8d20) at namei+0x7c3 sys/kern/vfs_lookup.c:250 vn_open(ffff800035cc8d20,216,0) at vn_open+0x22e sys/kern/vfs_vnops.c:109 doopenat(ffff80002a77da08,ffffff9c,200000000240,615,0,0,ba0eba6ebb0d3541) at doopenat+0x352 sys/kern/vfs_syscalls.c:1163 sys_open(ffff80002a77da08,ffff800035cc8fc0,ffff800035cc8f10) at sys_open+0x59 sys/kern/vfs_syscalls.c:1065 syscall(ffff800035cc8fc0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800035cc8fc0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x60b4e1e63b0, count: -9 ddb> show registers rdi 0 rsi 0 rbp 0xffff800035cc8980 rbx 0 rdx 0xffff8000015b8580 rcx 0xffffffff rax 0xffff80002a77da08 r8 0xffffffffffffffff r9 0xfffffd0007ffd750 r10 0xd9f973bc80d49da7 r11 0x3ea526e016e32d13 r12 0xfffffd00665dedd8 r13 0 r14 0 r15 0xffff8000247b2000 rip 0xffffffff83291f73 ufs_lookup+0x613 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800035cc8890 ss 0x10 ufs_lookup+0x613: movzwl 0x4(%r15,%r14,1),%ebx ddb> show proc PROC (syz-executor) tid=337849 pid=15508 tcnt=2 stat=onproc flags process=1 proc=4000000 runpri=65, usrpri=86, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a77d240,0xffff80002a77cd20 process=0xffff80003c975fa0 user=0xffff800035cc4000, vmspace=0xfffffd006d9e8b98 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 90981 159503 82253 -1 3 0x10 0x80 fsleep syz-executor 90981 427818 82253 -1 3 0x10 0x4000080 pipewr syz-executor 15508 393662 24218 0 3 0x1 0x80 fsleep syz-executor *15508 337849 24218 0 7 0x1 0x4000000 syz-executor 56349 302985 87600 0 3 0x1000 0x2000 suspend syz-executor 56349 83294 87600 0 3 0x1000 0x4080000 smrbar syz-executor 75505 499616 49661 0 3 0 0x80 fsleep syz-executor 75505 91184 49661 0 3 0 0x4000080 pipewr syz-executor 75505 59642 49661 0 3 0 0x4000080 pipewr syz-executor 87357 512431 10079 0 3 0x10 0x80 fsleep syz-executor 87357 244189 10079 0 3 0x10 0x4000080 kqread syz-executor 65708 182965 18021 0 3 0 0x80 fsleep syz-executor 65708 171301 18021 0 3 0 0x4000080 kqread syz-executor 87600 65133 91178 0 2 0x2 0xc80 syz-executor 26679 501856 59765 -1 4 0x2010 0x80000 syz-executor 26679 5432 59765 -1 4 0x2010 0x4080000 syz-executor 26679 319775 59765 -1 2 0x2010 0x4080000 syz-executor 26679 309564 59765 -1 3 0x2010 0x4080000 inode syz-executor 26679 462859 59765 -1 3 0x2010 0x4080000 inode syz-executor 26679 247656 59765 -1 3 0x2010 0x4080000 inode syz-executor 26679 186501 59765 -1 3 0x2010 0x4080000 inode syz-executor 26679 497090 59765 -1 3 0x2010 0x4000000 suspend syz-executor 69156 459614 0 0 3 0x14000 0x280 nfsidl nfsio 15476 95917 0 0 3 0x14000 0x280 nfsidl nfsio 85430 104876 0 0 3 0x14000 0x280 nfsidl nfsio 76941 270542 0 0 3 0x14000 0x280 nfsidl nfsio 37982 97607 0 0 3 0x14000 0x280 nfsidl nfsio 12428 291954 0 0 3 0x14000 0x280 nfsidl nfsio 99834 297481 0 0 3 0x14000 0x280 nfsidl nfsio 92307 262580 0 0 3 0x14000 0x280 nfsidl nfsio 19623 483623 0 0 3 0x14000 0x280 nfsidl nfsio 53507 104297 0 0 3 0x14000 0x280 nfsidl nfsio 20303 66204 0 0 3 0x14000 0x280 nfsidl nfsio 30756 474636 0 0 3 0x14000 0x280 nfsidl nfsio 94681 376523 0 0 3 0x14000 0x280 nfsidl nfsio 75305 79494 0 0 3 0x14000 0x280 nfsidl nfsio 50965 140601 0 0 3 0x14000 0x280 nfsidl nfsio 74700 6931 0 0 3 0x14000 0x280 nfsidl nfsio 68110 20923 0 0 3 0x14000 0x280 nfsidl nfsio 49304 149884 0 0 3 0x14000 0x280 nfsidl nfsio 79845 242801 0 0 3 0x14000 0x280 nfsidl nfsio 57422 163608 0 0 3 0x14000 0x280 nfsidl nfsio 10079 490468 91178 0 2 0x2 0xc80 syz-executor 18021 265260 91178 0 3 0x2 0x80 nanoslp syz-executor 59765 233553 91178 0 3 0x2 0x80 wait syz-executor 49661 20616 91178 0 2 0x2 0xc80 syz-executor 24218 156376 91178 0 2 0x2 0xc80 syz-executor 6085 472992 91178 0 3 0x2 0x80 nanoslp syz-executor 82253 397424 91178 0 2 0x2 0xc80 syz-executor 91178 409006 78203 0 3 0x2 0x80 kqread syz-executor 78203 480804 86808 0 3 0x100002 0x88 sigsusp ksh 86808 499118 21638 0 3 0x10 0x88 kqread sshd-session 21638 324882 78777 0 3 0x12 0x80 kqread sshd-session 56181 398886 1 0 3 0x100003 0x80 ttyin getty 78777 404690 1 0 3 0 0x88 kqread sshd 52281 211184 32428 73 3 0x1100010 0x80 kqread syslogd 32428 301996 1 0 3 0x100002 0x80 sbwait syslogd 10557 226413 1 0 3 0x100000 0x80 kqread resolvd 63123 280616 50211 77 3 0x100012 0x80 kqread dhcpleased 98828 436520 50211 77 3 0x100012 0x80 kqread dhcpleased 50211 42814 1 0 3 0 0x80 kqread dhcpleased 86296 414322 0 0 3 0x14000 0x200 bored smr 2898 479998 0 0 2 0x14000 0x200 zerothread 98566 175141 0 0 3 0x14000 0x200 aiodoned aiodoned 97020 282252 0 0 3 0x14000 0x200 syncer update 51777 304903 0 0 3 0x14000 0x200 cleaner cleaner 31502 324883 0 0 3 0x14000 0x200 reaper reaper 84193 496958 0 0 3 0x14000 0x200 pgdaemon pagedaemon 13623 95669 0 0 3 0x14000 0x200 bored viomb 82934 477444 0 0 3 0x14000 0x40000200 acpi0 acpi0 77950 431249 0 0 3 0x14000 0x200 bored softnet0 18257 15221 0 0 3 0x14000 0x200 bored systqmp 57967 400797 0 0 3 0x14000 0x200 bored systq 43555 64703 0 0 3 0x14000 0x40000200 tmoslp softclock 91691 358305 0 0 3 0x14000 0x40000200 idle0 1 130614 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11054 12185K 12437K 166960K 12503 0 pcb 17 14K 16K 166960K 140 0 rtable 246 8K 8K 166960K 471 0 pf 36 14K 17K 166960K 83 0 ifaddr 44 7K 7K 166960K 67 0 ifgroup 57 2K 2K 166960K 86 0 sysctl 3 1K 9K 166960K 7 0 counters 35 18K 18K 166960K 49 0 ioctlops 0 0K 4K 166960K 84 0 iov 0 0K 16K 166960K 44 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1304 82K 82K 166960K 1598 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 22 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 18 65K 97K 166960K 421 0 sigio 1 0K 0K 166960K 2 0 proc 59 59K 83K 166960K 624 0 subproc 72 4K 4K 166960K 99 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 22 0 in_multi 99 6K 6K 166960K 138 0 ether_multi 1 0K 0K 166960K 1 0 mrt 1 0K 0K 166960K 14 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 103 466K 466K 166960K 103 0 exec 0 0K 1K 166960K 421 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 239 151K 178K 166960K 5167 0 UVM aobj 13 2K 2K 166960K 16 0 pinsyscall 39 78K 94K 166960K 1599 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 6 0 NDP 13 0K 2K 166960K 45 0 temp 46 9112K 9126K 166960K 5954 0 kqueue 16 24K 29K 166960K 76 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 58 0 55 1 0 1 1 0 8 0 rtentry 136 150 0 39 4 0 4 4 0 8 0 unpcb 144 249 0 228 5 4 1 5 0 8 0 syncache 336 8 0 8 2 1 1 1 0 8 1 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 736 68 0 62 2 0 2 2 0 8 1 arp 96 24 0 6 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 549 0 534 10 5 5 7 0 8 3 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 37 0 12 1 0 1 1 0 8 0 pkpcb 40 5 0 5 2 1 1 1 0 8 1 kcovpl 48 11 0 3 1 0 1 1 0 8 0 ppxss 1072 11 0 10 1 0 1 1 0 8 0 pfstscr 40 2 0 2 1 0 1 1 0 8 1 pfrktable 1344 5 0 4 1 0 1 1 0 8 0 pfanchor 1288 2 0 2 1 1 0 1 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfstkey 128 2 0 2 1 0 1 1 0 8 1 pfstate 384 1 0 1 1 0 1 1 0 8 1 pfrule 1360 5 0 4 1 0 1 1 0 8 0 rttmr 136 2 0 2 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 610 0 152 30 1 29 30 0 8 0 art_table 40 611 0 152 5 0 5 5 0 8 0 art_node 32 150 0 49 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 1 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 72 17 0 7 1 0 1 1 0 8 0 shmpl 112 13 0 3 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2065 0 601 92 0 92 92 0 8 0 ffsino 256 2065 0 601 92 0 92 92 0 8 0 nchpl 144 2623 0 912 64 0 64 64 0 8 0 rtmask 32 2 0 2 1 0 1 1 0 8 1 vnodes 216 2274 0 0 127 0 127 127 0 8 0 namei 1024 8411 0 8407 3 2 1 2 0 8 0 pfiaddrpl 120 1 0 1 1 1 0 1 0 8 0 kstatmem 264 47 0 20 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 16943 0 16943 4 3 1 4 1 8 1 plimitpl 152 68 0 50 1 0 1 1 0 8 0 sigapl 424 730 0 667 8 0 8 8 0 8 0 knotepl 120 12369 0 12117 22 13 9 16 0 8 1 kqueuepl 184 91 0 79 1 0 1 1 0 8 0 pipepl 304 152 0 123 3 0 3 3 0 8 0 fdescpl 448 697 0 667 5 1 4 5 0 8 0 filepl 120 3586 0 3349 16 4 12 12 0 8 4 lockfpl 104 165 0 162 1 0 1 1 0 8 0 lockfspl 48 42 0 39 1 0 1 1 0 8 0 sessionpl 144 36 0 26 1 0 1 1 0 8 0 pgrppl 48 49 0 31 1 0 1 1 0 8 0 ucredpl 104 522 0 508 1 0 1 1 0 8 0 zombiepl 144 669 0 667 1 0 1 1 0 8 0 processpl 1152 730 0 667 5 0 5 5 0 8 0 procpl 664 1109 0 1032 8 0 8 8 0 8 1 sosppl 176 1 0 1 1 1 0 1 0 8 0 sockpl 552 872 0 833 13 7 6 11 0 8 2 mcl64k 65536 86 0 86 2 1 1 1 0 8 1 mcl16k 16384 6 0 6 1 1 0 1 0 8 0 mcl12k 12288 2 0 2 2 1 1 1 0 8 1 mcl9k128 9344 3 0 3 1 1 0 1 0 8 0 mcl8k 8192 14 0 14 2 1 1 1 0 8 1 mcl4k 4096 2837 0 2785 14 6 8 14 0 8 1 mcl2k 2048 345 0 341 7 3 4 4 0 8 1 mextrefs 64 227 0 227 1 0 1 1 0 8 1 mtagpl 96 5 0 5 1 1 0 1 0 8 0 mbufpl 256 7095 0 6925 20 2 18 18 0 8 0 bufpl 272 7153 0 937 415 0 415 415 0 8 0 anonpl 24 138068 0 130927 84 16 68 68 0 187 0 amapchunkpl 152 16273 0 15743 36 13 23 32 0 158 1 amappl16 200 3001 0 2733 37 10 27 27 0 8 0 amappl15 192 7 0 7 1 1 0 1 0 8 0 amappl14 184 449 0 448 1 0 1 1 0 8 0 amappl13 176 125 0 115 1 0 1 1 0 8 0 amappl12 168 945 0 916 2 0 2 2 0 8 0 amappl11 160 6 0 6 1 1 0 1 0 8 0 amappl10 152 55 0 45 1 0 1 1 0 8 0 amappl9 144 271 0 271 1 1 0 1 0 8 0 amappl8 136 103 0 102 1 0 1 1 0 8 0 amappl7 128 164 0 153 1 0 1 1 0 8 0 amappl6 120 184 0 182 1 0 1 1 0 8 0 amappl5 112 90 0 82 1 0 1 1 0 8 0 amappl4 104 287 0 271 1 0 1 1 0 8 0 amappl3 96 3088 0 2968 5 1 4 4 0 8 0 amappl2 88 551 0 494 2 0 2 2 0 8 0 amappl1 80 11557 0 10999 13 1 12 13 0 8 0 amappl 88 4391 0 4215 6 1 5 5 0 92 0 uvmvnodes 80 105 0 0 3 0 3 3 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 15 0 3 1 0 1 1 0 8 0 uaddrrnd 24 697 0 667 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 697 0 667 1 0 1 1 0 8 0 vmmpekpl 168 7291 0 7254 2 0 2 2 0 8 0 vmmpepl 168 53430 0 51327 115 13 102 102 0 357 0 vmsppl 368 696 0 667 4 1 3 4 0 8 0 rwobjpl 40 18421 0 17188 16 1 15 15 0 8 0 pdppl 4096 1400 0 1334 106 38 68 82 0 8 2 pvpl 32 337242 0 324072 172 26 146 146 0 265 1 pmappl 216 696 0 667 3 0 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 805 0 60 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(fffffd005d585ea0,ffff800035cc8d50,ffff800035cc8d80) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff800035cc8d20) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff800035cc8d20) at namei+0x7c3 sys/kern/vfs_lookup.c:250 vn_open(ffff800035cc8d20,216,0) at vn_open+0x22e sys/kern/vfs_vnops.c:109 doopenat(ffff80002a77da08,ffffff9c,200000000240,615,0,0,ba0eba6ebb0d3541) at doopenat+0x352 sys/kern/vfs_syscalls.c:1163 sys_open(ffff80002a77da08,ffff800035cc8fc0,ffff800035cc8f10) at sys_open+0x59 sys/kern/vfs_syscalls.c:1065 syscall(ffff800035cc8fc0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800035cc8fc0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x60b4e1e63b0, 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(fffffd005d585ea0,ffff800035cc8d50,ffff800035cc8d80) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff800035cc8d20) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff800035cc8d20) at namei+0x7c3 sys/kern/vfs_lookup.c:250 vn_open(ffff800035cc8d20,216,0) at vn_open+0x22e sys/kern/vfs_vnops.c:109 doopenat(ffff80002a77da08,ffffff9c,200000000240,615,0,0,ba0eba6ebb0d3541) at doopenat+0x352 sys/kern/vfs_syscalls.c:1163 sys_open(ffff80002a77da08,ffff800035cc8fc0,ffff800035cc8f10) at sys_open+0x59 sys/kern/vfs_syscalls.c:1065 syscall(ffff800035cc8fc0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800035cc8fc0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x60b4e1e63b0, count: -9