uvm_fault(0xfffffa006d191a20, 0x4c2b, 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 *174002 39221 0 0 0 0 syz-executor amap_lookups(fffffa006df41c48,1000,ffff80002a8a5470,8) at amap_lookups+0x1e0 amap_chunk_get sys/uvm/uvm_amap.c:118 [inline] amap_lookups(fffffa006df41c48,1000,ffff80002a8a5470,8) at amap_lookups+0x1e0 sys/uvm/uvm_amap.c:1168 uvm_fault_check(ffff80002a8a5570,ffff80002a8a55a8,ffff80002a8a55e0,0) at uvm_fault_check+0x840 sys/uvm/uvm_fault.c:840 uvm_fault(fffffa006d191a20,e6b59dd8000,0,1) at uvm_fault+0xe6 sys/uvm/uvm_fault.c:627 upageflttrap(ffff80002a8a5710,e6b59dd8fc0) at upageflttrap+0xa0 sys/arch/amd64/amd64/trap.c:192 usertrap(ffff80002a8a5710) at usertrap+0x413 sys/arch/amd64/amd64/trap.c:640 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7a514e8939e0, 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(0xfffffa006d191a20, 0x4c2b, 0, 1) -> e ddb> show kasan No such command ddb> trace amap_lookups(fffffa006df41c48,1000,ffff80002a8a5470,8) at amap_lookups+0x1e0 amap_chunk_get sys/uvm/uvm_amap.c:118 [inline] amap_lookups(fffffa006df41c48,1000,ffff80002a8a5470,8) at amap_lookups+0x1e0 sys/uvm/uvm_amap.c:1168 uvm_fault_check(ffff80002a8a5570,ffff80002a8a55a8,ffff80002a8a55e0,0) at uvm_fault_check+0x840 sys/uvm/uvm_fault.c:840 uvm_fault(fffffa006d191a20,e6b59dd8000,0,1) at uvm_fault+0xe6 sys/uvm/uvm_fault.c:627 upageflttrap(ffff80002a8a5710,e6b59dd8fc0) at upageflttrap+0xa0 sys/arch/amd64/amd64/trap.c:192 usertrap(ffff80002a8a5710) at usertrap+0x413 sys/arch/amd64/amd64/trap.c:640 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7a514e8939e0, count: -6 ddb> show registers rdi 0x11 rsi 0x20 rbp 0xffff80002a8a53c0 rbx 0 rdx 0 rcx 0 rax 0xffff800000c57860 r8 0xffffffff82171e60 uvm_map_inentry_sp r9 0 r10 0 r11 0xd863df06ee524d44 r12 0x9 r13 0 r14 0x20 r15 0x4c1b __ALIGN_SIZE+0x3c1b rip 0xffffffff82492ee0 amap_lookups+0x1e0 cs 0x8 rflags 0x10206 __ALIGN_SIZE+0xf206 rsp 0xffff80002a8a5330 ss 0 amap_lookups+0x1e0: movl 0x10(%r15),%r14d ddb> show proc PROC (syz-executor) tid=174002 pid=39221 tcnt=1 stat=onproc flags process=0 proc=0 runpri=50, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a736f98,0xffffffff839a0720 process=0xffff800045ff7620 user=0xffff80002a8a0000, vmspace=0xfffffa006d191a20 estcpu=3, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND *39221 174002 89691 0 7 0 0 syz-executor 80058 105297 25383 0 3 0 0x80 nanoslp syz-executor 80058 243535 25383 0 3 0 0x4000080 lockf syz-executor 80058 467466 25383 0 3 0 0x4000080 fsleep syz-executor 85173 56168 1 0 3 0x100003 0x80 ttyin getty 51387 299617 0 0 3 0x14000 0x280 nfsidl nfsio 66888 246164 0 0 3 0x14000 0x280 nfsidl nfsio 31713 467646 0 0 3 0x14000 0x280 nfsidl nfsio 78389 401099 0 0 3 0x14000 0x280 nfsidl nfsio 46712 182300 0 0 3 0x14000 0x280 nfsidl nfsio 70854 131553 0 0 3 0x14000 0x280 nfsidl nfsio 99739 254840 0 0 3 0x14000 0x280 nfsidl nfsio 48696 494878 0 0 3 0x14000 0x280 nfsidl nfsio 96708 293617 0 0 3 0x14000 0x280 nfsidl nfsio 1434 170403 0 0 3 0x14000 0x280 nfsidl nfsio 45789 202659 0 0 3 0x14000 0x280 nfsidl nfsio 57568 445653 0 0 3 0x14000 0x280 nfsidl nfsio 56078 229550 0 0 3 0x14000 0x280 nfsidl nfsio 11799 7862 0 0 3 0x14000 0x280 nfsidl nfsio 62188 89611 0 0 3 0x14000 0x280 nfsidl nfsio 81369 364 0 0 3 0x14000 0x280 nfsidl nfsio 74228 354720 0 0 3 0x14000 0x280 nfsidl nfsio 51448 183505 0 0 3 0x14000 0x280 nfsidl nfsio 18640 211891 0 0 3 0x14000 0x280 nfsidl nfsio 34358 141140 0 0 3 0x14000 0x280 nfsidl nfsio 25383 138445 89691 0 2 0x2 0xc80 syz-executor 47851 393697 89691 0 3 0x2 0x80 piperd syz-executor 37719 250952 89691 0 3 0x2 0x80 piperd syz-executor 12009 171283 89691 0 3 0x2 0x80 piperd syz-executor 94062 385780 89691 0 3 0x2 0x80 piperd syz-executor 29218 473237 89691 0 3 0x2 0x80 piperd syz-executor 89691 344960 1 0 2 0x2 0 syz-executor 19258 47113 0 0 3 0x14000 0x200 bored smr 43655 498773 0 0 2 0x14000 0x200 zerothread 41588 134504 0 0 3 0x14000 0x200 aiodoned aiodoned 64359 187567 0 0 3 0x14000 0x200 syncer update 89046 207291 0 0 3 0x14000 0x200 cleaner cleaner 60897 453788 0 0 3 0x14000 0x200 reaper reaper 98448 401802 0 0 3 0x14000 0x200 pgdaemon pagedaemon 95046 394765 0 0 3 0x14000 0x200 bored viomb 85707 173915 0 0 3 0x14000 0x40000200 acpi0 acpi0 38433 129998 0 0 3 0x14000 0x200 bored softnet0 43228 65375 0 0 3 0x14000 0x200 smrbar systqmp 84634 146373 0 0 3 0x14000 0x200 bored systq 49172 26885 0 0 3 0x14000 0x40000200 tmoslp softclock 4317 414651 0 0 3 0x14000 0x40000200 idle0 1 425920 0 0 3 0x2 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 11021 12091K 12377K 166960K 12360 0 pcb 17 12K 12K 166960K 47 0 rtable 239 8K 10K 166960K 415 0 pf 29 12K 19K 166960K 54 0 ifaddr 39 7K 7K 166960K 49 0 ifgroup 46 2K 2K 166960K 60 0 sysctl 4 1K 9K 166960K 43 0 counters 32 17K 18K 166960K 39 0 ioctlops 0 0K 4K 166960K 52 0 iov 0 0K 12K 166960K 11 0 mount 1 1K 1K 166960K 1 0 log 3 0K 0K 166960K 7 0 vnodes 1357 85K 85K 166960K 1558 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 12 1K 1K 166960K 86 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 10 34K 93K 166960K 282 0 sigio 0 0K 0K 166960K 1 0 proc 19 25K 83K 166960K 516 0 subproc 63 3K 4K 166960K 74 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 14 0 in_multi 91 6K 6K 166960K 103 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 8 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 378 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 81 72K 167K 166960K 4216 0 UVM aobj 5 2K 2K 166960K 5 0 pinsyscall 13 26K 94K 166960K 1386 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 2 0 NDP 10 0K 2K 166960K 31 0 temp 30 9109K 9158K 166960K 6560 0 kqueue 1 2K 27K 166960K 64 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 48 0 48 1 0 1 1 0 8 1 rtentry 136 114 0 14 4 0 4 4 0 8 0 unpcb 144 114 0 114 1 0 1 1 0 8 1 syncache 336 8 0 8 2 1 1 1 0 8 1 tcpcb 736 50 0 49 1 0 1 1 0 8 0 arp 96 18 0 2 1 0 1 1 0 8 0 inpcb 328 243 0 242 4 0 4 4 0 8 3 ip6q 72 1 0 0 1 0 1 1 0 8 0 ip6af 40 2 0 1 1 0 1 1 0 8 0 nd6 112 24 0 3 1 0 1 1 0 8 0 kcovpl 48 8 0 1 1 0 1 1 0 8 0 ppxss 1072 5 0 5 1 0 1 1 0 8 1 pfstscr 40 2 0 2 1 0 1 1 0 8 1 pfrktable 1344 6 0 6 1 0 1 1 0 8 1 pfanchor 1288 1 0 1 1 0 1 1 0 8 1 pftag 88 2 0 2 1 0 1 1 0 8 1 pfstkey 128 2 0 2 1 0 1 1 0 8 1 pfstate 384 1 0 1 1 0 1 1 0 8 1 pfrule 1360 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 491 0 6 31 0 31 31 0 8 0 art_table 40 493 0 6 5 0 5 5 0 8 0 art_node 32 114 0 24 1 0 1 1 0 8 0 semupl 112 3 0 3 1 0 1 1 0 8 1 semapl 72 83 0 73 1 0 1 1 0 8 0 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1827 0 368 92 0 92 92 0 8 0 ffsino 256 1827 0 368 92 0 92 92 0 8 0 nchpl 144 2238 0 549 64 0 64 64 0 8 0 rtmask 32 2 0 2 1 0 1 1 0 8 1 vnodes 216 2061 0 0 115 0 115 115 0 8 0 namei 1024 6777 0 6777 2 1 1 2 0 8 1 pfiaddrpl 120 1 0 1 1 0 1 1 0 8 1 kstatmem 264 31 0 10 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 9698 0 9698 10 2 8 8 1 8 8 plimitpl 152 47 0 38 1 0 1 1 0 8 0 sigapl 424 598 0 552 8 0 8 8 0 8 0 knotepl 120 8745 0 8728 15 5 10 15 0 8 8 kqueuepl 184 67 0 66 1 0 1 1 0 8 0 pipepl 304 199 0 169 8 0 8 8 0 8 5 fdescpl 448 565 0 552 5 1 4 5 0 8 0 filepl 120 2540 0 2395 11 0 11 11 0 8 4 lockfpl 104 193 0 190 2 0 2 2 0 8 1 lockfspl 48 94 0 93 1 0 1 1 0 8 0 sessionpl 144 94 0 91 1 0 1 1 0 8 0 pgrppl 48 102 0 92 1 0 1 1 0 8 0 ucredpl 104 221 0 218 1 0 1 1 0 8 0 zombiepl 144 553 0 552 1 0 1 1 0 8 0 processpl 1152 598 0 552 5 0 5 5 0 8 0 procpl 664 808 0 760 7 0 7 7 0 8 1 sockpl 552 407 0 406 5 0 5 5 0 8 4 mcl64k 65536 13 0 13 2 1 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 5 0 5 2 1 1 1 0 8 1 mcl4k 4096 2704 0 2652 16 8 8 16 0 8 0 mcl2k 2048 213 0 213 1 0 1 1 0 8 1 mextrefs 64 92 0 92 1 0 1 1 0 8 1 mtagpl 96 4 0 4 1 1 0 1 0 8 0 mbufpl 256 5637 0 5501 12 0 12 12 0 8 1 bufpl 272 3551 0 101 230 0 230 230 0 8 0 anonpl 24 112850 0 111740 58 2 56 56 0 187 33 amapchunkpl 152 12456 0 12257 28 0 28 28 0 158 14 amappl16 200 2228 0 2213 28 14 14 25 0 8 8 amappl15 192 33 0 33 1 1 0 1 0 8 0 amappl14 184 409 0 409 1 0 1 1 0 8 1 amappl13 176 120 0 119 1 0 1 1 0 8 0 amappl12 168 784 0 772 2 0 2 2 0 8 0 amappl11 160 9 0 9 1 1 0 1 0 8 0 amappl10 152 163 0 163 1 0 1 1 0 8 1 amappl9 144 269 0 269 1 1 0 1 0 8 0 amappl8 136 93 0 93 1 0 1 1 0 8 1 amappl7 128 176 0 173 1 0 1 1 0 8 0 amappl6 120 163 0 163 1 0 1 1 0 8 1 amappl5 112 94 0 93 1 0 1 1 0 8 0 amappl4 104 259 0 257 1 0 1 1 0 8 0 amappl3 96 2265 0 2222 3 0 3 3 0 8 0 amappl2 88 519 0 512 2 0 2 2 0 8 0 amappl1 80 10650 0 10558 13 0 13 13 0 8 8 amappl 88 3496 0 3428 4 0 4 4 0 92 1 uvmvnodes 80 100 0 0 3 0 3 3 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 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 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 4 0 0 1 0 1 1 0 8 0 uaddrrnd 24 565 0 552 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 565 0 552 1 0 1 1 0 8 0 vmmpekpl 168 6571 0 6532 3 0 3 3 0 8 0 vmmpepl 168 44846 0 44316 81 0 81 81 0 357 42 vmsppl 368 564 0 552 4 1 3 4 0 8 0 rwobjpl 40 15847 0 15507 11 1 10 11 0 8 0 pdppl 4096 1136 0 1104 98 52 46 80 0 8 14 pvpl 32 270310 0 267750 106 0 106 106 0 265 52 pmappl 216 564 0 552 3 0 3 3 0 8 1 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 600 0 68 16 0 16 16 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace amap_lookups(fffffa006df41c48,1000,ffff80002a8a5470,8) at amap_lookups+0x1e0 amap_chunk_get sys/uvm/uvm_amap.c:118 [inline] amap_lookups(fffffa006df41c48,1000,ffff80002a8a5470,8) at amap_lookups+0x1e0 sys/uvm/uvm_amap.c:1168 uvm_fault_check(ffff80002a8a5570,ffff80002a8a55a8,ffff80002a8a55e0,0) at uvm_fault_check+0x840 sys/uvm/uvm_fault.c:840 uvm_fault(fffffa006d191a20,e6b59dd8000,0,1) at uvm_fault+0xe6 sys/uvm/uvm_fault.c:627 upageflttrap(ffff80002a8a5710,e6b59dd8fc0) at upageflttrap+0xa0 sys/arch/amd64/amd64/trap.c:192 usertrap(ffff80002a8a5710) at usertrap+0x413 sys/arch/amd64/amd64/trap.c:640 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7a514e8939e0, count: -6 ddb> machine ddbcpu 1 No such command ddb> trace amap_lookups(fffffa006df41c48,1000,ffff80002a8a5470,8) at amap_lookups+0x1e0 amap_chunk_get sys/uvm/uvm_amap.c:118 [inline] amap_lookups(fffffa006df41c48,1000,ffff80002a8a5470,8) at amap_lookups+0x1e0 sys/uvm/uvm_amap.c:1168 uvm_fault_check(ffff80002a8a5570,ffff80002a8a55a8,ffff80002a8a55e0,0) at uvm_fault_check+0x840 sys/uvm/uvm_fault.c:840 uvm_fault(fffffa006d191a20,e6b59dd8000,0,1) at uvm_fault+0xe6 sys/uvm/uvm_fault.c:627 upageflttrap(ffff80002a8a5710,e6b59dd8fc0) at upageflttrap+0xa0 sys/arch/amd64/amd64/trap.c:192 usertrap(ffff80002a8a5710) at usertrap+0x413 sys/arch/amd64/amd64/trap.c:640 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7a514e8939e0, count: -6 ddb>