uvm_fault(0xffffffff82e9aad0, 0x0, 0, 2) -> e kernel: page fault trap, code=2 Stopped at pool_gc_pages+0x1e1: movq %rax,0(%rcx) TID PID UID PRFLAGS PFLAGS CPU COMMAND 516438 17889 0 0x8000010 0 0 syz-executor.0 *439846 63070 0 0x14000 0x200 1 systqmp pool_gc_pages(0) at pool_gc_pages+0x1e1 pool_p_remove sys/kern/subr_pool.c:1049 [inline] pool_gc_pages(0) at pool_gc_pages+0x1e1 sys/kern/subr_pool.c:1576 taskq_thread(ffffffff82c82ed0) at taskq_thread+0xe5 sys/kern/kern_task.c:450 end trace frame: 0x0, count: 13 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: uvm_fault(0xffffffff82e9aad0, 0x0, 0, 2) -> e ddb{1}> trace pool_gc_pages(0) at pool_gc_pages+0x1e1 pool_p_remove sys/kern/subr_pool.c:1049 [inline] pool_gc_pages(0) at pool_gc_pages+0x1e1 sys/kern/subr_pool.c:1576 taskq_thread(ffffffff82c82ed0) at taskq_thread+0xe5 sys/kern/kern_task.c:450 end trace frame: 0x0, count: -2 ddb{1}> show registers rdi 0 rsi 0xf90 rbp 0xffff80002a11da50 rbx 0xf90 rdx 0 rcx 0 rax 0 r8 0x7f7fffffc000 r9 0x1 r10 0xc709ae933a3bcad9 r11 0x70265113372a68f5 r12 0x1dcd65000 r13 0xfffffd8069e1cf90 r14 0 r15 0xffffffff82de6540 unpcb_pool rip 0xffffffff815ff701 pool_gc_pages+0x1e1 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a11da10 ss 0x10 pool_gc_pages+0x1e1: movq %rax,0(%rcx) ddb{1}> show proc PROC (systqmp) tid=439846 pid=63070 tcnt=1 stat=onproc flags process=14000 proc=200 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff8000ffffe520,0xffff8000ffffe010 process=0xffff80002a0fd630 user=0xffff80002a118000, vmspace=0xffffffff82e9aad0 estcpu=0, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 56572 466544 97418 0 3 0x8000080 nanoslp syz-executor.5 56572 464289 97418 0 3 0xc000080 ttyout syz-executor.5 56572 425876 97418 0 3 0xc000080 fsleep syz-executor.5 56572 238595 97418 0 3 0xc000080 fsleep syz-executor.5 17889 516438 59832 0 7 0x8000010 syz-executor.0 17889 355987 59832 0 3 0xc000090 ttyin syz-executor.0 17889 380075 59832 0 3 0xc000090 fsleep syz-executor.0 17889 335341 59832 0 3 0xc000090 fsleep syz-executor.0 83958 212032 25383 0 3 0x8000080 nanoslp syz-executor.7 83958 406545 25383 0 3 0xc000080 ttyin syz-executor.7 83958 18586 25383 0 3 0xc000080 fsleep syz-executor.7 25383 331277 71782 0 3 0x8000082 nanoslp syz-executor.7 57552 392613 71782 0 3 0x8000082 piperd syz-executor.3 5309 109608 71782 0 3 0x8000082 piperd syz-executor.1 56154 274188 71782 0 3 0x8000082 piperd syz-executor.4 97418 481124 71782 0 2 0x8000482 syz-executor.5 59513 361225 1 0 3 0x18100083 ttyin getty 22764 343524 0 0 3 0x14200 acct acct 59832 265563 71782 0 3 0x8000082 nanoslp syz-executor.0 43614 8279 71782 0 3 0x8000082 nanoslp syz-executor.2 22303 424060 0 0 3 0x14200 bored sosplice 71782 427268 77201 0 3 0x1a000082 thrsleep syz-fuzzer 71782 331993 77201 0 3 0x1e000082 thrsleep syz-fuzzer 71782 43985 77201 0 3 0x1e000082 wait syz-fuzzer 71782 285375 77201 0 3 0x1e000082 thrsleep syz-fuzzer 71782 38015 77201 0 3 0x1e000082 thrsleep syz-fuzzer 71782 419920 77201 0 3 0x1e000082 thrsleep syz-fuzzer 71782 470168 77201 0 3 0x1e000082 wait syz-fuzzer 71782 89854 77201 0 3 0x1e000082 wait syz-fuzzer 71782 101690 77201 0 3 0x1e000082 thrsleep syz-fuzzer 71782 140850 77201 0 3 0x1e000082 kqread syz-fuzzer 71782 232940 77201 0 3 0x1e000082 thrsleep syz-fuzzer 71782 242035 77201 0 3 0x1e000082 wait syz-fuzzer 71782 499777 77201 0 3 0x1e000082 thrsleep syz-fuzzer 71782 114662 77201 0 3 0x1e000082 wait syz-fuzzer 71782 22786 77201 0 3 0x1e000082 wait syz-fuzzer 71782 112479 77201 0 3 0x1e000082 wait syz-fuzzer 77201 147332 52088 0 3 0x810008a sigsusp ksh 52088 389628 98738 0 3 0x1800009a kqread sshd 98738 448815 1 0 3 0x18000088 kqread sshd 84624 355487 15954 74 3 0x19100092 bpf pflogd 15954 79228 1 0 3 0x18000080 sbwait pflogd 76017 485294 37317 73 3 0x19100090 kqread syslogd 37317 282140 1 0 3 0x18100082 sbwait syslogd 24703 358111 1 0 3 0x18100080 kqread resolvd 19210 256043 45956 77 3 0x18100092 kqread dhcpleased 97083 182988 45956 77 3 0x18100092 kqread dhcpleased 45956 494857 1 0 3 0x18000080 kqread dhcpleased 29851 470778 0 0 3 0x14200 bored smr 25905 47561 0 0 3 0x14200 pgzero zerothread 46488 155066 0 0 3 0x14200 aiodoned aiodoned 25465 355704 0 0 3 0x14200 syncer update 93663 503355 0 0 3 0x14200 cleaner cleaner 59660 115967 0 0 3 0x14200 reaper reaper 70610 82015 0 0 3 0x14200 pgdaemon pagedaemon 41131 268805 0 0 3 0x14200 bored viomb 56385 173332 0 0 3 0x40014200 acpi0 acpi0 4014 321927 0 0 3 0x40014200 idle1 49995 395843 0 0 3 0x14200 bored softnet3 25499 120575 0 0 3 0x14200 bored softnet2 73043 331723 0 0 3 0x14200 bored softnet1 58780 158116 0 0 3 0x14200 bored softnet0 *63070 439846 0 0 7 0x14200 systqmp 15472 200018 0 0 3 0x14200 bored systq 72944 185442 0 0 3 0x14200 tmoslp softclockmp 69308 43475 0 0 3 0x40014200 tmoslp softclock 61779 347041 0 0 3 0x40014200 idle0 1 228744 0 0 3 0x8080082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 0: exclusive sched_lock &sched_lock r = 0 (0xffffffff82de2960) #0 witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x446 sys/kern/subr_witness.c:1187 #1 sched_idle+0x199 sys/kern/kern_sched.c:167 #2 proc_trampoline+0x10 CPU 1: exclusive mutex unpcb r = 0 (0xffffffff82de6550) #0 witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x446 sys/kern/subr_witness.c:1187 #1 mtx_enter_try+0x103 #2 pool_gc_pages+0xa7 pl_enter_try sys/kern/subr_pool.c:109 [inline] #2 pool_gc_pages+0xa7 sys/kern/subr_pool.c:1568 #3 taskq_thread+0xe5 sys/kern/kern_task.c:450 #4 proc_trampoline+0x10 Process 63070 (systqmp) thread 0xffff8000ffffe290 (439846) shared rwlock pools r = 0 (0xffffffff82ca4580) #0 witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x446 sys/kern/subr_witness.c:1187 #1 pool_gc_pages+0x25 sys/kern/subr_pool.c:1560 #2 taskq_thread+0xe5 sys/kern/kern_task.c:450 #3 proc_trampoline+0x10 shared rwlock systqmp r = 0 (0xffffffff82c82f40) #0 witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x446 sys/kern/subr_witness.c:1187 #1 taskq_thread+0xca sys/kern/kern_task.c:446 #2 proc_trampoline+0x10 exclusive mutex unpcb r = 0 (0xffffffff82de6550) #0 witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x446 sys/kern/subr_witness.c:1187 #1 mtx_enter_try+0x103 #2 pool_gc_pages+0xa7 pl_enter_try sys/kern/subr_pool.c:109 [inline] #2 pool_gc_pages+0xa7 sys/kern/subr_pool.c:1568 #3 taskq_thread+0xe5 sys/kern/kern_task.c:450 #4 proc_trampoline+0x10 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10224 6515K 6926K 166960K 13288 0 pcb 15 13K 14K 166960K 574 0 rtable 185 6K 8K 166960K 2042 0 pf 35 10K 10K 166960K 202 0 ifaddr 39 14K 16K 166960K 239 0 ifgroup 60 2K 3K 166960K 324 0 sysctl 3 0K 4K 166960K 12 0 counters 66 36K 37K 166960K 208 0 ioctlops 0 0K 4K 166960K 1661 0 iov 0 0K 18K 166960K 337 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1439 90K 91K 166960K 3360 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 78 0 VM map 2 1K 1K 166960K 2 0 sem 12 1K 1K 166960K 59 0 dirhash 12 2K 2K 166960K 69 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 13 45K 85K 166960K 4616 0 sigio 0 0K 0K 166960K 151 0 proc 72 91K 128K 166960K 1992 0 subproc 91 5K 7K 166960K 616 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 697 0 in_multi 67 5K 7K 166960K 668 0 ether_multi 1 0K 0K 166960K 21 0 mrt 2 0K 0K 166960K 15 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 271 1208K 1208K 166960K 271 0 exec 0 0K 1K 166960K 1224 0 pfkey data 0 0K 1K 166960K 14 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 374 367K 373K 166960K 41488 0 UVM aobj 131 6K 6K 166960K 144 0 pinsyscall 37 74K 108K 166960K 6809 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 328 0 NDP 13 0K 2K 166960K 175 0 temp 72 6811K 7448K 166960K 131863 0 kqueue 14 22K 26K 166960K 515 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 24 0 0 1 0 1 1 0 8 0 rtpcb 120 487 0 484 3 2 1 3 0 8 0 rtentry 112 641 0 559 5 1 4 4 0 8 0 unpcb 144 2891 0 2875 19 18 1 6 0 8 0 unpcb: pool(0xffffffff82de6540:unpcb): page inconsistency: page 0x0; at page head addr 0xfffffd8069e1cf90 (p 0xfffffd8069e1c000) syncache 336 89 0 89 6 5 1 1 0 8 1 tcpqe 32 271 0 271 11 10 1 1 0 8 1 tcpcb 808 1794 0 1771 17 13 4 10 0 8 1 arp 120 144 0 130 1 0 1 1 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 3 0 3 1 1 0 1 0 8 0 inpcb 392 4831 0 4803 30 25 5 14 0 8 0 nd6 136 153 0 138 2 1 1 2 0 8 0 pkpcb 40 36 0 36 9 9 0 1 0 8 0 kcovpl 48 47 0 40 1 0 1 1 0 8 0 ppxss 1168 18 0 18 9 8 1 1 0 8 1 pffrag 232 19 0 17 1 0 1 1 0 482 0 pffrnode 88 19 0 17 1 0 1 1 0 8 0 pffrent 40 76 0 74 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 294 0 226 1 0 1 1 0 8 0 pfstkey 128 294 0 226 3 0 3 3 0 8 0 pfstate 376 294 0 226 11 3 8 8 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 2406 0 2070 52 21 31 34 0 8 5 art_table 32 2407 0 2070 5 1 4 5 0 8 0 art_node 16 629 0 555 1 0 1 1 0 8 0 sysvmsgpl 40 14 0 6 1 0 1 1 0 8 0 semupl 112 5 0 5 1 1 0 1 0 8 0 semapl 112 55 0 45 1 0 1 1 0 8 0 shmpl 112 141 0 13 4 0 4 4 0 8 0 dirhash 1024 55 0 38 3 0 3 3 0 8 0 dino2pl 256 8071 0 6529 97 0 97 97 0 8 0 ffsino 272 8071 0 6529 104 0 104 104 0 8 0 nchpl 144 14512 0 12783 67 0 67 67 0 8 0 uvmvnodes 80 6432 0 0 132 0 132 132 0 8 0 vnodes 216 6432 0 0 358 0 358 358 0 8 0 namei 1024 47028 0 47028 4 3 1 2 0 8 1 percpumem 16 118 0 71 1 0 1 1 0 8 0 vcpupl 2048 27 0 1 4 0 4 4 0 8 0 vmpool 696 42 0 16 3 0 3 3 0 8 0 kstatmem 264 168 0 142 3 0 3 3 0 8 0 scxspl 216 52920 0 52920 33 30 3 8 1 8 3 plimitpl 152 480 0 463 1 0 1 1 0 8 0 sigapl 424 4882 0 4836 9 1 8 9 0 8 0 futexpl 64 54528 0 54523 3 2 1 1 0 8 0 knotepl 120 492 0 0 11 0 11 11 0 8 0 kqueuepl 216 916 0 906 5 4 1 5 0 8 0 pipepl 320 762 0 737 8 5 3 8 0 8 0 fdescpl 496 4839 0 4813 9 4 5 5 0 8 0 filepl 152 26207 0 25968 48 36 12 18 0 8 0 lockfpl 104 1055 0 1053 2 1 1 2 0 8 0 lockfspl 48 394 0 392 1 0 1 1 0 8 0 sessionpl 144 67 0 51 1 0 1 1 0 8 0 pgrppl 48 152 0 136 1 0 1 1 0 8 0 ucredpl 104 3764 0 3749 1 0 1 1 0 8 0 zombiepl 144 4837 0 4836 2 1 1 1 0 8 0 processpl 1136 4882 0 4836 6 1 5 6 0 8 0 procpl 656 9946 0 9877 9 1 8 9 0 8 0 srpgc 96 39 0 39 8 8 0 1 0 8 0 sosppl 168 80 0 74 1 0 1 1 0 8 0 sockpl 584 8283 0 8236 42 37 5 14 0 8 0 mcl64k 65536 25 0 0 4 1 3 3 0 8 0 mcl16k 16384 17 0 0 3 0 3 3 0 8 0 mcl12k 12288 15 0 0 2 0 2 2 0 8 0 mcl9k 9216 15 0 0 2 0 2 2 0 8 0 mcl8k 8192 20 0 0 3 0 3 3 0 8 0 mcl4k 4096 25 0 0 3 0 3 3 0 8 0 mcl2k2 2112 7 0 0 1 0 1 1 0 8 0 mcl2k 2048 340 0 0 36 2 34 36 0 8 1 mtagpl 96 21 0 0 1 0 1 1 0 8 0 mbufpl 256 1062 0 0 59 0 59 59 0 8 0 bufpl 280 14557 0 8122 460 0 460 460 0 8 0 anonpl 24 625292 0 619416 152 91 61 112 0 186 0 amapchunkpl 152 131057 0 130413 82 49 33 57 0 158 4 amappl16 200 14622 0 14501 68 56 12 20 0 8 0 amappl15 192 12 0 12 2 2 0 1 0 8 0 amappl14 184 361 0 344 2 1 1 2 0 8 0 amappl13 176 23 0 23 3 3 0 1 0 8 0 amappl12 168 6104 0 6073 3 1 2 2 0 8 0 amappl11 160 54 0 40 1 0 1 1 0 8 0 amappl10 152 127 0 113 1 0 1 1 0 8 0 amappl9 144 213 0 211 1 0 1 1 0 8 0 amappl8 136 844 0 713 5 0 5 5 0 8 0 amappl7 128 79 0 62 1 0 1 1 0 8 0 amappl6 120 939 0 919 2 1 1 2 0 8 0 amappl5 112 395 0 380 1 0 1 1 0 8 0 amappl4 104 964 0 916 2 0 2 2 0 8 0 amappl3 96 25699 0 25621 3 0 3 3 0 8 0 amappl2 88 5536 0 5449 6 3 3 4 0 8 0 amappl1 80 28227 0 27694 24 12 12 23 0 8 0 amappl 88 40293 0 40085 7 1 6 6 0 92 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 143 0 13 3 0 3 3 0 8 0 uaddrrnd 24 4881 0 4829 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4881 0 4829 1 0 1 1 0 8 0 vmmpekpl 168 35911 0 35850 4 0 4 4 0 8 0 vmmpepl 168 313346 0 311332 164 54 110 118 0 357 2 vmsppl 440 4880 0 4829 8 1 7 7 0 8 0 rwobjpl 56 83289 0 75446 116 3 113 113 0 8 0 pdppl 4096 9769 0 9684 307 213 94 96 0 8 9 pvpl 32 44995 0 0 363 0 363 363 0 265 0 pmappl 248 4880 0 4829 5 1 4 4 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 757 0 305 13 0 13 13 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffffffff82d3bff0) at x86_ipi_db+0x1e sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 Xsyscall() at Xsyscall+0x111 end of kernel end trace frame: 0x7c45c91ff6a0, count: 11 ddb{0}> trace x86_ipi_db(ffffffff82d3bff0) at x86_ipi_db+0x1e sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 Xsyscall() at Xsyscall+0x111 end of kernel end trace frame: 0x7c45c91ff6a0, count: -4 ddb{0}> machine ddbcpu 1 Stopped at pool_gc_pages+0x1e1: movq %rax,0(%rcx) pool_gc_pages(0) at pool_gc_pages+0x1e1 pool_p_remove sys/kern/subr_pool.c:1049 [inline] pool_gc_pages(0) at pool_gc_pages+0x1e1 sys/kern/subr_pool.c:1576 taskq_thread(ffffffff82c82ed0) at taskq_thread+0xe5 sys/kern/kern_task.c:450 end trace frame: 0x0, count: 13 ddb{1}> trace pool_gc_pages(0) at pool_gc_pages+0x1e1 pool_p_remove sys/kern/subr_pool.c:1049 [inline] pool_gc_pages(0) at pool_gc_pages+0x1e1 sys/kern/subr_pool.c:1576 taskq_thread(ffffffff82c82ed0) at taskq_thread+0xe5 sys/kern/kern_task.c:450 end trace frame: 0x0, count: -2