uvm_fault(0xfffffd800b0271e8, 0x20, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff825d0b1e cs 8 rflags 10246 cr2 20 cpl 0 rsp ffff80003c48d9c0 gsbase 0xffff8000299edff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff825d0b1e Starting stack trace... panic(ffffffff833c5207) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80003c48d910) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b mtx_enter(18) at mtx_enter+0x9e sys/kern/kern_lock.c:402 clockintr_unbind(ffff8000014b8130,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001547000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,81,2000,ffff80003c436fb8) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c436fb8) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c48db90) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806262c058,81,fffffd80097fb2d8,ffff80003c436fb8) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd805b66c118,ffff80003c436fb8) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd805b66c118,ffff80003c436fb8) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd805b66c118,ffff80003c436fb8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd805b66c118,ffff80003c436fb8) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c436fb8) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80003c436fb8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c436fb8,ffff80003c48df00,ffff80003c48de50) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c48df00) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c48df00) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ce8de56a300, count: 240 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 * 35033 51537 0 0 0 1 syz-executor 347949 29242 0 0x14000 0x200 0 reaper proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x73449f02db90, 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(0xfffffd800b0271e8, 0x20, 0, 1) -> e ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x73449f02db90, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a270100 rbx 0 rdx 0 rcx 0xffff800033fea020 rax 0x2a r8 0xffff80002a270030 r9 0x1 r10 0x1468656863fba282 r11 0xaf80b556479054d3 r12 0 r13 0xffffffff821c6fa8 Xdoreti+0x18 r14 0 r15 0 rip 0xffffffff8195b4c7 proc_trampoline+0xc7 cs 0x8 rflags 0x246 rsp 0xffff80002a270080 ss 0 proc_trampoline+0xc7: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=35033 pid=51537 tcnt=3 stat=onproc flags process=0 proc=0 runpri=86, usrpri=86, slppri=16, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c4362c0,0xffff80003c4374f8 process=0xffff8000fffef038 user=0xffff80002a26b000, vmspace=0xfffffd8059e8c218 estcpu=36, cpticks=10, pctcpu=0.0, user=8, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *51537 35033 60100 0 7 0 syz-executor 51537 287287 60100 0 3 0x4000000 smrbar syz-executor 51537 29362 60100 0 3 0x4000080 fsleep syz-executor 91758 209813 34212 60929 3 0x90 nanoslp syz-executor 91758 292001 34212 60929 3 0x4000090 kqsel syz-executor 14552 125596 34564 0 3 0x3000 suspend syz-executor 14552 190225 34564 0 2 0x4081000 syz-executor 64860 246534 92957 0 3 0x3000 suspend syz-executor 64860 200455 92957 0 3 0x4081000 biowait syz-executor 64860 228833 92957 0 3 0x4081000 fltagain2 syz-executor 59795 40560 1 60929 3 0x2010 suspend syz-executor 59795 101813 1 60929 4 0x4082010 syz-executor 59795 22028 1 60929 4 0x4082010 syz-executor 59795 517598 1 60929 4 0x4082010 syz-executor 59795 59400 1 60929 4 0x4082010 syz-executor 59795 23400 1 60929 4 0x4082010 syz-executor 59795 95868 1 60929 4 0x4082010 syz-executor 59795 420473 1 60929 4 0x4082010 syz-executor 59795 106503 1 60929 4 0x4082010 syz-executor 34212 1357 24280 0 3 0x82 nanoslp syz-executor 60100 275356 24280 0 3 0x82 nanoslp syz-executor 10074 262641 1 0 3 0x100083 ttyopn getty 99678 251322 24280 0 3 0x82 nanoslp syz-executor 34564 447008 24280 0 3 0x82 nanoslp syz-executor 92957 122754 24280 0 3 0x82 wait syz-executor 23209 493289 24280 0 3 0x82 piperd syz-executor 5005 337230 24280 0 3 0x82 piperd syz-executor 24280 148208 27709 0 3 0x82 nanoslp syz-executor 27709 292889 42021 0 3 0x10008a sigsusp ksh 42021 289105 20121 0 3 0x98 kqread sshd-session 20121 79100 97368 0 3 0x92 kqread sshd-session 97368 255613 1 0 3 0x88 kqread sshd 37195 345179 41297 74 3 0x1100092 bpf pflogd 41297 418206 1 0 3 0x80 sbwait pflogd 77609 216239 77611 73 3 0x1100090 kqread syslogd 77611 285876 1 0 3 0x100082 sbwait syslogd 33632 399672 1 0 3 0x100080 kqread resolvd 8912 72082 51235 77 3 0x100092 kqread dhcpleased 78596 281689 51235 77 3 0x100092 kqread dhcpleased 51235 466230 1 0 3 0x80 kqread dhcpleased 6412 298884 0 0 3 0x14200 bored smr 7193 63429 0 0 3 0x14200 pgzero zerothread 48462 118575 0 0 3 0x14200 aiodoned aiodoned 69927 279783 0 0 3 0x14200 syncer update 25852 403712 0 0 3 0x14200 cleaner cleaner 29242 347949 0 0 7 0x14200 reaper 78381 60740 0 0 3 0x14200 pgdaemon pagedaemon 67451 309108 0 0 3 0x14200 bored viomb 85618 156701 0 0 3 0x40014200 acpi0 acpi0 81121 60822 0 0 3 0x40014200 idle1 78410 384385 0 0 3 0x14200 bored softnet1 65739 164795 0 0 3 0x14200 bored softnet0 53303 224425 0 0 2 0x40014200 systqmp 9972 502954 0 0 3 0x14200 bored systq 76663 319162 0 0 3 0x14200 tmoslp softclockmp 1500 160028 0 0 3 0x40014200 tmoslp softclock 6423 207798 0 0 3 0x40014200 idle0 1 164570 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 0: exclusive mutex &uvm.fpageqlock r = 0 (0xffffffff83952dc8) #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:483 #2 uvm_pmr_freepageq+0x15c sys/uvm/uvm_pmemrange.c:1371 #3 km_free+0x36b sys/uvm/uvm_km.c:827 #4 uvm_uarea_free+0x4f sys/uvm/uvm_glue.c:304 #5 reaper+0x1ca sys/kern/kern_exit.c:493 #6 proc_trampoline+0x10 Process 14552 (syz-executor) thread 0xffff8000ffff2a78 (190225) Process 64860 (syz-executor) thread 0xffff8000ffff2018 (200455) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10223 11063K 11767K 166960K 12412 0 pcb 17 15K 16K 166960K 367 0 rtable 229 11K 11K 166960K 586 0 pf 39 18K 80K 166960K 162 0 ifaddr 40 6K 7K 166960K 113 0 ifgroup 62 2K 2K 166960K 195 0 sysctl 3 1K 9K 166960K 11 0 counters 76 37K 38K 166960K 198 0 ioctlops 1 1K 8K 166960K 1687 0 iov 0 0K 13K 166960K 84 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1437 90K 90K 166960K 2363 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 19 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 178 0 dirhash 12 2K 2K 166960K 27 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 15 53K 232K 166960K 1197 0 sigio 0 0K 0K 166960K 21 0 proc 72 115K 148K 166960K 697 0 subproc 72 4K 5K 166960K 135 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 113 0 in_multi 74 5K 7K 166960K 183 0 ether_multi 1 0K 0K 166960K 15 0 mrt 0 0K 0K 166960K 14 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 109 493K 493K 166960K 109 0 exec 0 0K 1K 166960K 565 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 256 160K 186K 166960K 12536 0 UVM aobj 12 8K 8K 166960K 13 0 pinsyscall 40 80K 104K 166960K 2356 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 2 0K 1K 166960K 111 0 NDP 14 0K 2K 166960K 80 0 temp 87 8660K 8724K 166960K 66829 0 kqueue 15 24K 32K 166960K 231 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 343 0 339 6 3 3 3 0 8 2 rtentry 176 168 0 80 6 0 6 6 0 8 0 unpcb 144 829 0 812 7 6 1 6 0 8 0 syncache 336 4 0 4 2 2 0 1 0 8 0 tcpcb 736 259 0 255 1 0 1 1 0 8 0 arp 136 25 0 8 1 0 1 1 0 8 0 inpcb 328 1239 0 1231 15 13 2 7 0 8 1 nd6 152 33 0 15 1 0 1 1 0 8 0 pkpcb 40 7 0 7 4 4 0 1 0 8 0 kcovpl 48 15 0 7 1 0 1 1 0 8 0 ppxss 1192 49 0 46 1 0 1 1 0 8 0 pppxif 1504 7 0 6 4 3 1 1 0 8 0 pffrag 232 8 0 3 1 0 1 1 0 482 0 pffrnode 88 7 0 3 1 0 1 1 0 8 0 pffrent 40 14 0 9 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 81 0 30 1 0 1 1 0 8 0 pfstkey 128 81 0 30 2 0 2 2 0 8 0 pfstate 384 81 0 30 6 0 6 6 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 6 0 0 6 0 6 6 0 8 0 art_heap4 256 687 0 346 31 9 22 29 0 8 0 art_table 40 693 0 346 5 0 5 5 0 8 0 art_node 32 165 0 86 1 0 1 1 0 8 0 sysvmsgpl 40 11 0 8 2 1 1 1 0 8 0 semupl 112 3 0 3 3 3 0 1 0 8 0 semapl 112 173 0 163 1 0 1 1 0 8 0 shmpl 112 7 0 1 1 0 1 1 0 8 0 dirhash 1024 27 0 10 3 0 3 3 0 8 0 dino2pl 256 3597 0 2082 95 0 95 95 0 8 0 ffsino 296 3597 0 2082 117 0 117 117 0 8 0 nchpl 144 5195 0 3481 64 0 64 64 0 8 0 rtmask 32 10 0 10 3 3 0 1 0 8 0 vnodes 216 4187 0 0 233 0 233 233 0 8 0 namei 1024 18791 0 18791 3 2 1 2 0 8 1 percpumem 16 114 0 61 1 0 1 1 0 8 0 vcpupl 3968 3 0 0 1 0 1 1 0 8 0 vmpool 840 3 0 0 1 0 1 1 0 8 0 kstatmem 264 120 0 88 6 3 3 3 0 8 0 acpiwqpl 32 2 0 2 1 0 1 1 1 8 1 scsiplug 72 7 0 7 3 3 0 1 0 8 0 scxspl 216 28867 0 28866 12 11 1 8 1 8 0 plimitpl 152 221 0 200 1 0 1 1 0 8 0 sigapl 424 1467 0 1422 7 1 6 7 0 8 0 knotepl 120 575 0 0 18 0 18 18 0 8 0 kqueuepl 224 500 0 487 12 7 5 5 0 8 4 pipepl 344 258 0 228 7 3 4 6 0 8 0 fdescpl 528 1451 0 1422 3 0 3 3 0 8 0 filepl 160 10004 0 9778 22 7 15 16 0 8 2 lockfpl 104 692 0 690 4 3 1 2 0 8 0 lockfspl 48 174 0 172 1 0 1 1 0 8 0 sessionpl 144 30 0 21 1 0 1 1 0 8 0 pgrppl 48 55 0 38 1 0 1 1 0 8 0 ucredpl 104 1522 0 1507 1 0 1 1 0 8 0 zombiepl 144 1536 0 1533 1 0 1 1 0 8 0 processpl 1232 1467 0 1422 5 1 4 5 0 8 0 procpl 664 3233 0 3174 6 0 6 6 0 8 0 sosppl 176 10 0 10 4 3 1 1 0 8 1 sockpl 752 2457 0 2428 30 20 10 17 0 8 7 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 135 0 0 17 0 17 17 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 27 0 0 4 0 4 4 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 1822 0 0 112 0 112 112 0 8 0 bufpl 280 11234 0 5097 439 0 439 439 0 8 0 anonpl 32 11151 0 0 90 0 90 90 0 246 0 amapchunkpl 152 45351 0 44825 44 15 29 36 0 158 3 amappl16 200 4831 0 4333 59 32 27 27 0 8 0 amappl14 184 2 0 2 2 2 0 1 0 8 0 amappl13 176 447 0 446 1 0 1 1 0 8 0 amappl12 168 1841 0 1800 3 0 3 3 0 8 0 amappl11 160 19 0 19 1 1 0 1 0 8 0 amappl10 152 64 0 50 1 0 1 1 0 8 0 amappl9 144 251 0 250 2 1 1 1 0 8 0 amappl8 136 26 0 24 1 0 1 1 0 8 0 amappl7 128 84 0 83 1 0 1 1 0 8 0 amappl6 120 316 0 302 1 0 1 1 0 8 0 amappl5 112 79 0 68 1 0 1 1 0 8 0 amappl4 104 433 0 401 1 0 1 1 0 8 0 amappl3 96 7170 0 7074 4 1 3 3 0 8 0 amappl2 88 1565 0 1489 2 0 2 2 0 8 0 amappl1 80 13523 0 12951 16 2 14 14 0 8 0 amappl 88 11585 0 11407 5 0 5 5 0 92 0 uvmvnodes 80 4187 0 0 86 0 86 86 0 8 0 dma32768 32768 2 0 2 2 2 0 1 0 8 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 255 0 255 3 3 0 1 0 8 0 dma64 64 8 0 8 3 3 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 12 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1451 0 1422 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1451 0 1422 1 0 1 1 0 8 0 vmmpekpl 168 13074 0 13024 3 0 3 3 0 8 0 vmmpepl 168 96712 0 94368 119 12 107 107 0 357 0 vmsppl 488 1450 0 1422 7 2 5 5 0 8 0 rwobjpl 80 31555 0 25939 117 2 115 116 0 8 0 pdppl 4096 2916 0 2847 112 37 75 86 0 8 6 pvpl 32 19033 0 0 154 1 153 153 0 265 0 pmappl 256 1453 0 1422 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 397 0 54 10 0 10 10 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff837e0ff0) 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(ffffffff83971ac0) at __mp_release_all+0xd8 sys/kern/kern_lock.c:219 msleep_nsec(ffffffff837d48e8,ffffffff837d48b0,4,ffffffff833a515d,ffffffffffffffff) at msleep_nsec+0x1e1 sys/kern/kern_synch.c:-1 reaper(ffff8000ffffdc90) at reaper+0x15b sys/kern/kern_exit.c:477 end trace frame: 0x0, count: 9 ddb{0}> trace x86_ipi_db(ffffffff837e0ff0) 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(ffffffff83971ac0) at __mp_release_all+0xd8 sys/kern/kern_lock.c:219 msleep_nsec(ffffffff837d48e8,ffffffff837d48b0,4,ffffffff833a515d,ffffffffffffffff) at msleep_nsec+0x1e1 sys/kern/kern_synch.c:-1 reaper(ffff8000ffffdc90) 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: 0x73449f02db90, count: 14 ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x73449f02db90, count: -1