uvm_fault(0xffffee807df8ce78, 0x3c2f00000010, 0, 1) -> e kernel: page fault trap, code=0 Stopped at amap_lookups+0x1e0: movl 0x10(%r15),%r14d TID PID UID PRFLAGS PFLAGS CPU COMMAND *372304 7631 0 0 0 0 syz-executor amap_lookups(ffffee80757deb28,6000,ffff80002ccaf430,8) at amap_lookups+0x1e0 amap_chunk_get sys/uvm/uvm_amap.c:118 [inline] amap_lookups(ffffee80757deb28,6000,ffff80002ccaf430,8) at amap_lookups+0x1e0 sys/uvm/uvm_amap.c:1168 uvm_fault_check(ffff80002ccaf530,ffff80002ccaf568,ffff80002ccaf5a0,0) at uvm_fault_check+0x840 sys/uvm/uvm_fault.c:840 uvm_fault(ffffee807df8ce78,dbcfe24a000,0,1) at uvm_fault+0xe6 sys/uvm/uvm_fault.c:627 upageflttrap(ffff80002ccaf6d0,dbcfe24ab50) at upageflttrap+0xa0 sys/arch/amd64/amd64/trap.c:192 usertrap(ffff80002ccaf6d0) at usertrap+0x413 sys/arch/amd64/amd64/trap.c:640 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7cf0a34d6d00, count: 9 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(0xffffee807df8ce78, 0x3c2f00000010, 0, 1) -> e ddb> show kasan No such command ddb> trace amap_lookups(ffffee80757deb28,6000,ffff80002ccaf430,8) at amap_lookups+0x1e0 amap_chunk_get sys/uvm/uvm_amap.c:118 [inline] amap_lookups(ffffee80757deb28,6000,ffff80002ccaf430,8) at amap_lookups+0x1e0 sys/uvm/uvm_amap.c:1168 uvm_fault_check(ffff80002ccaf530,ffff80002ccaf568,ffff80002ccaf5a0,0) at uvm_fault_check+0x840 sys/uvm/uvm_fault.c:840 uvm_fault(ffffee807df8ce78,dbcfe24a000,0,1) at uvm_fault+0xe6 sys/uvm/uvm_fault.c:627 upageflttrap(ffff80002ccaf6d0,dbcfe24ab50) at upageflttrap+0xa0 sys/arch/amd64/amd64/trap.c:192 usertrap(ffff80002ccaf6d0) at usertrap+0x413 sys/arch/amd64/amd64/trap.c:640 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7cf0a34d6d00, count: -6 ddb> show registers rdi 0x11 rsi 0x20 rbp 0xffff80002ccaf380 rbx 0 rdx 0 rcx 0 rax 0xffff800000c57760 r8 0xffffffff8257ee60 uvm_map_inentry_sp r9 0 r10 0 r11 0x287ff909408998c4 r12 0xe r13 0 r14 0x20 r15 0x3c2f00000000 rip 0xffffffff82439640 amap_lookups+0x1e0 cs 0x8 rflags 0x10206 __ALIGN_SIZE+0xf206 rsp 0xffff80002ccaf2f0 ss 0 amap_lookups+0x1e0: movl 0x10(%r15),%r14d ddb> show proc PROC (syz-executor) tid=372304 pid=7631 tcnt=4 stat=onproc flags process=0 proc=0 runpri=50, usrpri=50, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a766a70,0xffff80002a7674e0 process=0xffff80002a79df90 user=0xffff80002ccaa000, vmspace=0xffffee807df8ce78 estcpu=36, cpticks=2, pctcpu=0.0, user=1, sys=1, intr=0 ddb> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND * 7631 372304 14898 0 7 0 0 syz-executor 7631 162974 14898 0 3 0 0x4000080 msgwait syz-executor 7631 9779 14898 0 3 0 0x4000080 fsleep syz-executor 7631 71060 14898 0 3 0 0x4000080 fsleep syz-executor 12214 374239 45588 60929 2 0x10 0 syz-executor 12214 338715 45588 60929 3 0x10 0x4000080 fsleep syz-executor 94452 30013 29965 0 2 0 0xc80 syz-executor 94452 407204 29965 0 3 0 0x4000080 fsleep syz-executor 94452 336230 29965 0 3 0 0x4000080 dtread syz-executor 94452 67526 29965 0 3 0 0x4000080 fsleep syz-executor 29095 43058 95568 0 3 0 0x80 nanoslp syz-executor 29095 133402 95568 0 3 0 0x4000080 kqsel syz-executor 81484 213190 47030 -1 2 0x10 0xc80 syz-executor 81484 270644 47030 -1 3 0x10 0x4000080 ttyout syz-executor 81484 47089 47030 -1 3 0x10 0x4000080 fsleep syz-executor 81484 383616 47030 -1 3 0x10 0x4000080 fsleep syz-executor 61653 332749 40482 0 3 0 0x80 nanoslp syz-executor 61653 376047 40482 0 3 0 0x4000080 kqpoll syz-executor 61653 10244 40482 0 3 0 0x4000080 fsleep syz-executor 59548 201075 66205 0 3 0 0x80 nanoslp syz-executor 59548 176374 66205 0 3 0 0x4000080 netcon syz-executor 59548 336957 66205 0 3 0 0x4000080 fsleep syz-executor 53302 510556 76678 0 2 0 0xc80 syz-executor 53302 334596 76678 0 3 0 0x4000080 sbwait syz-executor 53302 206208 76678 0 3 0 0x4000080 ttyin syz-executor 53302 104173 76678 0 3 0 0x4000080 fsleep syz-executor 28916 154146 1 0 3 0x100003 0x80 ttyin getty 76633 511058 0 0 3 0x14000 0x280 nfsidl nfsio 88807 117680 0 0 3 0x14000 0x280 nfsidl nfsio 6530 361874 0 0 3 0x14000 0x280 nfsidl nfsio 36349 201333 0 0 3 0x14000 0x280 nfsidl nfsio 8329 377987 0 0 3 0x14000 0x280 nfsidl nfsio 67229 469824 0 0 3 0x14000 0x280 nfsidl nfsio 38860 383604 0 0 3 0x14000 0x280 nfsidl nfsio 74076 137697 0 0 3 0x14000 0x280 nfsidl nfsio 45430 9053 0 0 3 0x14000 0x280 nfsidl nfsio 29841 88801 0 0 3 0x14000 0x280 nfsidl nfsio 25282 29158 0 0 3 0x14000 0x280 nfsidl nfsio 14618 243720 0 0 3 0x14000 0x280 nfsidl nfsio 53529 203593 0 0 3 0x14000 0x280 nfsidl nfsio 38053 461219 0 0 3 0x14000 0x280 nfsidl nfsio 18801 344545 0 0 3 0x14000 0x280 nfsidl nfsio 57327 370274 0 0 3 0x14000 0x280 nfsidl nfsio 44062 43872 0 0 3 0x14000 0x280 nfsidl nfsio 33252 416579 0 0 3 0x14000 0x280 nfsidl nfsio 87789 139060 0 0 3 0x14000 0x280 nfsidl nfsio 71393 101482 0 0 3 0x14000 0x280 nfsidl nfsio 47030 406355 36129 0 2 0x2 0xc80 syz-executor 66205 173101 36129 0 2 0x2 0xc80 syz-executor 45588 35258 36129 0 2 0x2 0xc80 syz-executor 95568 297310 36129 0 3 0x2 0x80 nanoslp syz-executor 29965 88029 36129 0 2 0x2 0xc80 syz-executor 40482 292043 36129 0 3 0x2 0x80 nanoslp syz-executor 76678 311070 36129 0 2 0x2 0xc80 syz-executor 14898 195086 36129 0 3 0x2 0x80 nanoslp syz-executor 36129 218526 1 0 3 0x2 0x80 kqread syz-executor 9448 49435 1 73 3 0x1100010 0x80 kqread syslogd 28065 225153 0 0 3 0x14000 0x200 bored smr 50143 145595 0 0 2 0x14000 0x200 zerothread 61206 299286 0 0 3 0x14000 0x200 aiodoned aiodoned 31975 211723 0 0 3 0x14000 0x200 syncer update 14395 182062 0 0 3 0x14000 0x200 cleaner cleaner 3696 299069 0 0 3 0x14000 0x200 reaper reaper 71384 472928 0 0 3 0x14000 0x200 pgdaemon pagedaemon 87461 143069 0 0 3 0x14000 0x200 bored viomb 79609 473354 0 0 3 0x14000 0x40000200 acpi0 acpi0 46438 410757 0 0 3 0x14000 0x200 bored softnet0 51430 48715 0 0 3 0x14000 0x200 bored systqmp 15043 412740 0 0 3 0x14000 0x200 bored systq 25917 200191 0 0 3 0x14000 0x40000200 tmoslp softclock 67924 306024 0 0 3 0x14000 0x40000200 idle0 1 298744 0 0 3 0x80002 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11041 12144K 12496K 166960K 12486 0 pcb 17 12K 12K 166960K 72 0 rtable 209 6K 7K 166960K 407 0 pf 34 13K 20K 166960K 82 0 ifaddr 37 6K 7K 166960K 54 0 ifgroup 54 2K 2K 166960K 71 0 sysctl 4 1K 9K 166960K 10 0 counters 34 17K 18K 166960K 42 0 ioctlops 0 0K 4K 166960K 130 0 iov 0 0K 12K 166960K 17 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1389 87K 88K 166960K 1744 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 9 0 VM map 2 1K 1K 166960K 2 0 sem 10 0K 0K 166960K 18 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 18 65K 89K 166960K 438 0 sigio 0 0K 0K 166960K 2 0 proc 23 33K 83K 166960K 561 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 31 0 in_multi 77 5K 7K 166960K 103 0 ether_multi 1 0K 0K 166960K 1 0 mrt 1 0K 0K 166960K 13 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 67 307K 307K 166960K 67 0 exec 0 0K 1K 166960K 457 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 173 84K 151K 166960K 5509 0 UVM aobj 13 2K 2K 166960K 16 0 pinsyscall 22 44K 92K 166960K 1552 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 5 0 NDP 12 0K 1K 166960K 35 0 temp 45 9112K 9170K 166960K 10828 0 kqueue 6 9K 22K 166960K 100 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 129 0 129 2 0 2 2 0 8 2 rtentry 136 113 0 24 4 0 4 4 0 8 0 unpcb 144 253 0 184 3 0 3 3 0 8 0 syncache 336 8 0 8 1 0 1 1 0 8 1 tcpcb 736 145 0 141 7 0 7 7 0 8 6 arp 96 18 0 4 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 1 0 0 1 0 1 1 0 8 0 inpcb 328 412 0 406 6 0 6 6 0 8 5 ip6q 72 2 0 0 1 0 1 1 0 8 0 ip6af 40 2 0 0 1 0 1 1 0 8 0 nd6 112 25 0 7 1 0 1 1 0 8 0 pkpcb 40 36 0 36 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 7 0 7 1 0 1 1 0 8 1 pfstscr 40 6 0 2 1 0 1 1 0 8 0 pfrktable 1344 1 0 1 1 0 1 1 0 8 1 pfsrclim 320 1 0 1 1 0 1 1 0 8 1 pfanchor 1288 3 0 0 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 4 0 0 1 0 1 1 0 8 0 pfstkey 128 6 0 2 1 0 1 1 0 8 0 pfstate 384 3 0 1 1 0 1 1 0 8 0 pfrule 1360 3 0 3 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 491 0 95 29 0 29 29 0 8 3 art_table 40 492 0 95 5 0 5 5 0 8 0 art_node 32 113 0 32 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 2 1 0 1 1 0 8 1 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 72 15 0 7 1 0 1 1 0 8 0 shmpl 112 13 0 3 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2169 0 718 92 0 92 92 0 8 0 ffsino 256 2169 0 718 92 0 92 92 0 8 0 nchpl 144 2809 0 1113 64 0 64 64 0 8 0 vnodes 216 2487 0 0 139 0 139 139 0 8 0 namei 1024 8834 0 8834 2 0 2 2 0 8 2 kstatmem 264 39 0 14 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 8789 0 8789 3 0 3 3 1 8 3 plimitpl 152 62 0 50 1 0 1 1 0 8 0 sigapl 424 757 0 703 8 0 8 8 0 8 0 knotepl 120 15210 0 15185 15 5 10 15 0 8 8 kqueuepl 184 108 0 103 1 0 1 1 0 8 0 pipepl 304 141 0 114 3 0 3 3 0 8 0 fdescpl 448 724 0 703 5 0 5 5 0 8 1 filepl 120 3711 0 3457 10 0 10 10 0 8 1 lockfpl 104 225 0 224 2 0 2 2 0 8 1 lockfspl 48 108 0 107 1 0 1 1 0 8 0 sessionpl 144 44 0 40 1 0 1 1 0 8 0 pgrppl 48 54 0 42 1 0 1 1 0 8 0 ucredpl 104 532 0 524 1 0 1 1 0 8 0 zombiepl 144 703 0 703 1 0 1 1 0 8 1 processpl 1152 757 0 703 5 0 5 5 0 8 0 procpl 664 1200 0 1128 7 0 7 7 0 8 0 sockpl 552 842 0 767 7 0 7 7 0 8 0 mcl64k 65536 19 0 19 1 0 1 1 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl9k128 9344 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 11 0 11 1 0 1 1 0 8 1 mcl4k 4096 2955 0 2904 13 0 13 13 0 8 5 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 353 0 353 1 0 1 1 0 8 1 mextrefs 64 170 0 170 1 0 1 1 0 8 1 mtagpl 96 5 0 5 1 0 1 1 0 8 1 mbufpl 256 7562 0 7426 21 2 19 21 0 8 8 bufpl 272 2861 0 103 184 0 184 184 0 8 0 anonpl 24 110129 0 108065 37 0 37 37 0 187 18 amapchunkpl 152 18046 0 17578 31 0 31 31 0 158 11 amappl16 200 1752 0 1725 14 4 10 14 0 8 8 amappl15 192 3 0 3 1 0 1 1 0 8 1 amappl14 184 415 0 415 1 0 1 1 0 8 1 amappl13 176 118 0 116 1 0 1 1 0 8 0 amappl12 168 966 0 945 2 0 2 2 0 8 0 amappl11 160 3 0 3 1 0 1 1 0 8 1 amappl10 152 61 0 58 1 0 1 1 0 8 0 amappl9 144 300 0 299 1 0 1 1 0 8 0 amappl8 136 93 0 93 1 0 1 1 0 8 1 amappl7 128 149 0 144 1 0 1 1 0 8 0 amappl6 120 154 0 153 1 0 1 1 0 8 0 amappl5 112 117 0 115 1 0 1 1 0 8 0 amappl4 104 259 0 253 1 0 1 1 0 8 0 amappl3 96 3429 0 3327 3 0 3 3 0 8 0 amappl2 88 529 0 512 2 0 2 2 0 8 0 amappl1 80 11419 0 11260 13 0 13 13 0 8 5 amappl 88 4758 0 4605 4 0 4 4 0 92 0 uvmvnodes 80 105 0 0 3 0 3 3 0 8 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 15 0 3 1 0 1 1 0 8 0 uaddrrnd 24 724 0 703 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 724 0 703 1 0 1 1 0 8 0 vmmpekpl 168 7474 0 7444 2 0 2 2 0 8 0 vmmpepl 168 53327 0 52285 80 0 80 80 0 357 34 vmsppl 368 723 0 703 4 0 4 4 0 8 1 rwobjpl 40 17111 0 16572 11 0 11 11 0 8 1 pdppl 4096 1454 0 1406 92 44 48 78 0 8 0 pvpl 32 311169 0 306210 95 0 95 95 0 265 42 pmappl 216 723 0 703 2 0 2 2 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 553 0 46 15 0 15 15 0 8 0 ddb> machine ddbcpu 0 No such command ddb>