uvm_fault(0xffffffff83a694f0, 0xffff800025ac2004, 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 *119379 50136 0 0 0x4000000 0 syz-executor ufs_lookup() at ufs_lookup+0x613 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffff3006d530490,ffff80003c900e28,ffff80003c900e58) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80003c900df8) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff80003c900df8) at namei+0x7c3 sys/kern/vfs_lookup.c:250 domknodat(ffff800035cbe800,ffffff9c,200000000200,d3d32fb2,202) at domknodat+0xb4 sys/kern/vfs_syscalls.c:1531 syscall(ffff80003c900fe0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c900fe0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x87f72d73f0, 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(0xffffffff83a694f0, 0xffff800025ac2004, 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(fffff3006d530490,ffff80003c900e28,ffff80003c900e58) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80003c900df8) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff80003c900df8) at namei+0x7c3 sys/kern/vfs_lookup.c:250 domknodat(ffff800035cbe800,ffffff9c,200000000200,d3d32fb2,202) at domknodat+0xb4 sys/kern/vfs_syscalls.c:1531 syscall(ffff80003c900fe0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c900fe0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x87f72d73f0, count: -7 ddb> show registers rdi 0 rsi 0x2 rbp 0xffff80003c900b90 rbx 0 rdx 0 rcx 0xffffffff rax 0xffff800035cbe800 r8 0xffffffffffffffff r9 0xfffff30007ffd680 r10 0xdd9458402f6d8b6f r11 0xbeaeff4cd933597f r12 0xfffff30067b94000 r13 0 r14 0 r15 0xffff800025ac2000 rip 0xffffffff82f4eb03 ufs_lookup+0x613 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c900aa0 ss 0x10 ufs_lookup+0x613: movzwl 0x4(%r15,%r14,1),%ebx ddb> show proc PROC (syz-executor) tid=119379 pid=50136 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=50, usrpri=50, slppri=16, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800035cbefc8,0xffff80002f0b1780 process=0xffff80003c90a420 user=0xffff80003c8fc000, vmspace=0xfffff3006d1988b0 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 50136 254773 79738 0 2 0 0 syz-executor *50136 119379 79738 0 7 0 0x4000000 syz-executor 50136 299360 79738 0 2 0 0x4000000 syz-executor 50136 284758 79738 0 2 0 0x4000000 syz-executor 7653 320830 43093 0 2 0 0 syz-executor 7653 28203 43093 0 3 0 0x4000080 fsleep syz-executor 51467 88483 67668 0 2 0 0 syz-executor 51467 342083 67668 0 3 0 0x4000080 fsleep syz-executor 87249 99090 31423 0 3 0 0x80 nanoslp syz-executor 87249 506699 31423 0 3 0 0x4000080 netcon syz-executor 87249 182351 31423 0 3 0 0x4000080 fsleep syz-executor 92371 234870 98867 0 2 0 0 syz-executor 92371 60126 98867 0 3 0 0x4000080 piperd syz-executor 92371 434018 98867 0 3 0 0x4000080 fsleep syz-executor 43759 268568 88553 0 2 0 0 syz-executor 43759 395242 88553 0 3 0 0x4000080 fsleep syz-executor 70696 307277 94926 0 2 0 0xc80 syz-executor 70696 80439 94926 0 3 0 0x4000080 kqsel syz-executor 70696 8628 94926 0 3 0 0x4000080 fsleep syz-executor 74654 522710 0 0 3 0x14000 0x280 nfsidl nfsio 23307 439057 0 0 3 0x14000 0x280 nfsidl nfsio 1371 556 0 0 3 0x14000 0x280 nfsidl nfsio 49908 147774 0 0 3 0x14000 0x280 nfsidl nfsio 25520 3222 0 0 3 0x14000 0x280 nfsidl nfsio 30681 9850 0 0 3 0x14000 0x280 nfsidl nfsio 79872 236466 0 0 3 0x14000 0x280 nfsidl nfsio 82572 218052 0 0 3 0x14000 0x280 nfsidl nfsio 37511 207902 0 0 3 0x14000 0x280 nfsidl nfsio 12987 251206 0 0 3 0x14000 0x280 nfsidl nfsio 50502 73383 0 0 3 0x14000 0x280 nfsidl nfsio 67034 303310 0 0 3 0x14000 0x280 nfsidl nfsio 3134 204031 0 0 3 0x14000 0x280 nfsidl nfsio 23553 336302 0 0 3 0x14000 0x280 nfsidl nfsio 37594 359964 0 0 3 0x14000 0x280 nfsidl nfsio 22635 316223 0 0 3 0x14000 0x280 nfsidl nfsio 61640 91469 0 0 3 0x14000 0x280 nfsidl nfsio 18907 352694 0 0 3 0x14000 0x280 nfsidl nfsio 43344 402662 0 0 3 0x14000 0x280 nfsidl nfsio 42117 378298 0 0 3 0x14000 0x280 nfsidl nfsio 43093 266749 58799 0 3 0x2 0x80 nanoslp syz-executor 34176 437947 0 0 3 0x14000 0x200 acct acct 31423 213342 58799 0 3 0x2 0x80 nanoslp syz-executor 94926 173904 58799 0 3 0x2 0x80 nanoslp syz-executor 67668 376173 58799 0 3 0x2 0x80 nanoslp syz-executor 88553 470767 58799 0 3 0x2 0x80 nanoslp syz-executor 79738 498824 58799 0 3 0x2 0x80 nanoslp syz-executor 98867 485922 58799 0 3 0x2 0x80 nanoslp syz-executor 58799 258525 1 0 2 0x2 0 syz-executor 68583 242221 21628 0 3 0x10 0x88 kqread sshd-session 21628 495909 63304 0 3 0x12 0x80 kqread sshd-session 24344 437783 1 0 3 0x100003 0x80 ttyin getty 63304 44448 1 0 3 0 0x88 kqread sshd 21676 285278 96180 73 3 0x1100010 0x80 kqread syslogd 96180 384314 1 0 3 0x100002 0x80 sbwait syslogd 506 445893 1 0 3 0x100000 0x80 kqread resolvd 76547 374695 87718 77 3 0x100012 0x80 kqread dhcpleased 9900 295005 87718 77 3 0x100012 0x80 kqread dhcpleased 87718 324417 1 0 3 0 0x80 kqread dhcpleased 35109 510602 0 0 3 0x14000 0x200 bored smr 91947 516561 0 0 2 0x14000 0x200 zerothread 76479 492004 0 0 3 0x14000 0x200 aiodoned aiodoned 36815 339670 0 0 3 0x14000 0x200 syncer update 17583 353131 0 0 3 0x14000 0x200 cleaner cleaner 15757 218724 0 0 3 0x14000 0x200 reaper reaper 11905 41517 0 0 3 0x14000 0x200 pgdaemon pagedaemon 53929 219105 0 0 3 0x14000 0x200 bored viomb 32445 512803 0 0 3 0x14000 0x40000200 acpi0 acpi0 20184 220112 0 0 3 0x14000 0x200 bored softnet0 11705 187858 0 0 3 0x14000 0x200 bored systqmp 81519 283199 0 0 3 0x14000 0x200 bored systq 90889 6360 0 0 3 0x14000 0x40000200 tmoslp softclock 10605 402637 0 0 3 0x14000 0x40000200 idle0 1 314651 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 11072 12194K 12397K 166960K 13084 0 pcb 20 14K 16K 166960K 160 0 rtable 228 8K 11K 166960K 584 0 pf 36 14K 21K 166960K 152 0 ifaddr 40 7K 7K 166960K 78 0 ifgroup 50 2K 2K 166960K 119 0 sysctl 4 1K 9K 166960K 11 0 counters 33 17K 18K 166960K 58 0 ioctlops 0 0K 4K 166960K 394 0 iov 0 0K 16K 166960K 51 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1356 85K 85K 166960K 2260 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 21 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 218 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 17 61K 228K 166960K 1128 0 sigio 0 0K 0K 166960K 10 0 proc 60 59K 124K 166960K 636 0 subproc 72 4K 4K 166960K 90 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 1 0K 0K 166960K 232 0 in_multi 89 5K 6K 166960K 155 0 ether_multi 1 0K 0K 166960K 6 0 mrt 0 0K 0K 166960K 32 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 235 1049K 1049K 166960K 235 0 exec 0 0K 1K 166960K 520 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 219 151K 175K 166960K 11291 0 UVM aobj 31 2K 2K 166960K 33 0 pinsyscall 37 74K 96K 166960K 2263 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 39 0 NDP 11 0K 2K 166960K 51 0 temp 52 9114K 9175K 166960K 23106 0 kqueue 14 22K 29K 166960K 179 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 94 0 91 1 0 1 1 0 8 0 rtentry 136 160 0 68 4 0 4 4 0 8 0 unpcb 144 896 0 877 7 3 4 4 0 8 3 syncache 336 12 0 12 2 1 1 1 0 8 1 tcpqe 32 2 0 2 1 0 1 1 0 8 1 tcpcb 736 268 0 259 5 1 4 4 0 8 3 arp 96 22 0 8 1 0 1 1 0 8 0 inpcb 328 964 0 943 18 8 10 12 0 8 8 nd6 112 49 0 18 1 0 1 1 0 8 0 pkpcb 40 6 0 6 2 1 1 1 0 8 1 kcovpl 48 10 0 2 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1072 14 0 14 2 1 1 1 0 8 1 pppxif 1416 1 0 1 1 1 0 1 0 8 0 pfstscr 40 16 0 11 1 0 1 1 0 8 0 pffrag 232 2 0 1 1 0 1 1 0 482 0 pffrnode 88 2 0 1 1 0 1 1 0 8 0 pffrent 40 3 0 2 1 0 1 1 0 8 0 pfrktable 1344 19 0 19 2 1 1 1 0 8 1 pfsrclim 320 1 0 1 1 1 0 1 0 8 0 pfstlim 224 2 0 2 1 0 1 1 0 8 1 pfanchor 1288 8 0 3 2 1 1 1 0 8 0 pftag 88 10 0 5 1 0 1 1 0 8 0 pfstitem 24 9 0 2 1 0 1 1 0 8 0 pfstkey 128 16 0 10 1 0 1 1 0 8 0 pfstate 384 10 0 6 1 0 1 1 0 8 0 pfrule 1360 13 0 13 2 1 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 744 0 257 37 3 34 34 0 8 1 art_table 40 745 0 257 6 0 6 6 0 8 0 art_node 32 160 0 77 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 1 2 1 1 1 0 8 0 semapl 72 182 0 172 1 0 1 1 0 8 0 shmpl 112 30 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 3348 0 1894 92 0 92 92 0 8 0 ffsino 256 3348 0 1894 92 0 92 92 0 8 0 nchpl 144 4886 0 3187 64 0 64 64 0 8 0 rtmask 32 3 0 3 2 1 1 1 0 8 1 vnodes 216 3947 0 0 220 0 220 220 0 8 0 namei 1024 16072 0 16071 3 2 1 2 0 8 0 pfiaddrpl 120 3 0 3 2 1 1 1 0 8 1 kstatmem 264 63 0 40 2 0 2 2 0 8 0 scsiplug 72 2 0 2 2 1 1 1 0 8 1 scxspl 216 22521 0 22521 11 3 8 8 1 8 8 plimitpl 152 187 0 171 1 0 1 1 0 8 0 sigapl 424 1416 0 1354 9 1 8 8 0 8 0 knotepl 120 39384 0 39297 23 13 10 16 0 8 6 kqueuepl 184 247 0 235 3 0 3 3 0 8 2 pipepl 304 185 0 157 3 0 3 3 0 8 0 fdescpl 448 1382 0 1354 5 1 4 5 0 8 0 filepl 120 8045 0 7817 14 3 11 11 0 8 3 lockfpl 104 249 0 245 1 0 1 1 0 8 0 lockfspl 48 115 0 111 1 0 1 1 0 8 0 sessionpl 144 52 0 43 1 0 1 1 0 8 0 pgrppl 48 107 0 90 1 0 1 1 0 8 0 ucredpl 104 1534 0 1523 1 0 1 1 0 8 0 zombiepl 144 1355 0 1354 1 0 1 1 0 8 0 processpl 1152 1416 0 1354 5 0 5 5 0 8 0 procpl 664 2758 0 2684 8 1 7 7 0 8 0 sosppl 176 6 0 6 2 1 1 1 0 8 1 sockpl 552 1982 0 1939 18 6 12 12 0 8 8 mcl64k 65536 117 0 117 2 1 1 1 0 8 1 mcl16k 16384 36 0 36 2 1 1 1 0 8 1 mcl12k 12288 21 0 21 1 0 1 1 0 8 1 mcl9k128 9344 5 0 5 1 0 1 1 0 8 1 mcl8k 8192 95 0 95 2 1 1 1 0 8 1 mcl4k 4096 4037 0 3978 14 6 8 14 0 8 0 mcl2k2 2112 5 0 5 2 1 1 1 0 8 1 mcl2k 2048 818 0 815 6 3 3 4 0 8 2 mextrefs 64 716 0 716 2 1 1 1 0 8 1 mtagpl 96 9 0 7 1 0 1 1 0 8 0 mbufpl 256 16840 0 16652 21 0 21 21 0 8 5 bufpl 272 8156 0 1940 415 0 415 415 0 8 0 anonpl 24 249424 0 246298 63 6 57 57 0 187 12 amapchunkpl 152 54154 0 53683 43 12 31 35 0 158 11 amappl16 200 3575 0 3539 26 10 16 19 0 8 12 amappl15 192 2 0 2 1 1 0 1 0 8 0 amappl14 184 439 0 439 1 0 1 1 0 8 1 amappl13 176 122 0 112 1 0 1 1 0 8 0 amappl12 168 1634 0 1607 2 0 2 2 0 8 0 amappl11 160 3 0 3 1 1 0 1 0 8 0 amappl10 152 65 0 54 1 0 1 1 0 8 0 amappl9 144 270 0 270 1 1 0 1 0 8 0 amappl8 136 105 0 104 1 0 1 1 0 8 0 amappl7 128 144 0 133 1 0 1 1 0 8 0 amappl6 120 169 0 168 1 0 1 1 0 8 0 amappl5 112 98 0 89 1 0 1 1 0 8 0 amappl4 104 278 0 261 1 0 1 1 0 8 0 amappl3 96 7642 0 7532 4 0 4 4 0 8 1 amappl2 88 548 0 491 2 0 2 2 0 8 0 amappl1 80 14211 0 13670 13 1 12 13 0 8 0 amappl 88 10433 0 10276 5 0 5 5 0 92 0 uvmvnodes 80 129 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 255 0 255 2 1 1 1 0 8 1 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 8 0 8 2 1 1 1 0 8 1 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 32 0 2 1 0 1 1 0 8 0 uaddrrnd 24 1382 0 1354 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1382 0 1354 1 0 1 1 0 8 0 vmmpekpl 168 11852 0 11817 3 0 3 3 0 8 0 vmmpepl 168 92437 0 90666 99 4 95 95 0 357 6 vmsppl 368 1381 0 1354 4 1 3 4 0 8 0 rwobjpl 40 25594 0 24587 14 0 14 14 0 8 0 pdppl 4096 2770 0 2708 104 40 64 82 0 8 2 pvpl 32 662353 0 652928 160 20 140 140 0 265 32 pmappl 216 1381 0 1354 3 1 2 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 816 0 65 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(fffff3006d530490,ffff80003c900e28,ffff80003c900e58) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80003c900df8) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff80003c900df8) at namei+0x7c3 sys/kern/vfs_lookup.c:250 domknodat(ffff800035cbe800,ffffff9c,200000000200,d3d32fb2,202) at domknodat+0xb4 sys/kern/vfs_syscalls.c:1531 syscall(ffff80003c900fe0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c900fe0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x87f72d73f0, 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(fffff3006d530490,ffff80003c900e28,ffff80003c900e58) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80003c900df8) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff80003c900df8) at namei+0x7c3 sys/kern/vfs_lookup.c:250 domknodat(ffff800035cbe800,ffffff9c,200000000200,d3d32fb2,202) at domknodat+0xb4 sys/kern/vfs_syscalls.c:1531 syscall(ffff80003c900fe0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c900fe0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x87f72d73f0, count: -7