login: uvm_fault(0xffffffff82e24e38, 0x0, 0, 2) -> e kernel: page fault trap, code=2 Stopped at km_free+0x128: movq $0,0(%rax) TID PID UID PRFLAGS PFLAGS CPU COMMAND * 19972 17921 0 0x14000 0x200 0 systqmp km_free(0,1000,ffffffff82b13740,ffffffff82b13758) at km_free+0x128 sys/uvm/uvm_km.c:870 pool_p_free(ffffffff82e37860,fffffd8068501f90) at pool_p_free+0x14d sys/kern/subr_pool.c:1012 pool_gc_pages(0) at pool_gc_pages+0x255 sys/kern/subr_pool.c:1583 taskq_thread(ffffffff82cb7250) at taskq_thread+0xf5 sys/kern/kern_task.c:450 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(0xffffffff82e24e38, 0x0, 0, 2) -> e ddb{0}> trace km_free(0,1000,ffffffff82b13740,ffffffff82b13758) at km_free+0x128 sys/uvm/uvm_km.c:870 pool_p_free(ffffffff82e37860,fffffd8068501f90) at pool_p_free+0x14d sys/kern/subr_pool.c:1012 pool_gc_pages(0) at pool_gc_pages+0x255 sys/kern/subr_pool.c:1583 taskq_thread(ffffffff82cb7250) at taskq_thread+0xf5 sys/kern/kern_task.c:450 end trace frame: 0x0, count: -4 ddb{0}> show registers rdi 0x1000 __ALIGN_SIZE rsi 0x28000000 rbp 0xffff80002a11d140 rbx 0xffffffff82b13740 kv_page rdx 0 rcx 0xffff8000ffffea40 rax 0 r8 0 r9 0 r10 0x5044250973a7361 r11 0x11cc7fa03e0e7afd r12 0x1000 __ALIGN_SIZE r13 0 r14 0x1000 __ALIGN_SIZE r15 0x28000000000 rip 0xffffffff81f71c28 km_free+0x128 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a11d0d0 ss 0x10 km_free+0x128: movq $0,0(%rax) ddb{0}> show proc PROC (systqmp) tid=19972 pid=17921 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=0xffff8000ffffe520,0xffff8000ffffece0 process=0xffff80002a0fcd50 user=0xffff80002a118000, vmspace=0xffffffff82e24e38 estcpu=1, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 10454 164626 1 0 3 0x18100083 ttyin getty 83513 46428 645 0 3 0x8000082 piperd syz-executor.3 72383 56077 645 0 3 0x8000082 piperd syz-executor.2 76301 26650 645 0 3 0x8000082 piperd syz-executor.0 1995 177733 645 0 3 0x8000082 piperd syz-executor.1 81827 131436 645 0 3 0x8000082 piperd syz-executor.5 29204 204596 645 0 3 0x8000082 nanoslp syz-executor.7 78994 21687 645 0 3 0x8000082 piperd syz-executor.4 28035 120325 0 0 3 0x14280 nfsidl nfsio 66650 507633 0 0 3 0x14280 nfsidl nfsio 47370 406540 0 0 3 0x14280 nfsidl nfsio 37264 330689 0 0 3 0x14280 nfsidl nfsio 93452 500117 0 0 3 0x14280 nfsidl nfsio 80563 214037 0 0 3 0x14280 nfsidl nfsio 54079 292307 0 0 3 0x14280 nfsidl nfsio 88503 355700 0 0 3 0x14280 nfsidl nfsio 95073 337526 0 0 3 0x14280 nfsidl nfsio 89500 442402 0 0 3 0x14280 nfsidl nfsio 89929 323442 0 0 3 0x14280 nfsidl nfsio 28993 434967 0 0 3 0x14280 nfsidl nfsio 38468 63896 0 0 3 0x14280 nfsidl nfsio 55922 75689 0 0 3 0x14280 nfsidl nfsio 86726 103395 0 0 3 0x14280 nfsidl nfsio 60205 408386 0 0 3 0x14280 nfsidl nfsio 22427 233061 0 0 3 0x14280 nfsidl nfsio 93414 111685 0 0 3 0x14280 nfsidl nfsio 30240 124993 0 0 3 0x14280 nfsidl nfsio 62338 420513 0 0 3 0x14280 nfsidl nfsio 67574 3821 645 0 3 0x8000082 piperd syz-executor.6 27368 63774 0 0 3 0x14200 bored sosplice 645 220937 7078 0 3 0x1a000082 wait syz-fuzzer 645 170985 7078 0 3 0x1e000082 thrsleep syz-fuzzer 645 330444 7078 0 3 0x1e000082 thrsleep syz-fuzzer 645 55123 7078 0 3 0x1e000082 wait syz-fuzzer 645 41471 7078 0 3 0x1e000082 thrsleep syz-fuzzer 645 138145 7078 0 3 0x1e000082 thrsleep syz-fuzzer 645 334661 7078 0 3 0x1e000082 wait syz-fuzzer 645 512576 7078 0 3 0x1e000082 kqread syz-fuzzer 645 91217 7078 0 3 0x1e000082 thrsleep syz-fuzzer 645 506578 7078 0 3 0x1e000082 wait syz-fuzzer 645 379298 7078 0 3 0x1e000082 thrsleep syz-fuzzer 645 29032 7078 0 3 0x1e000082 wait syz-fuzzer 645 489840 7078 0 3 0x1e000082 wait syz-fuzzer 645 148423 7078 0 3 0x1e000082 wait syz-fuzzer 645 93767 7078 0 3 0x1e000082 wait syz-fuzzer 7078 300111 28704 0 3 0x810008a sigsusp ksh 28704 271184 33357 0 3 0x1800009a kqread sshd 33357 341076 1 0 3 0x18000088 kqread sshd 72946 311663 40602 73 3 0x19100090 kqread syslogd 40602 17478 1 0 3 0x18100082 sbwait syslogd 65516 390172 1 0 3 0x18100080 kqread resolvd 3705 62548 57318 77 3 0x18100092 kqread dhcpleased 47773 160012 57318 77 3 0x18100092 kqread dhcpleased 57318 114783 1 0 3 0x18000080 kqread dhcpleased 11316 132667 0 0 3 0x14200 bored smr 34761 112633 0 0 3 0x14200 pgzero zerothread 65035 107941 0 0 3 0x14200 aiodoned aiodoned 87743 38348 0 0 3 0x14200 syncer update 71922 317177 0 0 3 0x14200 cleaner cleaner 27895 380601 0 0 3 0x14200 reaper reaper 65842 74742 0 0 3 0x14200 pgdaemon pagedaemon 27273 2522 0 0 3 0x14200 bored viomb 82185 445835 0 0 3 0x40014200 acpi0 acpi0 34788 235206 0 0 7 0x40014200 idle1 12172 8514 0 0 3 0x14200 bored softnet3 72219 229197 0 0 3 0x14200 bored softnet2 48308 130529 0 0 3 0x14200 bored softnet1 18365 25564 0 0 3 0x14200 bored softnet0 *17921 19972 0 0 7 0x14200 systqmp 26993 474192 0 0 3 0x14200 bored systq 62744 31700 0 0 3 0x14200 tmoslp softclockmp 17149 47147 0 0 3 0x40014200 tmoslp softclock 49278 108808 0 0 3 0x40014200 idle0 1 491577 0 0 3 0x8080082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 17921 (systqmp) thread 0xffff8000ffffea40 (19972) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10208 6443K 6886K 166960K 12988 0 pcb 17 12K 12K 166960K 318 0 rtable 211 15K 17K 166960K 1171 0 pf 35 9K 10K 166960K 149 0 ifaddr 40 14K 15K 166960K 163 0 ifgroup 62 2K 2K 166960K 235 0 sysctl 4 1K 2K 166960K 10 0 counters 70 37K 37K 166960K 160 0 ioctlops 0 0K 4K 166960K 1599 0 iov 0 0K 30K 166960K 158 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1391 87K 88K 166960K 2789 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 0K 0K 166960K 139 0 dirhash 12 2K 2K 166960K 63 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 11 37K 89K 166960K 2117 0 sigio 0 0K 0K 166960K 45 0 proc 60 79K 127K 166960K 1235 0 subproc 104 6K 8K 166960K 380 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 353 0 in_multi 78 5K 7K 166960K 410 0 ether_multi 1 0K 0K 166960K 14 0 mrt 1 0K 0K 166960K 5 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 97 440K 440K 166960K 97 0 exec 0 0K 1K 166960K 913 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 248 108K 134K 166960K 20181 0 UVM aobj 122 9K 9K 166960K 135 0 pinsyscall 31 62K 100K 166960K 3810 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 151 0 NDP 14 0K 1K 166960K 117 0 temp 74 6820K 7311K 166960K 73097 0 kqueue 12 18K 27K 166960K 329 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> 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 242 0 239 1 0 1 1 0 8 0 rtentry 112 386 0 295 4 0 4 4 0 8 0 unpcb 144 1521 0 1508 4 3 1 2 0 8 0 syncache 336 10 0 10 5 5 0 1 0 8 0 tcpqe 32 36 0 36 3 3 0 1 0 8 0 tcpcb 808 615 0 609 10 8 2 4 0 8 1 arp 120 67 0 55 1 0 1 1 0 8 0 inpcb 384 2269 0 2259 18 16 2 5 0 8 0 nd6 136 105 0 83 1 0 1 1 0 8 0 pkpcb 40 4 0 4 2 1 1 1 0 8 1 kcovpl 48 29 0 21 1 0 1 1 0 8 0 ppxss 1168 12 0 12 7 6 1 1 0 8 1 pffrag 232 21 0 15 1 0 1 1 0 482 0 pffrnode 88 18 0 13 1 0 1 1 0 8 0 pffrent 40 199 0 193 2 1 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 173 0 120 1 0 1 1 0 8 0 pfstkey 128 173 0 120 3 0 3 3 0 8 0 pfstate 376 173 0 120 8 2 6 7 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 1517 0 1086 35 7 28 29 0 8 1 art_table 32 1518 0 1086 4 0 4 4 0 8 0 art_node 16 379 0 296 1 0 1 1 0 8 0 sysvmsgpl 40 13 0 11 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 136 0 126 1 0 1 1 0 8 0 shmpl 112 132 0 13 4 0 4 4 0 8 0 dirhash 1024 51 0 34 3 0 3 3 0 8 0 dino2pl 256 4882 0 3368 96 0 96 96 0 8 0 ffsino 272 4882 0 3368 103 0 103 103 0 8 0 nchpl 144 7989 0 6256 67 1 66 67 0 8 0 uvmvnodes 80 5822 0 0 119 0 119 119 0 8 0 vnodes 216 5822 0 0 324 0 324 324 0 8 0 namei 1024 28360 0 28360 5 4 1 2 0 8 1 percpumem 16 94 0 45 1 0 1 1 0 8 0 vcpupl 3904 9 0 1 1 0 1 1 0 8 0 vmpool 696 10 0 2 1 0 1 1 0 8 0 kstatmem 264 118 0 90 3 0 3 3 0 8 0 scsiplug 72 7 0 7 3 3 0 1 0 8 0 scxspl 216 48002 0 48002 17 16 1 8 1 8 1 plimitpl 152 386 0 371 1 0 1 1 0 8 0 sigapl 424 2408 0 2347 9 0 9 9 0 8 0 futexpl 64 31924 0 31924 4 3 1 1 0 8 1 knotepl 120 459 0 0 11 0 11 11 0 8 0 kqueuepl 216 599 0 591 2 1 1 2 0 8 0 pipepl 320 417 0 389 3 0 3 3 0 8 0 fdescpl 496 2366 0 2344 7 2 5 5 0 8 0 filepl 152 15065 0 14827 16 4 12 14 0 8 0 lockfpl 104 491 0 489 1 0 1 1 0 8 0 lockfspl 48 202 0 200 1 0 1 1 0 8 0 sessionpl 144 48 0 32 1 0 1 1 0 8 0 pgrppl 48 74 0 58 1 0 1 1 0 8 0 ucredpl 104 2772 0 2759 1 0 1 1 0 8 0 zombiepl 144 2348 0 2347 1 0 1 1 0 8 0 processpl 1136 2408 0 2347 6 0 6 6 0 8 0 procpl 656 4566 0 4491 10 1 9 9 0 8 0 srpgc 96 21 0 21 6 5 1 1 0 8 1 sosppl 168 50 0 49 8 7 1 1 0 8 0 sockpl 664 4129 0 4104 17 13 4 7 0 8 1 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 7 0 0 1 0 1 1 0 8 0 mcl4k 4096 7 0 0 1 0 1 1 0 8 0 mcl2k 2048 408 0 0 51 0 51 51 0 8 0 mtagpl 96 15 0 0 1 0 1 1 0 8 0 mbufpl 256 620 0 0 29 0 29 29 0 8 0 bufpl 280 10145 0 3359 485 0 485 485 0 8 0 anonpl 24 418577 0 412731 158 80 78 90 0 186 20 amapchunkpl 152 65498 0 64942 72 31 41 50 0 158 7 amappl16 200 10324 0 10202 78 62 16 28 0 8 5 amappl15 192 26 0 25 2 1 1 1 0 8 0 amappl14 184 212 0 202 2 1 1 2 0 8 0 amappl13 176 14 0 14 3 2 1 1 0 8 1 amappl12 168 3333 0 3309 2 0 2 2 0 8 0 amappl11 160 106 0 96 1 0 1 1 0 8 0 amappl10 152 64 0 56 1 0 1 1 0 8 0 amappl9 144 207 0 207 2 2 0 1 0 8 0 amappl8 136 247 0 210 2 0 2 2 0 8 0 amappl7 128 59 0 45 1 0 1 1 0 8 0 amappl6 120 583 0 570 2 1 1 2 0 8 0 amappl5 112 259 0 246 1 0 1 1 0 8 0 amappl4 104 716 0 683 3 1 2 2 0 8 0 amappl3 96 12605 0 12545 3 0 3 3 0 8 0 amappl2 88 2861 0 2793 3 1 2 3 0 8 0 amappl1 80 16933 0 16456 23 11 12 22 0 8 1 amappl 88 19348 0 19188 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 134 0 13 3 0 3 3 0 8 0 uaddrrnd 24 2376 0 2346 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2376 0 2346 1 0 1 1 0 8 0 vmmpekpl 168 20514 0 20451 4 0 4 4 0 8 0 vmmpepl 168 163652 0 162057 167 66 101 111 0 357 9 vmsppl 440 2375 0 2346 6 1 5 5 0 8 0 rwobjpl 56 50313 0 43331 105 6 99 99 0 8 0 pdppl 4096 4759 0 4700 182 105 77 83 0 8 18 pvpl 32 44924 0 0 363 0 363 363 0 265 0 pmappl 248 2375 0 2346 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 533 0 137 12 0 12 12 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace km_free(0,1000,ffffffff82b13740,ffffffff82b13758) at km_free+0x128 sys/uvm/uvm_km.c:870 pool_p_free(ffffffff82e37860,fffffd8068501f90) at pool_p_free+0x14d sys/kern/subr_pool.c:1012 pool_gc_pages(0) at pool_gc_pages+0x255 sys/kern/subr_pool.c:1583 taskq_thread(ffffffff82cb7250) at taskq_thread+0xf5 sys/kern/kern_task.c:450 end trace frame: 0x0, count: -4 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffff800029cebff0) 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 acpicpu_idle() at acpicpu_idle+0x2f1 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800029cebff0) at sched_idle+0x41d sys/kern/kern_sched.c:183 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff800029cebff0) 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 acpicpu_idle() at acpicpu_idle+0x2f1 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800029cebff0) at sched_idle+0x41d sys/kern/kern_sched.c:183 end trace frame: 0x0, count: -5