login: uvm_fault(0xfffffd8071a23178, 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 *405520 56368 0 0 0x4000000 0 syz-executor ktrops(ffff80003420ccd8,ffffffffffffffff,0,80000310,fffffd806f4150e0,fffffd807f7d7410) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:718 [inline] ktrops(ffff80003420ccd8,ffffffffffffffff,0,80000310,fffffd806f4150e0,fffffd807f7d7410) at ktrops+0x58 sys/kern/kern_ktrace.c:561 doktrace(fffffd806f4150e0,4,310,0,ffff80003420ccd8) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd806f4150e0,4,310,0,ffff80003420ccd8) at doktrace+0x6dd sys/kern/kern_ktrace.c:508 sys_ktrace(ffff80003420ccd8,ffff800037653340,ffff800037653290) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:549 syscall(ffff800037653340) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x574841e6450, 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(0xfffffd8071a23178, 0xf, 0, 1) -> e ddb> trace ktrops(ffff80003420ccd8,ffffffffffffffff,0,80000310,fffffd806f4150e0,fffffd807f7d7410) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:718 [inline] ktrops(ffff80003420ccd8,ffffffffffffffff,0,80000310,fffffd806f4150e0,fffffd807f7d7410) at ktrops+0x58 sys/kern/kern_ktrace.c:561 doktrace(fffffd806f4150e0,4,310,0,ffff80003420ccd8) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd806f4150e0,4,310,0,ffff80003420ccd8) at doktrace+0x6dd sys/kern/kern_ktrace.c:508 sys_ktrace(ffff80003420ccd8,ffff800037653340,ffff800037653290) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:549 syscall(ffff800037653340) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x574841e6450, count: -5 ddb> show registers rdi 0xffff800032ff6000 rsi 0x739 rbp 0xffff800037653060 rbx 0xfffffd807f7d7410 rdx 0xffff800032ff6000 rcx 0x738 rax 0xffffffff81f79da3 ktrops+0x43 r8 0xfffffd806f4150e0 r9 0xfffffd807f7d7410 r10 0x5a49d11986becee0 r11 0xb97a90441664d4ad r12 0xffff80003420ccd8 r13 0xffffffffffffffff r14 0xffffffffffffffff r15 0x80000310 __kernel_virt_to_phys+0x310 rip 0xffffffff81f79db8 ktrops+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800037652fe0 ss 0x10 ktrops+0x58: movq 0x10(%r14),%r14 ddb> show proc PROC (syz-executor) tid=405520 pid=56368 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=0xffff80003420c2b8,0xffffffff835ba950 process=0xffff80002f9eef30 user=0xffff80003764e000, vmspace=0xfffffd8071a23178 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 56368 106729 9860 0 2 0 syz-executor *56368 405520 9860 0 7 0x4000000 syz-executor 47511 409582 84209 0 2 0 syz-executor 47511 260482 84209 0 3 0x4000080 fsleep syz-executor 29409 188255 25020 0 2 0 syz-executor 29409 326484 25020 0 3 0x4000080 fsleep syz-executor 93593 166481 0 0 3 0x14200 acct acct 11701 3693 26877 60928 3 0x90 nanoslp syz-executor 11701 50830 26877 60928 3 0x4000090 fsleep syz-executor 11701 504580 26877 60928 3 0x4000090 fsleep syz-executor 90490 378172 1 0 3 0x100083 ttyin getty 9860 294838 49136 0 3 0x82 nanoslp syz-executor 82987 519311 0 0 3 0x14200 bored sosplice 6110 436834 49136 0 2 0x2 syz-executor 39717 170865 49136 0 2 0x2 syz-executor 25020 497951 49136 0 3 0x82 nanoslp syz-executor 23208 381640 49136 0 2 0x2 syz-executor 3227 444748 49136 0 2 0x2 syz-executor 84209 102874 49136 0 3 0x82 nanoslp syz-executor 26877 234099 49136 0 3 0x82 nanoslp syz-executor 49136 415169 21781 0 3 0x82 kqread syz-executor 21781 16257 8096 0 3 0x10008a sigsusp ksh 8096 39434 73341 0 3 0x98 kqread sshd-session 73341 11695 34713 0 3 0x92 kqread sshd-session 34713 452617 1 0 3 0x88 kqread sshd 92585 155822 70214 73 3 0x1100090 kqread syslogd 70214 160380 1 0 3 0x100082 sbwait syslogd 90404 29227 1 0 3 0x100080 kqread resolvd 47080 321857 1342 77 3 0x100092 kqread dhcpleased 39435 369306 1342 77 3 0x100092 kqread dhcpleased 1342 483428 1 0 3 0x80 kqread dhcpleased 72824 288086 0 0 3 0x14200 bored smr 16631 83047 0 0 2 0x14200 zerothread 93727 178718 0 0 3 0x14200 aiodoned aiodoned 58860 416565 0 0 3 0x14200 syncer update 69659 431833 0 0 3 0x14200 cleaner cleaner 14545 252992 0 0 3 0x14200 reaper reaper 18976 82655 0 0 3 0x14200 pgdaemon pagedaemon 60841 480305 0 0 3 0x14200 bored viomb 87001 131459 0 0 3 0x40014200 acpi0 acpi0 52595 84003 0 0 3 0x14200 bored softnet3 86862 89228 0 0 3 0x14200 bored softnet2 87591 392327 0 0 3 0x14200 bored softnet1 5861 519653 0 0 2 0x14200 softnet0 51039 242068 0 0 3 0x14200 bored systqmp 3272 358543 0 0 3 0x14200 bored systq 53167 513718 0 0 3 0x40014200 tmoslp softclock 86769 366150 0 0 3 0x40014200 idle0 1 15863 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 10342 11388K 11437K 166960K 12159 0 pcb 17 14K 16K 166960K 196 0 rtable 188 14K 16K 166960K 474 0 pf 36 14K 16K 166960K 62 0 ifaddr 38 6K 7K 166960K 65 0 ifgroup 55 2K 2K 166960K 80 0 counters 31 17K 17K 166960K 39 0 ioctlops 0 0K 4K 166960K 118 0 iov 0 0K 28K 166960K 38 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1404 88K 89K 166960K 1903 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 6K 166960K 10 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 21 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 14 49K 85K 166960K 584 0 sigio 0 0K 0K 166960K 18 0 proc 61 67K 108K 166960K 549 0 subproc 104 6K 6K 166960K 117 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 41 0 in_multi 77 5K 7K 166960K 142 0 ether_multi 1 0K 0K 166960K 6 0 mrt 1 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 97 440K 440K 166960K 97 0 exec 0 0K 1K 166960K 530 0 fusefs mount 1 32K 32K 166960K 1 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 193 71K 88K 166960K 6708 0 UVM aobj 16 2K 2K 166960K 18 0 pinsyscall 35 70K 91K 166960K 1630 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 13 0 NDP 12 0K 2K 166960K 42 0 temp 50 6813K 6892K 166960K 21031 0 kqueue 13 20K 27K 166960K 85 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 98 0 95 2 0 2 2 0 8 1 rtentry 112 141 0 60 4 0 4 4 0 8 0 unpcb 144 689 0 668 6 0 6 6 0 8 5 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 808 163 0 159 4 0 4 4 0 8 3 arp 88 23 0 8 1 0 1 1 0 8 0 ipq 40 2 0 1 1 0 1 1 0 8 0 ipqe 40 3 0 2 1 0 1 1 0 8 0 inpcb 336 571 0 564 7 0 7 7 0 8 6 nd6 104 31 0 13 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 0 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1072 4 0 4 1 0 1 1 0 8 1 pfstscr 40 1 0 0 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 6 0 0 1 0 1 1 0 8 0 pfstkey 128 6 0 0 1 0 1 1 0 8 0 pfstate 344 3 0 0 1 0 1 1 0 8 0 pfrule 1344 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 599 0 233 29 0 29 29 0 8 5 art_table 32 602 0 233 4 0 4 4 0 8 0 art_node 16 140 0 68 1 0 1 1 0 8 0 sysvmsgpl 40 15 0 13 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 18 0 8 1 0 1 1 0 8 0 shmpl 112 15 0 2 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2427 0 926 95 0 95 95 0 8 0 ffsino 240 2427 0 926 89 0 89 89 0 8 0 nchpl 144 3225 0 1546 63 0 63 63 0 8 0 uvmvnodes 80 2838 0 0 58 0 58 58 0 8 0 vnodes 216 2838 0 0 158 0 158 158 0 8 0 namei 1024 11183 0 11179 1 0 1 1 0 8 0 kstatmem 264 40 0 16 2 0 2 2 0 8 0 scxspl 216 9150 0 9150 8 0 8 8 1 8 8 plimitpl 152 216 0 199 1 0 1 1 0 8 0 sigapl 424 883 0 839 8 0 8 8 0 8 1 futexpl 64 7016 0 7012 1 0 1 1 0 8 0 knotepl 120 19674 0 19626 22 10 12 17 0 8 8 kqueuepl 184 207 0 198 3 0 3 3 0 8 2 pipepl 288 220 0 193 3 0 3 3 0 8 0 fdescpl 432 845 0 819 4 0 4 4 0 8 0 filepl 120 5611 0 5363 13 0 13 13 0 8 3 lockfpl 104 120 0 118 1 0 1 1 0 8 0 lockfspl 48 51 0 49 1 0 1 1 0 8 0 sessionpl 144 23 0 15 1 0 1 1 0 8 0 pgrppl 48 36 0 20 1 0 1 1 0 8 0 ucredpl 104 922 0 909 1 0 1 1 0 8 0 zombiepl 144 839 0 839 1 0 1 1 0 8 1 processpl 1096 883 0 839 5 0 5 5 0 8 1 procpl 648 1524 0 1475 7 0 7 7 0 8 1 sosppl 168 3 0 3 1 0 1 1 0 8 1 sockpl 504 1371 0 1340 22 10 12 22 0 8 8 mcl64k 65536 6 0 6 1 0 1 1 0 8 1 mcl16k 16384 8 0 8 1 0 1 1 0 8 1 mcl9k 9216 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 11 0 11 1 0 1 1 0 8 1 mcl4k 4096 3228 0 3170 18 3 15 18 0 8 7 mcl2k 2048 655 0 649 2 0 2 2 0 8 0 mtagpl 96 98 0 17 3 0 3 3 0 8 0 mbufpl 256 9220 0 8991 19 0 19 19 0 8 2 bufpl 280 2947 0 96 204 0 204 204 0 8 0 anonpl 24 174522 0 171556 45 0 45 45 0 187 24 amapchunkpl 152 22489 0 22102 36 0 36 36 0 158 17 amappl16 200 4218 0 4195 14 4 10 14 0 8 8 amappl15 192 11 0 11 1 0 1 1 0 8 1 amappl14 184 116 0 106 1 0 1 1 0 8 0 amappl13 176 11 0 11 1 0 1 1 0 8 1 amappl12 168 1473 0 1447 2 0 2 2 0 8 0 amappl11 160 98 0 88 1 0 1 1 0 8 0 amappl10 152 8 0 8 1 0 1 1 0 8 1 amappl9 144 175 0 175 1 0 1 1 0 8 1 amappl8 136 101 0 100 1 0 1 1 0 8 0 amappl7 128 96 0 86 1 0 1 1 0 8 0 amappl6 120 185 0 183 1 0 1 1 0 8 0 amappl5 112 135 0 126 1 0 1 1 0 8 0 amappl4 104 283 0 269 1 0 1 1 0 8 0 amappl3 96 4032 0 3956 3 0 3 3 0 8 0 amappl2 88 1102 0 1028 2 0 2 2 0 8 0 amappl1 80 8609 0 8100 13 0 13 13 0 8 2 amappl 88 6326 0 6187 5 0 5 5 0 92 0 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 0 1 1 0 8 1 dma128 128 253 0 253 1 0 1 1 0 8 1 dma64 64 6 0 6 1 0 1 1 0 8 1 dma32 32 7 0 7 1 0 1 1 0 8 1 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 17 0 2 1 0 1 1 0 8 0 uaddrrnd 24 845 0 819 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 845 0 819 1 0 1 1 0 8 0 vmmpekpl 168 7673 0 7640 2 0 2 2 0 8 0 vmmpepl 168 57968 0 56409 88 0 88 88 0 357 11 vmsppl 352 844 0 819 4 0 4 4 0 8 1 rwobjpl 24 21631 0 17965 23 0 23 23 0 8 0 pdppl 4096 1696 0 1638 96 30 66 76 0 8 8 pvpl 32 398351 0 390695 108 0 108 108 0 265 31 pmappl 216 844 0 819 2 0 2 2 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 398 0 43 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ktrops(ffff80003420ccd8,ffffffffffffffff,0,80000310,fffffd806f4150e0,fffffd807f7d7410) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:718 [inline] ktrops(ffff80003420ccd8,ffffffffffffffff,0,80000310,fffffd806f4150e0,fffffd807f7d7410) at ktrops+0x58 sys/kern/kern_ktrace.c:561 doktrace(fffffd806f4150e0,4,310,0,ffff80003420ccd8) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd806f4150e0,4,310,0,ffff80003420ccd8) at doktrace+0x6dd sys/kern/kern_ktrace.c:508 sys_ktrace(ffff80003420ccd8,ffff800037653340,ffff800037653290) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:549 syscall(ffff800037653340) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x574841e6450, count: -5 ddb> machine ddbcpu 1 No such command ddb> trace ktrops(ffff80003420ccd8,ffffffffffffffff,0,80000310,fffffd806f4150e0,fffffd807f7d7410) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:718 [inline] ktrops(ffff80003420ccd8,ffffffffffffffff,0,80000310,fffffd806f4150e0,fffffd807f7d7410) at ktrops+0x58 sys/kern/kern_ktrace.c:561 doktrace(fffffd806f4150e0,4,310,0,ffff80003420ccd8) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd806f4150e0,4,310,0,ffff80003420ccd8) at doktrace+0x6dd sys/kern/kern_ktrace.c:508 sys_ktrace(ffff80003420ccd8,ffff800037653340,ffff800037653290) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:549 syscall(ffff800037653340) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x574841e6450, count: -5