uvm_fault(0xfffffd805bc502d0, 0xf, 0, 1) -> e kernel: page fault trap, code=0 Stopped at ktrops+0x58: movq 0x10(%r14),%r14 TID PID UID PRFLAGS PFLAGS CPU COMMAND *115442 67869 0 0 0x4000000 0 syz-executor ktrops(ffff80002bfda2b0,ffffffffffffffff,0,80000310,fffffd806f8d86c8,fffffd807f7d7a28) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:718 [inline] ktrops(ffff80002bfda2b0,ffffffffffffffff,0,80000310,fffffd806f8d86c8,fffffd807f7d7a28) at ktrops+0x58 sys/kern/kern_ktrace.c:561 doktrace(fffffd806f8d86c8,4,310,0,ffff80002bfda2b0) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd806f8d86c8,4,310,0,ffff80002bfda2b0) at doktrace+0x6dd sys/kern/kern_ktrace.c:508 sys_ktrace(ffff80002bfda2b0,ffff8000372c3360,ffff8000372c32b0) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:549 syscall(ffff8000372c3360) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x434371963d0, 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(0xfffffd805bc502d0, 0xf, 0, 1) -> e ddb> trace ktrops(ffff80002bfda2b0,ffffffffffffffff,0,80000310,fffffd806f8d86c8,fffffd807f7d7a28) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:718 [inline] ktrops(ffff80002bfda2b0,ffffffffffffffff,0,80000310,fffffd806f8d86c8,fffffd807f7d7a28) at ktrops+0x58 sys/kern/kern_ktrace.c:561 doktrace(fffffd806f8d86c8,4,310,0,ffff80002bfda2b0) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd806f8d86c8,4,310,0,ffff80002bfda2b0) at doktrace+0x6dd sys/kern/kern_ktrace.c:508 sys_ktrace(ffff80002bfda2b0,ffff8000372c3360,ffff8000372c32b0) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:549 syscall(ffff8000372c3360) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x434371963d0, count: -5 ddb> show registers rdi 0xffff80002bfda2b0 rsi 0xffffffffffffffff rbp 0xffff8000372c3080 rbx 0xfffffd807f7d7a28 rdx 0 rcx 0x80000310 __kernel_virt_to_phys+0x310 rax 0xffff80002bfda2b0 r8 0xfffffd806f8d86c8 r9 0xfffffd807f7d7a28 r10 0x119e4fcf3fe1fe21 r11 0xe058259450581583 r12 0xffff80002bfda2b0 r13 0xffffffffffffffff r14 0xffffffffffffffff r15 0x80000310 __kernel_virt_to_phys+0x310 rip 0xffffffff8117c518 ktrops+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000372c3000 ss 0x10 ktrops+0x58: movq 0x10(%r14),%r14 ddb> show proc PROC (syz-executor) tid=115442 pid=67869 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=17, usrpri=86, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002bfdb978,0xffffffff835d5010 process=0xffff80003742e6b0 user=0xffff8000372be000, vmspace=0xfffffd805bc502d0 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 52266 443621 21342 0 2 0 syz-executor 52266 53389 21342 0 3 0x4000080 fsleep syz-executor 52266 411910 21342 0 3 0x4000080 fsleep syz-executor 52266 29194 21342 0 3 0x4000080 fsleep syz-executor 67869 216689 7307 0 2 0 syz-executor 67869 234214 7307 0 3 0x4000080 fsleep syz-executor *67869 115442 7307 0 7 0x4000000 syz-executor 24569 348578 8700 0 2 0x40 syz-executor 97133 352120 19938 0 2 0 syz-executor 29470 399249 52007 0 2 0 syz-executor 20891 34054 56920 60928 2 0x10 syz-executor 20891 165195 56920 60928 2 0x4000010 syz-executor 20891 490422 56920 60928 3 0x4000090 fsleep syz-executor 52007 485208 44229 0 2 0x2 syz-executor 19938 468140 44229 0 2 0x2 syz-executor 79193 212584 44229 0 2 0x2 syz-executor 8700 124438 44229 0 3 0x82 ppwait syz-executor 26634 300232 44229 0 2 0x2 syz-executor 21342 433631 44229 0 2 0x482 syz-executor 7307 29563 44229 0 3 0x82 nanoslp syz-executor 56920 55856 44229 0 3 0x82 nanoslp syz-executor 22227 171400 1 0 3 0x100083 ttyin getty 47048 487466 1 0 3 0x3000 suspend syz-executor 47048 244567 1 0 2 0x4081000 syz-executor 17546 442834 0 0 3 0x14280 nfsidl nfsio 53151 405704 0 0 3 0x14280 nfsidl nfsio 422 110981 0 0 3 0x14280 nfsidl nfsio 401 191356 0 0 3 0x14280 nfsidl nfsio 22985 259874 0 0 3 0x14280 nfsidl nfsio 59999 229245 0 0 3 0x14280 nfsidl nfsio 2636 436442 0 0 3 0x14280 nfsidl nfsio 1838 380730 0 0 3 0x14280 nfsidl nfsio 18710 16258 0 0 3 0x14280 nfsidl nfsio 31095 405301 0 0 3 0x14280 nfsidl nfsio 49979 29927 0 0 3 0x14280 nfsidl nfsio 27821 469021 0 0 3 0x14280 nfsidl nfsio 37751 117981 0 0 3 0x14280 nfsidl nfsio 92319 346798 0 0 3 0x14280 nfsidl nfsio 84283 72184 0 0 3 0x14280 nfsidl nfsio 73899 403576 0 0 3 0x14280 nfsidl nfsio 33527 223714 0 0 3 0x14280 nfsidl nfsio 82752 257651 0 0 3 0x14280 nfsidl nfsio 61968 370912 0 0 3 0x14280 nfsidl nfsio 17282 91459 0 0 3 0x14280 nfsidl nfsio 6021 130989 0 0 3 0x14200 bored sosplice 44229 48151 54202 0 3 0x82 kqread syz-executor 54202 239550 94369 0 3 0x10008a sigsusp ksh 94369 49488 346 0 3 0x98 kqread sshd-session 346 488406 35799 0 3 0x92 kqread sshd-session 35799 351070 1 0 3 0x88 kqread sshd 33489 148367 53636 73 2 0x1100010 syslogd 53636 193888 1 0 3 0x100082 sbwait syslogd 19177 167433 1 0 3 0x100080 kqread resolvd 51383 29288 94170 77 3 0x100092 kqread dhcpleased 33158 513059 94170 77 3 0x100092 kqread dhcpleased 94170 515297 1 0 3 0x80 kqread dhcpleased 82904 446546 0 0 3 0x14200 bored smr 74987 353216 0 0 2 0x14200 zerothread 33903 53459 0 0 3 0x14200 aiodoned aiodoned 82053 482113 0 0 3 0x14200 syncer update 26516 234847 0 0 3 0x14200 cleaner cleaner 41249 68874 0 0 3 0x14200 reaper reaper 55279 213221 0 0 3 0x14200 pgdaemon pagedaemon 41867 170006 0 0 3 0x14200 bored viomb 83537 3647 0 0 3 0x40014200 acpi0 acpi0 64073 147226 0 0 3 0x14200 bored softnet3 79414 85796 0 0 3 0x14200 bored softnet2 86979 193812 0 0 3 0x14200 bored softnet1 17820 24244 0 0 3 0x14200 bored softnet0 42036 247163 0 0 3 0x14200 bored systqmp 18648 359535 0 0 3 0x14200 bored systq 45087 444278 0 0 3 0x40014200 tmoslp softclock 1387 230471 0 0 3 0x40014200 idle0 1 269551 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10190 10096K 10358K 166960K 12473 0 pcb 17 15K 17K 166960K 268 0 rtable 237 10K 10K 166960K 2454 0 pf 36 14K 16K 166960K 199 0 ifaddr 43 8K 8K 166960K 305 0 ifgroup 58 2K 2K 166960K 343 0 sysctl 3 0K 0K 166960K 6 0 counters 32 17K 17K 166960K 104 0 ioctlops 0 0K 4K 166960K 195 0 iov 0 0K 16K 166960K 85 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1442 91K 91K 166960K 2966 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 20 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 74 0 dirhash 15 2K 2K 166960K 27 0 ACPI 1690 195K 286K 166960K 12418 0 file desc 17 61K 89K 166960K 1919 0 sigio 0 0K 0K 166960K 187 0 proc 59 59K 91K 166960K 2259 0 subproc 117 7K 7K 166960K 911 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 184 0 in_multi 89 6K 7K 166960K 788 0 ether_multi 1 0K 0K 166960K 14 0 mrt 1 0K 0K 166960K 5 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 73 334K 334K 166960K 73 0 exec 0 0K 1K 166960K 1292 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 208 79K 98K 166960K 15357 0 UVM aobj 75 3K 3K 166960K 79 0 pinsyscall 38 76K 93K 166960K 4491 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 49 0 NDP 15 0K 2K 166960K 219 0 temp 67 6813K 6878K 166960K 66258 0 kqueue 13 20K 33K 166960K 154 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 298 0 295 3 2 1 3 0 8 0 rtentry 112 867 0 763 4 0 4 4 0 8 0 unpcb 144 1305 0 1290 9 1 8 8 0 8 7 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 808 463 0 459 14 10 4 11 0 8 3 arp 88 179 0 159 1 0 1 1 0 8 0 ipq 40 8 0 6 1 0 1 1 0 8 0 ipqe 40 56 0 53 1 0 1 1 0 8 0 inpcb 336 1809 0 1800 24 15 9 15 0 8 8 nd6 104 209 0 188 1 0 1 1 0 8 0 pkpcb 40 68 0 68 1 0 1 1 0 8 1 kcovpl 48 70 0 61 1 0 1 1 0 8 0 ppxss 1072 6 0 6 2 1 1 1 0 8 1 pfstscr 40 3 0 3 2 1 1 1 0 8 1 pfanchor 1288 3 0 3 1 1 0 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 6 0 4 2 1 1 1 0 8 0 pfstate 344 3 0 2 2 1 1 1 0 8 0 pfrule 1344 4 0 4 2 1 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 3123 0 2710 41 15 26 29 0 8 0 art_table 32 3125 0 2710 4 0 4 4 0 8 0 art_node 16 861 0 768 1 0 1 1 0 8 0 sysvmsgpl 40 17 0 10 1 0 1 1 0 8 0 semapl 112 67 0 57 1 0 1 1 0 8 0 shmpl 112 76 0 4 3 0 3 3 0 8 0 dirhash 1024 27 0 8 3 0 3 3 0 8 0 dino2pl 256 3356 0 1740 102 0 102 102 0 8 0 ffsino 240 3356 0 1740 96 0 96 96 0 8 0 nchpl 144 4886 0 3122 66 0 66 66 0 8 0 uvmvnodes 80 4715 0 0 97 0 97 97 0 8 0 vnodes 216 4715 0 0 262 0 262 262 0 8 0 namei 1024 21991 0 21991 4 2 2 2 0 8 2 kstatmem 264 170 0 144 2 0 2 2 0 8 0 scsiplug 72 3 0 3 1 0 1 1 0 8 1 scxspl 216 32975 0 32975 8 7 1 8 1 8 1 plimitpl 152 490 0 473 1 0 1 1 0 8 0 sigapl 424 2097 0 2031 9 0 9 9 0 8 0 futexpl 64 14811 0 14806 1 0 1 1 0 8 0 knotepl 120 32269 0 32222 18 8 10 11 0 8 8 kqueuepl 184 323 0 314 4 0 4 4 0 8 3 pipepl 288 450 0 422 8 3 5 6 0 8 2 fdescpl 432 2058 0 2029 6 1 5 5 0 8 0 filepl 120 11227 0 10961 18 3 15 15 0 8 6 lockfpl 104 377 0 375 1 0 1 1 0 8 0 lockfspl 48 148 0 146 1 0 1 1 0 8 0 sessionpl 144 83 0 75 1 0 1 1 0 8 0 pgrppl 48 166 0 149 1 0 1 1 0 8 0 ucredpl 104 1534 0 1521 1 0 1 1 0 8 0 zombiepl 144 2032 0 2031 2 1 1 1 0 8 0 processpl 1096 2097 0 2031 6 0 6 6 0 8 0 procpl 648 3463 0 3389 8 0 8 8 0 8 0 sosppl 168 9 0 9 2 1 1 1 0 8 1 sockpl 504 3537 0 3510 73 60 13 27 0 8 9 mcl64k 65536 10 0 10 2 1 1 1 0 8 1 mcl16k 16384 3 0 3 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 23 0 23 2 1 1 1 0 8 1 mcl4k 4096 6 0 6 2 1 1 1 0 8 1 mcl2k 2048 8644 0 8546 27 12 15 26 0 8 2 mtagpl 96 39 0 39 2 1 1 1 0 8 1 mbufpl 256 25740 0 25544 229 209 20 188 0 8 5 bufpl 280 8952 0 2006 497 0 497 497 0 8 0 anonpl 24 359527 0 352881 126 54 72 78 0 187 30 amapchunkpl 152 50193 0 49770 53 19 34 41 0 158 15 amappl16 200 7333 0 7101 37 24 13 23 0 8 0 amappl15 192 14 0 14 1 1 0 1 0 8 0 amappl14 184 227 0 217 1 0 1 1 0 8 0 amappl13 176 7 0 7 1 1 0 1 0 8 0 amappl12 168 3619 0 3593 2 0 2 2 0 8 0 amappl11 160 64 0 54 1 0 1 1 0 8 0 amappl10 152 13 0 13 1 1 0 1 0 8 0 amappl9 144 129 0 129 1 1 0 1 0 8 0 amappl8 136 21 0 20 1 0 1 1 0 8 0 amappl7 128 231 0 221 1 0 1 1 0 8 0 amappl6 120 771 0 769 1 0 1 1 0 8 0 amappl5 112 374 0 364 1 0 1 1 0 8 0 amappl4 104 465 0 449 1 0 1 1 0 8 0 amappl3 96 8621 0 8537 3 0 3 3 0 8 0 amappl2 88 2394 0 2324 2 0 2 2 0 8 0 amappl1 80 16372 0 15836 13 0 13 13 0 8 0 amappl 88 14510 0 14358 5 0 5 5 0 92 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 78 0 4 2 0 2 2 0 8 0 uaddrrnd 24 2058 0 2029 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2058 0 2029 1 0 1 1 0 8 0 vmmpekpl 168 17458 0 17398 4 0 4 4 0 8 1 vmmpepl 168 132058 0 130130 109 11 98 98 0 357 10 vmsppl 344 2057 0 2029 5 1 4 4 0 8 0 rwobjpl 24 43918 0 38056 36 0 36 36 0 8 0 pdppl 4096 4122 0 4058 218 146 72 78 0 8 8 pvpl 32 1073552 0 1060642 538 281 257 360 0 265 140 pmappl 216 2057 0 2029 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 852 0 478 16 2 14 16 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ktrops(ffff80002bfda2b0,ffffffffffffffff,0,80000310,fffffd806f8d86c8,fffffd807f7d7a28) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:718 [inline] ktrops(ffff80002bfda2b0,ffffffffffffffff,0,80000310,fffffd806f8d86c8,fffffd807f7d7a28) at ktrops+0x58 sys/kern/kern_ktrace.c:561 doktrace(fffffd806f8d86c8,4,310,0,ffff80002bfda2b0) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd806f8d86c8,4,310,0,ffff80002bfda2b0) at doktrace+0x6dd sys/kern/kern_ktrace.c:508 sys_ktrace(ffff80002bfda2b0,ffff8000372c3360,ffff8000372c32b0) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:549 syscall(ffff8000372c3360) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x434371963d0, count: -5 ddb> machine ddbcpu 1 No such command ddb> trace ktrops(ffff80002bfda2b0,ffffffffffffffff,0,80000310,fffffd806f8d86c8,fffffd807f7d7a28) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:718 [inline] ktrops(ffff80002bfda2b0,ffffffffffffffff,0,80000310,fffffd806f8d86c8,fffffd807f7d7a28) at ktrops+0x58 sys/kern/kern_ktrace.c:561 doktrace(fffffd806f8d86c8,4,310,0,ffff80002bfda2b0) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd806f8d86c8,4,310,0,ffff80002bfda2b0) at doktrace+0x6dd sys/kern/kern_ktrace.c:508 sys_ktrace(ffff80002bfda2b0,ffff8000372c3360,ffff8000372c32b0) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:549 syscall(ffff8000372c3360) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x434371963d0, count: -5