uvm_fault(0xffffffff836190a8, 0xffff80001b262004, 0, 1) -> d kernel: page fault trap, code=0 Stopped at ufs_lookup+0x5e1: movzwl 0x4(%r15,%rbx,1),%r14d TID PID UID PRFLAGS PFLAGS CPU COMMAND 380172 19706 0 0x2 0 1 syz-executor *156854 26878 0 0x2 0 0 syz-executor ufs_lookup() at ufs_lookup+0x5e1 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffffd8071d0fb38,ffff80002a96a6a0,ffff80002a96a6d0) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002a96a670) at vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 namei(ffff80002a96a670) at namei+0x7aa sys/kern/vfs_lookup.c:250 domkdirat(ffff80002e97dc28,ffffff9c,7af0ad765a60,1ff) at domkdirat+0x8b sys/kern/vfs_syscalls.c:3084 syscall(ffff80002a96a850) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a96a850) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7af0ad765af0, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: uvm_fault(0xffffffff836190a8, 0xffff80001b262004, 0, 1) -> d ddb{0}> trace ufs_lookup() at ufs_lookup+0x5e1 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffffd8071d0fb38,ffff80002a96a6a0,ffff80002a96a6d0) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002a96a670) at vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 namei(ffff80002a96a670) at namei+0x7aa sys/kern/vfs_lookup.c:250 domkdirat(ffff80002e97dc28,ffffff9c,7af0ad765a60,1ff) at domkdirat+0x8b sys/kern/vfs_syscalls.c:3084 syscall(ffff80002a96a850) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a96a850) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7af0ad765af0, count: -7 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff80002a96a410 rbx 0 rdx 0 rcx 0xffffffff rax 0xfffffd8064731c28 r8 0xffffffffffffffff r9 0xfffffd807f7d3478 r10 0x3a3851d02869f104 r11 0x8d25a880e48a0f5 r12 0 r13 0xfffffd8063ef0340 r14 0 r15 0xffff80001b262000 rip 0xffffffff821da6c1 ufs_lookup+0x5e1 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80002a96a300 ss 0x10 ufs_lookup+0x5e1: movzwl 0x4(%r15,%rbx,1),%r14d ddb{0}> show proc PROC (syz-executor) tid=156854 pid=26878 tcnt=1 stat=onproc flags process=2 proc=0 runpri=17, usrpri=50, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002e97ca70,0xffff80002e97d4a0 process=0xffff8000371f31d8 user=0xffff80002a965000, vmspace=0xfffffd806cb04388 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=2, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 50528 292572 57342 0 2 0 syz-executor 50528 291632 57342 0 2 0x4000000 syz-executor 48357 372358 19706 0 2 0 syz-executor 48357 305303 19706 0 2 0x4000000 syz-executor 41522 514879 44227 0 2 0 syz-executor 41522 284835 44227 0 3 0x4000080 fsleep syz-executor 41522 299331 44227 0 3 0x4000080 fsleep syz-executor 4836 511757 52985 0 2 0 syz-executor 4836 156340 52985 0 2 0x4000000 syz-executor 54803 372808 72702 0 2 0 syz-executor 54803 375898 72702 0 3 0x4000080 fsleep syz-executor 57342 386007 91232 0 2 0x482 syz-executor 96114 130001 91232 0 3 0x82 piperd syz-executor 19706 380172 91232 0 7 0x2 syz-executor 44227 300005 91232 0 3 0x82 nanoslp syz-executor *26878 156854 91232 0 7 0x2 syz-executor 52985 449997 91232 0 2 0x482 syz-executor 34737 464754 91232 0 3 0x82 piperd syz-executor 72702 449059 91232 0 2 0x2 syz-executor 42016 7374 1 0 3 0x100083 ttyin getty 61114 239570 0 0 3 0x14280 nfsidl nfsio 46383 352164 0 0 3 0x14280 nfsidl nfsio 76534 71359 0 0 3 0x14280 nfsidl nfsio 79464 272122 0 0 3 0x14280 nfsidl nfsio 51071 211749 0 0 3 0x14280 nfsidl nfsio 15041 407916 0 0 3 0x14280 nfsidl nfsio 17727 255834 0 0 3 0x14280 nfsidl nfsio 89248 343393 0 0 3 0x14280 nfsidl nfsio 65718 364442 0 0 3 0x14280 nfsidl nfsio 34827 60927 0 0 3 0x14280 nfsidl nfsio 27455 468181 0 0 3 0x14280 nfsidl nfsio 62672 283344 0 0 3 0x14280 nfsidl nfsio 52289 237524 0 0 3 0x14280 nfsidl nfsio 65979 364736 0 0 3 0x14280 nfsidl nfsio 83829 450393 0 0 3 0x14280 nfsidl nfsio 85545 200559 0 0 3 0x14280 nfsidl nfsio 71566 508152 0 0 3 0x14280 nfsidl nfsio 5337 295948 0 0 3 0x14280 nfsidl nfsio 6588 400595 0 0 3 0x14280 nfsidl nfsio 68290 228257 0 0 3 0x14280 nfsidl nfsio 87785 331427 0 0 3 0x14200 bored sosplice 91232 372093 21853 0 2 0x2 syz-executor 21853 433687 70895 0 3 0x10008a sigsusp ksh 70895 56056 5641 0 3 0x98 kqread sshd-session 5641 229090 57089 0 3 0x92 kqread sshd-session 57089 441609 1 0 3 0x88 kqread sshd 53613 378016 1366 74 3 0x1100092 bpf pflogd 1366 385753 1 0 3 0x80 sbwait pflogd 55108 2074 82996 73 3 0x1100090 kqread syslogd 82996 74441 1 0 3 0x100082 sbwait syslogd 4541 63484 1 0 3 0x100080 kqread resolvd 99788 498866 9880 77 3 0x100092 kqread dhcpleased 37331 101376 9880 77 3 0x100092 kqread dhcpleased 9880 450362 1 0 3 0x80 kqread dhcpleased 388 406100 0 0 3 0x14200 bored smr 77197 75051 0 0 2 0x14200 zerothread 23360 21924 0 0 3 0x14200 aiodoned aiodoned 17080 32067 0 0 3 0x14200 syncer update 73490 66042 0 0 3 0x14200 cleaner cleaner 99708 319885 0 0 3 0x14200 reaper reaper 62997 175031 0 0 3 0x14200 pgdaemon pagedaemon 10384 390301 0 0 3 0x14200 bored viomb 54361 369371 0 0 3 0x40014200 acpi0 acpi0 73871 170602 0 0 3 0x40014200 idle1 26198 339229 0 0 3 0x14200 bored softnet3 80257 55423 0 0 3 0x14200 bored softnet2 87776 434041 0 0 3 0x14200 bored softnet1 91977 63489 0 0 3 0x14200 bored softnet0 98049 204128 0 0 3 0x14200 bored systqmp 3356 183856 0 0 3 0x14200 bored systq 90094 437128 0 0 3 0x14200 tmoslp softclockmp 72918 287309 0 0 3 0x40014200 tmoslp softclock 53471 221844 0 0 3 0x40014200 idle0 1 57007 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 26878 (syz-executor) thread 0xffff80002e97dc28 (156854) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10214 10179K 10502K 166960K 12976 0 pcb 18 13K 14K 166960K 243 0 rtable 218 7K 8K 166960K 1364 0 pf 40 18K 25K 166960K 166 0 ifaddr 44 7K 8K 166960K 176 0 ifgroup 63 2K 2K 166960K 205 0 sysctl 4 1K 2K 166960K 5 0 counters 68 36K 37K 166960K 144 0 ioctlops 0 0K 4K 166960K 1655 0 iov 0 0K 17K 166960K 76 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1511 95K 95K 166960K 2825 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 20 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 34 0 dirhash 12 2K 2K 166960K 36 0 ACPI 1690 195K 286K 166960K 12418 0 file desc 15 53K 93K 166960K 1590 0 sigio 0 0K 0K 166960K 151 0 proc 72 91K 152K 166960K 1413 0 subproc 104 6K 7K 166960K 455 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 200 0 in_multi 92 7K 7K 166960K 435 0 ether_multi 1 0K 0K 166960K 7 0 mrt 0 0K 0K 166960K 3 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 898 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 220 72K 100K 166960K 15061 0 UVM aobj 70 3K 3K 166960K 73 0 pinsyscall 40 80K 102K 166960K 3434 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 50 0 NDP 14 0K 2K 166960K 124 0 temp 73 6823K 6938K 166960K 73768 0 kqueue 13 20K 30K 166960K 187 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 24 0 0 1 0 1 1 0 8 0 rtpcb 120 188 0 185 2 1 1 2 0 8 0 rtentry 112 445 0 347 4 1 3 4 0 8 0 unpcb 144 811 0 793 9 8 1 4 0 8 0 syncache 336 10 0 10 4 4 0 1 0 8 0 tcpqe 32 11 0 11 2 2 0 1 0 8 0 tcpcb 808 481 0 477 11 10 1 8 0 8 0 arp 120 76 0 57 1 0 1 1 0 8 0 inpcb 336 1736 0 1725 27 25 2 12 0 8 0 nd6 136 116 0 93 1 0 1 1 0 8 0 pkpcb 40 5 0 5 4 4 0 1 0 8 0 kcovpl 48 35 0 27 1 0 1 1 0 8 0 ppxss 1168 6 0 6 4 3 1 1 0 8 1 pfstscr 40 5 0 4 1 0 1 1 0 8 0 pffrag 232 8 0 7 1 0 1 1 0 482 0 pffrnode 88 6 0 5 1 0 1 1 0 8 0 pffrent 40 46 0 45 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfrktable 1344 1 0 1 1 1 0 1 0 8 0 pfanchor 1288 4 0 4 1 1 0 1 0 8 0 pftag 88 3 0 2 1 0 1 1 0 8 0 pfstitem 24 136 0 104 1 0 1 1 0 8 0 pfstkey 128 146 0 114 2 0 2 2 0 8 0 pfstate 376 140 0 109 6 2 4 6 0 8 0 pfrule 1344 43 0 35 2 1 1 2 0 8 0 art_heap8 4096 3 0 2 2 1 1 2 0 8 0 art_heap4 256 1776 0 1356 31 4 27 29 0 8 0 art_table 32 1779 0 1358 4 0 4 4 0 8 0 art_node 16 438 0 351 1 0 1 1 0 8 0 sysvmsgpl 40 19 0 8 1 0 1 1 0 8 0 semapl 112 30 0 20 1 0 1 1 0 8 0 shmpl 112 70 0 3 2 0 2 2 0 8 0 dirhash 1024 33 0 16 3 0 3 3 0 8 0 dino2pl 256 3600 0 2039 98 0 98 98 0 8 0 ffsino 272 3600 0 2039 105 0 105 105 0 8 0 nchpl 144 5462 0 4886 64 39 25 64 0 8 0 uvmvnodes 80 4756 0 0 98 0 98 98 0 8 0 vnodes 216 4756 0 0 265 0 265 265 0 8 0 namei 1024 21565 0 21564 7 6 1 2 0 8 0 percpumem 16 86 0 38 1 0 1 1 0 8 0 kstatmem 264 104 0 76 4 1 3 3 0 8 0 scsiplug 72 3 0 3 2 2 0 1 0 8 0 scxspl 216 29257 0 29257 11 10 1 8 1 8 1 plimitpl 152 225 0 208 1 0 1 1 0 8 0 sigapl 424 1877 0 1809 10 1 9 9 0 8 0 futexpl 64 18639 0 18636 4 3 1 1 0 8 0 knotepl 120 416 0 0 13 0 13 13 0 8 0 kqueuepl 216 344 0 335 5 4 1 5 0 8 0 pipepl 320 466 0 439 10 7 3 8 0 8 0 fdescpl 496 1834 0 1805 5 0 5 5 0 8 0 filepl 152 11354 0 11105 27 16 11 17 0 8 1 lockfpl 104 721 0 719 2 1 1 2 0 8 0 lockfspl 48 196 0 194 1 0 1 1 0 8 0 sessionpl 144 58 0 49 1 0 1 1 0 8 0 pgrppl 48 102 0 85 1 0 1 1 0 8 0 ucredpl 104 2046 0 2032 1 0 1 1 0 8 0 zombiepl 144 1932 0 1932 3 2 1 1 0 8 1 processpl 1160 1877 0 1809 6 0 6 6 0 8 0 procpl 648 3622 0 3548 11 3 8 8 0 8 0 srpgc 96 4 0 4 2 2 0 1 0 8 0 sosppl 168 7 0 7 4 4 0 1 0 8 0 sockpl 664 2752 0 2721 25 21 4 14 0 8 1 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 7 0 0 1 0 1 1 0 8 0 mcl4k 4096 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 235 0 0 29 1 28 29 0 8 0 mtagpl 96 35 0 0 1 0 1 1 0 8 0 mbufpl 256 588 0 0 36 0 36 36 0 8 0 bufpl 280 8374 0 2200 442 0 442 442 0 8 0 anonpl 24 316440 0 310558 125 53 72 79 0 185 20 amapchunkpl 152 48385 0 47879 50 22 28 34 0 158 5 amappl16 200 7383 0 7283 50 32 18 22 0 8 7 amappl15 192 8 0 8 1 1 0 1 0 8 0 amappl14 184 197 0 185 1 0 1 1 0 8 0 amappl13 176 12 0 12 1 1 0 1 0 8 0 amappl12 168 2938 0 2908 4 2 2 3 0 8 0 amappl11 160 89 0 75 1 0 1 1 0 8 0 amappl10 152 15 0 15 1 1 0 1 0 8 0 amappl9 144 156 0 156 1 1 0 1 0 8 0 amappl8 136 28 0 24 1 0 1 1 0 8 0 amappl7 128 175 0 162 1 0 1 1 0 8 0 amappl6 120 438 0 436 1 0 1 1 0 8 0 amappl5 112 249 0 237 1 0 1 1 0 8 0 amappl4 104 423 0 405 1 0 1 1 0 8 0 amappl3 96 9857 0 9757 4 0 4 4 0 8 0 amappl2 88 1146 0 1075 2 0 2 2 0 8 0 amappl1 80 15316 0 14747 15 1 14 14 0 8 0 amappl 88 14324 0 14165 5 0 5 5 0 92 0 dma4096 4096 2 0 2 2 2 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 7 0 7 2 2 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 7 0 7 2 2 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 72 0 3 2 0 2 2 0 8 0 uaddrrnd 24 1834 0 1805 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1834 0 1805 1 0 1 1 0 8 0 vmmpekpl 168 16110 0 16061 3 0 3 3 0 8 0 vmmpepl 168 123265 0 121430 128 30 98 103 0 357 7 vmsppl 440 1833 0 1805 6 2 4 5 0 8 0 rwobjpl 56 41136 0 35314 87 4 83 84 0 8 0 pdppl 4096 3675 0 3610 159 88 71 85 0 8 6 pvpl 32 32354 0 0 259 0 259 259 0 265 0 pmappl 248 1833 0 1805 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 525 0 146 12 0 12 12 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace ufs_lookup() at ufs_lookup+0x5e1 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffffd8071d0fb38,ffff80002a96a6a0,ffff80002a96a6d0) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002a96a670) at vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 namei(ffff80002a96a670) at namei+0x7aa sys/kern/vfs_lookup.c:250 domkdirat(ffff80002e97dc28,ffffff9c,7af0ad765a60,1ff) at domkdirat+0x8b sys/kern/vfs_syscalls.c:3084 syscall(ffff80002a96a850) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a96a850) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7af0ad765af0, count: -7 ddb{0}> machine ddbcpu 1