uvm_fault(0xfffffd8078a395c0, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff81772ac8 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80003c448fd0 gsbase 0xffff8000299edff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff81772ac8 Starting stack trace... panic(ffffffff833e46fd) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80003c448f20) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff80000156f000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(21e5f,2,2000,ffff80003c43d4f0) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,2,2000,ffff80003c43d4f0) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c4490d0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805ea56b18,2,fffffd80097fd410,ffff80003c43d4f0) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd805ea9c3f8,ffff80003c43d4f0) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd805ea9c3f8,ffff80003c43d4f0) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd805ea9c3f8,ffff80003c43d4f0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd805ea9c3f8,ffff80003c43d4f0) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c43d4f0) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80003c43d4f0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c43d4f0,ffff80003c449440,ffff80003c449390) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c449440) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c449440) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x740d630ec620, count: 242 End of stack trace. WARNING: SPL NOT LOWERED ON TRAP EXIT 4 0 Stopped at proc_trampoline+0xc7: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND *234375 73206 0 0 0 1 syz-executor 250057 28626 0 0x14000 0x200 0 reaper proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x76d54a5c7780, count: 14 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(0xfffffd8078a395c0, 0x0, 0, 1) -> e ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x76d54a5c7780, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff800030c149f0 rbx 0 rdx 0 rcx 0xffff80003c43dcb8 rax 0x2a r8 0xffff800030c14920 r9 0x1 r10 0x36f6c46871c273b r11 0x5218006ceefeedad r12 0 r13 0 r14 0 r15 0 rip 0xffffffff830324c7 proc_trampoline+0xc7 cs 0x8 rflags 0x246 rsp 0xffff800030c14970 ss 0x10 proc_trampoline+0xc7: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=234375 pid=73206 tcnt=1 stat=onproc flags process=0 proc=0 runpri=50, usrpri=50, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c424a98,0xffffffff839628c0 process=0xffff8000fffe89b8 user=0xffff800030c0f000, vmspace=0xfffffd800f6b9b90 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *73206 234375 86413 0 7 0 syz-executor 77237 121528 56632 0 2 0 syz-executor 77237 333641 56632 0 3 0x4000080 kqpoll syz-executor 40617 496547 48426 0 2 0 syz-executor 40617 431149 48426 0 3 0x4000080 fsleep syz-executor 40617 151489 48426 0 3 0x4000080 fsleep syz-executor 36102 377630 64676 0 2 0 syz-executor 36102 430598 64676 0 3 0x4000080 fsleep syz-executor 36102 42589 64676 0 3 0x4000080 fsleep syz-executor 54727 79842 84376 0 3 0x80 nanoslp syz-executor 54727 231539 84376 0 3 0x4000080 kqpoll syz-executor 54727 98405 84376 0 3 0x4000080 fsleep syz-executor 54286 413791 99593 0 3 0x80 nanoslp syz-executor 54286 311903 99593 0 3 0x4000080 sbwait syz-executor 54286 337243 99593 0 3 0x4000080 fsleep syz-executor 62166 115725 44128 0 2 0 syz-executor 62166 233977 44128 0 3 0x4000080 fsleep syz-executor 67916 77681 0 0 3 0x14200 acct acct 44128 482374 82249 0 3 0x82 nanoslp syz-executor 86413 274431 82249 0 3 0x82 nanoslp syz-executor 84376 53725 82249 0 2 0x2 syz-executor 99593 93806 82249 0 3 0x82 nanoslp syz-executor 65067 508329 0 0 3 0x14280 nfsidl nfsio 35631 47885 0 0 3 0x14280 nfsidl nfsio 40017 205249 0 0 3 0x14280 nfsidl nfsio 22316 444165 0 0 3 0x14280 nfsidl nfsio 42711 209411 0 0 3 0x14280 nfsidl nfsio 66023 3397 0 0 3 0x14280 nfsidl nfsio 7809 477946 0 0 3 0x14280 nfsidl nfsio 44532 203739 0 0 3 0x14280 nfsidl nfsio 98433 33679 0 0 3 0x14280 nfsidl nfsio 66279 60267 0 0 3 0x14280 nfsidl nfsio 34861 292355 0 0 3 0x14280 nfsidl nfsio 60083 297512 0 0 3 0x14280 nfsidl nfsio 28527 28645 0 0 3 0x14280 nfsidl nfsio 64540 101147 0 0 3 0x14280 nfsidl nfsio 12797 519004 0 0 3 0x14280 nfsidl nfsio 67093 423910 0 0 3 0x14280 nfsidl nfsio 27770 387783 0 0 3 0x14280 nfsidl nfsio 65687 474416 0 0 3 0x14280 nfsidl nfsio 76564 18906 0 0 3 0x14280 nfsidl nfsio 52938 240076 0 0 3 0x14280 nfsidl nfsio 48426 453510 82249 0 3 0x82 nanoslp syz-executor 87977 56916 82249 0 3 0x82 nanoslp syz-executor 64676 199441 82249 0 3 0x82 nanoslp syz-executor 56632 340761 82249 0 3 0x82 nanoslp syz-executor 82249 218771 26026 0 3 0x82 kqread syz-executor 26026 470873 59601 0 3 0x10008a sigsusp ksh 59601 75449 95290 0 3 0x98 kqread sshd-session 95290 428142 12059 0 3 0x92 kqread sshd-session 16767 163470 1 0 3 0x100083 ttyopn getty 12059 334452 1 0 3 0x88 kqread sshd 52136 191324 99223 74 3 0x1100092 bpf pflogd 99223 56172 1 0 3 0x80 sbwait pflogd 61815 332387 39294 73 3 0x1100090 kqread syslogd 39294 375837 1 0 3 0x100082 sbwait syslogd 20477 375821 1 0 3 0x100080 kqread resolvd 51208 235229 0 0 3 0x14200 bored smr 88433 451256 0 0 3 0x14200 pgzero zerothread 70666 157900 0 0 3 0x14200 aiodoned aiodoned 68480 325965 0 0 3 0x14200 syncer update 68273 303720 0 0 3 0x14200 cleaner cleaner 28626 250057 0 0 7 0x14200 reaper 5979 462657 0 0 3 0x14200 pgdaemon pagedaemon 6724 251351 0 0 3 0x14200 bored viomb 71848 307744 0 0 3 0x40014200 acpi0 acpi0 81674 90007 0 0 3 0x40014200 idle1 82135 108876 0 0 3 0x14200 bored softnet1 6505 312785 0 0 3 0x14200 bored softnet0 40545 110241 0 0 3 0x14200 smrbar systqmp 60242 22381 0 0 3 0x14200 bored systq 86383 269948 0 0 3 0x14200 tmoslp softclockmp 46837 369752 0 0 3 0x40014200 tmoslp softclock 28229 406897 0 0 3 0x40014200 idle0 1 466795 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks CPU 0: exclusive mutex &map->flags_lock r = 0 (0xffffffff839e63e0) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 mtx_enter+0x4b4 sys/kern/kern_lock.c:487 #2 vm_map_lock_ln+0x13f sys/uvm/uvm_map.c:5166 #3 uvm_unmap+0x7d sys/uvm/uvm_map.c:1792 #4 km_free+0x87 sys/uvm/uvm_km.c:714 #5 uvm_uarea_free+0x4f sys/uvm/uvm_glue.c:304 #6 reaper+0x1ca sys/kern/kern_exit.c:493 #7 proc_trampoline+0x10 Process 28626 (reaper) thread 0xffff8000ffffd9f8 (250057) exclusive rwlock kmmaplk r = 0 (0xffffffff839e6368) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 vm_map_lock_ln+0x12e sys/uvm/uvm_map.c:5165 #3 uvm_unmap+0x7d sys/uvm/uvm_map.c:1792 #4 km_free+0x87 sys/uvm/uvm_km.c:714 #5 uvm_uarea_free+0x4f sys/uvm/uvm_glue.c:304 #6 reaper+0x1ca sys/kern/kern_exit.c:493 #7 proc_trampoline+0x10 Process 40545 (systqmp) thread 0xffff8000ffffe000 (110241) shared rwlock systqmp r = 0 (0xffffffff837b9988) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 taskq_thread+0x12a sys/kern/kern_task.c:442 #2 proc_trampoline+0x10 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11085 12143K 12238K 166960K 13094 0 pcb 18 18K 20K 166960K 542 0 rtable 246 12K 12K 166960K 731 0 pf 36 17K 18K 166960K 223 0 ifaddr 41 7K 8K 166960K 164 0 ifgroup 57 2K 2K 166960K 292 0 sysctl 4 1K 9K 166960K 48 0 counters 72 37K 38K 166960K 456 0 ioctlops 0 0K 4K 166960K 2024 0 iov 0 0K 20K 166960K 90 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1360 86K 87K 166960K 2313 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 22 137K 137K 166960K 62 0 dirhash 12 2K 2K 166960K 54 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 232K 166960K 1911 0 sigio 0 0K 0K 166960K 26 0 proc 67 83K 180K 166960K 874 0 subproc 72 4K 4K 166960K 119 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 333 0 in_multi 79 5K 7K 166960K 216 0 ether_multi 1 0K 0K 166960K 17 0 mrt 1 0K 0K 166960K 22 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 163 731K 731K 166960K 163 0 exec 0 0K 1K 166960K 824 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 5 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 229 128K 166K 166960K 18768 0 UVM aobj 129 27K 27K 166960K 135 0 pinsyscall 37 74K 104K 166960K 3211 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 123 0 NDP 13 0K 2K 166960K 117 0 temp 82 8680K 8754K 166960K 82232 0 kqueue 8 14K 30K 166960K 351 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 26 0 0 1 0 1 1 0 8 0 rtpcb 120 194 0 193 1 0 1 1 0 8 0 rtentry 176 213 0 116 6 0 6 6 0 8 0 unpcb 144 1748 0 1733 13 7 6 6 0 8 5 syncache 336 17 0 17 3 2 1 1 0 8 1 tcpqe 32 13 0 13 3 2 1 1 0 8 1 tcpcb 736 599 0 587 11 9 2 7 0 8 0 arp 136 29 0 11 1 0 1 1 0 8 0 inpcb 328 2722 0 2704 23 16 7 12 0 8 5 nd6 152 42 0 23 1 0 1 1 0 8 0 pkpcb 40 81 0 81 5 4 1 1 0 8 1 kcovpl 48 13 0 5 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1192 164 0 163 3 2 1 1 0 8 0 pppxif 1504 17 0 17 4 3 1 1 0 8 1 pffrag 232 55 0 42 1 0 1 1 0 482 0 pffrnode 88 18 0 5 1 0 1 1 0 8 0 pffrent 40 106 0 92 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 pfrktable 1344 1 0 1 1 1 0 1 0 8 0 pfstitem 24 106 0 57 1 0 1 1 0 8 0 pfstkey 128 106 0 57 2 0 2 2 0 8 0 pfstate 448 106 0 57 7 0 7 7 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 rttmr 136 5 0 5 3 3 0 1 0 8 0 art_heap8 4096 5 0 0 5 0 5 5 0 8 0 art_heap4 256 832 0 433 32 7 25 29 0 8 0 art_table 40 837 0 433 5 0 5 5 0 8 0 art_node 32 210 0 122 1 0 1 1 0 8 0 sysvmsgpl 40 21 0 12 1 0 1 1 0 8 0 semupl 112 5 0 5 3 3 0 1 0 8 0 semapl 112 52 0 32 1 0 1 1 0 8 0 shmpl 112 119 0 3 4 0 4 4 0 8 0 dirhash 1024 45 0 28 3 0 3 3 0 8 0 dino2pl 256 4937 0 3423 96 0 96 96 0 8 0 ffsino 296 4937 0 3423 118 1 117 118 0 8 0 nchpl 144 7501 0 5787 64 0 64 64 0 8 0 rtmask 32 19 0 19 5 4 1 1 0 8 1 vnodes 216 5239 0 0 292 0 292 292 0 8 0 namei 1024 26647 0 26647 2 1 1 2 0 8 1 percpumem 16 243 0 192 1 0 1 1 0 8 0 vcpupl 3968 11 0 1 2 0 2 2 0 8 0 vmpool 848 13 0 3 2 0 2 2 0 8 0 kstatmem 264 184 0 156 6 3 3 3 0 8 0 acpiwqpl 32 2 0 2 1 0 1 1 1 8 1 scsiplug 72 9 0 9 5 4 1 1 0 8 1 scxspl 216 42795 0 42795 15 14 1 8 1 8 1 plimitpl 152 397 0 381 1 0 1 1 0 8 0 sigapl 424 2223 0 2157 9 1 8 8 0 8 0 knotepl 120 654 0 0 20 0 20 20 0 8 0 kqueuepl 224 791 0 781 12 11 1 5 0 8 0 pipepl 344 398 0 371 15 6 9 9 0 8 6 fdescpl 528 2182 0 2153 3 0 3 3 0 8 0 filepl 160 15265 0 15049 35 18 17 19 0 8 5 lockfpl 104 744 0 742 2 1 1 2 0 8 0 lockfspl 48 259 0 257 1 0 1 1 0 8 0 sessionpl 144 39 0 31 1 0 1 1 0 8 0 pgrppl 48 59 0 43 1 0 1 1 0 8 0 ucredpl 104 2251 0 2240 1 0 1 1 0 8 0 zombiepl 144 2337 0 2336 1 0 1 1 0 8 0 processpl 1232 2223 0 2157 7 1 6 6 0 8 0 procpl 664 5147 0 5071 9 2 7 8 0 8 0 sosppl 176 18 0 18 6 5 1 1 0 8 1 sockpl 752 4802 0 4768 48 36 12 17 0 8 8 mcl64k 65536 9 0 0 2 0 2 2 0 8 0 mcl16k 16384 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 116 0 0 15 0 15 15 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 65 0 0 8 0 8 8 0 8 0 mtagpl 96 7 0 0 1 0 1 1 0 8 0 mbufpl 256 1195 0 0 75 0 75 75 0 8 0 bufpl 280 16617 0 10480 439 0 439 439 0 8 0 anonpl 32 11077 0 0 90 0 90 90 0 246 0 amapchunkpl 152 64611 0 64049 51 21 30 32 0 158 5 amappl16 200 6936 0 6859 53 35 18 20 0 8 8 amappl15 192 5 0 4 1 0 1 1 0 8 0 amappl14 184 4 0 3 1 0 1 1 0 8 0 amappl13 176 489 0 488 1 0 1 1 0 8 0 amappl12 168 2613 0 2575 3 0 3 3 0 8 0 amappl11 160 11 0 11 1 1 0 1 0 8 0 amappl10 152 51 0 43 1 0 1 1 0 8 0 amappl9 144 243 0 243 1 1 0 1 0 8 0 amappl8 136 36 0 33 1 0 1 1 0 8 0 amappl7 128 116 0 114 1 0 1 1 0 8 0 amappl6 120 358 0 347 1 0 1 1 0 8 0 amappl5 112 96 0 88 1 0 1 1 0 8 0 amappl4 104 515 0 484 2 1 1 2 0 8 0 amappl3 96 11260 0 11170 4 1 3 3 0 8 0 amappl2 88 2377 0 2317 2 0 2 2 0 8 0 amappl1 80 20206 0 19699 16 3 13 15 0 8 0 amappl 88 17584 0 17413 5 0 5 5 0 92 0 uvmvnodes 80 159 0 0 4 0 4 4 0 8 0 dma65536 65536 1 0 1 1 1 0 1 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma256 256 7 0 7 2 1 1 1 0 8 1 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 134 0 6 3 0 3 3 0 8 0 uaddrrnd 24 2182 0 2153 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2182 0 2153 1 0 1 1 0 8 0 vmmpekpl 168 19422 0 19365 3 0 3 3 0 8 0 vmmpepl 168 145838 0 144048 114 22 92 97 0 357 3 vmsppl 488 2181 0 2153 6 2 4 5 0 8 0 rwobjpl 80 40416 0 39270 32 3 29 29 0 8 0 pdppl 4096 4397 0 4322 139 64 75 83 0 8 0 pvpl 32 18877 0 0 153 1 152 152 0 265 0 pmappl 256 2194 0 2156 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 409 0 87 10 0 10 10 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83835ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_release_all(ffffffff83a08a00) at __mp_release_all+0xd8 sys/kern/kern_lock.c:223 msleep_nsec(ffffffff8387a388,ffffffff8387a350,4,ffffffff833c1d1f,ffffffffffffffff) at msleep_nsec+0x1e1 sys/kern/kern_synch.c:-1 reaper(ffff8000ffffd9f8) at reaper+0x15b sys/kern/kern_exit.c:477 end trace frame: 0x0, count: 9 ddb{0}> trace x86_ipi_db(ffffffff83835ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_release_all(ffffffff83a08a00) at __mp_release_all+0xd8 sys/kern/kern_lock.c:223 msleep_nsec(ffffffff8387a388,ffffffff8387a350,4,ffffffff833c1d1f,ffffffffffffffff) at msleep_nsec+0x1e1 sys/kern/kern_synch.c:-1 reaper(ffff8000ffffd9f8) at reaper+0x15b sys/kern/kern_exit.c:477 end trace frame: 0x0, count: -6 ddb{0}> machine ddbcpu 1 Stopped at proc_trampoline+0xc7: movl $0,%gs:0x688 proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x76d54a5c7780, count: 14 ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x76d54a5c7780, count: -1