uvm_fault(0xffffffff82e5e458, 0x7fba300dbeb0, 0, 2) -> e kernel: page fault trap, code=2 Stopped at pmap_page_remove+0x30d: xchgq %rax,0(%r12,%rcx,1) TID PID UID PRFLAGS PFLAGS CPU COMMAND *305303 44394 0 0x14000 0x200 0 reaper pmap_page_remove(fffffd8006056100) at pmap_page_remove+0x30d _atomic_swap_64 machine/atomic.h:117 [inline] pmap_page_remove(fffffd8006056100) at pmap_page_remove+0x30d sys/arch/amd64/amd64/pmap.c:1990 uvm_anfree_list(fffffd806a471498,0) at uvm_anfree_list+0x98 amap_wipeout(fffffd806f85e898) at amap_wipeout+0x1af sys/uvm/uvm_amap.c:502 uvm_unmap_detach(ffff80002a5d5ae0,1) at uvm_unmap_detach+0x7d sys/uvm/uvm_map.c:1354 uvm_map_teardown(fffffd806925f010) at uvm_map_teardown+0x27f sys/uvm/uvm_map.c:2556 uvmspace_free(fffffd806925f010) at uvmspace_free+0x96 sys/uvm/uvm_map.c:3461 reaper(ffff80002a5d7c38) at reaper+0x15a sys/kern/kern_exit.c:463 end trace frame: 0x0, count: 8 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(0xffffffff82e5e458, 0x7fba300dbeb0, 0, 2) -> e ddb> trace pmap_page_remove(fffffd8006056100) at pmap_page_remove+0x30d _atomic_swap_64 machine/atomic.h:117 [inline] pmap_page_remove(fffffd8006056100) at pmap_page_remove+0x30d sys/arch/amd64/amd64/pmap.c:1990 uvm_anfree_list(fffffd806a471498,0) at uvm_anfree_list+0x98 amap_wipeout(fffffd806f85e898) at amap_wipeout+0x1af sys/uvm/uvm_amap.c:502 uvm_unmap_detach(ffff80002a5d5ae0,1) at uvm_unmap_detach+0x7d sys/uvm/uvm_map.c:1354 uvm_map_teardown(fffffd806925f010) at uvm_map_teardown+0x27f sys/uvm/uvm_map.c:2556 uvmspace_free(fffffd806925f010) at uvmspace_free+0x96 sys/uvm/uvm_map.c:3461 reaper(ffff80002a5d7c38) at reaper+0x15a sys/kern/kern_exit.c:463 end trace frame: 0x0, count: -7 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002a5d59e0 rbx 0x800000007f7cb000 rdx 0 rcx 0x7f8000000000 rax 0 r8 0 r9 0 r10 0x8e5900d280243e76 r11 0x8b383aff34b2a4f9 r12 0x3a300dbeb0 r13 0xfffffd806b056970 r14 0 r15 0xfffffd8006056100 rip 0xffffffff81b93a5d pmap_page_remove+0x30d cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a5d5950 ss 0x10 pmap_page_remove+0x30d: xchgq %rax,0(%r12,%rcx,1) ddb> show proc PROC (reaper) tid=305303 pid=44394 tcnt=1 stat=onproc flags process=14000 proc=200 runpri=4, usrpri=71, slppri=4, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff80002a58cf60,0xffff80002a5d79b8 process=0xffff8000ffffee10 user=0xffff80002a5d0000, vmspace=0xffffffff82e5e458 estcpu=21, cpticks=2, pctcpu=11.11, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 21718 419439 58401 0 2 0x8000080 syz-executor.4 21718 473594 58401 0 2 0xc000000 syz-executor.4 54643 189413 42030 0 3 0x8000080 fsleep syz-executor.7 54643 159071 42030 0 3 0xc000080 kqsel syz-executor.7 93176 19468 27713 0 3 0x8000080 fsleep syz-executor.3 93176 461846 27713 0 3 0xc000080 rest syz-executor.3 58401 260124 26267 0 3 0x8000082 nanoslp syz-executor.4 69041 189111 26267 0 2 0x8000002 syz-executor.6 80166 381388 26267 0 3 0x8000082 piperd syz-executor.5 82516 288664 26267 0 2 0x8000002 syz-executor.0 27713 196105 26267 0 3 0x8000082 nanoslp syz-executor.3 59779 409746 26267 0 3 0x8000082 piperd syz-executor.1 42030 145882 26267 0 3 0x8000082 nanoslp syz-executor.7 2248 355584 26267 0 3 0x8000082 nanoslp syz-executor.2 34765 299362 0 0 3 0x14280 nfsidl nfsio 12460 89624 0 0 3 0x14280 nfsidl nfsio 39458 324674 0 0 3 0x14280 nfsidl nfsio 95751 336222 0 0 3 0x14280 nfsidl nfsio 1559 218697 0 0 3 0x14280 nfsidl nfsio 84835 395552 0 0 3 0x14280 nfsidl nfsio 409 317300 0 0 3 0x14280 nfsidl nfsio 205 32198 0 0 3 0x14280 nfsidl nfsio 38964 81054 0 0 3 0x14280 nfsidl nfsio 81992 367837 0 0 3 0x14280 nfsidl nfsio 30103 405428 0 0 3 0x14280 nfsidl nfsio 53719 11999 0 0 3 0x14280 nfsidl nfsio 70387 517201 0 0 3 0x14280 nfsidl nfsio 76449 301454 0 0 3 0x14280 nfsidl nfsio 35287 69388 0 0 3 0x14280 nfsidl nfsio 54698 369039 0 0 3 0x14280 nfsidl nfsio 23101 304161 0 0 3 0x14280 nfsidl nfsio 56309 317432 0 0 3 0x14280 nfsidl nfsio 32068 490038 0 0 3 0x14280 nfsidl nfsio 59844 75524 0 0 3 0x14280 nfsidl nfsio 95609 67980 0 0 3 0x14200 bored sosplice 26267 114761 99548 0 3 0x1a000082 wait syz-fuzzer 26267 516000 99548 0 3 0x1e000082 thrsleep syz-fuzzer 26267 465129 99548 0 3 0x1e000082 kqread syz-fuzzer 26267 118353 99548 0 3 0x1e000082 thrsleep syz-fuzzer 26267 385331 99548 0 3 0x1e000082 thrsleep syz-fuzzer 26267 496593 99548 0 3 0x1e000082 wait syz-fuzzer 26267 284834 99548 0 3 0x1e000082 wait syz-fuzzer 26267 44729 99548 0 3 0x1e000082 wait syz-fuzzer 26267 345550 99548 0 3 0x1e000082 thrsleep syz-fuzzer 26267 271815 99548 0 3 0x1e000082 wait syz-fuzzer 26267 135360 99548 0 3 0x1e000082 thrsleep syz-fuzzer 26267 331940 99548 0 3 0x1e000082 wait syz-fuzzer 26267 449837 99548 0 3 0x1e000082 wait syz-fuzzer 26267 156971 99548 0 3 0x1e000082 wait syz-fuzzer 26267 443944 99548 0 3 0x1e000082 thrsleep syz-fuzzer 99548 380103 15327 0 3 0x810008a sigsusp ksh 15327 312960 94342 0 3 0x1800009a kqread sshd 24574 262626 1 0 3 0x18100083 ttyin getty 94342 207592 1 0 3 0x18000088 kqread sshd 70113 41148 96722 73 3 0x19100090 kqread syslogd 96722 222585 1 0 3 0x18100082 sbwait syslogd 91502 100680 1 0 3 0x18100080 kqread resolvd 1894 516504 44742 77 3 0x18100092 kqread dhcpleased 43010 313304 44742 77 3 0x18100092 kqread dhcpleased 44742 235354 1 0 3 0x18000080 kqread dhcpleased 48478 114046 0 0 3 0x14200 bored smr 11693 113595 0 0 2 0x14200 zerothread 35304 179828 0 0 3 0x14200 aiodoned aiodoned 88209 200527 0 0 3 0x14200 syncer update 90252 116658 0 0 3 0x14200 cleaner cleaner *44394 305303 0 0 7 0x14200 reaper 53531 125166 0 0 3 0x14200 pgdaemon pagedaemon 7934 394365 0 0 3 0x14200 bored viomb 99016 17175 0 0 3 0x40014200 acpi0 acpi0 78904 422691 0 0 3 0x14200 bored softnet3 21676 339367 0 0 3 0x14200 bored softnet2 53938 285895 0 0 3 0x14200 bored softnet1 17066 310539 0 0 3 0x14200 bored softnet0 55693 13042 0 0 3 0x14200 bored systqmp 99197 308483 0 0 3 0x14200 bored systq 20408 17745 0 0 3 0x40014200 tmoslp softclock 30524 245937 0 0 3 0x40014200 idle0 1 409547 0 0 3 0x8080082 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 6553K 7132K 166960K 14005 0 pcb 18 14K 16K 166960K 374 0 rtable 188 7K 8K 166960K 3325 0 pf 29 8K 9K 166960K 251 0 ifaddr 39 11K 12K 166960K 436 0 ifgroup 50 2K 2K 166960K 476 0 sysctl 2 0K 0K 166960K 4 0 counters 30 17K 17K 166960K 133 0 ioctlops 0 0K 2K 166960K 213 0 iov 0 0K 24K 166960K 100 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1445 91K 91K 166960K 3992 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 40 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 104 0 dirhash 12 2K 2K 166960K 63 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 13 45K 109K 166960K 2849 0 sigio 0 0K 0K 166960K 37 0 proc 58 59K 124K 166960K 3181 0 subproc 104 6K 9K 166960K 1524 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 198 0 in_multi 80 6K 7K 166960K 1156 0 ether_multi 1 0K 0K 166960K 12 0 mrt 1 0K 0K 166960K 8 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 1748 0 pfkey data 0 0K 0K 166960K 4 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 259 76K 103K 166960K 22136 0 UVM aobj 19 2K 2K 166960K 20 0 pinsyscall 33 66K 102K 166960K 6516 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 117 0 NDP 11 0K 2K 166960K 316 0 temp 75 6812K 6888K 166960K 89862 0 kqueue 12 18K 27K 166960K 211 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 374 0 371 1 0 1 1 0 8 0 rtentry 112 1172 0 1088 4 0 4 4 0 8 1 unpcb 144 1263 0 1250 6 0 6 6 0 8 5 syncache 336 4 0 4 1 0 1 1 0 8 1 sackhl 24 4 3 4 1 0 1 1 0 8 1 tcpqe 32 33 0 33 1 0 1 1 0 8 1 tcpcb 808 432 0 427 2 0 2 2 0 8 1 arp 88 213 0 196 1 0 1 1 0 8 0 ipq 40 2 0 1 1 0 1 1 0 8 0 ipqe 40 3 0 2 1 0 1 1 0 8 0 inpcb 352 1995 0 1986 8 0 8 8 0 8 6 ip6q 72 1 0 1 1 0 1 1 0 8 1 nd6 104 314 0 292 1 0 1 1 0 8 0 pkpcb 40 14 0 14 1 0 1 1 0 8 1 kcovpl 48 117 0 109 1 0 1 1 0 8 0 ppxss 1072 5 0 5 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 4766 0 4424 82 57 25 29 0 8 1 art_table 32 4767 0 4424 4 0 4 4 0 8 0 art_node 16 1163 0 1089 1 0 1 1 0 8 0 sysvmsgpl 40 16 0 6 1 0 1 1 0 8 0 semupl 112 5 0 5 1 0 1 1 0 8 1 semapl 112 98 0 88 1 0 1 1 0 8 0 shmpl 112 17 0 1 1 0 1 1 0 8 0 dirhash 1024 51 0 34 3 0 3 3 0 8 0 dino2pl 256 4138 0 2631 96 0 96 96 0 8 1 ffsino 240 4138 0 2631 90 0 90 90 0 8 0 nchpl 144 7262 0 6676 66 34 32 66 0 8 8 uvmvnodes 80 6477 0 0 133 0 133 133 0 8 0 vnodes 216 6477 0 0 360 0 360 360 0 8 0 namei 1024 34360 0 34360 2 0 2 2 0 8 2 vcpupl 3904 9 0 1 2 0 2 2 0 8 0 vmpool 664 16 0 8 1 0 1 1 0 8 0 kstatmem 264 228 0 206 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 55865 0 55865 8 0 8 8 1 8 8 plimitpl 152 356 0 340 1 0 1 1 0 8 0 sigapl 424 2954 0 2890 9 0 9 9 0 8 0 futexpl 64 26835 0 26833 1 0 1 1 0 8 0 knotepl 120 10696 0 10614 29 18 11 26 0 8 7 kqueuepl 184 395 0 386 1 0 1 1 0 8 0 pipepl 288 733 0 705 3 0 3 3 0 8 0 fdescpl 432 2916 0 2892 5 0 5 5 0 8 0 filepl 120 15633 0 15392 14 0 14 14 0 8 5 lockfpl 104 484 0 482 1 0 1 1 0 8 0 lockfspl 48 208 0 206 1 0 1 1 0 8 0 sessionpl 144 119 0 103 1 0 1 1 0 8 0 pgrppl 48 153 0 137 1 0 1 1 0 8 0 ucredpl 104 1796 0 1786 1 0 1 1 0 8 0 zombiepl 144 2893 0 2890 1 0 1 1 0 8 0 processpl 1072 2954 0 2890 6 0 6 6 0 8 0 procpl 656 4588 0 4507 9 0 9 9 0 8 0 sosppl 168 22 0 22 1 0 1 1 0 8 1 sockpl 504 3667 0 3642 33 22 11 31 0 8 7 mcl64k 65536 7 0 7 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 63 0 63 1 0 1 1 0 8 1 mcl4k 4096 13 0 13 1 0 1 1 0 8 1 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 29880 0 29777 37 16 21 34 0 8 6 mtagpl 96 65 0 62 1 0 1 1 0 8 0 mbufpl 256 72445 0 72204 56 33 23 28 0 8 4 bufpl 280 10749 0 3434 523 0 523 523 0 8 0 anonpl 24 502130 0 496084 92 0 92 92 0 188 25 amapchunkpl 152 73891 0 73302 45 0 45 45 0 158 11 amappl16 200 11115 0 10977 32 11 21 21 0 8 8 amappl15 192 142 0 140 1 0 1 1 0 8 0 amappl14 184 515 0 503 2 0 2 2 0 8 1 amappl13 176 23 0 23 1 0 1 1 0 8 1 amappl12 168 4937 0 4912 2 0 2 2 0 8 0 amappl11 160 52 0 42 1 0 1 1 0 8 0 amappl10 152 151 0 142 1 0 1 1 0 8 0 amappl9 144 184 0 183 1 0 1 1 0 8 0 amappl8 136 244 0 213 2 0 2 2 0 8 0 amappl7 128 71 0 56 1 0 1 1 0 8 0 amappl6 120 1554 0 1537 2 0 2 2 0 8 0 amappl5 112 536 0 524 1 0 1 1 0 8 0 amappl4 104 1157 0 1123 2 0 2 2 0 8 0 amappl3 96 12967 0 12902 3 0 3 3 0 8 1 amappl2 88 3551 0 3484 4 0 4 4 0 8 2 amappl1 80 23953 0 23466 22 3 19 22 0 8 6 amappl 88 20840 0 20675 6 0 6 6 0 92 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 19 0 1 1 0 1 1 0 8 0 uaddrrnd 24 2932 0 2900 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2932 0 2900 1 0 1 1 0 8 0 vmmpekpl 168 27066 0 26995 4 0 4 4 0 8 0 vmmpepl 168 226413 0 224698 113 0 113 113 0 357 25 vmsppl 344 2931 0 2899 5 0 5 5 0 8 0 rwobjpl 24 63536 0 55984 46 0 46 46 0 8 0 pdppl 4096 5870 0 5806 363 292 71 93 0 8 7 pvpl 32 1336557 0 1324630 371 19 352 371 0 265 211 pmappl 216 2931 0 2899 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 776 0 420 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace pmap_page_remove(fffffd8006056100) at pmap_page_remove+0x30d _atomic_swap_64 machine/atomic.h:117 [inline] pmap_page_remove(fffffd8006056100) at pmap_page_remove+0x30d sys/arch/amd64/amd64/pmap.c:1990 uvm_anfree_list(fffffd806a471498,0) at uvm_anfree_list+0x98 amap_wipeout(fffffd806f85e898) at amap_wipeout+0x1af sys/uvm/uvm_amap.c:502 uvm_unmap_detach(ffff80002a5d5ae0,1) at uvm_unmap_detach+0x7d sys/uvm/uvm_map.c:1354 uvm_map_teardown(fffffd806925f010) at uvm_map_teardown+0x27f sys/uvm/uvm_map.c:2556 uvmspace_free(fffffd806925f010) at uvmspace_free+0x96 sys/uvm/uvm_map.c:3461 reaper(ffff80002a5d7c38) at reaper+0x15a sys/kern/kern_exit.c:463 end trace frame: 0x0, count: -7 ddb> machine ddbcpu 1 No such command ddb> trace pmap_page_remove(fffffd8006056100) at pmap_page_remove+0x30d _atomic_swap_64 machine/atomic.h:117 [inline] pmap_page_remove(fffffd8006056100) at pmap_page_remove+0x30d sys/arch/amd64/amd64/pmap.c:1990 uvm_anfree_list(fffffd806a471498,0) at uvm_anfree_list+0x98 amap_wipeout(fffffd806f85e898) at amap_wipeout+0x1af sys/uvm/uvm_amap.c:502 uvm_unmap_detach(ffff80002a5d5ae0,1) at uvm_unmap_detach+0x7d sys/uvm/uvm_map.c:1354 uvm_map_teardown(fffffd806925f010) at uvm_map_teardown+0x27f sys/uvm/uvm_map.c:2556 uvmspace_free(fffffd806925f010) at uvmspace_free+0x96 sys/uvm/uvm_map.c:3461 reaper(ffff80002a5d7c38) at reaper+0x15a sys/kern/kern_exit.c:463 end trace frame: 0x0, count: -7