login: uvm_fault(0xfffffa000db115d8, 0x6a671ef5, 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 *288487 76761 0 0 0 0 syz-executor amap_lookups(fffffa007ebcdf20,c000,ffff80002f0b1040,8) at amap_lookups+0x1e0 amap_chunk_get sys/uvm/uvm_amap.c:118 [inline] amap_lookups(fffffa007ebcdf20,c000,ffff80002f0b1040,8) at amap_lookups+0x1e0 sys/uvm/uvm_amap.c:1168 uvm_fault_check(ffff80002f0b1140,ffff80002f0b1178,ffff80002f0b11b0,0) at uvm_fault_check+0x840 sys/uvm/uvm_fault.c:840 uvm_fault(fffffa000db115d8,e99ba84000,0,1) at uvm_fault+0xe6 sys/uvm/uvm_fault.c:627 upageflttrap(ffff80002f0b12e0,e99ba84160) at upageflttrap+0xa0 sys/arch/amd64/amd64/trap.c:192 usertrap(ffff80002f0b12e0) at usertrap+0x413 sys/arch/amd64/amd64/trap.c:640 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7dc83eec41f0, 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(0xfffffa000db115d8, 0x6a671ef5, 0, 1) -> e ddb> show kasan No such command ddb> trace amap_lookups(fffffa007ebcdf20,c000,ffff80002f0b1040,8) at amap_lookups+0x1e0 amap_chunk_get sys/uvm/uvm_amap.c:118 [inline] amap_lookups(fffffa007ebcdf20,c000,ffff80002f0b1040,8) at amap_lookups+0x1e0 sys/uvm/uvm_amap.c:1168 uvm_fault_check(ffff80002f0b1140,ffff80002f0b1178,ffff80002f0b11b0,0) at uvm_fault_check+0x840 sys/uvm/uvm_fault.c:840 uvm_fault(fffffa000db115d8,e99ba84000,0,1) at uvm_fault+0xe6 sys/uvm/uvm_fault.c:627 upageflttrap(ffff80002f0b12e0,e99ba84160) at upageflttrap+0xa0 sys/arch/amd64/amd64/trap.c:192 usertrap(ffff80002f0b12e0) at usertrap+0x413 sys/arch/amd64/amd64/trap.c:640 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7dc83eec41f0, count: -6 ddb> show registers rdi 0x11 rsi 0x20 rbp 0xffff80002f0b0f90 rbx 0x1 rdx 0 rcx 0x1 rax 0xffff800000c57780 r8 0 r9 0 r10 0xcc466a91b726088f r11 0x9a6841876a0b8b18 r12 0x14 r13 0 r14 0x20 r15 0x6a671ee5 rip 0xffffffff82544a80 amap_lookups+0x1e0 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80002f0b0f00 ss 0 amap_lookups+0x1e0: movl 0x10(%r15),%r14d ddb> show proc PROC (syz-executor) tid=288487 pid=76761 tcnt=2 stat=onproc flags process=0 proc=0 runpri=86, usrpri=86, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000338b9248,0xffff8000338b8560 process=0xffff800045ffa418 user=0xffff80002f0ac000, vmspace=0xfffffa000db115d8 estcpu=36, cpticks=2, pctcpu=0.0, user=1, sys=1, intr=0 ddb> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND *76761 288487 43709 0 7 0 0 syz-executor 76761 229437 43709 0 3 0 0x4000080 fsleep syz-executor 57804 79157 11230 0 2 0 0 syz-executor 57804 11969 11230 0 3 0 0x4000080 nanoslp syz-executor 57804 120412 11230 0 3 0 0x4000080 fsleep syz-executor 32058 310073 81220 0 2 0 0 syz-executor 32058 234766 81220 0 3 0 0x4000080 kqpoll syz-executor 32058 254589 81220 0 2 0 0x4000000 syz-executor 13717 83505 53189 0 2 0 0 syz-executor 13717 160929 53189 0 2 0 0x4000000 syz-executor 33045 125873 81543 0 3 0 0x80 nanoslp syz-executor 33045 476187 81543 0 3 0 0x4000080 ttyretype syz-executor 33045 343972 81543 0 3 0 0x4000080 fsleep syz-executor 94495 316256 74126 0 3 0 0x80 nanoslp syz-executor 94495 200019 74126 0 3 0 0x4000080 pipewr syz-executor 94495 229155 74126 0 3 0 0x4000080 pipewr syz-executor 94495 157136 74126 0 3 0 0x4000080 fsleep syz-executor 78746 434488 1 0 3 0x100003 0x80 ttyin getty 81220 188941 59847 0 3 0x2 0x80 nanoslp syz-executor 53189 483148 59847 0 2 0x2 0xc80 syz-executor 43709 61938 59847 0 2 0x2 0xc80 syz-executor 81543 318940 59847 0 3 0x2 0x80 nanoslp syz-executor 99956 333938 59847 0 2 0x2 0xc80 syz-executor 11230 404207 59847 0 3 0x2 0x80 nanoslp syz-executor 47374 213328 59847 0 2 0x2 0 syz-executor 74126 32203 59847 0 3 0x2 0x80 nanoslp syz-executor 59847 306810 1 0 3 0x2 0x80 kqread syz-executor 88251 153805 0 0 3 0x14000 0x200 bored smr 32052 449759 0 0 2 0x14000 0x200 zerothread 27156 141132 0 0 3 0x14000 0x200 aiodoned aiodoned 6007 491591 0 0 3 0x14000 0x200 syncer update 63244 229665 0 0 3 0x14000 0x200 cleaner cleaner 39660 262523 0 0 3 0x14000 0x200 reaper reaper 37427 310367 0 0 3 0x14000 0x200 pgdaemon pagedaemon 97895 50730 0 0 3 0x14000 0x200 bored viomb 27026 101403 0 0 3 0x14000 0x40000200 acpi0 acpi0 65212 35914 0 0 3 0x14000 0x200 bored softnet0 24100 326998 0 0 3 0x14000 0x200 bored systqmp 72811 511895 0 0 3 0x14000 0x200 bored systq 32777 133584 0 0 3 0x14000 0x40000200 tmoslp softclock 97505 120870 0 0 3 0x14000 0x40000200 idle0 1 298815 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 11034 12167K 12701K 166960K 12407 0 pcb 18 12K 12K 166960K 56 0 rtable 249 7K 7K 166960K 378 0 pf 35 14K 16K 166960K 49 0 ifaddr 43 7K 7K 166960K 47 0 ifgroup 55 2K 2K 166960K 59 0 sysctl 1 1K 9K 166960K 5 0 counters 34 17K 18K 166960K 103 0 ioctlops 0 0K 4K 166960K 116 0 iov 0 0K 12K 166960K 2 0 mount 1 1K 1K 166960K 1 0 log 1 0K 8K 166960K 6 0 vnodes 1452 91K 92K 166960K 1720 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 1K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 8 0K 0K 166960K 44 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 16 61K 93K 166960K 242 0 sigio 0 0K 0K 166960K 2 0 proc 20 25K 100K 166960K 520 0 subproc 72 4K 4K 166960K 73 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 11 0 in_multi 99 7K 7K 166960K 104 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 9 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 91 413K 413K 166960K 91 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 145 82K 168K 166960K 3864 0 UVM aobj 4 2K 2K 166960K 4 0 pinsyscall 19 38K 94K 166960K 1346 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 3 0 NDP 12 0K 2K 166960K 30 0 temp 37 9106K 9122K 166960K 7168 0 kqueue 2 4K 25K 166960K 59 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 42 0 42 1 0 1 1 0 8 1 rtentry 136 114 0 2 4 0 4 4 0 8 0 unpcb 144 168 0 165 3 0 3 3 0 8 2 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpcb 736 77 0 75 4 0 4 4 0 8 3 arp 96 18 0 0 1 0 1 1 0 8 0 ipq 40 6 0 0 1 0 1 1 0 8 0 ipqe 40 6 0 0 1 0 1 1 0 8 0 inpcb 328 183 0 180 4 0 4 4 0 8 3 ip6q 72 1 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 0 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 69 0 69 1 0 1 1 0 8 1 pfstscr 40 1 0 1 1 0 1 1 0 8 1 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 1 0 0 1 0 1 1 0 8 0 pfstkey 128 3 0 2 1 0 1 1 0 8 0 pfstate 384 2 0 1 1 0 1 1 0 8 0 pfrule 1360 2 0 2 1 0 1 1 0 8 1 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 461 0 0 29 0 29 29 0 8 0 art_table 40 463 0 0 5 0 5 5 0 8 0 art_node 32 114 0 12 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 0 1 0 1 1 0 8 0 semapl 72 39 0 33 1 0 1 1 0 8 0 shmpl 112 1 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1735 0 275 92 0 92 92 0 8 0 ffsino 256 1735 0 275 92 0 92 92 0 8 0 nchpl 144 2074 0 384 64 0 64 64 0 8 0 vnodes 216 2148 0 0 120 0 120 120 0 8 0 namei 1024 6759 0 6758 2 0 2 2 0 8 1 kstatmem 264 29 0 4 2 0 2 2 0 8 0 scxspl 216 6881 0 6881 3 0 3 3 1 8 3 plimitpl 152 75 0 63 1 0 1 1 0 8 0 sigapl 424 538 0 506 6 0 6 6 0 8 1 knotepl 120 29010 0 28991 18 7 11 17 0 8 9 kqueuepl 184 58 0 53 1 0 1 1 0 8 0 pipepl 304 125 0 97 3 0 3 3 0 8 0 fdescpl 448 525 0 506 5 0 5 5 0 8 1 filepl 120 2496 0 2328 9 0 9 9 0 8 1 lockfpl 104 29 0 29 1 0 1 1 0 8 1 lockfspl 48 14 0 14 1 0 1 1 0 8 1 sessionpl 144 29 0 25 1 0 1 1 0 8 0 pgrppl 48 37 0 25 1 0 1 1 0 8 0 ucredpl 104 260 0 257 1 0 1 1 0 8 0 zombiepl 144 507 0 506 1 0 1 1 0 8 0 processpl 1152 538 0 506 4 0 4 4 0 8 0 procpl 664 697 0 654 5 0 5 5 0 8 1 sockpl 552 399 0 393 6 0 6 6 0 8 5 mcl64k 65536 15 0 14 1 0 1 1 0 8 0 mcl16k 16384 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 10 0 9 1 0 1 1 0 8 0 mcl4k 4096 2637 0 2587 13 0 13 13 0 8 6 mcl2k 2048 189 0 185 1 0 1 1 0 8 0 mextrefs 64 84 0 83 1 0 1 1 0 8 0 mtagpl 96 5 0 5 1 0 1 1 0 8 1 mbufpl 256 5603 0 5433 12 0 12 12 0 8 0 bufpl 272 2407 0 102 154 0 154 154 0 8 0 anonpl 24 102057 0 100430 22 0 22 22 0 187 7 amapchunkpl 152 11231 0 10837 23 0 23 23 0 158 7 amappl16 200 1795 0 1779 5 0 5 5 0 8 3 amappl15 192 11 0 11 1 0 1 1 0 8 1 amappl14 184 410 0 410 1 0 1 1 0 8 1 amappl13 176 114 0 113 1 0 1 1 0 8 0 amappl12 168 762 0 744 2 0 2 2 0 8 0 amappl11 160 32 0 32 1 0 1 1 0 8 1 amappl10 152 58 0 58 1 0 1 1 0 8 1 amappl9 144 271 0 271 1 0 1 1 0 8 1 amappl8 136 117 0 117 1 0 1 1 0 8 1 amappl7 128 142 0 140 1 0 1 1 0 8 0 amappl6 120 147 0 147 1 0 1 1 0 8 1 amappl5 112 91 0 90 1 0 1 1 0 8 0 amappl4 104 260 0 257 1 0 1 1 0 8 0 amappl3 96 2082 0 1995 3 0 3 3 0 8 0 amappl2 88 521 0 512 2 0 2 2 0 8 0 amappl1 80 10568 0 10450 14 1 13 14 0 8 8 amappl 88 3159 0 3028 4 0 4 4 0 92 0 uvmvnodes 80 100 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 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 3 0 0 1 0 1 1 0 8 0 uaddrrnd 24 525 0 506 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 525 0 506 1 0 1 1 0 8 0 vmmpekpl 168 6092 0 6061 2 0 2 2 0 8 0 vmmpepl 168 42266 0 41419 79 0 79 79 0 357 39 vmsppl 368 524 0 506 4 0 4 4 0 8 1 rwobjpl 40 15217 0 14788 11 0 11 11 0 8 0 pdppl 4096 1056 0 1012 94 48 46 80 0 8 2 pvpl 32 251255 0 246921 70 0 70 70 0 265 27 pmappl 216 524 0 506 3 0 3 3 0 8 1 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 515 0 48 14 0 14 14 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace amap_lookups(fffffa007ebcdf20,c000,ffff80002f0b1040,8) at amap_lookups+0x1e0 amap_chunk_get sys/uvm/uvm_amap.c:118 [inline] amap_lookups(fffffa007ebcdf20,c000,ffff80002f0b1040,8) at amap_lookups+0x1e0 sys/uvm/uvm_amap.c:1168 uvm_fault_check(ffff80002f0b1140,ffff80002f0b1178,ffff80002f0b11b0,0) at uvm_fault_check+0x840 sys/uvm/uvm_fault.c:840 uvm_fault(fffffa000db115d8,e99ba84000,0,1) at uvm_fault+0xe6 sys/uvm/uvm_fault.c:627 upageflttrap(ffff80002f0b12e0,e99ba84160) at upageflttrap+0xa0 sys/arch/amd64/amd64/trap.c:192 usertrap(ffff80002f0b12e0) at usertrap+0x413 sys/arch/amd64/amd64/trap.c:640 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7dc83eec41f0, count: -6 ddb> machine ddbcpu 1 No such command ddb> trace amap_lookups(fffffa007ebcdf20,c000,ffff80002f0b1040,8) at amap_lookups+0x1e0 amap_chunk_get sys/uvm/uvm_amap.c:118 [inline] amap_lookups(fffffa007ebcdf20,c000,ffff80002f0b1040,8) at amap_lookups+0x1e0 sys/uvm/uvm_amap.c:1168 uvm_fault_check(ffff80002f0b1140,ffff80002f0b1178,ffff80002f0b11b0,0) at uvm_fault_check+0x840 sys/uvm/uvm_fault.c:840 uvm_fault(fffffa000db115d8,e99ba84000,0,1) at uvm_fault+0xe6 sys/uvm/uvm_fault.c:627 upageflttrap(ffff80002f0b12e0,e99ba84160) at upageflttrap+0xa0 sys/arch/amd64/amd64/trap.c:192 usertrap(ffff80002f0b12e0) at usertrap+0x413 sys/arch/amd64/amd64/trap.c:640 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7dc83eec41f0, count: -6 ddb>