uvm_fault(0xfffffd800b027b70, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff83142868 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80003c4bb0e0 gsbase 0xffff8000299edff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff83142868 Starting stack trace... panic(ffffffff833a4b66) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80003c4bb030) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff8000015c2000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff800032c094e0) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff800032c094e0) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c4bb1e0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805cdc2b38,81,fffffd80097fb4e0,ffff800032c094e0) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c0d5848,ffff800032c094e0) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c0d5848,ffff800032c094e0) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806c0d5848,ffff800032c094e0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c0d5848,ffff800032c094e0) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff800032c094e0) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff800032c094e0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800032c094e0,ffff80003c4bb550,ffff80003c4bb4a0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c4bb550) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4bb550) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d6fff732100, count: 242 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 295 0 EXIT 0 4 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND *152326 23612 0 0 0x4000000 1 syz-executor 299037 24636 0 0x14000 0x200 0 reaper savectx() at savectx+0xae end of kernel end trace frame: 0xde995086470, 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(0xfffffd800b027b70, 0x0, 0, 1) -> e ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0xde995086470, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003c475060 rbx 0 rdx 0 rcx 0xffff80003c4527f8 rax 0x33 r8 0xffff80003c474f90 r9 0x1 r10 0x988bd80fb195546e r11 0xe9225351c140cae6 r12 0 r13 0 r14 0xffff80003c4527f8 r15 0 rip 0xffffffff81b443ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80003c474fe0 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=152326 pid=23612 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=50, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800032c08fb0,0xffff80003c452d38 process=0xffff80003c4e6248 user=0xffff80003c470000, vmspace=0xfffffd806b77e3f0 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 23612 59237 7435 0 2 0 syz-executor *23612 152326 7435 0 7 0x4000000 syz-executor 23612 208466 7435 0 3 0x4000080 ttyretype syz-executor 23612 399862 7435 0 3 0x4000080 fsleep syz-executor 77007 27702 84557 0 2 0 syz-executor 77007 445891 84557 0 3 0x4000000 biowait syz-executor 73597 249508 41033 0 3 0x80 nanoslp syz-executor 73597 466262 41033 0 3 0x4000080 fsleep syz-executor 73597 235992 41033 0 3 0x4000080 ttyopn syz-executor 94520 159955 16415 0 3 0x3000 suspend syz-executor 94520 138995 16415 0 3 0x4081000 biowait syz-executor 56345 266996 1 0 3 0x80 nanoslp init 9654 298179 21971 0 3 0x82 nanoslp syz-executor 41033 346434 21971 0 3 0x82 nanoslp syz-executor 14819 188793 21971 0 3 0x82 nanoslp syz-executor 7435 333390 21971 0 3 0x82 nanoslp syz-executor 16415 57063 21971 0 3 0x82 nanoslp syz-executor 84557 193421 21971 0 3 0x82 nanoslp syz-executor 7754 332694 0 0 3 0x14200 bored sosplice 88403 371403 21971 0 3 0x82 nanoslp syz-executor 34141 50833 21971 0 3 0x82 wait syz-executor 21971 150273 57554 0 3 0x82 kqread syz-executor 57554 11972 98710 0 3 0x10008a sigsusp ksh 98710 185180 30235 0 3 0x98 kqread sshd-session 30235 384680 96016 0 3 0x92 kqread sshd-session 96016 157406 1 0 3 0x88 kqread sshd 93647 433850 86828 74 3 0x1100092 bpf pflogd 86828 340528 1 0 3 0x80 sbwait pflogd 42138 316386 75841 73 3 0x1100090 kqread syslogd 75841 102 1 0 3 0x100082 sbwait syslogd 82864 513124 1 0 3 0x100080 kqread resolvd 14427 251976 24045 77 3 0x100092 kqread dhcpleased 1873 442530 24045 77 3 0x100092 kqread dhcpleased 24045 261331 1 0 3 0x80 kqread dhcpleased 17373 4965 0 0 3 0x14200 bored smr 47365 86422 0 0 3 0x14200 pgzero zerothread 73171 211098 0 0 3 0x14200 aiodoned aiodoned 34139 9464 0 0 3 0x14200 syncer update 95901 224088 0 0 3 0x14200 cleaner cleaner 24636 299037 0 0 7 0x14200 reaper 70281 394102 0 0 3 0x14200 pgdaemon pagedaemon 77924 425020 0 0 3 0x14200 bored viomb 15912 444286 0 0 3 0x40014200 acpi0 acpi0 15065 199313 0 0 3 0x40014200 idle1 18311 30769 0 0 3 0x14200 bored softnet7 12948 463784 0 0 3 0x14200 bored softnet6 20264 518790 0 0 3 0x14200 bored softnet5 63969 145519 0 0 3 0x14200 bored softnet4 8917 350992 0 0 3 0x14200 bored softnet3 15962 86812 0 0 3 0x14200 bored softnet2 65588 287239 0 0 3 0x14200 bored softnet1 19158 314245 0 0 3 0x14200 netlock softnet0 32007 125267 0 0 2 0x40014200 systqmp 73978 199485 0 0 3 0x14200 bored systq 98507 76695 0 0 3 0x14200 tmoslp softclockmp 95982 276084 0 0 3 0x40014200 tmoslp softclock 6304 454357 0 0 3 0x40014200 idle0 1 362973 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 77007 (syz-executor) thread 0xffff800032c08fb0 (445891) Process 94520 (syz-executor) thread 0xffff80002a3d7270 (138995) Process 24636 (reaper) thread 0xffff8000ffffc538 (299037) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10255 11090K 12632K 166960K 15490 0 pcb 19 16K 18K 166960K 1146 0 rtable 211 13K 14K 166960K 857 0 pf 42 19K 67486K 166960K 386 0 ifaddr 44 9K 10K 166960K 253 0 ifgroup 67 2K 3K 166960K 451 0 sysctl 4 1K 9K 166960K 76 0 counters 72 37K 38K 166960K 498 0 ioctlops 0 0K 4K 166960K 2283 0 iov 0 0K 32K 166960K 262 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1526 96K 96K 166960K 5217 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 48K 56K 166960K 16 0 VM map 2 1K 1K 166960K 2 0 sem 28 36K 52K 166960K 79 0 dirhash 12 2K 2K 166960K 72 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 4253 0 sigio 0 0K 0K 166960K 84 0 proc 63 99K 164K 166960K 1260 0 subproc 72 4K 4K 166960K 146 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 656 0 in_multi 77 5K 7K 166960K 357 0 ether_multi 1 0K 0K 166960K 48 0 mrt 1 0K 0K 166960K 26 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 187 837K 837K 166960K 187 0 exec 0 0K 1K 166960K 1167 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 261 172K 194K 166960K 40884 0 UVM aobj 87 6K 6K 166960K 94 0 pinsyscall 42 84K 104K 166960K 5583 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 304 0 NDP 14 0K 2K 166960K 184 0 temp 79 8652K 8780K 166960K 185305 0 kqueue 13 20K 33K 166960K 849 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 486 0 483 5 4 1 3 0 8 0 rtentry 176 301 0 226 5 0 5 5 0 8 0 unpcb 144 3493 0 3470 27 24 3 6 0 8 2 syncache 336 20 0 20 7 7 0 1 0 8 0 tcpqe 32 3 0 3 3 3 0 1 0 8 0 tcpcb 736 1765 0 1760 33 32 1 10 0 8 0 arp 128 44 0 33 1 0 1 1 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 11 0 11 1 1 0 1 0 8 0 inpcb 328 5805 0 5793 48 46 2 18 0 8 0 nd6 144 51 0 34 1 0 1 1 0 8 0 pkpcb 40 35 0 35 6 6 0 1 0 8 0 kcovpl 48 16 0 8 1 0 1 1 0 8 0 mppekey 1024 6 0 6 4 4 0 1 0 8 0 ppxss 1192 170 0 170 4 3 1 1 0 8 1 pppxif 1504 18 0 18 9 9 0 1 0 8 0 pffrag 232 31 0 22 1 0 1 1 0 482 0 pffrnode 88 28 0 20 1 0 1 1 0 8 0 pffrent 40 54 0 45 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 3 0 2 2 1 1 1 0 8 0 pfanchor 1288 2 0 0 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 278 0 124 1 0 1 1 0 8 0 pfstkey 128 278 0 124 6 0 6 6 0 8 0 pfstate 384 277 0 124 16 0 16 16 0 8 0 pfrule 1344 29 0 22 2 1 1 2 0 8 0 rttmr 136 8 0 8 7 7 0 1 0 8 0 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 1358 0 995 32 8 24 29 0 8 0 art_table 40 1362 0 995 5 0 5 5 0 8 0 art_node 32 296 0 233 1 0 1 1 0 8 0 sysvmsgpl 40 11 0 6 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 68 0 42 1 0 1 1 0 8 0 shmpl 112 91 0 7 3 0 3 3 0 8 0 dirhash 1024 58 0 41 3 0 3 3 0 8 0 dino2pl 256 9389 0 7859 97 0 97 97 0 8 0 ffsino 296 9389 0 7859 119 0 119 119 0 8 0 nchpl 144 15375 0 14819 64 38 26 64 0 8 0 rtmask 32 23 0 23 5 5 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 57135 0 57134 4 3 1 2 0 8 0 percpumem 16 264 0 213 1 0 1 1 0 8 0 kstatmem 264 308 0 276 5 2 3 3 0 8 0 acpiwqpl 32 3 0 3 1 0 1 1 1 8 1 scsiplug 72 11 0 11 7 7 0 1 0 8 0 scxspl 216 99960 0 99958 14 13 1 8 1 8 0 plimitpl 152 984 0 966 1 0 1 1 0 8 0 sigapl 424 4545 0 4490 9 1 8 9 0 8 0 knotepl 120 741 0 0 23 0 23 23 0 8 0 kqueuepl 224 1821 0 1812 19 18 1 9 0 8 0 pipepl 344 759 0 732 23 20 3 9 0 8 0 fdescpl 528 4487 0 4455 3 0 3 3 0 8 0 filepl 160 34734 0 34501 46 33 13 19 0 8 0 lockfpl 104 2008 0 2005 4 3 1 2 0 8 0 lockfspl 48 822 0 819 1 0 1 1 0 8 0 sessionpl 144 48 0 40 1 0 1 1 0 8 0 pgrppl 48 212 0 196 1 0 1 1 0 8 0 ucredpl 104 5267 0 5253 1 0 1 1 0 8 0 zombiepl 144 5481 0 5476 2 1 1 1 0 8 0 processpl 1248 4545 0 4490 6 0 6 6 0 8 0 procpl 664 11717 0 11655 10 3 7 8 0 8 0 sosppl 168 37 0 37 6 6 0 1 0 8 0 sockpl 752 10034 0 9996 87 82 5 25 0 8 1 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 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 35 0 0 5 0 5 5 0 8 0 mtagpl 96 14 0 0 1 0 1 1 0 8 0 mbufpl 256 1322 0 0 82 0 82 82 0 8 0 bufpl 280 39381 0 33238 440 0 440 440 0 8 0 anonpl 32 12434 0 0 102 1 101 101 0 246 0 amapchunkpl 152 141363 0 140745 63 39 24 35 0 158 0 amappl16 200 17982 0 17805 114 103 11 27 0 8 0 amappl15 192 19 0 19 1 1 0 1 0 8 0 amappl14 184 164 0 153 1 0 1 1 0 8 0 amappl13 176 7 0 7 3 3 0 1 0 8 0 amappl12 168 5281 0 5250 4 2 2 3 0 8 0 amappl11 160 54 0 40 1 0 1 1 0 8 0 amappl10 152 8 0 7 2 1 1 1 0 8 0 amappl9 144 248 0 247 2 1 1 1 0 8 0 amappl8 136 20 0 17 1 0 1 1 0 8 0 amappl7 128 142 0 130 1 0 1 1 0 8 0 amappl6 120 274 0 270 1 0 1 1 0 8 0 amappl5 112 162 0 151 1 0 1 1 0 8 0 amappl4 104 370 0 351 1 0 1 1 0 8 0 amappl3 96 29058 0 28933 4 0 4 4 0 8 0 amappl2 88 964 0 900 2 0 2 2 0 8 0 amappl1 80 28411 0 27831 16 1 15 15 0 8 0 amappl 88 39224 0 39034 5 0 5 5 0 92 0 dma65536 65536 1 0 1 1 1 0 1 0 8 0 dma32768 32768 1 0 1 1 1 0 1 0 8 0 dma16384 16384 1 0 1 1 1 0 1 0 8 0 dma4096 4096 2 0 2 2 2 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 11 0 11 5 5 0 1 0 8 0 dma128 128 258 0 258 4 4 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 8 0 8 2 2 0 1 0 8 0 dma16 16 22 0 21 1 0 1 1 0 8 0 aobjpl 72 93 0 7 2 0 2 2 0 8 0 uaddrrnd 24 4487 0 4455 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4487 0 4455 1 0 1 1 0 8 0 vmmpekpl 168 33856 0 33800 4 0 4 4 0 8 0 vmmpepl 168 290000 0 287783 149 46 103 113 0 357 0 vmsppl 488 4486 0 4455 5 0 5 5 0 8 0 rwobjpl 80 81735 0 74642 156 7 149 153 0 8 0 pdppl 4096 8982 0 8910 134 62 72 86 0 8 0 pvpl 32 20769 0 0 168 0 168 168 0 265 0 pmappl 256 4486 0 4455 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 439 0 126 10 0 10 10 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff8381aff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 kd_curproc sys/dev/kcov.c:585 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 sys/dev/kcov.c:153 __mp_lock(ffffffff83892778) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83892778) at __mp_lock+0x1a3 sys/kern/kern_lock.c:165 intr_handler(ffff80002a268ac0,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+0xf kd_curproc sys/dev/kcov.c:580 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0xf sys/dev/kcov.c:153 mtx_enter(ffffffff838103e0) at mtx_enter+0x62 sys/kern/kern_lock.c:261 msleep_nsec(ffffffff83810418,ffffffff838103e0,4,ffffffff833876dc,ffffffffffffffff) at msleep_nsec+0x2d3 sys/kern/kern_synch.c:209 reaper(ffff8000ffffc538) at reaper+0x13b sys/kern/kern_exit.c:477 end trace frame: 0x0, count: 4 ddb{0}> trace x86_ipi_db(ffffffff8381aff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 kd_curproc sys/dev/kcov.c:585 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 sys/dev/kcov.c:153 __mp_lock(ffffffff83892778) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83892778) at __mp_lock+0x1a3 sys/kern/kern_lock.c:165 intr_handler(ffff80002a268ac0,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+0xf kd_curproc sys/dev/kcov.c:580 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0xf sys/dev/kcov.c:153 mtx_enter(ffffffff838103e0) at mtx_enter+0x62 sys/kern/kern_lock.c:261 msleep_nsec(ffffffff83810418,ffffffff838103e0,4,ffffffff833876dc,ffffffffffffffff) at msleep_nsec+0x2d3 sys/kern/kern_synch.c:209 reaper(ffff8000ffffc538) at reaper+0x13b sys/kern/kern_exit.c:477 end trace frame: 0x0, count: -11 ddb{0}> machine ddbcpu 1 Stopped at savectx+0xae: movl $0,%gs:0x688 savectx() at savectx+0xae end of kernel end trace frame: 0xde995086470, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0xde995086470, count: -1