uvm_fault(0xfffffd806ac4d3e8, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff819bcec8 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff8000303d1ab0 gsbase 0xffff8000299ddff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff819bcec8 Starting stack trace... panic(ffffffff833e4f46) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff8000303d1a00) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff800001574000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80002e3c4a88) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80002e3c4a88) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff8000303d1bb0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805f7078d0,1,fffffd80097fd5b0,ffff80002e3c4a88) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806abbd540,ffff80002e3c4a88) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806abbd540,ffff80002e3c4a88) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806abbd540,ffff80002e3c4a88) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806abbd540,ffff80002e3c4a88) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80002e3c4a88) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80002e3c4a88,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002e3c4a88,ffff8000303d1f20,ffff8000303d1e70) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000303d1f20) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff8000303d1f20) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x772128ba8a20, count: 242 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 83 438216080 EXIT 0 4 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND *471719 94297 0 0 0 1 syz-executor 186669 37055 0 0 0 0 syz-executor savectx() at savectx+0xae end of kernel end trace frame: 0x70b0fe0d1b90, 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}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: uvm_fault(0xfffffd806ac4d3e8, 0x0, 0, 1) -> e ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x70b0fe0d1b90, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a38c730 rbx 0 rdx 0 rcx 0xffff8000fffe9a10 rax 0x3a r8 0xffff80002a38c660 r9 0x1 r10 0xdc81d5ee8d67f764 r11 0x2add4759ff62259e r12 0 r13 0 r14 0xffff8000fffe9a10 r15 0 rip 0xffffffff813c63ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80002a38c6b0 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=471719 pid=94297 tcnt=2 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=0xffff8000fffe8d18,0xffff8000fffe82c8 process=0xffff8000fffeeb68 user=0xffff80002a387000, vmspace=0xfffffd806ac4d200 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *94297 471719 83377 0 7 0 syz-executor 94297 13669 83377 0 3 0x4000080 fsleep syz-executor 37055 186669 96451 0 7 0 syz-executor 37055 98809 96451 0 3 0x4000080 kqsel syz-executor 37055 231147 96451 0 3 0x4000080 fsleep syz-executor 10832 407077 31222 0 2 0 syz-executor 10832 328573 31222 0 3 0x4000080 ttyretype syz-executor 13974 65744 2277 0 2 0 syz-executor 13974 277773 2277 0 3 0x4000080 sbwait syz-executor 90407 319626 53624 0 2 0 syz-executor 90407 512870 53624 0 3 0x4000080 netcon syz-executor 90407 121009 53624 0 3 0x4000080 fsleep syz-executor 97444 478264 49748 0 3 0x80 nanoslp syz-executor 97444 223957 49748 0 3 0x4000080 fsleep syz-executor 97444 356860 49748 0 3 0x4000080 fsleep syz-executor 2277 402863 247 0 3 0x82 nanoslp syz-executor 53624 430107 247 0 3 0x82 nanoslp syz-executor 70540 481391 247 0 3 0x2 biowait syz-executor 74222 482409 0 0 3 0x14200 acct acct 31222 184558 247 0 2 0x2 syz-executor 96451 64494 247 0 3 0x82 nanoslp syz-executor 83377 106567 247 0 3 0x82 nanoslp syz-executor 65172 399668 247 0 3 0x82 nanoslp syz-executor 49748 187184 247 0 3 0x82 nanoslp syz-executor 247 457172 9568 0 3 0x82 kqread syz-executor 9568 522670 78686 0 3 0x10008a sigsusp ksh 78686 491892 61195 0 3 0x98 kqread sshd-session 61195 187199 24132 0 3 0x92 kqread sshd-session 47594 89341 1 0 3 0x100083 ttyopn getty 24132 332573 1 0 3 0x88 kqread sshd 18653 14718 26937 74 3 0x1100092 bpf pflogd 26937 488136 1 0 3 0x80 sbwait pflogd 99532 127670 12945 73 3 0x1100090 kqread syslogd 12945 294195 1 0 3 0x100082 sbwait syslogd 94153 141286 1 0 3 0x100080 kqread resolvd 87041 497948 36222 77 3 0x100092 kqread dhcpleased 73665 74798 36222 77 3 0x100092 kqread dhcpleased 36222 418527 1 0 3 0x80 kqread dhcpleased 32575 78010 0 0 3 0x14200 bored smr 20634 356223 0 0 2 0x14200 zerothread 70531 342452 0 0 3 0x14200 aiodoned aiodoned 74987 31542 0 0 3 0x14200 syncer update 55171 125614 0 0 3 0x14200 cleaner cleaner 79368 100129 0 0 3 0x14200 reaper reaper 75342 195675 0 0 3 0x14200 pgdaemon pagedaemon 56109 169344 0 0 3 0x14200 bored viomb 70883 304684 0 0 3 0x40014200 acpi0 acpi0 1613 294281 0 0 3 0x40014200 idle1 66763 5364 0 0 3 0x14200 bored softnet1 42987 167509 0 0 3 0x14200 netlock softnet0 3958 44033 0 0 2 0x40014200 systqmp 75625 505046 0 0 3 0x14200 bored systq 62346 477367 0 0 3 0x14200 tmoslp softclockmp 41117 455813 0 0 3 0x40014200 tmoslp softclock 776 501892 0 0 3 0x40014200 idle0 1 69973 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 70540 (syz-executor) thread 0xffff80002e3c4558 (481391) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11138 12298K 12537K 166960K 15701 0 pcb 18 16K 31K 166960K 518 0 rtable 205 12K 12K 166960K 1023 0 pf 35 18K 82K 166960K 255 0 ifaddr 32 6K 8K 166960K 179 0 ifgroup 47 2K 2K 166960K 295 0 sysctl 4 1K 9K 166960K 54 0 counters 66 36K 38K 166960K 326 0 ioctlops 0 0K 4K 166960K 2038 0 iov 0 0K 20K 166960K 173 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1527 96K 96K 166960K 3496 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 12 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 52 0 dirhash 12 2K 2K 166960K 30 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 236K 166960K 2208 0 sigio 0 0K 0K 166960K 46 0 proc 72 115K 164K 166960K 923 0 subproc 72 4K 4K 166960K 136 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 233 0 in_multi 60 4K 7K 166960K 259 0 ether_multi 1 0K 0K 166960K 13 0 mrt 1 0K 0K 166960K 19 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 415 1844K 1844K 166960K 415 0 exec 0 0K 1K 166960K 665 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 255 160K 174K 166960K 20935 0 UVM aobj 89 15K 15K 166960K 98 0 pinsyscall 42 84K 104K 166960K 3487 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 168 0 NDP 10 0K 2K 166960K 125 0 temp 84 8680K 8808K 166960K 86548 0 kqueue 13 20K 30K 166960K 371 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 222 0 218 2 1 1 2 0 8 0 rtentry 176 348 0 276 6 0 6 6 0 8 0 unpcb 144 1391 0 1370 9 3 6 6 0 8 5 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 736 672 0 665 13 6 7 7 0 8 6 arp 136 67 0 53 1 0 1 1 0 8 0 ipq 40 11 0 2 1 0 1 1 0 8 0 ipqe 40 16 0 7 1 0 1 1 0 8 0 inpcb 328 2439 0 2428 19 12 7 7 0 8 5 ip6q 72 6 0 2 1 0 1 1 0 8 0 ip6af 40 9 0 4 1 0 1 1 0 8 0 nd6 152 52 0 37 2 1 1 2 0 8 0 pkpcb 40 16 0 16 3 2 1 1 0 8 1 kcovpl 48 15 0 7 1 0 1 1 0 8 0 mppekey 1024 2 0 2 2 2 0 1 0 8 0 ppxss 1192 96 0 96 2 1 1 1 0 8 1 pppxif 1504 15 0 15 3 2 1 1 0 8 1 pfstscr 40 3 0 2 2 1 1 1 0 8 0 pffrag 232 4 0 1 1 0 1 1 0 482 0 pffrnode 88 4 0 1 1 0 1 1 0 8 0 pffrent 40 9 0 6 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 2 0 2 1 1 0 1 0 8 0 pfqueue 320 1 0 1 1 1 0 1 0 8 0 pfstitem 24 77 0 33 1 0 1 1 0 8 0 pfstkey 128 81 0 37 3 0 3 3 0 8 0 pfstate 448 75 0 35 7 0 7 7 0 8 0 pfrule 1344 28 0 23 2 1 1 2 0 8 0 rttmr 136 4 0 4 3 2 1 1 0 8 1 art_heap8 4096 6 0 1 5 0 5 5 0 8 0 art_heap4 256 1220 0 935 41 16 25 32 0 8 2 art_table 40 1226 0 936 6 0 6 6 0 8 0 art_node 32 346 0 281 2 0 2 2 0 8 0 sysvmsgpl 40 1 0 0 1 0 1 1 0 8 0 semupl 112 67 0 67 3 2 1 1 0 8 1 semapl 112 47 0 37 1 0 1 1 0 8 0 shmpl 112 84 0 4 3 0 3 3 0 8 0 dirhash 1024 29 0 12 3 0 3 3 0 8 0 dino2pl 256 5303 0 3790 96 0 96 96 0 8 0 ffsino 296 5303 0 3790 117 0 117 117 0 8 0 nchpl 144 8225 0 6507 65 0 65 65 0 8 0 rtmask 32 21 0 21 5 4 1 1 0 8 1 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 28005 0 28004 2 1 1 2 0 8 0 percpumem 16 178 0 130 1 0 1 1 0 8 0 vcpupl 3968 8 0 2 1 0 1 1 0 8 0 vmpool 848 11 0 5 1 0 1 1 0 8 0 kstatmem 264 186 0 164 5 3 2 3 0 8 0 scsiplug 72 2 0 2 2 1 1 1 0 8 1 scxspl 216 59122 0 59121 12 10 2 8 1 8 1 plimitpl 152 492 0 474 1 0 1 1 0 8 0 sigapl 424 2484 0 2436 7 1 6 7 0 8 0 knotepl 120 755 0 0 23 0 23 23 0 8 0 kqueuepl 224 830 0 818 11 6 5 5 0 8 4 pipepl 344 400 0 373 8 5 3 8 0 8 0 fdescpl 528 2459 0 2428 3 0 3 3 0 8 0 filepl 160 15965 0 15728 33 13 20 23 0 8 8 lockfpl 104 937 0 934 3 1 2 2 0 8 1 lockfspl 48 374 0 371 1 0 1 1 0 8 0 sessionpl 144 29 0 20 1 0 1 1 0 8 0 pgrppl 48 146 0 129 1 0 1 1 0 8 0 ucredpl 104 2316 0 2303 1 0 1 1 0 8 0 zombiepl 144 2437 0 2436 1 0 1 1 0 8 0 processpl 1232 2484 0 2436 5 0 5 5 0 8 0 procpl 664 5844 0 5787 6 0 6 6 0 8 0 sosppl 176 11 0 11 4 3 1 1 0 8 1 sockpl 752 4232 0 4196 48 37 11 28 0 8 7 mcl64k 65536 9 0 0 2 0 2 2 0 8 0 mcl16k 16384 6 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 113 0 0 14 0 14 14 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 46 0 0 6 0 6 6 0 8 0 mtagpl 96 36 0 0 1 0 1 1 0 8 0 mbufpl 256 1866 0 0 115 0 115 115 0 8 0 bufpl 280 24120 0 17984 439 0 439 439 0 8 0 anonpl 32 14289 0 0 116 0 116 116 0 246 0 amapchunkpl 152 71193 0 70605 41 12 29 32 0 158 5 amappl16 200 8935 0 8866 66 49 17 32 0 8 6 amappl15 192 3 0 2 2 1 1 1 0 8 0 amappl14 184 31 0 31 1 1 0 1 0 8 0 amappl13 176 527 0 526 1 0 1 1 0 8 0 amappl12 168 2874 0 2831 3 0 3 3 0 8 0 amappl11 160 11 0 11 4 3 1 1 0 8 1 amappl10 152 51 0 37 1 0 1 1 0 8 0 amappl9 144 272 0 271 1 0 1 1 0 8 0 amappl8 136 27 0 24 1 0 1 1 0 8 0 amappl7 128 110 0 109 1 0 1 1 0 8 0 amappl6 120 365 0 351 1 0 1 1 0 8 0 amappl5 112 73 0 62 1 0 1 1 0 8 0 amappl4 104 450 0 422 1 0 1 1 0 8 0 amappl3 96 14814 0 14699 5 1 4 4 0 8 0 amappl2 88 587 0 526 2 0 2 2 0 8 0 amappl1 80 17906 0 17317 14 1 13 14 0 8 0 amappl 88 19819 0 19641 5 0 5 5 0 92 0 uvmvnodes 80 173 0 0 4 0 4 4 0 8 0 dma65536 65536 3 0 3 3 2 1 1 0 8 1 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 9 0 9 2 2 0 1 0 8 0 dma128 128 255 0 255 3 2 1 1 0 8 1 dma64 64 7 0 7 2 1 1 1 0 8 1 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 97 0 9 2 0 2 2 0 8 0 uaddrrnd 24 2459 0 2428 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2459 0 2428 1 0 1 1 0 8 0 vmmpekpl 168 19472 0 19414 3 0 3 3 0 8 0 vmmpepl 168 158265 0 156292 126 28 98 113 0 357 2 vmsppl 488 2458 0 2428 6 1 5 5 0 8 0 rwobjpl 80 42226 0 40977 38 5 33 37 0 8 0 pdppl 4096 4948 0 4872 128 50 78 86 0 8 2 pvpl 32 21743 0 0 175 0 175 175 0 265 0 pmappl 256 2469 0 2433 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 447 0 81 11 0 11 11 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff837d9ff0) 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+0x38 sys/dev/kcov.c:-1 __mp_lock(ffffffff839607c0) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff839607c0) at __mp_lock+0x1a3 sys/kern/kern_lock.c:173 softintr_dispatch(2) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(2) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:862 Xsofttty() at Xsofttty+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(ffffffff839607c0) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff839607c0) at __mp_lock+0x1a3 sys/kern/kern_lock.c:173 intr_handler(ffff80003c4342d0,ffff8000002a3480) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x6fe048f0bb00, count: 3 ddb{0}> trace x86_ipi_db(ffffffff837d9ff0) 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+0x38 sys/dev/kcov.c:-1 __mp_lock(ffffffff839607c0) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff839607c0) at __mp_lock+0x1a3 sys/kern/kern_lock.c:173 softintr_dispatch(2) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(2) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:862 Xsofttty() at Xsofttty+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(ffffffff839607c0) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff839607c0) at __mp_lock+0x1a3 sys/kern/kern_lock.c:173 intr_handler(ffff80003c4342d0,ffff8000002a3480) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x6fe048f0bb00, count: -12 ddb{0}> machine ddbcpu 1 Stopped at savectx+0xae: movl $0,%gs:0x688 savectx() at savectx+0xae end of kernel end trace frame: 0x70b0fe0d1b90, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x70b0fe0d1b90, count: -1