uvm_fault(0xffffffff82ae84d8, 0x0, 0, 2) -> e kernel: page fault trap, code=0 Stopped at km_free+0x118: movq $0,0(%rax) TID PID UID PRFLAGS PFLAGS CPU COMMAND * 22073 45320 0 0x14000 0x200 0K systqmp km_free(0,1000,ffffffff82859c88,ffffffff82859ca0) at km_free+0x118 sys/uvm/uvm_km.c:926 pool_p_free(ffffffff82b60b38,fffffd8075279f90) at pool_p_free+0x14b sys/kern/subr_pool.c:1014 pool_gc_pages(0) at pool_gc_pages+0x255 sys/kern/subr_pool.c:1585 taskq_thread(ffffffff8296fda0) at taskq_thread+0xe5 sys/kern/kern_task.c:449 end trace frame: 0x0, count: 11 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: uvm_fault(0xffffffff82ae84d8, 0x0, 0, 2) -> e ddb{0}> trace km_free(0,1000,ffffffff82859c88,ffffffff82859ca0) at km_free+0x118 sys/uvm/uvm_km.c:926 pool_p_free(ffffffff82b60b38,fffffd8075279f90) at pool_p_free+0x14b sys/kern/subr_pool.c:1014 pool_gc_pages(0) at pool_gc_pages+0x255 sys/kern/subr_pool.c:1585 taskq_thread(ffffffff8296fda0) at taskq_thread+0xe5 sys/kern/kern_task.c:449 end trace frame: 0x0, count: -4 ddb{0}> show registers rdi 0x1000 __ALIGN_SIZE rsi 0x28000000 rbp 0xffff800021101980 rbx 0x28000000000 rdx 0 rcx 0xffffffff82859ca0 kp_dirty rax 0 r8 0 r9 0 r10 0xe2a0b554f2408f2b r11 0x75197d2b0d1b1677 r12 0 r13 0xffffffff82859c88 kv_page r14 0x1000 __ALIGN_SIZE r15 0x1000 __ALIGN_SIZE rip 0xffffffff81d03038 km_free+0x118 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800021101900 ss 0x10 km_free+0x118: movq $0,0(%rax) ddb{0}> show proc PROC (systqmp) pid=22073 stat=onproc flags process=14000 proc=200 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000210e8fc0,0xffff8000210e87f0 process=0xffff8000ffffdd18 user=0xffff8000210fc000, vmspace=0xffffffff82ae84d8 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 38522 279892 45939 0 3 0x80 nanoslp syz-executor.4 38522 386625 45939 0 3 0x4000080 bell syz-executor.4 38522 124433 45939 0 3 0x4000080 fsleep syz-executor.4 88664 409612 0 0 3 0x14200 acct acct 65469 190078 0 0 3 0x14280 nfsidl nfsio 31926 383579 0 0 3 0x14280 nfsidl nfsio 28566 49392 0 0 3 0x14280 nfsidl nfsio 91463 111680 0 0 3 0x14280 nfsidl nfsio 62579 24665 0 0 3 0x14280 nfsidl nfsio 72892 254979 0 0 3 0x14280 nfsidl nfsio 33812 438367 0 0 3 0x14280 nfsidl nfsio 66673 490718 0 0 3 0x14280 nfsidl nfsio 71609 163361 0 0 3 0x14280 nfsidl nfsio 59638 67637 0 0 3 0x14280 nfsidl nfsio 33534 287721 0 0 3 0x14280 nfsidl nfsio 70748 290957 0 0 3 0x14280 nfsidl nfsio 58256 237096 0 0 3 0x14280 nfsidl nfsio 45118 132822 0 0 3 0x14280 nfsidl nfsio 75909 171005 0 0 3 0x14280 nfsidl nfsio 92167 66908 0 0 3 0x14280 nfsidl nfsio 356 385829 0 0 3 0x14280 nfsidl nfsio 59140 314121 0 0 3 0x14280 nfsidl nfsio 58736 483811 0 0 3 0x14280 nfsidl nfsio 98331 412932 0 0 3 0x14280 nfsidl nfsio 82008 107084 30464 0 3 0x82 piperd syz-executor.7 45939 150862 30464 0 3 0x82 nanoslp syz-executor.4 22602 471154 30464 0 3 0x82 piperd syz-executor.5 19216 299024 30464 0 3 0x82 piperd syz-executor.3 17996 213113 0 0 3 0x14200 bored sosplice 94216 307606 30464 0 3 0x82 piperd syz-executor.2 92128 25099 30464 0 3 0x82 piperd syz-executor.6 9548 48035 30464 0 3 0x82 piperd syz-executor.1 40529 424586 30464 0 3 0x82 piperd syz-executor.0 30464 29938 38584 0 3 0x82 kqread syz-fuzzer 30464 366873 38584 0 3 0x4000082 thrsleep syz-fuzzer 30464 351464 38584 0 3 0x4000082 thrsleep syz-fuzzer 30464 282825 38584 0 3 0x4000082 thrsleep syz-fuzzer 30464 54066 38584 0 3 0x4000082 thrsleep syz-fuzzer 30464 288511 38584 0 3 0x4000082 thrsleep syz-fuzzer 30464 23200 38584 0 3 0x4000082 thrsleep syz-fuzzer 30464 481915 38584 0 3 0x4000082 thrsleep syz-fuzzer 30464 217444 38584 0 3 0x4000082 thrsleep syz-fuzzer 38584 13365 49550 0 3 0x10008a sigsusp ksh 49550 419892 39296 0 3 0x9a kqread sshd 58281 124386 1 0 3 0x100083 ttyin getty 39296 36834 1 0 3 0x88 kqread sshd 55893 372709 82830 74 3 0x1100092 bpf pflogd 82830 156147 1 0 3 0x80 netio pflogd 37151 62301 62422 73 3 0x1100090 kqread syslogd 62422 92528 1 0 3 0x100082 netio syslogd 76501 27422 1 0 3 0x100080 kqread resolvd 51242 205739 50323 77 3 0x100092 kqread dhcpleased 94233 436876 50323 77 3 0x100092 kqread dhcpleased 50323 357376 1 0 3 0x80 kqread dhcpleased 91687 211862 0 0 3 0x14200 bored smr 20723 401790 0 0 3 0x14200 pgzero zerothread 9991 451768 0 0 3 0x14200 aiodoned aiodoned 52316 95371 0 0 3 0x14200 syncer update 35086 492122 0 0 3 0x14200 cleaner cleaner 95396 125395 0 0 3 0x14200 reaper reaper 88175 80421 0 0 3 0x14200 pgdaemon pagedaemon 32143 335060 0 0 3 0x14200 bored viomb 55987 381192 0 0 3 0x40014200 acpi0 acpi0 95114 463993 0 0 7 0x40014200 idle1 82985 99051 0 0 3 0x14200 bored softnet 44181 4062 0 0 3 0x14200 bored softnet 16740 441821 0 0 3 0x14200 bored softnet 52121 438069 0 0 3 0x14200 bored softnet *45320 22073 0 0 7 0x14200 systqmp 25402 168358 0 0 3 0x14200 bored systq 49328 397623 0 0 3 0x40014200 bored softclock 20540 316843 0 0 3 0x40014200 idle0 1 108610 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 45320 (systqmp) thread 0xffff8000210e8a80 (22073) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10200 6560K 6888K 78643K 15559 0 pcb 13 10K 11K 78643K 181 0 rtable 209 16K 17K 78643K 1605 0 ifaddr 95 19K 20K 78643K 583 0 sysctl 3 1K 1K 78643K 3 0 counters 56 35K 35K 78643K 140 0 ioctlops 0 0K 4K 78643K 2185 0 iov 0 0K 16K 78643K 300 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1348 84K 84K 78643K 2795 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 16 0 VM map 2 1K 1K 78643K 2 0 sem 21 2K 2K 78643K 139 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 11 37K 85K 78643K 2987 0 sigio 0 0K 0K 78643K 8 0 proc 73 91K 140K 78643K 853 0 subproc 104 6K 6K 78643K 182 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 50 0 in_multi 76 5K 6K 78643K 187 0 ether_multi 1 0K 0K 78643K 3 0 mrt 4 0K 0K 78643K 14 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 61 281K 281K 78643K 61 0 exec 0 0K 2K 78643K 1163 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 287 377K 377K 78643K 19592 0 UVM aobj 131 4K 4K 78643K 133 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 77 0 NDP 14 0K 2K 78643K 86 0 temp 151 4758K 5770K 78643K 23071 0 kqueue 12 18K 26K 78643K 251 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 105 0 102 1 0 1 1 0 8 0 rtentry 112 278 0 199 4 0 4 4 0 8 0 unpcb 136 1598 0 1583 28 24 4 6 0 8 3 syncache 296 11 0 11 5 5 0 1 0 8 0 tcpqe 32 46 0 46 3 3 0 1 0 8 0 tcpcb 736 841 0 832 27 25 2 10 0 8 1 arp 120 32 0 19 1 0 1 1 0 8 0 inpcb 312 2144 0 2132 26 20 6 7 0 8 4 nd6 48 45 0 28 1 0 1 1 0 8 0 pkpcb 40 42 0 42 2 2 0 1 0 8 0 kcovpl 48 14 0 6 1 0 1 1 0 8 0 ppxss 1248 18 0 18 5 5 0 1 0 8 0 pfstscr 40 4 0 4 1 1 0 1 0 8 0 pffrag 232 3 0 2 2 1 1 1 0 482 0 pffrnode 88 3 0 2 2 1 1 1 0 8 0 pffrent 40 74 0 73 2 1 1 1 0 8 0 pfosfp 40 1430 0 1006 5 0 5 5 0 8 0 pfosfpen 112 1430 0 714 21 0 21 21 0 8 0 pfrktable 1344 396 0 383 3 1 2 2 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 66 0 59 1 0 1 1 0 8 0 pfstkey 112 74 0 67 1 0 1 1 0 8 0 pfstate 336 70 0 63 3 0 3 3 0 8 0 pfsrctr 152 10 0 10 2 1 1 1 0 8 1 pfrule 1360 218 0 197 4 2 2 2 0 8 0 rttmr 64 5 0 5 2 2 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 1245 0 861 38 10 28 30 0 8 1 art_table 32 1247 0 861 4 0 4 4 0 8 0 art_node 16 274 0 206 1 0 1 1 0 8 0 sysvmsgpl 40 31 0 25 2 1 1 1 0 8 0 semapl 112 135 0 116 1 0 1 1 0 8 0 shmpl 112 130 0 2 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 5225 0 3784 91 0 91 91 0 8 0 ffsino 272 5225 0 3784 97 0 97 97 0 8 0 nchpl 144 10605 0 8978 63 0 63 63 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 224 5926 0 0 349 0 349 349 0 8 0 namei 1024 36209 0 36209 2 1 1 2 0 8 1 percpumem 16 82 0 42 1 0 1 1 0 8 0 vcpupl 2048 84 0 1 11 0 11 11 0 8 0 vmpool 560 95 0 12 6 0 6 6 0 8 0 pfiaddrpl 120 102 0 85 2 1 1 1 0 8 0 kstatmem 264 112 0 84 5 3 2 3 0 8 0 scsiplug 72 2 0 2 1 1 0 1 0 8 0 scxspl 216 26477 0 26477 15 14 1 8 0 8 1 plimitpl 152 423 0 408 1 0 1 1 0 8 0 sigapl 424 3302 0 3239 9 1 8 8 0 8 0 futexpl 64 27253 0 27252 1 0 1 1 0 8 0 knotepl 120 566 0 0 17 0 17 17 0 8 0 kqueuepl 216 5507 0 5499 33 28 5 9 0 8 4 pipepl 336 630 0 602 12 6 6 8 0 8 3 fdescpl 496 3263 0 3239 5 1 4 5 0 8 0 filepl 152 26675 0 26434 53 37 16 20 0 8 5 lockfpl 104 1186 0 1184 3 2 1 2 0 8 0 lockfspl 48 417 0 415 1 0 1 1 0 8 0 sessionpl 144 30 0 13 1 0 1 1 0 8 0 pgrppl 48 34 0 17 1 0 1 1 0 8 0 ucredpl 96 1729 0 1717 1 0 1 1 0 8 0 zombiepl 144 3239 0 3239 1 0 1 1 0 8 1 processpl 1064 3302 0 3239 5 0 5 5 0 8 0 procpl 672 8921 0 8848 16 7 9 9 0 8 1 srpgc 96 14 0 14 5 5 0 1 0 8 0 sosppl 168 17 0 17 4 4 0 1 0 8 0 sockpl 480 3892 0 3862 101 88 13 28 0 8 8 mcl64k 65536 39 0 0 5 0 5 5 0 8 0 mcl16k 16384 15 0 0 2 0 2 2 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 8 0 0 1 0 1 1 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 353 0 0 40 0 40 40 0 8 0 mtagpl 96 476 0 0 11 0 11 11 0 8 0 mbufpl 256 814 0 0 46 0 46 46 0 8 0 bufpl 288 7975 0 1643 453 0 453 453 0 8 0 anonpl 24 651366 0 634690 162 46 116 129 0 186 0 amapchunkpl 152 55323 0 54688 42 8 34 38 0 158 0 amappl16 200 10245 0 9701 80 50 30 42 0 8 0 amappl15 192 636 0 635 1 0 1 1 0 8 0 amappl14 184 810 0 807 1 0 1 1 0 8 0 amappl13 176 774 0 771 1 0 1 1 0 8 0 amappl12 168 314 0 307 1 0 1 1 0 8 0 amappl11 160 530 0 510 3 2 1 2 0 8 0 amappl10 152 43 0 38 1 0 1 1 0 8 0 amappl9 144 697 0 689 1 0 1 1 0 8 0 amappl8 136 854 0 787 3 0 3 3 0 8 0 amappl7 128 250 0 238 1 0 1 1 0 8 0 amappl6 120 440 0 424 2 1 1 2 0 8 0 amappl5 112 1890 0 1875 1 0 1 1 0 8 0 amappl4 104 1755 0 1729 2 0 2 2 0 8 0 amappl3 96 10194 0 10151 2 0 2 2 0 8 0 amappl2 88 4357 0 4297 3 1 2 3 0 8 0 amappl1 80 80093 0 79529 21 6 15 20 0 8 0 amappl 88 18921 0 18760 5 0 5 5 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 132 0 2 3 0 3 3 0 8 0 uaddrrnd 24 3358 0 3251 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3358 0 3251 1 0 1 1 0 8 0 vmmpekpl 168 29132 0 29075 3 0 3 3 0 8 0 vmmpepl 168 321443 0 318945 173 35 138 144 0 357 4 vmsppl 368 3357 0 3251 11 0 11 11 0 8 0 rwobjpl 56 87392 0 79809 113 3 110 110 0 8 0 pdppl 4096 6723 0 6585 270 119 151 151 0 8 13 pvpl 32 1323665 0 1302931 285 95 190 242 0 265 0 pmappl 248 3357 0 3251 8 0 8 8 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 1152 0 185 28 0 28 28 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace km_free(0,1000,ffffffff82859c88,ffffffff82859ca0) at km_free+0x118 sys/uvm/uvm_km.c:926 pool_p_free(ffffffff82b60b38,fffffd8075279f90) at pool_p_free+0x14b sys/kern/subr_pool.c:1014 pool_gc_pages(0) at pool_gc_pages+0x255 sys/kern/subr_pool.c:1585 taskq_thread(ffffffff8296fda0) at taskq_thread+0xe5 sys/kern/kern_task.c:449 end trace frame: 0x0, count: -4 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020cd8ff0) at x86_ipi_db+0x1a 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+0x23 acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800020cd8ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff800020cd8ff0) at x86_ipi_db+0x1a 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+0x23 acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800020cd8ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178 end trace frame: 0x0, count: -5