uvm_fault(0xffffffff839ca6e0, 0xffffffff00000010, 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 *203545 64675 0 0 0 0 syz-executor amap_lookups(fffff4006d1ab5f8,1000,ffff8000338bd540,8) at amap_lookups+0x1e0 amap_chunk_get sys/uvm/uvm_amap.c:118 [inline] amap_lookups(fffff4006d1ab5f8,1000,ffff8000338bd540,8) at amap_lookups+0x1e0 sys/uvm/uvm_amap.c:1168 uvm_fault_check(ffff8000338bd640,ffff8000338bd678,ffff8000338bd6b0,0) at uvm_fault_check+0x840 sys/uvm/uvm_fault.c:840 uvm_fault(fffff4006c925748,4a8c886a000,0,1) at uvm_fault+0xe6 sys/uvm/uvm_fault.c:627 upageflttrap(ffff8000338bd7e0,4a8c886af50) at upageflttrap+0xa0 sys/arch/amd64/amd64/trap.c:192 usertrap(ffff8000338bd7e0) at usertrap+0x413 sys/arch/amd64/amd64/trap.c:640 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7cfbcb106740, 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(0xffffffff839ca6e0, 0xffffffff00000010, 0, 1) -> e ddb> show kasan No such command ddb> trace amap_lookups(fffff4006d1ab5f8,1000,ffff8000338bd540,8) at amap_lookups+0x1e0 amap_chunk_get sys/uvm/uvm_amap.c:118 [inline] amap_lookups(fffff4006d1ab5f8,1000,ffff8000338bd540,8) at amap_lookups+0x1e0 sys/uvm/uvm_amap.c:1168 uvm_fault_check(ffff8000338bd640,ffff8000338bd678,ffff8000338bd6b0,0) at uvm_fault_check+0x840 sys/uvm/uvm_fault.c:840 uvm_fault(fffff4006c925748,4a8c886a000,0,1) at uvm_fault+0xe6 sys/uvm/uvm_fault.c:627 upageflttrap(ffff8000338bd7e0,4a8c886af50) at upageflttrap+0xa0 sys/arch/amd64/amd64/trap.c:192 usertrap(ffff8000338bd7e0) at usertrap+0x413 sys/arch/amd64/amd64/trap.c:640 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7cfbcb106740, count: -6 ddb> show registers rdi 0x11 rsi 0x20 rbp 0xffff8000338bd490 rbx 0 rdx 0 rcx 0 rax 0xffff800000c57790 r8 0xffffffff8257ee60 uvm_map_inentry_sp r9 0 r10 0 r11 0xb03b76aa5cb58298 r12 0x9 r13 0 r14 0x20 r15 0xffffffff00000000 rip 0xffffffff82439640 amap_lookups+0x1e0 cs 0x8 rflags 0x10286 __ALIGN_SIZE+0xf286 rsp 0xffff8000338bd400 ss 0 amap_lookups+0x1e0: movl 0x10(%r15),%r14d ddb> show proc PROC (syz-executor) tid=203545 pid=64675 tcnt=1 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=0xffff80003b0f34f0,0xffffffff839ca978 process=0xffff800045ff8918 user=0xffff8000338b8000, vmspace=0xfffff4006c925748 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND *64675 203545 56778 0 7 0 0 syz-executor 69682 161416 62784 0 2 0 0 syz-executor 69682 327744 62784 0 3 0 0x4000080 fsleep syz-executor 11670 219607 97746 0 2 0 0 syz-executor 11670 442937 97746 0 3 0 0x4000080 fsleep syz-executor 48219 192080 14751 0 2 0 0 syz-executor 48219 114026 14751 0 3 0 0x4000080 bell syz-executor 48219 240965 14751 0 3 0 0x4000080 lockf syz-executor 48219 378892 14751 0 3 0 0x4000080 lockf syz-executor 20317 317398 0 0 3 0x14000 0x280 nfsidl nfsio 37931 230662 0 0 3 0x14000 0x280 nfsidl nfsio 54082 403660 0 0 3 0x14000 0x280 nfsidl nfsio 38931 10747 0 0 3 0x14000 0x280 nfsidl nfsio 20686 30913 0 0 3 0x14000 0x280 nfsidl nfsio 67759 48154 0 0 3 0x14000 0x280 nfsidl nfsio 87771 378767 0 0 3 0x14000 0x280 nfsidl nfsio 57941 102709 0 0 3 0x14000 0x280 nfsidl nfsio 57334 314190 0 0 3 0x14000 0x280 nfsidl nfsio 65667 422966 0 0 3 0x14000 0x280 nfsidl nfsio 79371 518968 0 0 3 0x14000 0x280 nfsidl nfsio 19765 132907 0 0 3 0x14000 0x280 nfsidl nfsio 98358 279099 0 0 3 0x14000 0x280 nfsidl nfsio 56743 306869 0 0 3 0x14000 0x280 nfsidl nfsio 44130 90996 0 0 3 0x14000 0x280 nfsidl nfsio 44079 291501 0 0 3 0x14000 0x280 nfsidl nfsio 48562 197486 0 0 3 0x14000 0x280 nfsidl nfsio 37421 185785 0 0 3 0x14000 0x280 nfsidl nfsio 84600 144447 0 0 3 0x14000 0x280 nfsidl nfsio 9054 302344 0 0 3 0x14000 0x280 nfsidl nfsio 29682 502410 45461 0 2 0x2 0 syz-executor 825 429666 45461 0 2 0x2 0xc80 syz-executor 97746 219065 45461 0 3 0x2 0x80 nanoslp syz-executor 56778 125904 45461 0 2 0x2 0 syz-executor 14751 128870 45461 0 2 0x2 0xc80 syz-executor 60746 327306 45461 0 2 0x2 0 syz-executor 774 134798 45461 0 2 0x2 0xc80 syz-executor 62784 352175 45461 0 2 0x2 0xc80 syz-executor 45461 197673 13743 0 3 0x2 0x80 kqread syz-executor 13743 93057 74010 0 3 0x100002 0x88 sigsusp ksh 74010 523998 23390 0 3 0x10 0x88 kqread sshd-session 23390 98284 16837 0 3 0x12 0x80 kqread sshd-session 19393 396904 1 0 3 0x100003 0x80 ttyin getty 16837 446900 1 0 3 0 0x88 kqread sshd 79822 332127 4031 73 3 0x1100010 0x80 kqread syslogd 4031 364756 1 0 3 0x100002 0x80 sbwait syslogd 49484 475557 1 0 3 0x100000 0x80 kqread resolvd 70869 269969 66263 77 3 0x100012 0x80 kqread dhcpleased 93444 19509 66263 77 3 0x100012 0x80 kqread dhcpleased 66263 198912 1 0 3 0 0x80 kqread dhcpleased 43512 15256 0 0 3 0x14000 0x200 bored smr 17571 405617 0 0 2 0x14000 0x200 zerothread 36709 246853 0 0 3 0x14000 0x200 aiodoned aiodoned 97261 244 0 0 3 0x14000 0x200 syncer update 96761 335860 0 0 3 0x14000 0x200 cleaner cleaner 92514 4211 0 0 3 0x14000 0x200 reaper reaper 6355 315992 0 0 3 0x14000 0x200 pgdaemon pagedaemon 63727 448345 0 0 3 0x14000 0x200 bored viomb 70948 501476 0 0 3 0x14000 0x40000200 acpi0 acpi0 103 364141 0 0 2 0x14000 0x200 softnet0 61895 426578 0 0 3 0x14000 0x200 bored systqmp 37428 465466 0 0 3 0x14000 0x200 bored systq 22571 23595 0 0 2 0x14000 0x40000200 softclock 11467 318590 0 0 3 0x14000 0x40000200 idle0 1 58732 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 11038 12168K 12300K 166960K 12193 0 pcb 17 12K 12K 166960K 37 0 rtable 247 7K 7K 166960K 376 0 pf 31 13K 17K 166960K 43 0 ifaddr 42 7K 7K 166960K 48 0 ifgroup 50 2K 2K 166960K 64 0 sysctl 3 1K 9K 166960K 9 0 counters 33 17K 18K 166960K 37 0 ioctlops 0 0K 4K 166960K 39 0 iov 0 0K 4K 166960K 4 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1294 81K 82K 166960K 1449 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 5 0 VM map 2 1K 1K 166960K 2 0 sem 8 0K 0K 166960K 8 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 15 53K 93K 166960K 220 0 sigio 0 0K 0K 166960K 5 0 proc 65 75K 116K 166960K 522 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 4 0 in_multi 99 7K 7K 166960K 101 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 370 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 200 150K 164K 166960K 3695 0 UVM aobj 8 2K 2K 166960K 8 0 pinsyscall 37 74K 94K 166960K 1317 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 11 0K 2K 166960K 31 0 temp 38 9110K 13206K 166960K 4555 0 kqueue 13 20K 30K 166960K 47 0 SYN cache 2 16K 24K 166960K 3 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 39 0 36 1 0 1 1 0 8 0 rtentry 136 115 0 3 4 0 4 4 0 8 0 unpcb 144 133 0 117 4 0 4 4 0 8 3 syncache 336 7 0 7 1 0 1 1 0 8 1 tcpcb 736 66 0 62 4 0 4 4 0 8 3 arp 96 18 0 0 1 0 1 1 0 8 0 inpcb 328 152 0 144 4 0 4 4 0 8 2 ip6q 72 1 0 1 1 0 1 1 0 8 1 ip6af 40 2 0 2 1 0 1 1 0 8 1 nd6 112 26 0 0 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 2 0 2 1 0 1 1 0 8 1 pfstscr 40 2 0 0 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 2 0 0 1 0 1 1 0 8 0 pfstate 384 1 0 0 1 0 1 1 0 8 0 rttmr 136 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 480 0 13 30 0 30 30 0 8 0 art_table 40 481 0 13 5 0 5 5 0 8 0 art_node 32 115 0 13 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 72 6 0 0 1 0 1 1 0 8 0 shmpl 112 5 0 0 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 1761 0 300 92 0 92 92 0 8 0 ffsino 256 1761 0 300 92 0 92 92 0 8 0 nchpl 144 2062 0 368 64 0 64 64 0 8 0 vnodes 216 1869 0 0 104 0 104 104 0 8 0 namei 1024 6230 0 6229 2 0 2 2 0 8 1 kstatmem 264 31 0 8 2 0 2 2 0 8 0 scxspl 216 6700 0 6700 4 0 4 4 1 8 4 plimitpl 152 35 0 19 1 0 1 1 0 8 0 sigapl 424 534 0 473 8 0 8 8 0 8 0 knotepl 120 6512 0 6465 16 6 10 16 0 8 8 kqueuepl 184 45 0 36 1 0 1 1 0 8 0 pipepl 304 262 0 235 8 0 8 8 0 8 5 fdescpl 448 501 0 474 5 0 5 5 0 8 1 filepl 120 2423 0 2211 11 0 11 11 0 8 2 lockfpl 104 44 0 38 1 0 1 1 0 8 0 lockfspl 48 20 0 16 1 0 1 1 0 8 0 sessionpl 144 30 0 22 1 0 1 1 0 8 0 pgrppl 48 104 0 88 1 0 1 1 0 8 0 ucredpl 104 281 0 270 1 0 1 1 0 8 0 zombiepl 144 475 0 473 1 0 1 1 0 8 0 processpl 1152 534 0 473 5 0 5 5 0 8 0 procpl 664 667 0 601 7 0 7 7 0 8 0 sockpl 552 326 0 299 8 0 8 8 0 8 5 mcl64k 65536 4 0 4 1 0 1 1 0 8 1 mcl8k 8192 4 0 4 1 0 1 1 0 8 1 mcl4k 4096 2626 0 2570 13 0 13 13 0 8 6 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 263 0 262 1 0 1 1 0 8 0 mextrefs 64 79 0 78 1 0 1 1 0 8 0 mtagpl 96 5 0 5 1 0 1 1 0 8 1 mbufpl 256 5270 0 5113 17 0 17 17 0 8 5 bufpl 272 2406 0 102 154 0 154 154 0 8 0 anonpl 24 89750 0 86763 21 0 21 21 0 187 0 amapchunkpl 152 10560 0 10151 26 0 26 26 0 158 8 amappl16 200 1403 0 1377 4 0 4 4 0 8 2 amappl15 192 44 0 44 1 0 1 1 0 8 1 amappl14 184 405 0 404 1 0 1 1 0 8 0 amappl13 176 119 0 109 1 0 1 1 0 8 0 amappl12 168 739 0 713 2 0 2 2 0 8 0 amappl11 160 9 0 9 1 0 1 1 0 8 1 amappl10 152 59 0 49 1 0 1 1 0 8 0 amappl9 144 290 0 290 1 0 1 1 0 8 1 amappl8 136 99 0 98 1 0 1 1 0 8 0 amappl7 128 141 0 129 1 0 1 1 0 8 0 amappl6 120 160 0 159 1 0 1 1 0 8 0 amappl5 112 90 0 82 1 0 1 1 0 8 0 amappl4 104 261 0 246 1 0 1 1 0 8 0 amappl3 96 1947 0 1852 3 0 3 3 0 8 0 amappl2 88 520 0 466 2 0 2 2 0 8 0 amappl1 80 10536 0 9992 13 0 13 13 0 8 1 amappl 88 2997 0 2858 4 0 4 4 0 92 0 uvmvnodes 80 97 0 0 2 0 2 2 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 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 7 0 0 1 0 1 1 0 8 0 uaddrrnd 24 501 0 473 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 501 0 473 1 0 1 1 0 8 0 vmmpekpl 168 6481 0 6445 3 0 3 3 0 8 0 vmmpepl 168 40773 0 39070 80 0 80 80 0 357 1 vmsppl 368 500 0 473 4 0 4 4 0 8 1 rwobjpl 40 14490 0 13564 11 0 11 11 0 8 1 pdppl 4096 1008 0 946 94 28 66 80 0 8 4 pvpl 32 231823 0 223957 80 0 80 80 0 265 2 pmappl 216 500 0 473 3 0 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 518 0 28 14 0 14 14 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace amap_lookups(fffff4006d1ab5f8,1000,ffff8000338bd540,8) at amap_lookups+0x1e0 amap_chunk_get sys/uvm/uvm_amap.c:118 [inline] amap_lookups(fffff4006d1ab5f8,1000,ffff8000338bd540,8) at amap_lookups+0x1e0 sys/uvm/uvm_amap.c:1168 uvm_fault_check(ffff8000338bd640,ffff8000338bd678,ffff8000338bd6b0,0) at uvm_fault_check+0x840 sys/uvm/uvm_fault.c:840 uvm_fault(fffff4006c925748,4a8c886a000,0,1) at uvm_fault+0xe6 sys/uvm/uvm_fault.c:627 upageflttrap(ffff8000338bd7e0,4a8c886af50) at upageflttrap+0xa0 sys/arch/amd64/amd64/trap.c:192 usertrap(ffff8000338bd7e0) at usertrap+0x413 sys/arch/amd64/amd64/trap.c:640 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7cfbcb106740, count: -6 ddb> machine ddbcpu 1 No such command ddb> trace amap_lookups(fffff4006d1ab5f8,1000,ffff8000338bd540,8) at amap_lookups+0x1e0 amap_chunk_get sys/uvm/uvm_amap.c:118 [inline] amap_lookups(fffff4006d1ab5f8,1000,ffff8000338bd540,8) at amap_lookups+0x1e0 sys/uvm/uvm_amap.c:1168 uvm_fault_check(ffff8000338bd640,ffff8000338bd678,ffff8000338bd6b0,0) at uvm_fault_check+0x840 sys/uvm/uvm_fault.c:840 uvm_fault(fffff4006c925748,4a8c886a000,0,1) at uvm_fault+0xe6 sys/uvm/uvm_fault.c:627 upageflttrap(ffff8000338bd7e0,4a8c886af50) at upageflttrap+0xa0 sys/arch/amd64/amd64/trap.c:192 usertrap(ffff8000338bd7e0) at usertrap+0x413 sys/arch/amd64/amd64/trap.c:640 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7cfbcb106740, count: -6