uvm_fault(0xfffffd806c0a6e20, 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 *141903 16287 0 0 0x4000000 0 syz-executor ktrops(ffff80002a803970,ffffffffffffffff,0,80000b1c,fffffd806a4167d8,fffffd807f7d77b8) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff80002a803970,ffffffffffffffff,0,80000b1c,fffffd806a4167d8,fffffd807f7d77b8) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd806a4167d8,4,b1c,0,ffff80002a803970) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd806a4167d8,4,b1c,0,ffff80002a803970) at doktrace+0x6dd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff80002a803970,ffff80003ca31150,ffff80003ca310a0) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003ca31150) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd30c4547dd0, 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(0xfffffd806c0a6e20, 0xf, 0, 1) -> e ddb> trace ktrops(ffff80002a803970,ffffffffffffffff,0,80000b1c,fffffd806a4167d8,fffffd807f7d77b8) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff80002a803970,ffffffffffffffff,0,80000b1c,fffffd806a4167d8,fffffd807f7d77b8) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd806a4167d8,4,b1c,0,ffff80002a803970) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd806a4167d8,4,b1c,0,ffff80002a803970) at doktrace+0x6dd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff80002a803970,ffff80003ca31150,ffff80003ca310a0) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003ca31150) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd30c4547dd0, count: -5 ddb> show registers rdi 0xffff80002a803970 rsi 0xffffffffffffffff rbp 0xffff80003ca30e70 rbx 0xfffffd807f7d77b8 rdx 0 rcx 0x80000b1c __kernel_virt_to_phys+0xb1c rax 0xffff80002a803970 r8 0xfffffd806a4167d8 r9 0xfffffd807f7d77b8 r10 0x282b22d102d9bbf r11 0x75cc637c0ae38bb8 r12 0xffff80002a803970 r13 0xffffffffffffffff r14 0xffffffffffffffff r15 0x80000b1c __kernel_virt_to_phys+0xb1c rip 0xffffffff81273d28 ktrops+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003ca30df0 ss 0 ktrops+0x58: movq 0x10(%r14),%r14 ddb> show proc PROC (syz-executor) tid=141903 pid=16287 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=17, usrpri=86, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a803460,0xffff80003c959988 process=0xffff80002a8ae2a0 user=0xffff80003ca2c000, vmspace=0xfffffd806c0a6e20 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 71175 212216 33081 0 2 0 syz-executor 71175 220511 33081 0 3 0x4000080 sbwait syz-executor 16287 349755 31956 0 2 0 syz-executor *16287 141903 31956 0 7 0x4000000 syz-executor 22025 1082 31822 0 2 0x480 syz-executor 22025 465931 31822 0 3 0x4000080 pipewr syz-executor 22025 282051 31822 0 3 0x4000080 fsleep syz-executor 22025 516088 31822 0 3 0x4000080 fsleep syz-executor 58190 48293 28215 60929 3 0x90 nanoslp syz-executor 58190 277868 28215 60929 3 0x4000090 kqsel syz-executor 58190 113584 28215 60929 3 0x4000090 fsleep syz-executor 35838 103821 69127 0 3 0x80 nanoslp syz-executor 35838 65361 69127 0 3 0x4000080 kqread syz-executor 35838 477824 69127 0 3 0x4000080 fsleep syz-executor 84605 458242 0 0 3 0x14280 nfsidl nfsio 58552 141992 0 0 3 0x14280 nfsidl nfsio 66846 76868 0 0 3 0x14280 nfsidl nfsio 75683 133473 0 0 3 0x14280 nfsidl nfsio 28553 505372 0 0 3 0x14280 nfsidl nfsio 97984 201688 0 0 3 0x14280 nfsidl nfsio 11691 437995 0 0 3 0x14280 nfsidl nfsio 17856 474716 0 0 3 0x14280 nfsidl nfsio 8086 77093 0 0 3 0x14280 nfsidl nfsio 94094 357590 0 0 3 0x14280 nfsidl nfsio 68890 486610 0 0 3 0x14280 nfsidl nfsio 97849 391675 0 0 3 0x14280 nfsidl nfsio 85053 452990 0 0 3 0x14280 nfsidl nfsio 89281 72482 0 0 3 0x14280 nfsidl nfsio 53425 216023 0 0 3 0x14280 nfsidl nfsio 48242 189694 0 0 3 0x14280 nfsidl nfsio 24312 52914 0 0 3 0x14280 nfsidl nfsio 4035 144548 0 0 3 0x14280 nfsidl nfsio 34089 125505 0 0 3 0x14280 nfsidl nfsio 30921 361079 0 0 3 0x14280 nfsidl nfsio 31766 244673 62850 0 3 0x82 nanoslp syz-executor 36441 199117 0 0 3 0x14200 bored sosplice 31822 7995 62850 0 3 0x82 nanoslp syz-executor 88481 120881 62850 0 2 0x2 syz-executor 28215 464879 62850 0 2 0x482 syz-executor 31956 50701 62850 0 3 0x82 nanoslp syz-executor 8021 474755 62850 0 2 0x2 syz-executor 69127 150165 62850 0 3 0x82 nanoslp syz-executor 33081 305149 62850 0 3 0x82 nanoslp syz-executor 62850 104705 79226 0 3 0x82 kqread syz-executor 79226 210868 87650 0 3 0x10008a sigsusp ksh 87650 361888 86765 0 3 0x98 kqread sshd-session 86765 121037 2193 0 3 0x92 kqread sshd-session 87917 438109 1 0 3 0x100083 ttyin getty 2193 66144 1 0 3 0x88 kqread sshd 75808 135017 15507 73 3 0x1100090 kqread syslogd 15507 508001 1 0 3 0x100082 sbwait syslogd 45148 110642 1 0 3 0x100080 kqread resolvd 4783 245589 24193 77 3 0x100092 kqread dhcpleased 34843 112037 24193 77 3 0x100092 kqread dhcpleased 24193 297141 1 0 3 0x80 kqread dhcpleased 95684 252385 0 0 3 0x14200 bored smr 79297 138248 0 0 2 0x14200 zerothread 57844 478973 0 0 3 0x14200 aiodoned aiodoned 69670 26831 0 0 3 0x14200 syncer update 30532 388908 0 0 3 0x14200 cleaner cleaner 36820 214002 0 0 3 0x14200 reaper reaper 42857 321709 0 0 3 0x14200 pgdaemon pagedaemon 95895 45826 0 0 3 0x14200 bored viomb 85997 221295 0 0 3 0x40014200 acpi0 acpi0 95268 103101 0 0 3 0x14200 bored softnet3 77340 264515 0 0 3 0x14200 bored softnet2 19872 210251 0 0 3 0x14200 bored softnet1 15697 84904 0 0 3 0x14200 bored softnet0 32430 160971 0 0 3 0x14200 bored systqmp 64161 340016 0 0 3 0x14200 bored systq 16069 106309 0 0 2 0x40014200 softclock 58606 375827 0 0 3 0x40014200 idle0 1 177295 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 10178 11098K 11458K 166960K 12983 0 pcb 17 15K 16K 166960K 337 0 rtable 140 7K 8K 166960K 500 0 pf 28 13K 17K 166960K 90 0 ifaddr 26 4K 8K 166960K 71 0 ifgroup 38 1K 2K 166960K 104 0 sysctl 3 1K 1K 166960K 3 0 counters 27 17K 17K 166960K 47 0 ioctlops 0 0K 4K 166960K 187 0 iov 0 0K 32K 166960K 190 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1492 94K 94K 166960K 2384 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 23 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 127 0 dirhash 12 2K 2K 166960K 27 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 16 57K 89K 166960K 951 0 sigio 0 0K 0K 166960K 26 0 proc 60 59K 100K 166960K 583 0 subproc 72 4K 4K 166960K 81 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 178 0 in_multi 46 3K 7K 166960K 153 0 ether_multi 1 0K 0K 166960K 7 0 mrt 1 0K 0K 166960K 4 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 73 334K 334K 166960K 73 0 exec 0 0K 1K 166960K 449 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 35 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 212 73K 89K 166960K 9990 0 UVM aobj 36 4K 6K 166960K 42 0 pinsyscall 37 74K 94K 166960K 2004 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 58 0 NDP 8 0K 2K 166960K 46 0 temp 67 8633K 8708K 166960K 33783 0 kqueue 15 24K 34K 166960K 195 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 95 0 92 1 0 1 1 0 8 0 rtentry 112 156 0 100 4 0 4 4 0 8 0 unpcb 144 1001 0 979 6 0 6 6 0 8 5 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpqe 32 11 0 11 1 0 1 1 0 8 1 tcpcb 808 307 0 301 8 0 8 8 0 8 7 arp 88 26 0 14 1 0 1 1 0 8 0 ipq 40 7 0 2 1 0 1 1 0 8 0 ipqe 40 12 0 6 1 0 1 1 0 8 0 inpcb 344 1183 0 1171 8 0 8 8 0 8 6 nd6 104 31 0 21 1 0 1 1 0 8 0 pkpcb 40 44 0 44 1 0 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1072 8 0 8 1 0 1 1 0 8 1 pppxif 1376 3 0 3 1 0 1 1 0 8 1 pfrktable 1344 4 0 1 1 0 1 1 0 8 0 pfanchor 1288 5 0 0 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 6 0 4 1 0 1 1 0 8 0 pfstate 344 3 0 2 1 0 1 1 0 8 0 pfrule 1344 36 0 35 1 0 1 1 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 671 0 431 30 2 28 30 0 8 8 art_table 32 674 0 431 4 0 4 4 0 8 0 art_node 16 151 0 102 1 0 1 1 0 8 0 sysvmsgpl 40 12 0 9 1 0 1 1 0 8 0 semapl 112 122 0 112 1 0 1 1 0 8 0 shmpl 112 39 0 6 1 0 1 1 0 8 0 dirhash 1024 27 0 10 3 0 3 3 0 8 0 dino2pl 256 2985 0 1489 95 0 95 95 0 8 0 ffsino 248 2985 0 1489 95 0 95 95 0 8 0 nchpl 144 4357 0 2672 63 0 63 63 0 8 0 uvmvnodes 80 3893 0 0 80 0 80 80 0 8 0 vnodes 216 3893 0 0 217 0 217 217 0 8 0 namei 1024 16229 0 16228 2 0 2 2 0 8 1 pfiaddrpl 120 1 0 0 1 0 1 1 0 8 0 kstatmem 264 50 0 34 2 0 2 2 0 8 0 scsiplug 72 6 0 6 1 0 1 1 0 8 1 scxspl 216 13256 0 13256 8 0 8 8 1 8 8 plimitpl 152 229 0 211 1 0 1 1 0 8 0 sigapl 424 1252 0 1187 8 0 8 8 0 8 0 futexpl 64 13822 0 13818 1 0 1 1 0 8 0 knotepl 120 105987 0 105931 18 7 11 16 0 8 8 kqueuepl 184 294 0 279 1 0 1 1 0 8 0 pipepl 296 196 0 168 3 0 3 3 0 8 0 fdescpl 440 1211 0 1183 5 0 5 5 0 8 1 filepl 120 8943 0 8711 14 0 14 14 0 8 6 lockfpl 104 816 0 813 2 0 2 2 0 8 1 lockfspl 48 328 0 325 1 0 1 1 0 8 0 sessionpl 144 23 0 15 1 0 1 1 0 8 0 pgrppl 48 176 0 160 1 0 1 1 0 8 0 ucredpl 104 2016 0 2003 1 0 1 1 0 8 0 zombiepl 144 1188 0 1187 1 0 1 1 0 8 0 processpl 1104 1252 0 1187 5 0 5 5 0 8 0 procpl 648 2446 0 2372 8 0 8 8 0 8 1 sosppl 168 12 0 12 1 0 1 1 0 8 1 sockpl 528 2342 0 2305 14 4 10 12 0 8 6 mcl64k 65536 74 0 74 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl9k 9216 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 55 0 55 1 0 1 1 0 8 1 mcl4k 4096 3542 0 3492 15 0 15 15 0 8 8 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 1373 0 1304 10 0 10 10 0 8 1 mtagpl 96 118 0 86 3 0 3 3 0 8 1 mbufpl 256 37938 0 37701 29 2 27 29 0 8 8 bufpl 280 3795 0 126 263 0 263 263 0 8 0 anonpl 24 194446 0 189091 58 0 58 58 0 187 15 amapchunkpl 152 33428 0 32895 37 0 37 37 0 158 8 amappl16 200 4109 0 4022 19 3 16 17 0 8 8 amappl15 192 11 0 11 1 0 1 1 0 8 1 amappl14 184 108 0 98 1 0 1 1 0 8 0 amappl13 176 6 0 6 1 0 1 1 0 8 1 amappl12 168 1861 0 1833 2 0 2 2 0 8 0 amappl11 160 48 0 38 1 0 1 1 0 8 0 amappl10 152 8 0 8 1 0 1 1 0 8 1 amappl9 144 245 0 244 1 0 1 1 0 8 0 amappl8 136 27 0 24 1 0 1 1 0 8 0 amappl7 128 98 0 88 1 0 1 1 0 8 0 amappl6 120 183 0 180 1 0 1 1 0 8 0 amappl5 112 123 0 116 1 0 1 1 0 8 0 amappl4 104 286 0 272 1 0 1 1 0 8 0 amappl3 96 6481 0 6380 4 0 4 4 0 8 0 amappl2 88 637 0 582 2 0 2 2 0 8 0 amappl1 80 9995 0 9476 13 0 13 13 0 8 0 amappl 88 9576 0 9414 5 0 5 5 0 92 0 dma65536 65536 1 0 1 1 0 1 1 0 8 1 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 41 0 6 1 0 1 1 0 8 0 uaddrrnd 24 1211 0 1183 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1211 0 1183 1 0 1 1 0 8 0 vmmpekpl 168 10545 0 10508 3 0 3 3 0 8 0 vmmpepl 168 78203 0 76452 93 0 93 93 0 357 11 vmsppl 360 1210 0 1183 4 0 4 4 0 8 1 rwobjpl 32 26170 0 21341 40 0 40 40 0 8 0 pdppl 4096 2429 0 2366 109 42 67 79 0 8 4 pvpl 32 529438 0 519004 130 0 130 130 0 265 31 pmappl 216 1210 0 1183 2 0 2 2 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 312 0 46 8 0 8 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ktrops(ffff80002a803970,ffffffffffffffff,0,80000b1c,fffffd806a4167d8,fffffd807f7d77b8) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff80002a803970,ffffffffffffffff,0,80000b1c,fffffd806a4167d8,fffffd807f7d77b8) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd806a4167d8,4,b1c,0,ffff80002a803970) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd806a4167d8,4,b1c,0,ffff80002a803970) at doktrace+0x6dd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff80002a803970,ffff80003ca31150,ffff80003ca310a0) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003ca31150) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd30c4547dd0, count: -5 ddb> machine ddbcpu 1 No such command ddb> trace ktrops(ffff80002a803970,ffffffffffffffff,0,80000b1c,fffffd806a4167d8,fffffd807f7d77b8) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff80002a803970,ffffffffffffffff,0,80000b1c,fffffd806a4167d8,fffffd807f7d77b8) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd806a4167d8,4,b1c,0,ffff80002a803970) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd806a4167d8,4,b1c,0,ffff80002a803970) at doktrace+0x6dd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff80002a803970,ffff80003ca31150,ffff80003ca310a0) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003ca31150) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd30c4547dd0, count: -5