login: uvm_fault(0xffffffff839feec0, 0xffff8000295c2004, 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 *153960 36124 0 0 0x4000000 0 syz-executor ufs_lookup() at ufs_lookup+0x613 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffff2806eee35f8,ffff8000314b7d28,ffff8000314b7d58) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000314b7cf8) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff8000314b7cf8) at namei+0x7c3 sys/kern/vfs_lookup.c:250 sys_truncate(ffff80002a766010,ffff8000314b7ec0,ffff8000314b7e10) at sys_truncate+0x84 sys/kern/vfs_syscalls.c:2831 syscall(ffff8000314b7ec0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000314b7ec0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73e781b7720, 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(0xffffffff839feec0, 0xffff8000295c2004, 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(fffff2806eee35f8,ffff8000314b7d28,ffff8000314b7d58) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000314b7cf8) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff8000314b7cf8) at namei+0x7c3 sys/kern/vfs_lookup.c:250 sys_truncate(ffff80002a766010,ffff8000314b7ec0,ffff8000314b7e10) at sys_truncate+0x84 sys/kern/vfs_syscalls.c:2831 syscall(ffff8000314b7ec0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000314b7ec0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73e781b7720, count: -7 ddb> show registers rdi 0 rsi 0x2 rbp 0xffff8000314b7b30 rbx 0 rdx 0xffff8000015af640 rcx 0xffffffff rax 0xffff80002a766010 r8 0xffffffffffffffff r9 0xfffff28007ffd478 r10 0x7f15e32ff1c6fb87 r11 0xc2d7301bfd930d59 r12 0xfffff2806d57fcc8 r13 0 r14 0 r15 0xffff8000295c2000 rip 0xffffffff83291f73 ufs_lookup+0x613 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000314b7a40 ss 0x10 ufs_lookup+0x613: movzwl 0x4(%r15,%r14,1),%ebx ddb> show proc PROC (syz-executor) tid=153960 pid=36124 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=82, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a767a00,0xffff80003c8f6800 process=0xffff800045ff9f98 user=0xffff8000314b2000, vmspace=0xfffff2800dc9f2f8 estcpu=32, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 67573 10854 95659 0 2 0 0 syz-executor 67573 346538 95659 0 3 0 0x4000080 lockf syz-executor 67573 111244 95659 0 3 0 0x4000080 lockf syz-executor 36124 263987 19672 0 2 0 0 syz-executor *36124 153960 19672 0 7 0 0x4000000 syz-executor 29008 721 65724 0 2 0 0 syz-executor 29008 113364 65724 0 3 0 0x4000080 fsleep syz-executor 48795 93357 67339 0 3 0 0x80 nanoslp syz-executor 48795 161853 67339 0 3 0 0x4000080 netacc syz-executor 48795 170443 67339 0 3 0 0x4000080 fsleep syz-executor 32070 235340 49430 0 3 0 0x80 nanoslp syz-executor 32070 372748 49430 0 3 0 0x4000080 msgwait syz-executor 13662 397388 1 0 3 0x100003 0x80 ttyin getty 65724 467204 93466 0 3 0x2 0x80 nanoslp syz-executor 59056 228334 0 0 3 0x14000 0x200 acct acct 94030 284257 0 0 3 0x14000 0x280 nfsidl nfsio 91670 350182 0 0 3 0x14000 0x280 nfsidl nfsio 80060 39977 0 0 3 0x14000 0x280 nfsidl nfsio 23036 103985 0 0 3 0x14000 0x280 nfsidl nfsio 59688 283862 0 0 3 0x14000 0x280 nfsidl nfsio 85140 438610 0 0 3 0x14000 0x280 nfsidl nfsio 98296 103884 0 0 3 0x14000 0x280 nfsidl nfsio 86586 69390 0 0 3 0x14000 0x280 nfsidl nfsio 58392 263676 0 0 3 0x14000 0x280 nfsidl nfsio 46500 241279 0 0 3 0x14000 0x280 nfsidl nfsio 37672 124501 0 0 3 0x14000 0x280 nfsidl nfsio 3164 43852 0 0 3 0x14000 0x280 nfsidl nfsio 80921 202652 0 0 3 0x14000 0x280 nfsidl nfsio 93138 48469 0 0 3 0x14000 0x280 nfsidl nfsio 15054 471609 0 0 3 0x14000 0x280 nfsidl nfsio 68596 465189 0 0 3 0x14000 0x280 nfsidl nfsio 16524 126878 0 0 3 0x14000 0x280 nfsidl nfsio 45552 483075 0 0 3 0x14000 0x280 nfsidl nfsio 47801 10844 0 0 3 0x14000 0x280 nfsidl nfsio 69669 382166 0 0 3 0x14000 0x280 nfsidl nfsio 95659 396025 93466 0 3 0x2 0x80 nanoslp syz-executor 67339 365015 93466 0 3 0x2 0x80 nanoslp syz-executor 49430 326173 93466 0 3 0x2 0x80 nanoslp syz-executor 19672 3900 93466 0 3 0x2 0x80 nanoslp syz-executor 93466 160369 31480 0 3 0x2 0x80 wait syz-executor 31480 315265 24732 0 3 0x100002 0x88 sigsusp ksh 24732 283143 21585 0 3 0x10 0x88 kqread sshd-session 21585 522492 193 0 3 0x12 0x80 kqread sshd-session 193 1346 1 0 3 0 0x88 kqread sshd 57133 290560 37351 73 3 0x1100010 0x80 kqread syslogd 37351 457361 1 0 3 0x100002 0x80 sbwait syslogd 56140 118120 1 0 3 0x100000 0x80 kqread resolvd 58660 390470 70587 77 3 0x100012 0x80 kqread dhcpleased 56037 363809 70587 77 3 0x100012 0x80 kqread dhcpleased 70587 42683 1 0 3 0 0x80 kqread dhcpleased 40052 262909 0 0 3 0x14000 0x200 bored smr 8543 302029 0 0 2 0x14000 0x200 zerothread 98756 158218 0 0 3 0x14000 0x200 aiodoned aiodoned 67078 456486 0 0 3 0x14000 0x200 syncer update 61910 101217 0 0 3 0x14000 0x200 cleaner cleaner 37212 460536 0 0 3 0x14000 0x200 reaper reaper 82453 487939 0 0 3 0x14000 0x200 pgdaemon pagedaemon 17979 498966 0 0 3 0x14000 0x200 bored viomb 63915 455992 0 0 3 0x14000 0x40000200 acpi0 acpi0 31230 3464 0 0 3 0x14000 0x200 bored softnet0 9933 19777 0 0 3 0x14000 0x200 bored systqmp 36275 275081 0 0 3 0x14000 0x200 bored systq 83911 493247 0 0 3 0x14000 0x40000200 tmoslp softclock 28062 480344 0 0 3 0x14000 0x40000200 idle0 1 75312 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 11063 12121K 12390K 166960K 12816 0 pcb 19 13K 14K 166960K 203 0 rtable 244 8K 10K 166960K 506 0 pf 35 14K 20K 166960K 168 0 ifaddr 40 7K 7K 166960K 70 0 ifgroup 50 2K 2K 166960K 99 0 sysctl 3 1K 9K 166960K 79 0 counters 33 17K 18K 166960K 53 0 ioctlops 0 0K 4K 166960K 246 0 iov 0 0K 16K 166960K 25 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1389 87K 88K 166960K 1986 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 9 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 115 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 15 53K 89K 166960K 849 0 sigio 0 0K 0K 166960K 9 0 proc 60 59K 108K 166960K 647 0 subproc 72 4K 4K 166960K 91 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 4 0K 0K 166960K 66 0 in_multi 98 6K 6K 166960K 137 0 ether_multi 1 0K 0K 166960K 3 0 mrt 1 0K 0K 166960K 29 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 229 1023K 1023K 166960K 229 0 exec 0 0K 1K 166960K 464 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 207 158K 178K 166960K 8906 0 UVM aobj 19 2K 4K 166960K 20 0 pinsyscall 36 72K 92K 166960K 1985 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 31 0 NDP 11 0K 2K 166960K 48 0 temp 74 9116K 9188K 166960K 27909 0 kqueue 13 20K 32K 166960K 173 0 SYN cache 2 16K 24K 166960K 3 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 76 0 73 1 0 1 1 0 8 0 rtentry 136 144 0 38 4 0 4 4 0 8 0 unpcb 144 468 0 453 3 1 2 2 0 8 1 syncache 336 12 0 12 2 1 1 1 0 8 1 tcpcb 736 202 0 160 5 1 4 4 0 8 0 arp 96 22 0 6 1 0 1 1 0 8 0 ipq 40 3 0 0 1 0 1 1 0 8 0 ipqe 40 3 0 0 1 0 1 1 0 8 0 inpcb 328 719 0 604 14 3 11 11 0 8 1 ip6q 72 5 0 2 1 0 1 1 0 8 0 ip6af 40 11 0 7 1 0 1 1 0 8 0 nd6 112 35 0 8 1 0 1 1 0 8 0 pkpcb 40 10 0 10 2 1 1 1 0 8 1 kcovpl 48 10 0 2 1 0 1 1 0 8 0 ppxss 1072 14 0 14 1 0 1 1 0 8 1 pppxif 1416 1 0 1 1 1 0 1 0 8 0 pfstscr 40 5 0 5 2 1 1 1 0 8 1 pfrktable 1344 11 0 11 2 1 1 1 0 8 1 pfanchor 1288 11 0 5 1 0 1 1 0 8 0 pftag 88 1 0 1 1 0 1 1 0 8 1 pfqueue 320 2 0 2 2 1 1 1 0 8 1 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 10 0 8 1 0 1 1 0 8 0 pfstate 384 5 0 4 1 0 1 1 0 8 0 pfrule 1360 21 0 21 2 1 1 1 0 8 1 rttmr 136 3 0 3 2 1 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 567 0 114 29 0 29 29 0 8 0 art_table 40 568 0 114 5 0 5 5 0 8 0 art_node 32 143 0 47 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 5 1 1 0 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 72 109 0 99 1 0 1 1 0 8 0 shmpl 112 17 0 1 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2845 0 1390 92 0 92 92 0 8 0 ffsino 256 2846 0 1391 92 0 92 92 0 8 0 nchpl 144 4090 0 2392 64 0 64 64 0 8 0 vnodes 216 3339 0 0 186 0 186 186 0 8 0 namei 1024 13747 0 13746 2 1 1 2 0 8 0 pfiaddrpl 120 3 0 3 2 1 1 1 0 8 1 kstatmem 264 57 0 34 2 0 2 2 0 8 0 scsiplug 72 2 0 2 2 1 1 1 0 8 1 scxspl 216 19990 0 19990 3 2 1 3 1 8 1 plimitpl 152 216 0 198 1 0 1 1 0 8 0 sigapl 424 1156 0 1095 8 0 8 8 0 8 0 knotepl 120 48898 0 48851 28 11 17 17 0 8 13 kqueuepl 184 278 0 269 4 3 1 4 0 8 0 pipepl 304 202 0 175 3 0 3 3 0 8 0 fdescpl 448 1122 0 1095 5 1 4 5 0 8 0 filepl 120 6605 0 6287 14 2 12 12 0 8 0 lockfpl 104 359 0 353 1 0 1 1 0 8 0 lockfspl 48 134 0 130 1 0 1 1 0 8 0 sessionpl 144 50 0 42 1 0 1 1 0 8 0 pgrppl 48 65 0 49 1 0 1 1 0 8 0 ucredpl 104 955 0 944 1 0 1 1 0 8 0 zombiepl 144 1098 0 1095 1 0 1 1 0 8 0 processpl 1152 1156 0 1095 5 0 5 5 0 8 0 procpl 664 2178 0 2110 7 0 7 7 0 8 0 sosppl 176 5 0 5 1 0 1 1 0 8 1 sockpl 552 1296 0 1163 14 3 11 11 0 8 0 mcl64k 65536 107 0 106 1 0 1 1 0 8 0 mcl16k 16384 16 0 16 2 1 1 1 0 8 1 mcl12k 12288 1 0 1 1 1 0 1 0 8 0 mcl9k128 9344 3 0 3 2 1 1 1 0 8 1 mcl8k 8192 19 0 19 2 1 1 1 0 8 1 mcl4k 4096 3548 0 3497 15 7 8 15 0 8 0 mcl2k2 2112 3 0 3 1 1 0 1 0 8 0 mcl2k 2048 632 0 631 3 2 1 3 0 8 0 mextrefs 64 409 0 409 2 1 1 1 0 8 1 mtagpl 96 5 0 4 1 0 1 1 0 8 0 mbufpl 256 11940 0 11797 17 2 15 17 0 8 0 bufpl 272 7561 0 1345 415 0 415 415 0 8 0 anonpl 24 175758 0 172666 58 12 46 56 0 187 3 amapchunkpl 152 30218 0 29797 42 14 28 35 0 158 8 amappl16 200 3338 0 3309 25 10 15 20 0 8 5 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 432 0 431 1 0 1 1 0 8 0 amappl13 176 124 0 113 1 0 1 1 0 8 0 amappl12 168 1367 0 1341 2 0 2 2 0 8 0 amappl11 160 76 0 75 1 0 1 1 0 8 0 amappl10 152 57 0 47 1 0 1 1 0 8 0 amappl9 144 276 0 276 1 1 0 1 0 8 0 amappl8 136 101 0 100 1 0 1 1 0 8 0 amappl7 128 148 0 137 1 0 1 1 0 8 0 amappl6 120 172 0 170 1 0 1 1 0 8 0 amappl5 112 88 0 80 1 0 1 1 0 8 0 amappl4 104 284 0 268 1 0 1 1 0 8 0 amappl3 96 5948 0 5850 4 1 3 4 0 8 0 amappl2 88 529 0 474 2 0 2 2 0 8 0 amappl1 80 13082 0 12542 13 1 12 13 0 8 0 amappl 88 8067 0 7924 5 0 5 5 0 92 0 uvmvnodes 80 126 0 0 3 0 3 3 0 8 0 dma32768 32768 1 0 1 1 1 0 1 0 8 0 dma8192 8192 1 0 1 1 1 0 1 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 254 0 254 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 20 0 19 1 0 1 1 0 8 0 aobjpl 72 19 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1122 0 1095 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1122 0 1095 1 0 1 1 0 8 0 vmmpekpl 168 10505 0 10455 3 0 3 3 0 8 0 vmmpepl 168 76852 0 75173 103 11 92 96 0 357 7 vmsppl 368 1121 0 1095 4 1 3 4 0 8 0 rwobjpl 40 22620 0 21649 14 0 14 14 0 8 0 pdppl 4096 2250 0 2190 106 40 66 78 0 8 6 pvpl 32 483818 0 475410 136 26 110 127 0 265 7 pmappl 216 1121 0 1095 2 0 2 2 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 803 0 63 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(fffff2806eee35f8,ffff8000314b7d28,ffff8000314b7d58) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000314b7cf8) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff8000314b7cf8) at namei+0x7c3 sys/kern/vfs_lookup.c:250 sys_truncate(ffff80002a766010,ffff8000314b7ec0,ffff8000314b7e10) at sys_truncate+0x84 sys/kern/vfs_syscalls.c:2831 syscall(ffff8000314b7ec0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000314b7ec0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73e781b7720, 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(fffff2806eee35f8,ffff8000314b7d28,ffff8000314b7d58) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000314b7cf8) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff8000314b7cf8) at namei+0x7c3 sys/kern/vfs_lookup.c:250 sys_truncate(ffff80002a766010,ffff8000314b7ec0,ffff8000314b7e10) at sys_truncate+0x84 sys/kern/vfs_syscalls.c:2831 syscall(ffff8000314b7ec0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000314b7ec0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73e781b7720, count: -7