uvm_fault(0xfffffd800b0273d0, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff812d5dd8 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80003c410b90 gsbase 0xffff8000299edff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff812d5dd8 Starting stack trace... panic(ffffffff8339e9a8) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80003c410ae0) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff800001558000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(21e5f,81,2000,ffff800034be6a88) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff800034be6a88) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c410c90) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805d1fad08,81,fffffd80097fb208,ffff800034be6a88) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8064a4b348,ffff800034be6a88) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8064a4b348,ffff800034be6a88) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd8064a4b348,ffff800034be6a88) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8064a4b348,ffff800034be6a88) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff800034be6a88) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff800034be6a88,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800034be6a88,ffff80003c411000,ffff80003c410f50) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c411000) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c411000) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d804e94cd10, 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 *170845 4637 0 0 0x4000000 1 syz-executor 78805 14987 0 0x14000 0x200 0 reaper proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x9444b26c3e0, 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(0xfffffd800b0273d0, 0x0, 0, 1) -> e ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x9444b26c3e0, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003a403f20 rbx 0 rdx 0 rcx 0xffff800034be7780 rax 0x2a r8 0xffff80003a403e50 r9 0x1 r10 0x8f08e7fd0fe159ab r11 0xdb1fb61041ef75b5 r12 0 r13 0 r14 0 r15 0 rip 0xffffffff81dae4c7 proc_trampoline+0xc7 cs 0x8 rflags 0x246 rsp 0xffff80003a403ea0 ss 0x10 proc_trampoline+0xc7: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=170845 pid=4637 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=50, usrpri=50, slppri=16, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800034be67f0,0xffffffff83887c08 process=0xffff80003c4204f0 user=0xffff80003a3fe000, vmspace=0xfffffd806b2f7b90 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 3160 372150 56554 0 2 0 syz-executor 4637 411583 25678 0 2 0 syz-executor 4637 166825 25678 0 2 0x4000000 syz-executor * 4637 170845 25678 0 7 0x4000000 syz-executor 88993 96256 70601 0 2 0 syz-executor 88993 393175 70601 0 3 0x4000080 kqsel syz-executor 26410 523401 13972 0 2 0 syz-executor 26410 357021 13972 0 3 0x4000080 nanoslp syz-executor 98997 81704 52648 0 2 0x2 syz-executor 25678 427375 52648 0 3 0x82 nanoslp syz-executor 14937 422100 0 0 3 0x14280 nfsidl nfsio 13972 449876 52648 0 3 0x82 nanoslp syz-executor 48839 470760 52648 0 3 0x82 nanoslp syz-executor 68518 93004 52648 0 3 0x2 biowait syz-executor 56554 144057 52648 0 3 0x82 nanoslp syz-executor 91182 198803 0 0 3 0x14200 bored sosplice 70601 200491 52648 0 3 0x82 nanoslp syz-executor 52648 107754 35630 0 2 0x2 syz-executor 35630 507812 86938 0 3 0x10008a sigsusp ksh 86938 276681 10107 0 3 0x98 kqread sshd-session 10107 397396 94757 0 3 0x92 kqread sshd-session 69586 83561 1 0 3 0x100083 ttyopn getty 94757 264863 1 0 3 0x88 kqread sshd 84657 72040 27531 74 3 0x1100092 bpf pflogd 27531 387476 1 0 3 0x80 sbwait pflogd 34925 415798 78156 73 3 0x1100090 kqread syslogd 78156 266275 1 0 3 0x100082 sbwait syslogd 15070 60679 1 0 3 0x100080 kqread resolvd 90196 329308 70793 77 3 0x100092 kqread dhcpleased 16831 278705 70793 77 3 0x100092 kqread dhcpleased 70793 329677 1 0 3 0x80 kqread dhcpleased 98730 409661 0 0 3 0x14200 bored smr 60735 81202 0 0 2 0x14200 zerothread 55834 134452 0 0 3 0x14200 aiodoned aiodoned 17696 150450 0 0 3 0x14200 syncer update 79245 212997 0 0 3 0x14200 cleaner cleaner 14987 78805 0 0 7 0x14200 reaper 4389 478317 0 0 3 0x14200 pgdaemon pagedaemon 35580 7779 0 0 3 0x14200 bored viomb 31880 498808 0 0 3 0x40014200 acpi0 acpi0 2808 400595 0 0 3 0x40014200 idle1 19808 247964 0 0 3 0x14200 bored softnet1 36745 41971 0 0 3 0x14200 netlock softnet0 87273 120797 0 0 2 0x40014200 systqmp 9014 336233 0 0 3 0x14200 bored systq 88331 503150 0 0 3 0x14200 tmoslp softclockmp 37985 94322 0 0 3 0x40014200 tmoslp softclock 53474 11983 0 0 3 0x40014200 idle0 1 153022 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 68518 (syz-executor) thread 0xffff800034be7cb0 (93004) Process 14987 (reaper) thread 0xffff8000ffffdc90 (78805) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10236 11170K 15332K 166960K 14212 0 pcb 17 14K 15K 166960K 533 0 rtable 231 12K 12K 166960K 1016 0 pf 43 19K 82K 166960K 345 0 ifaddr 46 9K 10K 166960K 263 0 ifgroup 64 2K 3K 166960K 400 0 sysctl 4 1K 9K 166960K 62 0 counters 72 37K 38K 166960K 428 0 ioctlops 0 0K 4K 166960K 2107 0 iov 0 0K 28K 166960K 144 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1482 93K 93K 166960K 3695 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 1K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 92 0 dirhash 12 2K 3K 166960K 69 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 110K 166960K 2659 0 sigio 0 0K 0K 166960K 109 0 proc 73 115K 180K 166960K 1419 0 subproc 72 4K 4K 166960K 297 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 299 0 in_multi 99 7K 7K 166960K 470 0 ether_multi 1 0K 0K 166960K 26 0 mrt 2 0K 0K 166960K 11 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 1036 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 3 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 220 176K 193K 166960K 24118 0 UVM aobj 73 6K 6K 166960K 81 0 pinsyscall 41 82K 102K 166960K 4463 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 221 0 NDP 16 0K 2K 166960K 197 0 temp 80 8652K 8748K 166960K 109470 0 kqueue 13 20K 30K 166960K 458 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 421 0 418 6 5 1 3 0 8 0 rtentry 176 368 0 280 5 0 5 5 0 8 0 unpcb 144 2085 0 2066 18 15 3 9 0 8 2 syncache 336 15 0 15 3 3 0 1 0 8 0 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 736 813 0 807 17 10 7 7 0 8 6 arp 136 46 0 32 1 0 1 1 0 8 0 inpcb 328 2595 0 2586 27 20 7 13 0 8 5 nd6 144 71 0 53 1 0 1 1 0 8 0 pkpcb 40 16 0 16 5 5 0 1 0 8 0 kcovpl 48 33 0 25 1 0 1 1 0 8 0 mppekey 1024 2 0 2 2 2 0 1 0 8 0 ppxss 1192 134 0 134 1 0 1 1 0 8 1 pppxif 1504 12 0 12 5 5 0 1 0 8 0 pfstscr 40 4 0 3 3 2 1 1 0 8 0 pffrag 232 18 0 9 1 0 1 1 0 482 0 pffrnode 88 15 0 9 1 0 1 1 0 8 0 pffrent 40 43 0 34 1 0 1 1 0 8 0 pfosfp 40 1432 0 1006 5 0 5 5 0 8 0 pfosfpen 112 1432 0 715 21 0 21 21 0 8 0 pfrktable 1344 9 0 9 2 2 0 1 0 8 0 pfanchor 1288 4 0 1 2 1 1 1 0 8 0 pfstitem 24 146 0 77 1 0 1 1 0 8 0 pfstkey 128 152 0 82 3 0 3 3 0 8 0 pfstate 384 148 0 81 8 0 8 8 0 8 0 pfrule 1344 30 0 24 2 1 1 2 0 8 0 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 1654 0 1233 40 13 27 28 0 8 0 art_table 40 1658 0 1233 6 1 5 5 0 8 0 art_node 32 365 0 292 1 0 1 1 0 8 0 sysvmsgpl 40 11 0 6 2 1 1 1 0 8 0 semupl 112 2 0 2 2 2 0 1 0 8 0 semapl 112 79 0 69 1 0 1 1 0 8 0 shmpl 112 78 0 8 2 0 2 2 0 8 0 dirhash 1024 55 0 38 3 0 3 3 0 8 0 dino2pl 256 5852 0 4292 98 0 98 98 0 8 0 ffsino 296 5852 0 4292 121 0 121 121 0 8 0 nchpl 144 9063 0 8444 64 39 25 64 0 8 0 rtmask 32 28 0 28 3 3 0 1 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 34445 0 34444 3 2 1 2 0 8 0 percpumem 16 229 0 178 1 0 1 1 0 8 0 pfiaddrpl 120 2 0 2 1 1 0 1 0 8 0 kstatmem 264 266 0 234 4 1 3 3 0 8 0 scsiplug 72 8 0 8 3 3 0 1 0 8 0 scxspl 216 54655 0 54654 24 20 4 8 1 8 3 plimitpl 152 575 0 558 1 0 1 1 0 8 0 sigapl 424 2943 0 2895 9 2 7 8 0 8 0 knotepl 120 882 0 0 26 0 26 26 0 8 0 kqueuepl 224 958 0 948 11 10 1 5 0 8 0 pipepl 344 488 0 460 9 5 4 9 0 8 0 fdescpl 528 2897 0 2867 3 0 3 3 0 8 0 filepl 160 18853 0 18634 31 16 15 18 0 8 1 lockfpl 104 1079 0 1077 3 2 1 2 0 8 0 lockfspl 48 467 0 465 1 0 1 1 0 8 0 sessionpl 144 57 0 48 1 0 1 1 0 8 0 pgrppl 48 118 0 101 1 0 1 1 0 8 0 ucredpl 104 2742 0 2728 1 0 1 1 0 8 0 zombiepl 144 2898 0 2895 1 0 1 1 0 8 0 processpl 1232 2943 0 2895 6 1 5 6 0 8 0 procpl 664 6746 0 6694 8 2 6 8 0 8 0 sosppl 168 14 0 14 4 3 1 1 0 8 1 sockpl 752 5199 0 5168 53 42 11 24 0 8 7 mcl64k 65536 19 0 0 3 0 3 3 0 8 0 mcl16k 16384 7 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 9 0 0 2 0 2 2 0 8 0 mcl4k 4096 126 0 0 15 0 15 15 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 33 0 0 5 0 5 5 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 1036 0 0 62 0 62 62 0 8 0 bufpl 280 21085 0 14942 439 0 439 439 0 8 0 anonpl 32 14566 0 0 118 0 118 118 0 246 0 amapchunkpl 152 94666 0 94242 44 18 26 35 0 158 6 amappl16 200 8640 0 8612 74 69 5 30 0 8 1 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 187 0 173 1 0 1 1 0 8 0 amappl13 176 6 0 6 3 3 0 1 0 8 0 amappl12 168 3962 0 3933 4 2 2 3 0 8 0 amappl11 160 76 0 62 1 0 1 1 0 8 0 amappl10 152 5 0 4 2 1 1 1 0 8 0 amappl9 144 251 0 251 1 1 0 1 0 8 0 amappl8 136 25 0 22 1 0 1 1 0 8 0 amappl7 128 174 0 161 1 0 1 1 0 8 0 amappl6 120 445 0 441 1 0 1 1 0 8 0 amappl5 112 223 0 214 1 0 1 1 0 8 0 amappl4 104 387 0 367 1 0 1 1 0 8 0 amappl3 96 14644 0 14559 4 1 3 4 0 8 0 amappl2 88 3329 0 3252 2 0 2 2 0 8 0 amappl1 80 22506 0 21906 15 0 15 15 0 8 0 amappl 88 22583 0 22438 5 0 5 5 0 92 0 dma65536 65536 1 0 1 1 0 1 1 0 8 1 dma32768 32768 1 0 1 1 1 0 1 0 8 0 dma8192 8192 1 0 1 1 1 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 257 0 257 3 3 0 1 0 8 0 dma64 64 7 0 7 2 2 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 80 0 8 2 0 2 2 0 8 0 uaddrrnd 24 2897 0 2867 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2897 0 2867 1 0 1 1 0 8 0 vmmpekpl 168 23345 0 23286 4 0 4 4 0 8 0 vmmpepl 168 187170 0 185236 135 38 97 114 0 357 0 vmsppl 488 2896 0 2867 5 0 5 5 0 8 0 rwobjpl 80 54954 0 48035 150 7 143 150 0 8 0 pdppl 4096 5802 0 5734 144 70 74 86 0 8 6 pvpl 32 22993 0 0 186 0 186 186 0 265 0 pmappl 256 2896 0 2867 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 411 0 104 9 0 9 9 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff837bdff0) 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_lock(ffffffff839678b8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff839678b8) at __mp_lock+0x192 sys/kern/kern_lock.c:165 intr_handler(ffff80002a244ba0,ffff800000069c00) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge16_untramp() at Xintr_ioapic_edge16_untramp+0x18f __mp_lock(ffffffff839678b8) at __mp_lock+0x19e __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff839678b8) at __mp_lock+0x19e sys/kern/kern_lock.c:165 intr_handler(ffff80002a244d00,ffff800000079a80) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x19 kd_curproc sys/dev/kcov.c:580 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x19 sys/dev/kcov.c:153 msleep_nsec(ffffffff837afd88,ffffffff837afd50,4,ffffffff83380b50,ffffffffffffffff) at msleep_nsec+0x19b sys/kern/kern_synch.c:202 reaper(ffff8000ffffdc90) at reaper+0x13b sys/kern/kern_exit.c:477 end trace frame: 0x0, count: 3 ddb{0}> trace x86_ipi_db(ffffffff837bdff0) 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_lock(ffffffff839678b8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff839678b8) at __mp_lock+0x192 sys/kern/kern_lock.c:165 intr_handler(ffff80002a244ba0,ffff800000069c00) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge16_untramp() at Xintr_ioapic_edge16_untramp+0x18f __mp_lock(ffffffff839678b8) at __mp_lock+0x19e __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff839678b8) at __mp_lock+0x19e sys/kern/kern_lock.c:165 intr_handler(ffff80002a244d00,ffff800000079a80) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x19 kd_curproc sys/dev/kcov.c:580 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x19 sys/dev/kcov.c:153 msleep_nsec(ffffffff837afd88,ffffffff837afd50,4,ffffffff83380b50,ffffffffffffffff) at msleep_nsec+0x19b sys/kern/kern_synch.c:202 reaper(ffff8000ffffdc90) at reaper+0x13b sys/kern/kern_exit.c:477 end trace frame: 0x0, count: -12 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: 0x9444b26c3e0, count: 14 ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x9444b26c3e0, count: -1