login: uvm_fault(0xfffffd8069fbd180, 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 *121408 61012 0 0 0x4000000 0 syz-executor ktrops(ffff80002a7767b8,ffffffffffffffff,0,80000310,fffffd8065a3fd80,fffffd8007bfb5b0) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff80002a7767b8,ffffffffffffffff,0,80000310,fffffd8065a3fd80,fffffd8007bfb5b0) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd8065a3fd80,4,310,0,ffff80002a7767b8) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd8065a3fd80,4,310,0,ffff80002a7767b8) at doktrace+0x6dd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff80002a7767b8,ffff80003c96b2a0,ffff80003c96b1f0) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003c96b2a0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c96b2a0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa98ee762150, 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(0xfffffd8069fbd180, 0xf, 0, 1) -> e ddb> trace ktrops(ffff80002a7767b8,ffffffffffffffff,0,80000310,fffffd8065a3fd80,fffffd8007bfb5b0) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff80002a7767b8,ffffffffffffffff,0,80000310,fffffd8065a3fd80,fffffd8007bfb5b0) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd8065a3fd80,4,310,0,ffff80002a7767b8) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd8065a3fd80,4,310,0,ffff80002a7767b8) at doktrace+0x6dd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff80002a7767b8,ffff80003c96b2a0,ffff80003c96b1f0) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003c96b2a0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c96b2a0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa98ee762150, count: -5 ddb> show registers rdi 0xffff80002e102000 rsi 0x10da __ALIGN_SIZE+0xda rbp 0xffff80003c96afc0 rbx 0xfffffd8007bfb5b0 rdx 0xffff80002e102000 rcx 0x10d9 __ALIGN_SIZE+0xd9 rax 0xffffffff81d05183 ktrops+0x43 r8 0xfffffd8065a3fd80 r9 0xfffffd8007bfb5b0 r10 0xa5a6a87a7d171f7b r11 0xec06fa2c4875808a r12 0xffff80002a7767b8 r13 0xffffffffffffffff r14 0xffffffffffffffff r15 0x80000310 __kernel_virt_to_phys+0x310 rip 0xffffffff81d05198 ktrops+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c96af40 ss 0 ktrops+0x58: movq 0x10(%r14),%r14 ddb> show proc PROC (syz-executor) tid=121408 pid=61012 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=0xffff80002a7eaa60,0xffffffff8395ead0 process=0xffff80003c9a7b08 user=0xffff80003c966000, vmspace=0xfffffd8069fbd180 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 61012 402958 41920 0 2 0 syz-executor *61012 121408 41920 0 7 0x4000000 syz-executor 29611 151941 52893 0 2 0 syz-executor 29611 449153 52893 0 3 0x4000080 fsleep syz-executor 43757 160481 17829 0 2 0 syz-executor 43757 117781 17829 0 3 0x4000080 fsleep syz-executor 86261 193219 93489 0 3 0x80 nanoslp syz-executor 86261 221017 93489 0 3 0x4000080 lockf syz-executor 86261 86074 93489 0 3 0x4000080 lockf syz-executor 86261 94342 93489 0 3 0x4000080 fsleep syz-executor 71406 197326 94044 0 3 0x1000080 nanoslp syz-executor 71406 382774 94044 0 3 0x5000080 sbwait syz-executor 71406 19486 94044 0 3 0x5000080 fsleep syz-executor 1918 210696 0 0 3 0x14200 acct acct 10537 402561 1 0 3 0x100083 ttyin getty 65724 395665 0 0 3 0x14280 nfsidl nfsio 92608 18019 0 0 3 0x14280 nfsidl nfsio 35857 283422 0 0 3 0x14280 nfsidl nfsio 6230 145263 0 0 3 0x14280 nfsidl nfsio 42550 457883 0 0 3 0x14280 nfsidl nfsio 90434 500197 0 0 3 0x14280 nfsidl nfsio 21830 494805 0 0 3 0x14280 nfsidl nfsio 53457 62331 0 0 3 0x14280 nfsidl nfsio 51058 260441 0 0 3 0x14280 nfsidl nfsio 98601 44751 0 0 3 0x14280 nfsidl nfsio 16545 60434 0 0 3 0x14280 nfsidl nfsio 14246 327688 0 0 3 0x14280 nfsidl nfsio 5520 496634 0 0 3 0x14280 nfsidl nfsio 62236 223829 0 0 3 0x14280 nfsidl nfsio 32594 14640 0 0 3 0x14280 nfsidl nfsio 26418 282333 0 0 3 0x14280 nfsidl nfsio 95304 5976 0 0 3 0x14280 nfsidl nfsio 81655 143763 0 0 3 0x14280 nfsidl nfsio 73098 359430 0 0 3 0x14280 nfsidl nfsio 29338 265305 0 0 3 0x14280 nfsidl nfsio 17829 438110 81110 0 3 0x82 nanoslp syz-executor 7743 57734 81110 0 2 0x2 syz-executor 52893 234857 81110 0 3 0x82 nanoslp syz-executor 93489 123218 81110 0 3 0x82 nanoslp syz-executor 41920 448705 81110 0 3 0x82 nanoslp syz-executor 33130 73530 81110 0 2 0x2 syz-executor 31612 220467 81110 0 3 0x82 nanoslp syz-executor 94044 112994 81110 0 3 0x82 nanoslp syz-executor 81110 220438 35301 0 3 0x82 kqread syz-executor 35301 352311 77758 0 3 0x10008a sigsusp ksh 77758 320636 77489 0 3 0x98 kqread sshd-session 77489 142778 64984 0 3 0x92 kqread sshd-session 64984 396109 1 0 3 0x88 kqread sshd 14993 185999 37417 73 3 0x1100090 kqread syslogd 37417 25399 1 0 3 0x100082 sbwait syslogd 10199 334057 1 0 3 0x100080 kqread resolvd 41746 286530 17241 77 3 0x100092 kqread dhcpleased 16 65832 17241 77 3 0x100092 kqread dhcpleased 17241 501598 1 0 3 0x80 kqread dhcpleased 35528 347649 0 0 3 0x14200 bored smr 52637 438279 0 0 2 0x14200 zerothread 90039 261325 0 0 3 0x14200 aiodoned aiodoned 26379 189892 0 0 3 0x14200 syncer update 23080 341621 0 0 3 0x14200 cleaner cleaner 68711 416686 0 0 3 0x14200 reaper reaper 76866 418425 0 0 3 0x14200 pgdaemon pagedaemon 80019 499540 0 0 3 0x14200 bored viomb 68111 252312 0 0 3 0x40014200 acpi0 acpi0 10219 488852 0 0 3 0x14200 bored softnet3 43544 486715 0 0 3 0x14200 bored softnet2 5261 42179 0 0 3 0x14200 bored softnet1 66333 430078 0 0 3 0x14200 bored softnet0 93206 433740 0 0 3 0x14200 bored systqmp 54664 235120 0 0 3 0x14200 bored systq 2324 24805 0 0 3 0x40014200 tmoslp softclock 73822 196534 0 0 3 0x40014200 idle0 1 516487 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 10182 11062K 11436K 166960K 11569 0 pcb 18 14K 16K 166960K 187 0 rtable 232 8K 8K 166960K 413 0 pf 33 13K 17K 166960K 58 0 ifaddr 43 7K 8K 166960K 57 0 ifgroup 52 2K 2K 166960K 74 0 sysctl 1 1K 9K 166960K 5 0 counters 34 17K 18K 166960K 43 0 ioctlops 0 0K 4K 166960K 65 0 iov 0 0K 16K 166960K 123 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1351 85K 85K 166960K 1667 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 9K 166960K 6 0 VM map 2 1K 1K 166960K 2 0 sem 10 0K 0K 166960K 12 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 89K 166960K 400 0 sigio 0 0K 0K 166960K 8 0 proc 60 59K 91K 166960K 512 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 10 0 in_multi 99 7K 7K 166960K 111 0 ether_multi 1 0K 0K 166960K 5 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 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 472 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 215 142K 157K 166960K 5088 0 UVM aobj 9 2K 2K 166960K 9 0 pinsyscall 37 74K 92K 166960K 1429 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 14 0 NDP 12 0K 2K 166960K 35 0 temp 75 8688K 8795K 166960K 16626 0 kqueue 14 22K 30K 166960K 70 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 86 0 82 2 0 2 2 0 8 1 rtentry 136 122 0 18 4 0 4 4 0 8 0 unpcb 144 296 0 279 2 0 2 2 0 8 1 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 736 67 0 63 1 0 1 1 0 8 0 arp 88 20 0 1 1 0 1 1 0 8 0 ipq 40 2 0 0 1 0 1 1 0 8 0 ipqe 40 3 0 1 1 0 1 1 0 8 0 inpcb 328 312 0 303 7 0 7 7 0 8 5 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 8 0 6 1 0 1 1 0 8 0 pppxif 1384 2 0 2 1 0 1 1 0 8 1 pfanchor 1288 3 0 0 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 2 0 0 1 0 1 1 0 8 0 pfstate 384 1 0 0 1 0 1 1 0 8 0 pfrule 1344 3 0 1 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 518 0 49 30 0 30 30 0 8 0 art_table 32 520 0 49 4 0 4 4 0 8 0 art_node 16 119 0 25 1 0 1 1 0 8 0 sysvmsgpl 40 40 0 0 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 9 0 1 1 0 1 1 0 8 0 shmpl 112 6 0 0 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2187 0 686 95 0 95 95 0 8 0 ffsino 248 2187 0 686 95 0 95 95 0 8 0 nchpl 144 2761 0 1075 63 0 63 63 0 8 0 uvmvnodes 80 2360 0 0 49 0 49 49 0 8 0 vnodes 216 2360 0 0 132 0 132 132 0 8 0 namei 1024 8708 0 8708 1 0 1 1 0 8 1 kstatmem 264 38 0 14 2 0 2 2 0 8 0 scsiplug 72 3 0 3 1 0 1 1 0 8 1 scxspl 216 8539 0 8539 8 0 8 8 1 8 8 plimitpl 152 98 0 82 1 0 1 1 0 8 0 sigapl 424 700 0 635 8 0 8 8 0 8 0 knotepl 120 11953 0 11905 10 0 10 10 0 8 7 kqueuepl 184 105 0 94 1 0 1 1 0 8 0 pipepl 296 123 0 96 3 0 3 3 0 8 0 fdescpl 440 663 0 635 5 0 5 5 0 8 1 filepl 120 3483 0 3262 11 0 11 11 0 8 3 lockfpl 104 98 0 92 1 0 1 1 0 8 0 lockfspl 48 43 0 40 1 0 1 1 0 8 0 sessionpl 144 22 0 14 1 0 1 1 0 8 0 pgrppl 48 37 0 21 1 0 1 1 0 8 0 ucredpl 104 709 0 698 1 0 1 1 0 8 0 zombiepl 144 636 0 635 1 0 1 1 0 8 0 processpl 1160 700 0 635 5 0 5 5 0 8 0 procpl 656 1100 0 1027 8 0 8 8 0 8 1 sockpl 528 751 0 721 7 0 7 7 0 8 3 mcl64k 65536 13 0 11 1 0 1 1 0 8 0 mcl9k 9216 3 0 3 1 0 1 1 0 8 1 mcl8k 8192 6 0 6 1 0 1 1 0 8 1 mcl4k 4096 2763 0 2713 14 0 14 14 0 8 7 mcl2k 2048 391 0 388 2 0 2 2 0 8 1 mtagpl 96 9 0 4 1 0 1 1 0 8 0 mbufpl 256 7060 0 6834 28 5 23 28 0 8 8 bufpl 280 3967 0 119 275 0 275 275 0 8 0 anonpl 24 124241 0 121130 44 0 44 44 0 187 22 amapchunkpl 152 16280 0 15834 28 0 28 28 0 158 8 amappl16 200 2445 0 2415 14 4 10 14 0 8 7 amappl15 192 21 0 21 1 0 1 1 0 8 1 amappl14 184 104 0 94 1 0 1 1 0 8 0 amappl13 176 9 0 9 1 0 1 1 0 8 1 amappl12 168 1272 0 1244 2 0 2 2 0 8 0 amappl11 160 46 0 36 1 0 1 1 0 8 0 amappl10 152 5 0 5 1 0 1 1 0 8 1 amappl9 144 239 0 239 1 0 1 1 0 8 1 amappl8 136 33 0 31 1 0 1 1 0 8 0 amappl7 128 107 0 97 1 0 1 1 0 8 0 amappl6 120 176 0 172 1 0 1 1 0 8 0 amappl5 112 172 0 166 1 0 1 1 0 8 0 amappl4 104 296 0 279 1 0 1 1 0 8 0 amappl3 96 2926 0 2824 3 0 3 3 0 8 0 amappl2 88 603 0 547 2 0 2 2 0 8 0 amappl1 80 8841 0 8304 13 0 13 13 0 8 1 amappl 88 4410 0 4259 5 0 5 5 0 92 0 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma256 256 6 0 6 1 0 1 1 0 8 1 dma128 128 255 0 255 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 8 0 0 1 0 1 1 0 8 0 uaddrrnd 24 663 0 635 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 663 0 635 1 0 1 1 0 8 0 vmmpekpl 168 6655 0 6620 3 0 3 3 0 8 0 vmmpepl 168 47249 0 45459 92 0 92 92 0 357 9 vmsppl 360 662 0 635 4 0 4 4 0 8 1 rwobjpl 32 17397 0 14198 26 0 26 26 0 8 0 pdppl 4096 1332 0 1270 96 30 66 78 0 8 4 pvpl 32 304666 0 295991 111 0 111 111 0 265 35 pmappl 216 662 0 635 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 278 0 35 8 0 8 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ktrops(ffff80002a7767b8,ffffffffffffffff,0,80000310,fffffd8065a3fd80,fffffd8007bfb5b0) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff80002a7767b8,ffffffffffffffff,0,80000310,fffffd8065a3fd80,fffffd8007bfb5b0) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd8065a3fd80,4,310,0,ffff80002a7767b8) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd8065a3fd80,4,310,0,ffff80002a7767b8) at doktrace+0x6dd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff80002a7767b8,ffff80003c96b2a0,ffff80003c96b1f0) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003c96b2a0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c96b2a0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa98ee762150, count: -5 ddb> machine ddbcpu 1 No such command ddb> trace ktrops(ffff80002a7767b8,ffffffffffffffff,0,80000310,fffffd8065a3fd80,fffffd8007bfb5b0) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff80002a7767b8,ffffffffffffffff,0,80000310,fffffd8065a3fd80,fffffd8007bfb5b0) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd8065a3fd80,4,310,0,ffff80002a7767b8) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd8065a3fd80,4,310,0,ffff80002a7767b8) at doktrace+0x6dd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff80002a7767b8,ffff80003c96b2a0,ffff80003c96b1f0) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003c96b2a0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c96b2a0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa98ee762150, count: -5