uvm_fault(0xfffffd806c2219f0, 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 *303742 9842 0 0 0x4000000 0 syz-executor ktrops(ffff80002a7f2f80,ffffffffffffffff,0,80000924,fffffd806b5cde80,fffffd8007bfb5b0) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff80002a7f2f80,ffffffffffffffff,0,80000924,fffffd806b5cde80,fffffd8007bfb5b0) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd806b5cde80,4,924,0,ffff80002a7f2f80) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd806b5cde80,4,924,0,ffff80002a7f2f80) at doktrace+0x6dd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff80002a7f2f80,ffff80003c52f570,ffff80003c52f4c0) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003c52f570) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c52f570) at syscall+0x97e sys/arch/amd64/amd64/trap.c:742 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcb098e40bc0, 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(0xfffffd806c2219f0, 0xf, 0, 1) -> e ddb> trace ktrops(ffff80002a7f2f80,ffffffffffffffff,0,80000924,fffffd806b5cde80,fffffd8007bfb5b0) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff80002a7f2f80,ffffffffffffffff,0,80000924,fffffd806b5cde80,fffffd8007bfb5b0) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd806b5cde80,4,924,0,ffff80002a7f2f80) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd806b5cde80,4,924,0,ffff80002a7f2f80) at doktrace+0x6dd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff80002a7f2f80,ffff80003c52f570,ffff80003c52f4c0) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003c52f570) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c52f570) at syscall+0x97e sys/arch/amd64/amd64/trap.c:742 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcb098e40bc0, count: -5 ddb> show registers rdi 0xffff80002f902000 rsi 0x86b rbp 0xffff80003c52f290 rbx 0xfffffd8007bfb5b0 rdx 0xffff80002f902000 rcx 0x86a rax 0xffffffff83198393 ktrops+0x43 r8 0xfffffd806b5cde80 r9 0xfffffd8007bfb5b0 r10 0x8460efd26b27f3bf r11 0x2053e2ba1406a42a r12 0xffff80002a7f2f80 r13 0xffffffffffffffff r14 0xffffffffffffffff r15 0x80000924 __kernel_virt_to_phys+0x924 rip 0xffffffff831983a8 ktrops+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c52f210 ss 0 ktrops+0x58: movq 0x10(%r14),%r14 ddb> show proc PROC (syz-executor) tid=303742 pid=9842 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=17, usrpri=50, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7f3730,0xffff80002a7f2d00 process=0xffff800034d144a0 user=0xffff80003c52a000, vmspace=0xfffffd806c2219f0 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 46190 290258 39841 0 2 0 syz-executor 46190 436573 39841 0 2 0x4000000 syz-executor 9842 130368 94626 0 2 0 syz-executor * 9842 303742 94626 0 7 0x4000000 syz-executor 48073 44191 67347 60928 2 0x10 syz-executor 48073 274800 67347 60928 3 0x4000090 fsleep syz-executor 38283 318637 40572 0 3 0x80 nanoslp syz-executor 38283 461116 40572 0 3 0x4000080 kqread syz-executor 38283 293921 40572 0 3 0x4000080 fsleep syz-executor 94297 407576 0 0 3 0x14200 bored sosplice 67347 280561 27379 0 2 0xc82 syz-executor 64115 486959 27379 0 3 0x82 wait syz-executor 54616 192462 27379 0 2 0x2 syz-executor 2526 114835 27379 0 2 0xc82 syz-executor 94626 24512 27379 0 2 0xc82 syz-executor 98713 474571 27379 0 2 0x2 syz-executor 39841 370237 27379 0 2 0xc82 syz-executor 40572 217329 27379 0 2 0xc82 syz-executor 27379 381717 9532 0 2 0x2 syz-executor 9532 281275 45708 0 3 0x10008a sigsusp ksh 45708 372093 24026 0 3 0x98 kqread sshd-session 24026 390630 7505 0 3 0x92 kqread sshd-session 2174 172957 1 0 3 0x100083 ttyin getty 7505 402736 1 0 3 0x88 kqread sshd 31474 279978 45261 73 3 0x1100090 kqread syslogd 45261 402680 1 0 3 0x100082 sbwait syslogd 67464 58649 1 0 3 0x100080 kqread resolvd 14087 438163 72899 77 3 0x100092 kqread dhcpleased 97168 254854 72899 77 3 0x100092 kqread dhcpleased 72899 279070 1 0 3 0x80 kqread dhcpleased 33544 331338 0 0 3 0x14200 bored smr 28761 62710 0 0 2 0x14200 zerothread 46991 140416 0 0 3 0x14200 aiodoned aiodoned 8821 151067 0 0 3 0x14200 syncer update 36300 381850 0 0 3 0x14200 cleaner cleaner 96476 212592 0 0 3 0x14200 reaper reaper 59516 113663 0 0 3 0x14200 pgdaemon pagedaemon 30354 387206 0 0 3 0x14200 bored viomb 80251 484533 0 0 3 0x40014200 acpi0 acpi0 24113 411932 0 0 3 0x14200 bored softnet3 99814 310966 0 0 3 0x14200 bored softnet2 40668 311213 0 0 3 0x14200 bored softnet1 20461 14870 0 0 2 0x14200 softnet0 53023 134973 0 0 3 0x14200 bored systqmp 37489 282720 0 0 3 0x14200 bored systq 51244 359209 0 0 2 0x40014200 softclock 59367 250693 0 0 3 0x40014200 idle0 1 278487 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 10444 12120K 12360K 166960K 12175 0 pcb 17 16K 17K 166960K 196 0 rtable 230 8K 9K 166960K 388 0 pf 33 13K 21K 166960K 67 0 ifaddr 42 7K 7K 166960K 49 0 ifgroup 53 2K 2K 166960K 69 0 sysctl 4 1K 9K 166960K 9 0 counters 32 17K 18K 166960K 36 0 ioctlops 0 0K 4K 166960K 54 0 iov 0 0K 16K 166960K 22 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1433 90K 90K 166960K 1696 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 16 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 97K 166960K 304 0 sigio 0 0K 0K 166960K 6 0 proc 60 59K 91K 166960K 486 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 30 0 in_multi 99 7K 7K 166960K 105 0 ether_multi 1 0K 0K 166960K 3 0 mrt 0 0K 0K 166960K 1 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 364 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 220 159K 169K 166960K 4250 0 UVM aobj 10 2K 2K 166960K 10 0 pinsyscall 37 74K 94K 166960K 1326 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 7 0 NDP 11 0K 2K 166960K 31 0 temp 41 8679K 8759K 166960K 6739 0 kqueue 15 24K 28K 166960K 55 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 49 0 46 1 0 1 1 0 8 0 rtentry 136 116 0 13 4 0 4 4 0 8 0 unpcb 144 268 0 251 6 5 1 6 0 8 0 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 736 50 0 44 1 0 1 1 0 8 0 arp 88 18 0 0 1 0 1 1 0 8 0 inpcb 328 436 0 296 17 5 12 12 0 8 0 nd6 104 26 0 0 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 2 0 2 1 1 0 1 0 8 0 pfrktable 1344 4 0 1 1 0 1 1 0 8 0 pfanchor 1288 4 0 3 1 0 1 1 0 8 0 pftag 88 4 0 0 1 0 1 1 0 8 0 pfrule 1344 5 0 4 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 487 0 41 29 1 28 29 0 8 0 art_table 32 489 0 41 4 0 4 4 0 8 0 art_node 16 114 0 21 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 13 0 3 1 0 1 1 0 8 0 shmpl 112 7 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1888 0 385 95 0 95 95 0 8 0 ffsino 248 1888 0 385 95 0 95 95 0 8 0 nchpl 144 2307 0 624 63 0 63 63 0 8 0 uvmvnodes 80 2216 0 0 46 0 46 46 0 8 0 vnodes 216 2216 0 0 124 0 124 124 0 8 0 namei 1024 7501 0 7499 3 2 1 2 0 8 0 pfiaddrpl 120 1 0 0 1 0 1 1 0 8 0 kstatmem 264 30 0 8 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 7302 0 7302 8 7 1 8 1 8 1 plimitpl 152 64 0 48 1 0 1 1 0 8 0 sigapl 424 582 0 537 7 1 6 7 0 8 0 knotepl 120 12851 0 12802 16 14 2 16 0 8 0 kqueuepl 184 140 0 127 4 2 2 4 0 8 1 pipepl 296 116 0 89 3 0 3 3 0 8 0 fdescpl 440 565 0 537 5 1 4 5 0 8 0 filepl 120 3214 0 2798 15 2 13 13 0 8 0 lockfpl 104 218 0 216 2 1 1 2 0 8 0 lockfspl 48 70 0 68 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 67 0 51 1 0 1 1 0 8 0 ucredpl 104 434 0 421 1 0 1 1 0 8 0 zombiepl 144 539 0 537 1 0 1 1 0 8 0 processpl 1160 582 0 537 4 0 4 4 0 8 0 procpl 656 842 0 792 6 1 5 6 0 8 0 sosppl 168 2 0 2 1 1 0 1 0 8 0 sockpl 528 759 0 599 19 7 12 12 0 8 1 mcl64k 65536 6 0 6 1 1 0 1 0 8 0 mcl16k 16384 2 0 2 1 1 0 1 0 8 0 mcl8k 8192 10 0 10 1 1 0 1 0 8 0 mcl4k 4096 2673 0 2619 15 7 8 14 0 8 0 mcl2k 2048 410 0 409 4 3 1 4 0 8 0 mtagpl 96 72 0 4 2 0 2 2 0 8 0 mbufpl 256 5890 0 5660 21 2 19 21 0 8 0 bufpl 280 2489 0 118 170 0 170 170 0 8 0 anonpl 24 101818 0 98684 45 24 21 45 0 187 0 amapchunkpl 152 12840 0 12385 24 2 22 24 0 158 0 amappl16 200 1653 0 1629 11 9 2 11 0 8 0 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 102 0 92 1 0 1 1 0 8 0 amappl13 176 3 0 3 1 1 0 1 0 8 0 amappl12 168 1169 0 1141 3 1 2 3 0 8 0 amappl11 160 45 0 35 1 0 1 1 0 8 0 amappl10 152 7 0 7 1 1 0 1 0 8 0 amappl9 144 252 0 252 1 1 0 1 0 8 0 amappl8 136 24 0 22 1 0 1 1 0 8 0 amappl7 128 93 0 83 1 0 1 1 0 8 0 amappl6 120 175 0 171 1 0 1 1 0 8 0 amappl5 112 109 0 103 1 0 1 1 0 8 0 amappl4 104 281 0 263 1 0 1 1 0 8 0 amappl3 96 2354 0 2253 4 1 3 4 0 8 0 amappl2 88 600 0 547 2 0 2 2 0 8 0 amappl1 80 8465 0 7918 13 0 13 13 0 8 0 amappl 88 3580 0 3427 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 8 0 8 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 9 0 0 1 0 1 1 0 8 0 uaddrrnd 24 565 0 537 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 565 0 537 1 0 1 1 0 8 0 vmmpekpl 168 6015 0 5982 2 0 2 2 0 8 0 vmmpepl 168 40814 0 39029 91 6 85 91 0 357 2 vmsppl 360 564 0 537 4 1 3 4 0 8 0 rwobjpl 32 15515 0 12459 25 0 25 25 0 8 0 pdppl 4096 1136 0 1074 96 30 66 82 0 8 4 pvpl 32 253550 0 245304 113 39 74 113 0 265 0 pmappl 216 564 0 537 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 276 0 51 8 0 8 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ktrops(ffff80002a7f2f80,ffffffffffffffff,0,80000924,fffffd806b5cde80,fffffd8007bfb5b0) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff80002a7f2f80,ffffffffffffffff,0,80000924,fffffd806b5cde80,fffffd8007bfb5b0) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd806b5cde80,4,924,0,ffff80002a7f2f80) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd806b5cde80,4,924,0,ffff80002a7f2f80) at doktrace+0x6dd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff80002a7f2f80,ffff80003c52f570,ffff80003c52f4c0) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003c52f570) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c52f570) at syscall+0x97e sys/arch/amd64/amd64/trap.c:742 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcb098e40bc0, count: -5 ddb> machine ddbcpu 1 No such command ddb> trace ktrops(ffff80002a7f2f80,ffffffffffffffff,0,80000924,fffffd806b5cde80,fffffd8007bfb5b0) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff80002a7f2f80,ffffffffffffffff,0,80000924,fffffd806b5cde80,fffffd8007bfb5b0) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd806b5cde80,4,924,0,ffff80002a7f2f80) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd806b5cde80,4,924,0,ffff80002a7f2f80) at doktrace+0x6dd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff80002a7f2f80,ffff80003c52f570,ffff80003c52f4c0) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003c52f570) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c52f570) at syscall+0x97e sys/arch/amd64/amd64/trap.c:742 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcb098e40bc0, count: -5