uvm_fault(0xfffffd807e251410, 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 *479692 13334 0 0 0x4000000 0 syz-executor ktrops(ffff80002a4a27b0,ffffffffffffffff,0,80000d10,fffffd806533e620,fffffd807f7d7750) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:718 [inline] ktrops(ffff80002a4a27b0,ffffffffffffffff,0,80000d10,fffffd806533e620,fffffd807f7d7750) at ktrops+0x58 sys/kern/kern_ktrace.c:561 doktrace(fffffd806533e620,4,d10,0,ffff80002a4a27b0) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd806533e620,4,d10,0,ffff80002a4a27b0) at doktrace+0x6dd sys/kern/kern_ktrace.c:508 sys_ktrace(ffff80002a4a27b0,ffff80002a5c0fe0,ffff80002a5c0f30) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:549 syscall(ffff80002a5c0fe0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfe8e2927d10, 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(0xfffffd807e251410, 0xf, 0, 1) -> e ddb> trace ktrops(ffff80002a4a27b0,ffffffffffffffff,0,80000d10,fffffd806533e620,fffffd807f7d7750) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:718 [inline] ktrops(ffff80002a4a27b0,ffffffffffffffff,0,80000d10,fffffd806533e620,fffffd807f7d7750) at ktrops+0x58 sys/kern/kern_ktrace.c:561 doktrace(fffffd806533e620,4,d10,0,ffff80002a4a27b0) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd806533e620,4,d10,0,ffff80002a4a27b0) at doktrace+0x6dd sys/kern/kern_ktrace.c:508 sys_ktrace(ffff80002a4a27b0,ffff80002a5c0fe0,ffff80002a5c0f30) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:549 syscall(ffff80002a5c0fe0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfe8e2927d10, count: -5 ddb> show registers rdi 0xffff80002a4a27b0 rsi 0xffffffffffffffff rbp 0xffff80002a5c0d00 rbx 0xfffffd807f7d7750 rdx 0 rcx 0x80000d10 __kernel_virt_to_phys+0xd10 rax 0xffff80002a4a27b0 r8 0xfffffd806533e620 r9 0xfffffd807f7d7750 r10 0xeb0338489e58a2d r11 0x2e39686d92178cba r12 0xffff80002a4a27b0 r13 0xffffffffffffffff r14 0xffffffffffffffff r15 0x80000d10 __kernel_virt_to_phys+0xd10 rip 0xffffffff824d2398 ktrops+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a5c0c80 ss 0x10 ktrops+0x58: movq 0x10(%r14),%r14 ddb> show proc PROC (syz-executor) tid=479692 pid=13334 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=0xffff80002a4a31d0,0xffff80002a4a3978 process=0xffff800030df7378 user=0xffff80002a5bc000, vmspace=0xfffffd807e251410 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 5478 420491 68311 0 3 0x80 fsleep syz-executor 5478 457363 68311 0 2 0x4000000 syz-executor 13334 48474 250 0 3 0x80 fsleep syz-executor 13334 202771 250 0 3 0x4000080 kqpoll syz-executor *13334 479692 250 0 7 0x4000000 syz-executor 76089 100412 47745 0 2 0x100002 sh 81590 359506 47439 0 2 0 syz-executor 81590 136754 47439 0 3 0x4000080 fsleep syz-executor 96829 222618 13613 60929 3 0x90 fsleep syz-executor 96829 435164 13613 60929 3 0x4000090 ttyout syz-executor 96829 510013 13613 60929 3 0x4000090 fsleep syz-executor 96829 494377 13613 60929 3 0x4000090 fsleep syz-executor 49496 136312 0 0 3 0x14200 bored sosplice 13613 53038 44421 0 3 0x82 nanoslp syz-executor 47745 295951 44421 0 3 0x82 wait syz-executor 250 301512 44421 0 3 0x82 nanoslp syz-executor 16212 174627 44421 0 2 0x2 syz-executor 47424 315653 44421 0 2 0x2 syz-executor 67738 181419 44421 0 2 0x2 syz-executor 47439 79843 44421 0 3 0x82 nanoslp syz-executor 68311 506213 44421 0 3 0x82 nanoslp syz-executor 44421 310371 64314 0 3 0x82 kqread syz-executor 64314 167098 27894 0 3 0x10008a sigsusp ksh 27894 435032 52792 0 3 0x98 kqread sshd-session 52792 58772 3625 0 3 0x92 kqread sshd-session 95568 224703 1 0 3 0x100083 ttyin getty 3625 322826 1 0 3 0x88 kqread sshd 22707 96547 92470 73 2 0x1100010 syslogd 92470 467466 1 0 3 0x100082 sbwait syslogd 205 53024 1 0 3 0x100080 kqread resolvd 97270 431329 72526 77 3 0x100092 kqread dhcpleased 22785 222827 72526 77 3 0x100092 kqread dhcpleased 72526 444965 1 0 3 0x80 kqread dhcpleased 46579 43700 0 0 3 0x14200 bored smr 21214 317756 0 0 2 0x14200 zerothread 15162 107382 0 0 3 0x14200 aiodoned aiodoned 68482 396994 0 0 3 0x14200 syncer update 97877 256969 0 0 3 0x14200 cleaner cleaner 39091 403497 0 0 3 0x14200 reaper reaper 76802 399373 0 0 3 0x14200 pgdaemon pagedaemon 69456 314986 0 0 3 0x14200 bored viomb 37633 457265 0 0 3 0x40014200 acpi0 acpi0 47451 133215 0 0 3 0x14200 bored softnet3 25728 479728 0 0 3 0x14200 bored softnet2 57631 158473 0 0 3 0x14200 bored softnet1 90284 58013 0 0 3 0x14200 bored softnet0 25960 336030 0 0 3 0x14200 bored systqmp 84415 315201 0 0 3 0x14200 bored systq 79631 351735 0 0 3 0x40014200 tmoslp softclock 78750 386170 0 0 3 0x40014200 idle0 1 208350 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 10175 11105K 11171K 166960K 11390 0 pcb 17 16K 21K 166960K 214 0 rtable 226 6K 6K 166960K 618 0 pf 31 13K 13K 166960K 47 0 ifaddr 41 7K 7K 166960K 82 0 ifgroup 50 2K 2K 166960K 82 0 counters 30 17K 17K 166960K 38 0 ioctlops 0 0K 2K 166960K 105 0 iov 0 0K 16K 166960K 5 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1390 87K 88K 166960K 1608 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 6 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 36 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 15 53K 89K 166960K 334 0 sigio 0 0K 0K 166960K 7 0 proc 60 59K 91K 166960K 706 0 subproc 104 6K 6K 166960K 208 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 8 0 in_multi 89 6K 7K 166960K 205 0 ether_multi 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 49 228K 228K 166960K 49 0 exec 0 0K 1K 166960K 460 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 198 71K 91K 166960K 4095 0 UVM aobj 6 2K 2K 166960K 6 0 pinsyscall 36 72K 92K 166960K 1568 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 2 0 NDP 11 0K 2K 166960K 54 0 temp 37 6806K 6872K 166960K 5032 0 kqueue 13 20K 24K 166960K 32 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 112 213 0 107 5 1 4 4 0 8 0 unpcb 144 97 0 80 1 0 1 1 0 8 0 syncache 336 6 0 6 1 1 0 1 0 8 0 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 808 78 0 72 5 3 2 5 0 8 0 arp 88 35 0 16 1 0 1 1 0 8 0 ipq 40 44 0 44 1 1 0 1 0 8 0 ipqe 40 88 0 88 1 1 0 1 0 8 0 inpcb 336 376 0 363 10 7 3 10 0 8 0 nd6 104 50 0 29 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 1 0 1 0 8 0 kcovpl 48 16 0 8 1 0 1 1 0 8 0 pfstitem 24 1 0 0 1 0 1 1 0 8 0 pfstkey 128 1 0 0 1 0 1 1 0 8 0 pfstate 344 1 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 901 0 485 29 1 28 29 0 8 0 art_table 32 902 0 485 4 0 4 4 0 8 0 art_node 16 212 0 117 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 34 0 24 1 0 1 1 0 8 0 shmpl 112 3 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1743 0 229 95 0 95 95 0 8 0 ffsino 240 1744 0 229 90 0 90 90 0 8 0 nchpl 144 2031 0 346 63 0 63 63 0 8 0 uvmvnodes 80 2013 0 0 42 0 42 42 0 8 0 vnodes 216 2013 0 0 112 0 112 112 0 8 0 namei 1024 6949 0 6945 2 1 1 2 0 8 0 kstatmem 264 38 0 16 2 0 2 2 0 8 0 scxspl 216 8343 0 8343 2 1 1 2 1 8 1 plimitpl 152 45 0 28 1 0 1 1 0 8 0 sigapl 424 601 0 557 6 0 6 6 0 8 0 futexpl 64 1366 0 1360 1 0 1 1 0 8 0 knotepl 120 5426 0 5379 16 14 2 16 0 8 0 kqueuepl 184 39 0 29 1 0 1 1 0 8 0 pipepl 288 139 0 112 3 0 3 3 0 8 0 fdescpl 432 584 0 557 5 1 4 5 0 8 0 filepl 120 2515 0 2266 13 5 8 13 0 8 0 lockfpl 104 24 0 21 1 0 1 1 0 8 0 lockfspl 48 13 0 10 1 0 1 1 0 8 0 sessionpl 144 31 0 23 1 0 1 1 0 8 0 pgrppl 48 51 0 35 1 0 1 1 0 8 0 ucredpl 104 266 0 254 1 0 1 1 0 8 0 zombiepl 144 568 0 568 2 1 1 1 0 8 1 processpl 1096 601 0 557 4 0 4 4 0 8 0 procpl 648 739 0 688 6 1 5 6 0 8 0 sosppl 168 1 0 1 1 1 0 1 0 8 0 sockpl 504 536 0 503 18 12 6 18 0 8 0 mcl64k 65536 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 9 0 9 1 1 0 1 0 8 0 mcl4k 4096 2762 0 2711 17 9 8 16 0 8 1 mcl2k 2048 424 0 423 7 6 1 6 0 8 0 mtagpl 96 7 0 5 2 1 1 1 0 8 0 mbufpl 256 7232 0 7079 52 39 13 52 0 8 2 bufpl 280 4861 0 96 341 0 341 341 0 8 0 anonpl 24 192882 0 189914 74 52 22 74 0 187 0 amapchunkpl 152 13798 0 13398 38 18 20 33 0 158 0 amappl16 200 5366 0 5355 28 26 2 27 0 8 1 amappl15 192 19 0 19 1 1 0 1 0 8 0 amappl14 184 130 0 120 1 0 1 1 0 8 0 amappl13 176 10 0 10 1 1 0 1 0 8 0 amappl12 168 1330 0 1302 2 0 2 2 0 8 0 amappl11 160 48 0 38 1 0 1 1 0 8 0 amappl10 152 12 0 12 1 1 0 1 0 8 0 amappl9 144 117 0 117 1 1 0 1 0 8 0 amappl8 136 21 0 20 1 0 1 1 0 8 0 amappl7 128 114 0 104 1 0 1 1 0 8 0 amappl6 120 242 0 239 1 0 1 1 0 8 0 amappl5 112 161 0 152 1 0 1 1 0 8 0 amappl4 104 311 0 298 1 0 1 1 0 8 0 amappl3 96 2558 0 2471 4 1 3 4 0 8 0 amappl2 88 783 0 721 2 0 2 2 0 8 0 amappl1 80 8788 0 8269 13 0 13 13 0 8 0 amappl 88 3680 0 3536 5 1 4 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 18 0 17 1 0 1 1 0 8 0 aobjpl 72 5 0 0 1 0 1 1 0 8 0 uaddrrnd 24 584 0 557 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 584 0 557 1 0 1 1 0 8 0 vmmpekpl 168 6161 0 6107 3 0 3 3 0 8 0 vmmpepl 168 46528 0 44959 103 25 78 98 0 357 2 vmsppl 344 583 0 557 4 1 3 4 0 8 0 rwobjpl 24 20659 0 17828 19 0 19 19 0 8 0 pdppl 4096 1175 0 1114 113 44 69 79 0 8 8 pvpl 32 365691 0 357248 254 171 83 250 0 265 1 pmappl 216 583 0 557 2 0 2 2 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 451 0 127 12 0 12 12 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ktrops(ffff80002a4a27b0,ffffffffffffffff,0,80000d10,fffffd806533e620,fffffd807f7d7750) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:718 [inline] ktrops(ffff80002a4a27b0,ffffffffffffffff,0,80000d10,fffffd806533e620,fffffd807f7d7750) at ktrops+0x58 sys/kern/kern_ktrace.c:561 doktrace(fffffd806533e620,4,d10,0,ffff80002a4a27b0) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd806533e620,4,d10,0,ffff80002a4a27b0) at doktrace+0x6dd sys/kern/kern_ktrace.c:508 sys_ktrace(ffff80002a4a27b0,ffff80002a5c0fe0,ffff80002a5c0f30) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:549 syscall(ffff80002a5c0fe0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfe8e2927d10, count: -5 ddb> machine ddbcpu 1 No such command ddb> trace ktrops(ffff80002a4a27b0,ffffffffffffffff,0,80000d10,fffffd806533e620,fffffd807f7d7750) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:718 [inline] ktrops(ffff80002a4a27b0,ffffffffffffffff,0,80000d10,fffffd806533e620,fffffd807f7d7750) at ktrops+0x58 sys/kern/kern_ktrace.c:561 doktrace(fffffd806533e620,4,d10,0,ffff80002a4a27b0) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd806533e620,4,d10,0,ffff80002a4a27b0) at doktrace+0x6dd sys/kern/kern_ktrace.c:508 sys_ktrace(ffff80002a4a27b0,ffff80002a5c0fe0,ffff80002a5c0f30) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:549 syscall(ffff80002a5c0fe0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfe8e2927d10, count: -5