uvm_fault(0xfffffd806c01b200, 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 *330785 41028 0 0 0x4000000 0K syz-executor ktrops(ffff80003b41b9d0,ffffffffffffffff,0,80000112,fffffd8065b98960,fffffd80097fb5b0) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff80003b41b9d0,ffffffffffffffff,0,80000112,fffffd8065b98960,fffffd80097fb5b0) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd8065b98960,4,112,0,ffff80003b41b9d0) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd8065b98960,4,112,0,ffff80003b41b9d0) at doktrace+0x6dd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff80003b41b9d0,ffff80003c459490,ffff80003c4593e0) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003c459490) at syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c459490) at syscall+0xb08 sys/arch/amd64/amd64/trap.c:637 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb6fc6472f0, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: uvm_fault(0xfffffd806c01b200, 0xf, 0, 1) -> e ddb{0}> trace ktrops(ffff80003b41b9d0,ffffffffffffffff,0,80000112,fffffd8065b98960,fffffd80097fb5b0) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff80003b41b9d0,ffffffffffffffff,0,80000112,fffffd8065b98960,fffffd80097fb5b0) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd8065b98960,4,112,0,ffff80003b41b9d0) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd8065b98960,4,112,0,ffff80003b41b9d0) at doktrace+0x6dd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff80003b41b9d0,ffff80003c459490,ffff80003c4593e0) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003c459490) at syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c459490) at syscall+0xb08 sys/arch/amd64/amd64/trap.c:637 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb6fc6472f0, count: -5 ddb{0}> show registers rdi 0xffff80003b41b9d0 rsi 0xffffffffffffffff rbp 0xffff80003c4591b0 rbx 0xfffffd80097fb5b0 rdx 0 rcx 0xffff80003b41b9d0 rax 0xffffffff83865ff0 cpu_info_full_primary+0x1ff0 r8 0xfffffd8065b98960 r9 0xfffffd80097fb5b0 r10 0xd13be5db2fc80281 r11 0xe223406389b9f13d r12 0xffff80003b41b9d0 r13 0xffffffffffffffff r14 0xffffffffffffffff r15 0x80000112 __kernel_virt_to_phys+0x112 rip 0xffffffff8175a958 ktrops+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c459130 ss 0 ktrops+0x58: movq 0x10(%r14),%r14 ddb{0}> show proc PROC (syz-executor) tid=330785 pid=41028 tcnt=4 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=0xffff80003b41b4b0,0xffffffff838d3188 process=0xffff8000ffff7550 user=0xffff80003c454000, vmspace=0xfffffd806c01b200 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 41028 135237 71047 0 2 0 syz-executor 41028 522746 71047 0 2 0x4000000 syz-executor 41028 193968 71047 0 2 0x4000000 syz-executor *41028 330785 71047 0 7 0x4000000 syz-executor 61296 283503 15871 0 2 0 syz-executor 629 123662 81205 0 2 0 syz-executor 83555 283432 29364 0 2 0 syz-executor 83555 419273 29364 0 3 0x4000080 fsleep syz-executor 65270 77121 80681 0 2 0 syz-executor 4183 376830 21816 0 2 0xc80 syz-executor 4183 294690 21816 0 3 0x4000080 nanoslp syz-executor 4183 34866 21816 0 3 0x4000080 fsleep syz-executor 71047 280132 70468 0 2 0xc82 syz-executor 70252 259446 70468 0 3 0x82 piperd syz-executor 50132 295731 1 0 3 0x80 nanoslp init 76547 43294 70468 0 2 0xc82 syz-executor 29364 413307 70468 0 3 0x82 nanoslp syz-executor 81205 137225 70468 0 3 0x82 nanoslp syz-executor 18214 413789 0 0 3 0x14280 nfsidl nfsio 62275 274449 0 0 3 0x14280 nfsidl nfsio 67896 344376 0 0 3 0x14280 nfsidl nfsio 60960 493326 0 0 3 0x14280 nfsidl nfsio 902 333564 0 0 3 0x14280 nfsidl nfsio 14048 248779 0 0 3 0x14280 nfsidl nfsio 3466 249997 0 0 3 0x14280 nfsidl nfsio 84787 252678 0 0 3 0x14280 nfsidl nfsio 27687 342396 0 0 3 0x14280 nfsidl nfsio 58556 410857 0 0 3 0x14280 nfsidl nfsio 40385 169659 0 0 3 0x14280 nfsidl nfsio 12172 159443 0 0 3 0x14280 nfsidl nfsio 53119 354479 0 0 3 0x14280 nfsidl nfsio 75099 106624 0 0 3 0x14280 nfsidl nfsio 43175 314356 0 0 3 0x14280 nfsidl nfsio 75158 129664 0 0 3 0x14280 nfsidl nfsio 61823 431346 0 0 3 0x14280 nfsidl nfsio 97023 399870 0 0 3 0x14280 nfsidl nfsio 82474 14436 0 0 3 0x14280 nfsidl nfsio 56233 404270 0 0 3 0x14280 nfsidl nfsio 33055 180491 0 0 3 0x14200 bored sosplice 80681 73680 70468 0 2 0xc82 syz-executor 15871 335762 70468 0 3 0x82 nanoslp syz-executor 21816 506767 70468 0 2 0xc82 syz-executor 70468 181725 98275 0 2 0x2 syz-executor 98275 331392 37212 0 3 0x10008a sigsusp ksh 37212 241280 42961 0 3 0x98 kqread sshd-session 42961 245669 76905 0 3 0x92 kqread sshd-session 76905 396272 1 0 3 0x88 kqread sshd 45708 272880 26465 74 3 0x1100092 bpf pflogd 26465 182422 1 0 3 0x80 sbwait pflogd 37583 360173 93362 73 3 0x1100090 kqread syslogd 93362 308771 1 0 3 0x100082 sbwait syslogd 56486 198525 1 0 3 0x100080 kqread resolvd 52442 255523 51476 77 3 0x100092 kqread dhcpleased 16885 151069 51476 77 3 0x100092 kqread dhcpleased 51476 58128 1 0 3 0x80 kqread dhcpleased 85892 445662 0 0 3 0x14200 bored smr 9845 172261 0 0 2 0x14200 zerothread 7713 412402 0 0 3 0x14200 aiodoned aiodoned 95115 387666 0 0 3 0x14200 syncer update 73351 478779 0 0 3 0x14200 cleaner cleaner 48502 328493 0 0 3 0x14200 reaper reaper 79702 473962 0 0 3 0x14200 pgdaemon pagedaemon 66068 114822 0 0 3 0x14200 bored viomb 51402 241885 0 0 3 0x40014200 acpi0 acpi0 44797 273485 0 0 7 0x40014200 idle1 36351 379103 0 0 3 0x14200 bored softnet3 30990 355078 0 0 3 0x14200 bored softnet2 84662 454394 0 0 3 0x14200 bored softnet1 47084 441614 0 0 3 0x14200 bored softnet0 21373 71472 0 0 3 0x14200 bored systqmp 57746 444047 0 0 3 0x14200 bored systq 26506 309448 0 0 3 0x14200 tmoslp softclockmp 87952 488507 0 0 3 0x40014200 tmoslp softclock 6921 314880 0 0 3 0x40014200 idle0 1 358134 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks Process 41028 (syz-executor) thread 0xffff80003b41b9d0 (330785) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff8394b840) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1160 #1 __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1 #2 sleep_finish+0x2da sys/kern/kern_synch.c:366 #3 biowait+0xc1 sys/kern/vfs_bio.c:1242 #4 bwrite+0x2e5 sys/kern/vfs_bio.c:754 #5 ffs_update+0x34f sys/ufs/ffs/ffs_inode.c:111 #6 ffs_truncate+0xcb6 sys/ufs/ffs/ffs_inode.c:-1 #7 ufs_inactive+0x206 sys/ufs/ufs/ufs_inode.c:84 #8 VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:498 #9 vrele+0x129 sys/kern/vfs_subr.c:844 #10 ktrsettrace+0xe7 sys/kern/kern_ktrace.c:122 #11 ktrops+0x271 sys/kern/kern_ktrace.c:573 #12 doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] #12 doktrace+0x6dd sys/kern/kern_ktrace.c:517 #13 sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 #14 syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] #14 syscall+0xb08 sys/arch/amd64/amd64/trap.c:637 #15 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10219 11109K 13479K 166960K 14369 0 pcb 17 16K 31K 166960K 526 0 rtable 171 8K 9K 166960K 800 0 pf 32 17K 18K 166960K 128 0 ifaddr 36 6K 8K 166960K 113 0 ifgroup 51 2K 2K 166960K 160 0 sysctl 4 1K 9K 166960K 20 0 counters 66 36K 37K 166960K 168 0 ioctlops 0 0K 4K 166960K 1830 0 iov 0 0K 20K 166960K 215 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1568 99K 99K 166960K 3284 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 35 0 VM map 2 1K 1K 166960K 2 0 sem 18 16K 16K 166960K 94 0 dirhash 12 2K 3K 166960K 51 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 89K 166960K 1820 0 sigio 0 0K 0K 166960K 26 0 proc 63 79K 128K 166960K 927 0 subproc 72 4K 4K 166960K 126 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 214 0 in_multi 70 5K 7K 166960K 216 0 ether_multi 1 0K 0K 166960K 7 0 mrt 1 0K 0K 166960K 16 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 760 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 7 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 214 155K 182K 166960K 18212 0 UVM aobj 28 2K 4K 166960K 33 0 pinsyscall 41 82K 105K 166960K 3082 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 149 0 NDP 13 0K 2K 166960K 74 0 temp 109 8696K 8768K 166960K 89569 0 kqueue 15 22K 31K 166960K 338 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 26 0 0 1 0 1 1 0 8 0 rtpcb 120 135 0 132 1 0 1 1 0 8 0 rtentry 176 255 0 186 6 2 4 6 0 8 0 unpcb 144 1507 0 1490 14 9 5 6 0 8 4 syncache 336 8 0 8 4 4 0 1 0 8 0 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 736 435 0 429 7 1 6 7 0 8 5 arp 128 36 0 23 1 0 1 1 0 8 0 inpcb 328 1963 0 1954 29 21 8 10 0 8 7 nd6 144 48 0 33 1 0 1 1 0 8 0 pkpcb 40 19 0 19 3 2 1 1 0 8 1 kcovpl 48 14 0 6 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1192 35 0 35 5 4 1 1 0 8 1 pppxif 1504 7 0 7 4 3 1 1 0 8 1 pffrag 232 9 0 1 1 0 1 1 0 482 0 pffrnode 88 9 0 1 1 0 1 1 0 8 0 pffrent 40 15 0 7 3 2 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfrktable 1344 2 0 2 2 1 1 1 0 8 1 pfstitem 24 113 0 48 1 0 1 1 0 8 0 pfstkey 128 113 0 48 3 0 3 3 0 8 0 pfstate 384 113 0 48 7 0 7 7 0 8 0 pfrule 1344 22 0 17 2 1 1 2 0 8 0 rttmr 136 4 0 4 3 2 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 948 0 630 30 9 21 29 0 8 1 art_table 32 951 0 630 4 0 4 4 0 8 0 art_node 16 218 0 157 1 0 1 1 0 8 0 sysvmsgpl 40 11 0 7 1 0 1 1 0 8 0 semapl 112 90 0 74 1 0 1 1 0 8 0 shmpl 112 30 0 5 1 0 1 1 0 8 0 dirhash 1024 43 0 26 3 0 3 3 0 8 0 dino2pl 256 4717 0 3206 95 0 95 95 0 8 0 ffsino 288 4717 0 3206 109 0 109 109 0 8 0 nchpl 144 7167 0 5464 64 0 64 64 0 8 0 rtmask 32 8 0 8 4 4 0 1 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 26195 0 26195 4 3 1 2 0 8 1 percpumem 16 99 0 51 1 0 1 1 0 8 0 kstatmem 264 94 0 68 3 0 3 3 0 8 0 scsiplug 72 14 0 14 3 2 1 1 0 8 1 scxspl 216 44380 0 44380 10 9 1 8 1 8 1 plimitpl 152 319 0 303 1 0 1 1 0 8 0 sigapl 424 2139 0 2069 11 2 9 9 0 8 0 knotepl 120 746 0 0 23 0 23 23 0 8 0 kqueuepl 224 872 0 828 11 6 5 5 0 8 2 pipepl 336 265 0 238 3 0 3 3 0 8 0 fdescpl 520 2095 0 2064 3 0 3 3 0 8 0 filepl 160 14176 0 13928 42 23 19 23 0 8 6 lockfpl 104 852 0 849 2 1 1 2 0 8 0 lockfspl 48 379 0 376 1 0 1 1 0 8 0 sessionpl 144 34 0 26 1 0 1 1 0 8 0 pgrppl 48 65 0 49 1 0 1 1 0 8 0 ucredpl 104 2022 0 2009 1 0 1 1 0 8 0 zombiepl 144 2070 0 2069 2 1 1 1 0 8 0 processpl 1240 2139 0 2069 6 0 6 6 0 8 0 procpl 656 4817 0 4741 9 1 8 8 0 8 0 srpgc 96 24 0 24 4 4 0 1 0 8 0 sosppl 168 8 0 8 5 4 1 1 0 8 1 sockpl 728 3763 0 3734 55 44 11 24 0 8 7 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 129 0 0 17 0 17 17 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 31 0 0 4 0 4 4 0 8 0 mtagpl 96 46 0 0 2 0 2 2 0 8 0 mbufpl 256 309 0 0 17 0 17 17 0 8 0 bufpl 280 19455 0 13313 440 1 439 440 0 8 0 anonpl 32 14596 0 0 118 0 118 118 0 246 0 amapchunkpl 152 61168 0 60747 46 21 25 32 0 158 4 amappl16 200 7520 0 7487 65 51 14 37 0 8 5 amappl15 192 72 0 72 2 2 0 1 0 8 0 amappl14 184 132 0 121 1 0 1 1 0 8 0 amappl13 176 8 0 8 2 2 0 1 0 8 0 amappl12 168 2847 0 2819 4 2 2 3 0 8 0 amappl11 160 50 0 36 1 0 1 1 0 8 0 amappl10 152 16 0 16 1 1 0 1 0 8 0 amappl9 144 255 0 254 2 1 1 1 0 8 0 amappl8 136 21 0 18 1 0 1 1 0 8 0 amappl7 128 130 0 118 1 0 1 1 0 8 0 amappl6 120 237 0 232 1 0 1 1 0 8 0 amappl5 112 152 0 141 1 0 1 1 0 8 0 amappl4 104 340 0 320 1 0 1 1 0 8 0 amappl3 96 12321 0 12227 5 1 4 4 0 8 0 amappl2 88 755 0 692 2 0 2 2 0 8 0 amappl1 80 16039 0 15469 17 3 14 15 0 8 0 amappl 88 17121 0 16975 5 0 5 5 0 92 0 dma32768 32768 2 0 2 2 2 0 1 0 8 0 dma16384 16384 1 0 1 1 1 0 1 0 8 0 dma8192 8192 1 0 1 1 1 0 1 0 8 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 dma512 512 2 0 2 1 1 0 1 0 8 0 dma256 256 7 0 7 2 2 0 1 0 8 0 dma128 128 259 0 259 4 4 0 1 0 8 0 dma64 64 8 0 8 3 3 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 32 0 5 1 0 1 1 0 8 0 uaddrrnd 24 2095 0 2064 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2095 0 2064 1 0 1 1 0 8 0 vmmpekpl 168 17012 0 16949 4 0 4 4 0 8 0 vmmpepl 168 135760 0 133840 127 24 103 116 0 357 4 vmsppl 480 2094 0 2064 5 0 5 5 0 8 0 rwobjpl 72 42319 0 35484 126 0 126 126 0 8 0 pdppl 4096 4197 0 4128 123 52 71 83 0 8 2 pvpl 32 20479 0 0 165 0 165 165 0 265 0 pmappl 256 2094 0 2064 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 435 0 78 11 0 11 11 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace ktrops(ffff80003b41b9d0,ffffffffffffffff,0,80000112,fffffd8065b98960,fffffd80097fb5b0) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff80003b41b9d0,ffffffffffffffff,0,80000112,fffffd8065b98960,fffffd80097fb5b0) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd8065b98960,4,112,0,ffff80003b41b9d0) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd8065b98960,4,112,0,ffff80003b41b9d0) at doktrace+0x6dd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff80003b41b9d0,ffff80003c459490,ffff80003c4593e0) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003c459490) at syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c459490) at syscall+0xb08 sys/arch/amd64/amd64/trap.c:637 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb6fc6472f0, count: -5 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff8000299ddff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 acpicpu_idle() at acpicpu_idle+0x41e sys/dev/acpi/acpicpu_x86.c:1218 sched_idle(ffff8000299ddff0) at sched_idle+0x4d8 sys/kern/kern_sched.c:191 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff8000299ddff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 acpicpu_idle() at acpicpu_idle+0x41e sys/dev/acpi/acpicpu_x86.c:1218 sched_idle(ffff8000299ddff0) at sched_idle+0x4d8 sys/kern/kern_sched.c:191 end trace frame: 0x0, count: -5