uvm_fault(0xfffffd806cb20e70, 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 *140609 1424 0 0 0x4000000 0 syz-executor ktrops(ffff80002a820030,ffffffffffffffff,0,a0c7df9f,fffffd8069b17120,fffffd8007bfd4e0) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff80002a820030,ffffffffffffffff,0,a0c7df9f,fffffd8069b17120,fffffd8007bfd4e0) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd8069b17120,4,20c7df9f,0,ffff80002a820030) at doktrace+0x6bd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd8069b17120,4,20c7df9f,0,ffff80002a820030) at doktrace+0x6bd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff80002a820030,ffff80003c9650c0,ffff80003c965010) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003c9650c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9650c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xba29ed52610, 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(0xfffffd806cb20e70, 0xf, 0, 1) -> e ddb> trace ktrops(ffff80002a820030,ffffffffffffffff,0,a0c7df9f,fffffd8069b17120,fffffd8007bfd4e0) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff80002a820030,ffffffffffffffff,0,a0c7df9f,fffffd8069b17120,fffffd8007bfd4e0) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd8069b17120,4,20c7df9f,0,ffff80002a820030) at doktrace+0x6bd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd8069b17120,4,20c7df9f,0,ffff80002a820030) at doktrace+0x6bd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff80002a820030,ffff80003c9650c0,ffff80003c965010) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003c9650c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9650c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xba29ed52610, count: -5 ddb> show registers rdi 0xffff80003190a000 rsi 0xd33 rbp 0xffff80003c964de0 rbx 0xfffffd8007bfd4e0 rdx 0xffff80003190a000 rcx 0xd32 rax 0xffffffff821e6e63 ktrops+0x43 r8 0xfffffd8069b17120 r9 0xfffffd8007bfd4e0 r10 0xb02b1895895db79f r11 0x2ba688fc7c4b7ed6 r12 0xffff80002a820030 r13 0xffffffffffffffff r14 0xffffffffffffffff r15 0xa0c7df9f rip 0xffffffff821e6e78 ktrops+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c964d60 ss 0x10 ktrops+0x58: movq 0x10(%r14),%r14 ddb> show proc PROC (syz-executor) tid=140609 pid=1424 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=17, usrpri=80, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a820fc0,0xffff80002a820d38 process=0xffff8000ffff9698 user=0xffff80003c960000, vmspace=0xfffffd806cb20e70 estcpu=30, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 89289 408430 67794 0 2 0x100000 sh 67794 243109 8330 0 3 0x10008a sigsusp sh 62088 89531 47439 0 2 0 syz-executor 62088 83712 47439 0 3 0x4000080 fsleep syz-executor 22600 174222 37262 0 2 0 syz-executor 22600 448331 37262 0 3 0x4000080 fsleep syz-executor 1424 139541 22147 0 2 0 syz-executor * 1424 140609 22147 0 7 0x4000000 syz-executor 28794 500966 13495 0 2 0 syz-executor 28794 158847 13495 0 3 0x4000080 fsleep syz-executor 70594 404222 53031 0 2 0 syz-executor 70594 48581 53031 0 3 0x4000080 fsleep syz-executor 5998 90294 12321 0 2 0 syz-executor 5998 495970 12321 0 2 0x4000000 syz-executor 8330 520744 82163 0 3 0x82 wait syz-executor 71531 7325 0 0 3 0x14200 acct acct 46065 189761 0 0 3 0x14280 nfsidl nfsio 43575 96219 0 0 3 0x14280 nfsidl nfsio 45668 28013 0 0 3 0x14280 nfsidl nfsio 28424 164792 0 0 3 0x14280 nfsidl nfsio 8224 242223 0 0 2 0x14280 nfsio 96064 495173 0 0 2 0x14280 nfsio 50121 310764 0 0 2 0x14280 nfsio 34430 425190 0 0 2 0x14280 nfsio 63536 283333 0 0 2 0x14280 nfsio 91066 220488 0 0 2 0x14280 nfsio 58378 368465 0 0 2 0x14280 nfsio 59684 66072 0 0 2 0x14280 nfsio 41679 242101 0 0 2 0x14280 nfsio 46820 265411 0 0 2 0x14280 nfsio 97834 268157 0 0 2 0x14280 nfsio 56641 3391 0 0 2 0x14280 nfsio 97096 105521 0 0 2 0x14280 nfsio 82329 196549 0 0 2 0x14280 nfsio 36845 478158 0 0 2 0x14280 nfsio 53031 31295 82163 0 2 0xc82 syz-executor 47439 79950 82163 0 2 0xc82 syz-executor 37262 11755 82163 0 2 0xc82 syz-executor 22147 140644 82163 0 2 0xc82 syz-executor 13495 108735 82163 0 2 0xc82 syz-executor 46410 19455 82163 0 2 0x2 syz-executor 12321 89351 82163 0 2 0xc82 syz-executor 82163 420091 62748 0 3 0x82 kqread syz-executor 62748 288614 32700 0 3 0x10008a sigsusp ksh 32700 36782 14800 0 3 0x98 kqread sshd-session 14800 122374 7129 0 3 0x92 kqread sshd-session 12521 302340 1 0 3 0x100083 ttyopn getty 7129 285955 1 0 3 0x88 kqread sshd 10375 76134 76105 73 3 0x1100090 kqread syslogd 76105 486648 1 0 3 0x100082 sbwait syslogd 90984 369589 1 0 3 0x100080 kqread resolvd 4656 69268 24911 77 3 0x100092 kqread dhcpleased 87224 278632 24911 77 3 0x100092 kqread dhcpleased 24911 268704 1 0 3 0x80 kqread dhcpleased 1564 510529 0 0 3 0x14200 bored smr 67730 191389 0 0 2 0x14200 zerothread 1758 201015 0 0 3 0x14200 aiodoned aiodoned 94254 176475 0 0 3 0x14200 syncer update 3631 482810 0 0 3 0x14200 cleaner cleaner 5015 310272 0 0 3 0x14200 reaper reaper 59539 424453 0 0 3 0x14200 pgdaemon pagedaemon 22992 329910 0 0 3 0x14200 bored viomb 53386 137340 0 0 3 0x40014200 acpi0 acpi0 13127 65832 0 0 3 0x14200 bored softnet0 29019 3737 0 0 3 0x14200 bored systqmp 6797 241866 0 0 3 0x14200 bored systq 2323 140440 0 0 3 0x40014200 tmoslp softclock 47161 149221 0 0 3 0x40014200 idle0 1 344710 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10202 11119K 12268K 166960K 12872 0 pcb 19 14K 16K 166960K 261 0 rtable 195 8K 9K 166960K 908 0 pf 29 12K 14K 166960K 125 0 ifaddr 34 6K 7K 166960K 134 0 ifgroup 46 2K 2K 166960K 182 0 sysctl 3 1K 9K 166960K 10 0 counters 32 17K 18K 166960K 78 0 ioctlops 0 0K 4K 166960K 231 0 iov 0 0K 16K 166960K 48 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1418 89K 90K 166960K 2139 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 5 0 VM map 2 1K 1K 166960K 2 0 sem 19 5K 5K 166960K 33 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 89K 166960K 1002 0 sigio 0 0K 0K 166960K 11 0 proc 63 67K 83K 166960K 966 0 subproc 72 4K 4K 166960K 216 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 34 0 in_multi 73 5K 7K 166960K 282 0 ether_multi 1 0K 0K 166960K 3 0 mrt 0 0K 0K 166960K 4 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 217 970K 970K 166960K 217 0 exec 0 0K 1K 166960K 618 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 218 151K 168K 166960K 9810 0 UVM aobj 19 12K 12K 166960K 23 0 pinsyscall 39 78K 93K 166960K 2493 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 31 0 NDP 10 0K 1K 166960K 95 0 temp 55 8666K 8741K 166960K 30163 0 kqueue 16 22K 28K 166960K 153 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 187 0 183 3 0 3 3 0 8 2 rtentry 136 294 0 215 4 0 4 4 0 8 0 unpcb 144 579 0 563 4 0 4 4 0 8 3 syncache 336 7 0 7 1 0 1 1 0 8 1 tcpcb 736 222 0 217 7 0 7 7 0 8 6 arp 96 51 0 35 1 0 1 1 0 8 0 ipq 40 7 0 1 1 0 1 1 0 8 0 ipqe 40 20 0 14 1 0 1 1 0 8 0 inpcb 328 729 0 715 7 0 7 7 0 8 5 ip6q 72 3 0 2 1 0 1 1 0 8 0 ip6af 40 5 0 4 1 0 1 1 0 8 0 nd6 112 72 0 54 1 0 1 1 0 8 0 pkpcb 40 5 0 5 1 0 1 1 0 8 1 kcovpl 48 24 0 16 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1072 21 0 21 1 0 1 1 0 8 1 pppxif 1384 1 0 1 1 0 1 1 0 8 1 pfrktable 1344 1 0 1 1 0 1 1 0 8 1 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 4 0 2 1 0 1 1 0 8 0 pfstate 384 2 0 1 1 0 1 1 0 8 0 pfrule 1344 7 0 7 1 0 1 1 0 8 1 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 1276 0 922 30 0 30 30 0 8 1 art_table 40 1280 0 922 5 0 5 5 0 8 0 art_node 32 293 0 222 1 0 1 1 0 8 0 sysvmsgpl 40 10 0 9 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 27 0 10 1 0 1 1 0 8 0 shmpl 112 16 0 4 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2740 0 1207 96 0 96 96 0 8 0 ffsino 256 2740 0 1207 96 0 96 96 0 8 0 nchpl 144 3864 0 2123 65 0 65 65 0 8 0 rtmask 32 6 0 6 1 0 1 1 0 8 1 vnodes 216 3220 0 0 179 0 179 179 0 8 0 namei 1024 14614 0 14613 2 0 2 2 0 8 1 vcpupl 3904 4 0 0 1 0 1 1 0 8 0 vmpool 800 4 0 0 1 0 1 1 0 8 0 kstatmem 264 96 0 76 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 12077 0 12077 8 0 8 8 1 8 8 plimitpl 152 275 0 259 1 0 1 1 0 8 0 sigapl 424 1284 0 1221 8 0 8 8 0 8 0 knotepl 120 28159 0 28110 29 19 10 23 0 8 7 kqueuepl 184 457 0 447 4 0 4 4 0 8 3 pipepl 304 251 0 224 3 0 3 3 0 8 0 fdescpl 448 1249 0 1219 5 0 5 5 0 8 1 filepl 120 7226 0 7010 11 0 11 11 0 8 4 lockfpl 104 228 0 226 1 0 1 1 0 8 0 lockfspl 48 103 0 101 1 0 1 1 0 8 0 sessionpl 144 39 0 31 1 0 1 1 0 8 0 pgrppl 48 71 0 55 1 0 1 1 0 8 0 ucredpl 104 1256 0 1242 1 0 1 1 0 8 0 zombiepl 144 1221 0 1221 1 0 1 1 0 8 1 processpl 1152 1284 0 1221 5 0 5 5 0 8 0 procpl 664 2260 0 2191 7 0 7 7 0 8 0 sosppl 176 2 0 2 1 0 1 1 0 8 1 sockpl 552 1518 0 1484 8 0 8 8 0 8 5 mcl64k 65536 188 0 186 1 0 1 1 0 8 0 mcl16k 16384 3 0 3 1 0 1 1 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 79 0 79 1 0 1 1 0 8 1 mcl4k 4096 3334 0 3279 16 1 15 16 0 8 7 mcl2k 2048 1562 0 1555 3 0 3 3 0 8 2 mtagpl 96 26 0 13 1 0 1 1 0 8 0 mbufpl 256 13505 0 13341 76 55 21 76 0 8 6 bufpl 280 4508 0 124 314 0 314 314 0 8 0 anonpl 24 186364 0 182727 51 0 51 51 0 187 26 amapchunkpl 152 31650 0 31204 34 0 34 34 0 158 16 amappl16 200 3128 0 3067 19 9 10 15 0 8 6 amappl15 192 20 0 20 1 0 1 1 0 8 1 amappl14 184 3 0 3 1 0 1 1 0 8 1 amappl13 176 595 0 592 1 0 1 1 0 8 0 amappl12 168 1694 0 1655 2 0 2 2 0 8 0 amappl11 160 6 0 5 1 0 1 1 0 8 0 amappl10 152 44 0 34 1 0 1 1 0 8 0 amappl9 144 242 0 242 1 0 1 1 0 8 1 amappl8 136 48 0 46 1 0 1 1 0 8 0 amappl7 128 141 0 139 1 0 1 1 0 8 0 amappl6 120 452 0 439 1 0 1 1 0 8 0 amappl5 112 80 0 72 1 0 1 1 0 8 0 amappl4 104 494 0 472 1 0 1 1 0 8 0 amappl3 96 6032 0 5930 4 0 4 4 0 8 1 amappl2 88 661 0 606 2 0 2 2 0 8 0 amappl1 80 13897 0 13353 13 0 13 13 0 8 0 amappl 88 8717 0 8568 5 0 5 5 0 92 0 uvmvnodes 80 116 0 0 3 0 3 3 0 8 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 254 0 254 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 22 0 4 1 0 1 1 0 8 0 uaddrrnd 24 1249 0 1219 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1249 0 1219 1 0 1 1 0 8 0 vmmpekpl 168 10968 0 10920 3 0 3 3 0 8 0 vmmpepl 168 85219 0 83414 91 0 91 91 0 357 10 vmsppl 368 1248 0 1219 4 0 4 4 0 8 1 rwobjpl 40 24358 0 23351 13 0 13 13 0 8 1 pdppl 4096 2513 0 2442 127 54 73 79 0 8 2 pvpl 32 517457 0 507041 124 0 124 124 0 265 38 pmappl 216 1252 0 1219 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 477 0 110 12 0 12 12 0 8 1 ddb> machine ddbcpu 0 No such command ddb> trace ktrops(ffff80002a820030,ffffffffffffffff,0,a0c7df9f,fffffd8069b17120,fffffd8007bfd4e0) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff80002a820030,ffffffffffffffff,0,a0c7df9f,fffffd8069b17120,fffffd8007bfd4e0) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd8069b17120,4,20c7df9f,0,ffff80002a820030) at doktrace+0x6bd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd8069b17120,4,20c7df9f,0,ffff80002a820030) at doktrace+0x6bd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff80002a820030,ffff80003c9650c0,ffff80003c965010) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003c9650c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9650c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xba29ed52610, count: -5 ddb> machine ddbcpu 1 No such command ddb> trace ktrops(ffff80002a820030,ffffffffffffffff,0,a0c7df9f,fffffd8069b17120,fffffd8007bfd4e0) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff80002a820030,ffffffffffffffff,0,a0c7df9f,fffffd8069b17120,fffffd8007bfd4e0) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd8069b17120,4,20c7df9f,0,ffff80002a820030) at doktrace+0x6bd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd8069b17120,4,20c7df9f,0,ffff80002a820030) at doktrace+0x6bd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff80002a820030,ffff80003c9650c0,ffff80003c965010) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003c9650c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9650c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xba29ed52610, count: -5