uvm_fault(0xffffffff82e65d20, 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 24110 72050 0 0 0 0 syz-executor.4 * 12429 47721 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(ffffffff82cdd3f0) 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(0xffffffff82e65d20, 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(ffffffff82cdd3f0) 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 0xffff80002a11a780 rbx 0xf90 rdx 0 rcx 0 rax 0 r8 0x47 r9 0x1 r10 0x428801886b35837f r11 0x84a088d6575b5df4 r12 0x1dcd65000 r13 0xfffffd8059b6bf90 r14 0 r15 0xffffffff82e779d0 uvm_anon_pool rip 0xffffffff81bf54f1 pool_gc_pages+0x1e1 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a11a740 ss 0x10 pool_gc_pages+0x1e1: movq %rax,0(%rcx) ddb{1}> show proc PROC (systqmp) tid=12429 pid=47721 tcnt=1 stat=onproc flags process=14000 proc=200 runpri=32, usrpri=51, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff80002a0fb7f8,0xffff80002a0fb2b8 process=0xffff8000ffffc8e0 user=0xffff80002a115000, vmspace=0xffffffff82e65d20 estcpu=1, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 72050 24110 35470 0 7 0 syz-executor.4 72050 493491 35470 0 3 0x4000080 netcon syz-executor.4 72050 5933 35470 0 3 0x4000080 netcon syz-executor.4 72050 291046 35470 0 3 0x4000080 fsleep syz-executor.4 43872 479256 15463 0 3 0x82 piperd syz-executor.5 93250 254890 15463 0 3 0x82 piperd syz-executor.6 61306 437170 1 0 3 0x100083 ttyin getty 84643 220868 15463 0 3 0x82 piperd syz-executor.7 35470 326327 15463 0 3 0x82 nanoslp syz-executor.4 14533 75004 15463 0 3 0x82 piperd syz-executor.0 33729 330675 0 0 3 0x14280 nfsidl nfsio 99001 346452 0 0 3 0x14280 nfsidl nfsio 58993 78183 0 0 3 0x14280 nfsidl nfsio 41374 348102 0 0 3 0x14280 nfsidl nfsio 55475 318601 0 0 3 0x14280 nfsidl nfsio 30911 430892 0 0 3 0x14280 nfsidl nfsio 66075 9881 0 0 3 0x14280 nfsidl nfsio 70322 466441 0 0 3 0x14280 nfsidl nfsio 71597 432615 0 0 3 0x14280 nfsidl nfsio 476 206452 0 0 3 0x14280 nfsidl nfsio 52142 352346 0 0 3 0x14280 nfsidl nfsio 19850 467511 0 0 3 0x14280 nfsidl nfsio 77272 141640 0 0 3 0x14280 nfsidl nfsio 72959 365331 0 0 3 0x14280 nfsidl nfsio 8380 10870 0 0 3 0x14280 nfsidl nfsio 18418 237137 15463 0 3 0x82 piperd syz-executor.2 44571 219284 15463 0 3 0x82 piperd syz-executor.1 86106 149060 15463 0 3 0x82 piperd syz-executor.3 44985 315583 0 0 3 0x14280 nfsidl nfsio 44126 481379 0 0 3 0x14280 nfsidl nfsio 90882 488465 0 0 3 0x14280 nfsidl nfsio 8514 172054 0 0 3 0x14280 nfsidl nfsio 69302 226923 0 0 3 0x14280 nfsidl nfsio 40417 226151 0 0 3 0x14200 bored sosplice 15463 276686 91851 0 3 0x2000082 thrsleep syz-fuzzer 15463 258836 91851 0 3 0x6000082 thrsleep syz-fuzzer 15463 135951 91851 0 3 0x6000082 wait syz-fuzzer 15463 176948 91851 0 3 0x6000082 thrsleep syz-fuzzer 15463 253594 91851 0 3 0x6000082 wait syz-fuzzer 15463 14044 91851 0 3 0x6000082 wait syz-fuzzer 15463 92789 91851 0 3 0x6000082 wait syz-fuzzer 15463 104433 91851 0 3 0x6000082 thrsleep syz-fuzzer 15463 194277 91851 0 3 0x6000082 wait syz-fuzzer 15463 16023 91851 0 3 0x6000082 thrsleep syz-fuzzer 15463 49850 91851 0 3 0x6000082 thrsleep syz-fuzzer 15463 435922 91851 0 3 0x6000082 thrsleep syz-fuzzer 15463 224979 91851 0 3 0x6000082 wait syz-fuzzer 15463 32655 91851 0 3 0x6000082 kqread syz-fuzzer 15463 330363 91851 0 3 0x6000082 wait syz-fuzzer 15463 49902 91851 0 3 0x6000082 wait syz-fuzzer 91851 188276 97100 0 3 0x10008a sigsusp ksh 97100 488023 14457 0 3 0x9a kqread sshd 14457 109263 1 0 3 0x88 kqread sshd 14494 61589 56099 74 3 0x1100092 bpf pflogd 56099 383132 1 0 3 0x80 netio pflogd 7622 36618 39558 73 3 0x1100090 kqread syslogd 39558 182252 1 0 3 0x100082 netio syslogd 31587 296580 1 0 3 0x100080 kqread resolvd 90328 66205 0 0 3 0x14200 bored smr 15979 524068 0 0 3 0x14200 pgzero zerothread 42276 343391 0 0 3 0x14200 aiodoned aiodoned 70970 161404 0 0 3 0x14200 syncer update 25706 414406 0 0 3 0x14200 cleaner cleaner 98328 473715 0 0 3 0x14200 reaper reaper 20765 181439 0 0 3 0x14200 pgdaemon pagedaemon 49111 452005 0 0 3 0x14200 bored viomb 86394 446574 0 0 3 0x40014200 acpi0 acpi0 39891 76306 0 0 3 0x40014200 idle1 53853 475209 0 0 3 0x14200 bored softnet3 36043 233581 0 0 3 0x14200 bored softnet2 77986 335411 0 0 3 0x14200 bored softnet1 36214 488906 0 0 3 0x14200 bored softnet0 *47721 12429 0 0 7 0x14200 systqmp 5169 403376 0 0 3 0x14200 bored systq 4014 45986 0 0 3 0x14200 tmoslp softclockmp 31592 297130 0 0 3 0x40014200 tmoslp softclock 81428 354106 0 0 3 0x40014200 idle0 1 332766 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 0: exclusive sched_lock &sched_lock r = 0 (0xffffffff82d8fd60) #0 witness_lock+0x447 #1 sleep_finish+0x142 sys/kern/kern_synch.c:398 #2 msleep+0xea sys/kern/kern_synch.c:249 #3 softclock_thread+0xd0 sys/kern/kern_timeout.c:810 #4 proc_trampoline+0x10 CPU 1: exclusive mutex anonpl r = 0 (0xffffffff82e779e0) #0 witness_lock+0x447 #1 mtx_enter_try+0x104 #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 47721 (systqmp) thread 0xffff80002a0fb550 (12429) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10226 6565K 14693K 166960K 40855 0 pcb 15 18K 20K 166960K 1325 0 rtable 222 15K 16K 166960K 3820 0 pf 38 10K 10K 166960K 391 0 ifaddr 48 17K 19K 166960K 353 0 ifgroup 67 2K 3K 166960K 647 0 sysctl 4 1K 5K 166960K 15 0 counters 68 36K 37K 166960K 374 0 ioctlops 0 0K 4K 166960K 2738 0 iov 0 0K 40K 166960K 1543 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1512 95K 95K 166960K 10256 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 169 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 2122 0 dirhash 12 2K 2K 166960K 90 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 11 37K 93K 166960K 17308 0 sigio 1 0K 0K 166960K 469 0 proc 68 67K 127K 166960K 2588 0 subproc 104 6K 6K 166960K 654 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 671 0 in_multi 89 6K 7K 166960K 721 0 ether_multi 1 0K 0K 166960K 21 0 mrt 1 0K 0K 166960K 14 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 289 1288K 1288K 166960K 289 0 exec 0 0K 1K 166960K 2887 0 pfkey data 0 0K 4K 166960K 9 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 407 451K 454K 166960K 170265 0 UVM aobj 131 8K 8K 166960K 140 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 612 0 NDP 14 0K 1K 166960K 265 0 temp 74 6772K 7412K 166960K 119258 0 kqueue 6 10K 28K 166960K 1137 0 SYN cache 2 56K 64K 166960K 4 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 859 0 858 12 11 1 3 0 8 0 rtentry 112 1108 0 1009 6 3 3 4 0 8 0 unpcb 144 10444 0 10436 77 76 1 8 0 8 0 syncache 336 140 0 140 29 29 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 186 66910 186 1 1 0 1 0 8 0 tcpcb 808 4764 0 4673 126 115 11 19 0 8 0 arp 120 263 0 248 1 0 1 1 0 8 0 inpcb 392 12858 0 12767 213 197 16 22 0 8 5 nd6 136 155 0 134 1 0 1 1 0 8 0 pkpcb 40 57 0 57 13 12 1 1 0 8 1 kcovpl 48 49 0 41 1 0 1 1 0 8 0 ppxss 1168 37 0 37 12 12 0 1 0 8 0 pffrag 232 82 0 82 6 6 0 1 0 482 0 pffrnode 88 80 0 80 6 6 0 1 0 8 0 pffrent 40 307 0 307 6 6 0 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 433 0 423 1 0 1 1 0 8 0 pfstkey 128 434 0 424 2 1 1 2 0 8 0 pfstate 376 434 0 424 10 7 3 7 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 8 0 6 6 4 2 3 0 8 0 art_heap4 256 3281 0 2855 55 28 27 33 0 8 0 art_table 32 3289 0 2861 6 2 4 5 0 8 0 art_node 16 1059 0 970 1 0 1 1 0 8 0 semapl 112 2120 0 2110 1 0 1 1 0 8 0 shmpl 112 137 0 9 4 0 4 4 0 8 0 dirhash 1024 69 0 52 3 0 3 3 0 8 0 dino2pl 256 24057 0 22553 95 0 95 95 0 8 0 ffsino 272 24057 0 22553 102 1 101 101 0 8 0 nchpl 144 47142 0 45492 64 1 63 64 0 8 0 uvmvnodes 80 6842 0 0 140 0 140 140 0 8 0 vnodes 216 6842 0 0 381 0 381 381 0 8 0 namei 1024 154513 0 154513 8 7 1 2 0 8 1 percpumem 16 201 0 153 1 0 1 1 0 8 0 vcpupl 2048 46 0 4 6 0 6 6 0 8 0 vmpool 696 60 0 18 6 2 4 5 0 8 0 kstatmem 264 334 0 306 11 9 2 3 0 8 0 scxspl 216 150196 0 150196 44 43 1 8 1 8 1 plimitpl 152 1915 0 1900 1 0 1 1 0 8 0 sigapl 424 17607 0 17547 13 5 8 9 0 8 0 futexpl 64 131114 0 131113 5 4 1 1 0 8 0 knotepl 120 843 0 0 18 2 16 18 0 8 0 kqueuepl 216 2957 0 2952 52 51 1 8 0 8 0 pipepl 320 2175 0 2147 58 55 3 8 0 8 0 fdescpl 496 17536 0 17515 14 10 4 5 0 8 0 filepl 152 95989 0 95764 128 116 12 19 0 8 1 lockfpl 104 4141 0 4140 8 7 1 2 0 8 0 lockfspl 48 1422 0 1421 1 0 1 1 0 8 0 sessionpl 144 69 0 53 1 0 1 1 0 8 0 pgrppl 48 329 0 313 1 0 1 1 0 8 0 ucredpl 104 13392 0 13381 1 0 1 1 0 8 0 zombiepl 144 17547 0 17547 2 1 1 1 0 8 1 processpl 1136 17607 0 17547 7 1 6 6 0 8 0 procpl 680 47591 0 47513 15 6 9 10 0 8 0 srpgc 96 64 0 64 19 19 0 1 0 8 0 sosppl 168 164 0 153 3 2 1 1 0 8 0 sockpl 584 24286 0 24186 167 155 12 21 0 8 0 mcl64k 65536 33 0 0 4 1 3 3 0 8 0 mcl16k 16384 25 0 0 4 1 3 3 0 8 0 mcl12k 12288 41 0 0 2 0 2 2 0 8 0 mcl9k 9216 17 0 0 2 0 2 2 0 8 0 mcl8k 8192 55 0 0 4 1 3 3 0 8 0 mcl4k 4096 57 0 0 5 2 3 4 0 8 0 mcl2k2 2112 15 0 0 1 0 1 1 0 8 0 mcl2k 2048 359 0 0 32 13 19 32 0 8 1 mtagpl 96 445 0 0 9 4 5 9 0 8 0 mbufpl 256 9362 0 0 557 0 557 557 0 8 0 bufpl 280 30560 0 23717 489 0 489 489 0 8 0 anonpl 24 1808332 0 1794519 221 105 116 118 0 186 4 anonpl: pool(0xffffffff82e779d0:anonpl): page inconsistency: page 0x0; at page head addr 0xfffffd8059b6bf90 (p 0xfffffd8059b6b000) amapchunkpl 152 540314 0 539552 99 52 47 49 0 158 5 amappl16 200 35749 0 35259 150 117 33 40 0 8 0 amappl15 192 70 0 69 1 0 1 1 0 8 0 amappl14 184 330 0 314 3 1 2 2 0 8 0 amappl13 176 18 0 18 3 3 0 1 0 8 0 amappl12 168 18872 0 18839 5 3 2 3 0 8 0 amappl11 160 66 0 57 1 0 1 1 0 8 0 amappl10 152 85 0 68 1 0 1 1 0 8 0 amappl9 144 354 0 353 1 0 1 1 0 8 0 amappl8 136 909 0 758 6 0 6 6 0 8 0 amappl7 128 350 0 325 3 1 2 3 0 8 0 amappl6 120 1005 0 988 1 0 1 1 0 8 0 amappl5 112 420 0 412 1 0 1 1 0 8 0 amappl4 104 928 0 896 2 1 1 2 0 8 0 amappl3 96 104841 0 104781 4 1 3 4 0 8 0 amappl2 88 18717 0 18651 3 1 2 3 0 8 0 amappl1 80 72830 0 72386 23 11 12 23 0 8 0 amappl 88 168922 0 168691 9 2 7 8 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 139 0 9 3 0 3 3 0 8 0 uaddrrnd 24 17596 0 17533 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 17596 0 17533 1 0 1 1 0 8 0 vmmpekpl 168 128152 0 128075 4 0 4 4 0 8 0 vmmpepl 168 1042996 0 1040865 388 256 132 149 0 357 0 vmsppl 448 17595 0 17533 10 2 8 8 0 8 0 rwobjpl 56 255552 0 247027 132 8 124 125 0 8 0 pdppl 4096 35199 0 35108 591 486 105 108 0 8 14 pvpl 32 45559 0 0 368 0 368 368 0 265 0 pmappl 248 17595 0 17533 7 2 5 5 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1834 0 865 29 0 29 29 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffffffff82d16ff0) 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: 0x7284a7932cc0, count: 11 ddb{0}> trace x86_ipi_db(ffffffff82d16ff0) 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: 0x7284a7932cc0, 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(ffffffff82cdd3f0) 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(ffffffff82cdd3f0) at taskq_thread+0xe5 sys/kern/kern_task.c:450 end trace frame: 0x0, count: -2