uvm_fault(0xfffffd806eaa1d68, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff82ab7118 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff8000303c4f60 gsbase 0xffff8000299ddff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff82ab7118 Starting stack trace... panic(ffffffff833e8b60) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff8000303c4eb0) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff8000016f8000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff8000fffee2b0) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff8000fffee2b0) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff8000303c5060) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd807560cbd0,1,fffffd80097fd410,ffff8000fffee2b0) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8060692738,ffff8000fffee2b0) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8060692738,ffff8000fffee2b0) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd8060692738,ffff8000fffee2b0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8060692738,ffff8000fffee2b0) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff8000fffee2b0) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff8000fffee2b0,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000fffee2b0,ffff8000303c53d0,ffff8000303c5320) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000303c53d0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff8000303c53d0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e761e831160, count: 242 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 3 3 EXIT 0 4 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND 419672 87685 0 0x1000 0x2000 0 syz-executor *485100 86131 0 0x2 0 1 syz-executor savectx() at savectx+0xae end of kernel end trace frame: 0x7cf3761ccfa0, 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(0xfffffd806eaa1d68, 0x0, 0, 1) -> e ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7cf3761ccfa0, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a28e520 rbx 0 rdx 0 rcx 0xffff80002a262010 rax 0x31 r8 0xffff80002a28e450 r9 0x1 r10 0x9b09641809721a26 r11 0x2a62921d8b31d35c r12 0 r13 0 r14 0xffff80002a262010 r15 0 rip 0xffffffff813783ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80002a28e4a0 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=485100 pid=86131 tcnt=1 stat=onproc flags process=2 proc=0 runpri=70, usrpri=70, slppri=24, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a262540,0xffff8000ffffdca0 process=0xffff8000ffff1820 user=0xffff80002a289000, vmspace=0xfffffd806eaa13e0 estcpu=20, cpticks=109, pctcpu=0.40, user=4, sys=97, intr=8 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 23276 416164 44689 0 2 0 syz-executor 23888 513404 38024 0 2 0 syz-executor 23888 281302 38024 0 3 0x4000080 ttyout syz-executor 23888 452408 38024 0 2 0x4000000 syz-executor 66014 368108 87083 0 2 0 syz-executor 66014 209950 87083 0 3 0x4000080 fsleep syz-executor 66014 411751 87083 0 2 0x4000000 syz-executor 87685 419672 19762 0 7 0x3000 syz-executor 87685 38317 19762 0 2 0x4081080 syz-executor 49313 416194 45856 0 2 0 syz-executor 49313 412062 45856 0 3 0x4000080 fsleep syz-executor 66555 169837 56727 0 2 0xc80 syz-executor 66555 408034 56727 0 3 0x4000080 kqpoll syz-executor 66555 24233 56727 0 3 0x4000080 fsleep syz-executor 66555 396974 56727 0 3 0x4000080 fsleep syz-executor 16795 279707 0 0 3 0x14200 acct acct 38024 306120 86131 0 2 0xc82 syz-executor 40858 230052 86131 0 2 0x2 syz-executor 65570 38749 0 0 3 0x14280 nfsidl nfsio 88732 153294 0 0 3 0x14280 nfsidl nfsio 1147 234956 0 0 3 0x14280 nfsidl nfsio 77001 66581 0 0 3 0x14280 nfsidl nfsio 98001 240996 0 0 3 0x14280 nfsidl nfsio 84656 355908 0 0 3 0x14280 nfsidl nfsio 74620 390866 0 0 3 0x14280 nfsidl nfsio 59890 170350 0 0 3 0x14280 nfsidl nfsio 26829 518037 0 0 3 0x14280 nfsidl nfsio 46340 52406 0 0 3 0x14280 nfsidl nfsio 84379 169468 0 0 3 0x14280 nfsidl nfsio 4063 229458 0 0 3 0x14280 nfsidl nfsio 62868 24646 0 0 3 0x14280 nfsidl nfsio 12825 385889 0 0 3 0x14280 nfsidl nfsio 1618 273146 0 0 3 0x14280 nfsidl nfsio 32134 348434 0 0 3 0x14280 nfsidl nfsio 88846 344807 0 0 3 0x14280 nfsidl nfsio 61678 447396 0 0 3 0x14280 nfsidl nfsio 72176 513551 0 0 3 0x14280 nfsidl nfsio 88451 442552 0 0 3 0x14280 nfsidl nfsio 44689 159317 86131 0 2 0xc82 syz-executor 56727 348388 86131 0 2 0xc82 syz-executor 87083 470497 86131 0 2 0xc82 syz-executor 56903 20448 86131 0 2 0xc82 syz-executor 19762 404543 86131 0 2 0xc82 syz-executor 45856 23027 86131 0 2 0xc82 syz-executor *86131 485100 16329 0 7 0x2 syz-executor 16329 54382 65091 0 3 0x10008a sigsusp ksh 65091 422039 61237 0 3 0x98 kqread sshd-session 61237 69681 99190 0 3 0x92 kqread sshd-session 96542 180721 1 0 2 0x100083 getty 99190 311637 1 0 3 0x88 kqread sshd 15668 347013 14952 74 3 0x1100092 bpf pflogd 14952 300630 1 0 3 0x80 sbwait pflogd 80128 406318 73757 73 3 0x1100090 kqread syslogd 73757 190553 1 0 3 0x100082 sbwait syslogd 62631 480658 1 0 3 0x100080 kqread resolvd 81121 353411 22115 77 3 0x100092 kqread dhcpleased 27869 203941 22115 77 3 0x100092 kqread dhcpleased 22115 23716 1 0 3 0x80 kqread dhcpleased 26457 72298 0 0 3 0x14200 bored smr 41964 160619 0 0 2 0x14200 zerothread 83125 173130 0 0 3 0x14200 aiodoned aiodoned 59919 216626 0 0 3 0x14200 syncer update 88556 428266 0 0 3 0x14200 cleaner cleaner 20555 412680 0 0 3 0x14200 reaper reaper 32200 331251 0 0 3 0x14200 pgdaemon pagedaemon 61768 391055 0 0 3 0x14200 bored viomb 19155 234255 0 0 3 0x40014200 acpi0 acpi0 31342 88769 0 0 3 0x40014200 idle1 42488 189046 0 0 3 0x14200 bored softnet1 21724 470806 0 0 2 0x14200 softnet0 83825 168141 0 0 2 0x14200 systqmp 60602 246882 0 0 3 0x14200 bored systq 44889 469916 0 0 2 0x14200 softclockmp 61070 60536 0 0 2 0x40014200 softclock 66518 38598 0 0 3 0x40014200 idle0 1 356688 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11096 12139K 12376K 166960K 13099 0 pcb 18 15K 17K 166960K 266 0 rtable 208 9K 10K 166960K 550 0 pf 31 17K 81K 166960K 137 0 ifaddr 34 6K 8K 166960K 109 0 ifgroup 44 1K 3K 166960K 184 0 sysctl 3 1K 9K 166960K 13 0 counters 66 36K 38K 166960K 200 0 ioctlops 0 0K 4K 166960K 1687 0 iov 0 0K 24K 166960K 40 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1446 91K 91K 166960K 2158 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 17 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 29 0 dirhash 15 2K 2K 166960K 33 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 240K 166960K 1008 0 sigio 0 0K 0K 166960K 30 0 proc 72 115K 147K 166960K 655 0 subproc 72 4K 4K 166960K 91 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 241 0 in_multi 74 5K 7K 166960K 159 0 ether_multi 1 0K 0K 166960K 8 0 mrt 0 0K 0K 166960K 8 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 253 1129K 1129K 166960K 253 0 exec 0 0K 1K 166960K 510 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 239 171K 200K 166960K 11025 0 UVM aobj 26 6K 6K 166960K 28 0 pinsyscall 42 84K 102K 166960K 2206 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 85 0 NDP 10 0K 2K 166960K 77 0 temp 76 8688K 8754K 166960K 41842 0 kqueue 14 22K 33K 166960K 189 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 138 0 134 1 0 1 1 0 8 0 rtentry 176 160 0 78 6 0 6 6 0 8 0 unpcb 144 682 0 665 6 4 2 4 0 8 1 syncache 336 10 0 10 2 1 1 1 0 8 1 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 736 268 0 262 4 1 3 3 0 8 2 arp 136 24 0 9 1 0 1 1 0 8 0 inpcb 328 1126 0 1112 16 9 7 7 0 8 5 nd6 152 36 0 14 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 1 0 1 0 8 0 kcovpl 48 10 0 2 1 0 1 1 0 8 0 ppxss 1192 47 0 47 3 2 1 1 0 8 1 pppxif 1504 8 0 8 3 2 1 1 0 8 1 pffrag 232 9 0 3 1 0 1 1 0 482 0 pffrnode 88 9 0 3 1 0 1 1 0 8 0 pffrent 40 15 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 4 0 4 1 0 1 1 0 8 1 pfstitem 24 1 0 0 1 0 1 1 0 8 0 pfstkey 128 1 0 0 1 0 1 1 0 8 0 pfstate 448 1 0 0 1 0 1 1 0 8 0 pfrule 1360 1 0 1 1 0 1 1 0 8 1 rttmr 136 2 0 2 2 1 1 1 0 8 1 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 755 0 376 33 5 28 29 0 8 2 art_table 40 759 0 376 5 0 5 5 0 8 0 art_node 32 160 0 86 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 25 0 15 1 0 1 1 0 8 0 shmpl 112 23 0 2 1 0 1 1 0 8 0 dirhash 1024 31 0 12 3 0 3 3 0 8 0 dino2pl 256 3266 0 1750 96 0 96 96 0 8 0 ffsino 296 3266 0 1750 118 0 118 118 0 8 0 nchpl 144 4598 0 2889 64 0 64 64 0 8 0 rtmask 32 6 0 6 4 3 1 1 0 8 1 vnodes 216 3760 0 0 209 0 209 209 0 8 0 namei 1024 15188 0 15188 4 3 1 2 0 8 1 percpumem 16 115 0 67 1 0 1 1 0 8 0 vcpupl 3968 2 0 0 1 0 1 1 0 8 0 vmpool 848 2 0 0 1 0 1 1 0 8 0 kstatmem 264 112 0 90 5 2 3 3 0 8 1 scsiplug 72 9 0 9 3 2 1 1 0 8 1 scxspl 216 32287 0 32287 11 9 2 8 1 8 2 plimitpl 152 513 0 496 1 0 1 1 0 8 0 sigapl 424 1328 0 1260 9 1 8 8 0 8 0 knotepl 120 546 0 0 17 0 17 17 0 8 0 kqueuepl 224 402 0 392 4 1 3 3 0 8 2 pipepl 344 187 0 160 3 0 3 3 0 8 0 fdescpl 528 1290 0 1259 3 0 3 3 0 8 0 filepl 160 7675 0 7456 18 4 14 16 0 8 3 lockfpl 104 567 0 565 3 1 2 2 0 8 1 lockfspl 48 132 0 130 1 0 1 1 0 8 0 sessionpl 144 31 0 22 1 0 1 1 0 8 0 pgrppl 48 52 0 35 1 0 1 1 0 8 0 ucredpl 104 1205 0 1191 1 0 1 1 0 8 0 zombiepl 144 1261 0 1260 1 0 1 1 0 8 0 processpl 1232 1328 0 1260 7 1 6 6 0 8 0 procpl 664 2824 0 2747 8 0 8 8 0 8 0 sosppl 176 7 0 7 3 3 0 1 0 8 0 sockpl 752 1978 0 1943 18 8 10 11 0 8 5 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 119 0 0 15 0 15 15 0 8 0 mcl2k 2048 29 0 0 3 0 3 3 0 8 0 mtagpl 96 5 0 0 1 0 1 1 0 8 0 mbufpl 256 206 0 0 13 0 13 13 0 8 0 bufpl 280 13140 0 7004 439 0 439 439 0 8 0 anonpl 32 12762 0 0 103 0 103 103 0 246 0 amapchunkpl 152 36413 0 35944 40 13 27 38 0 158 3 amappl16 200 4951 0 4916 61 33 28 29 0 8 17 amappl15 192 11 0 11 1 1 0 1 0 8 0 amappl14 184 11 0 11 2 2 0 1 0 8 0 amappl13 176 459 0 458 1 0 1 1 0 8 0 amappl12 168 1771 0 1730 4 1 3 3 0 8 0 amappl11 160 5 0 5 1 1 0 1 0 8 0 amappl10 152 47 0 33 1 0 1 1 0 8 0 amappl9 144 255 0 254 1 0 1 1 0 8 0 amappl8 136 45 0 42 1 0 1 1 0 8 0 amappl7 128 93 0 90 1 0 1 1 0 8 0 amappl6 120 309 0 296 1 0 1 1 0 8 0 amappl5 112 92 0 81 1 0 1 1 0 8 0 amappl4 104 469 0 438 1 0 1 1 0 8 0 amappl3 96 6252 0 6162 4 1 3 3 0 8 0 amappl2 88 1453 0 1376 2 0 2 2 0 8 0 amappl1 80 14659 0 14066 16 2 14 15 0 8 0 amappl 88 10067 0 9907 5 0 5 5 0 92 0 uvmvnodes 80 132 0 0 3 0 3 3 0 8 0 dma16384 16384 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 6 0 6 1 1 0 1 0 8 0 dma128 128 256 0 256 2 2 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 18 0 17 1 0 1 1 0 8 0 aobjpl 72 27 0 2 1 0 1 1 0 8 0 uaddrrnd 24 1290 0 1259 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1290 0 1259 1 0 1 1 0 8 0 vmmpekpl 168 12363 0 12318 4 1 3 3 0 8 0 vmmpepl 168 91107 0 89175 133 21 112 112 0 357 7 vmsppl 488 1289 0 1259 6 1 5 5 0 8 0 rwobjpl 80 27685 0 26594 38 4 34 34 0 8 0 pdppl 4096 2592 0 2520 119 43 76 84 0 8 4 pvpl 32 26098 0 0 210 0 210 210 0 265 0 pmappl 256 1291 0 1259 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 308 0 56 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff8389eff0) 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 __mp_acquire_count(ffffffff83987b40,1) at __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1 msleep_nsec(ffff80002a3bc188,ffff80002a3bc120,20,ffffffff833ae2a7,ffffffffffffffff) at msleep_nsec+0x1f8 sys/kern/kern_synch.c:-1 single_thread_set(ffff800034fd4a80,3) at single_thread_set+0x1de sys/kern/kern_sig.c:2336 exit1(ffff800034fd4a80,0,0,1) at exit1+0xa3 sys/kern/kern_exit.c:132 sys_exit(ffff800034fd4a80,ffff8000357e33c0,ffff8000357e3310) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000357e33c0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff8000357e33c0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7850f36a3de0, count: 4 ddb{0}> trace x86_ipi_db(ffffffff8389eff0) 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 __mp_acquire_count(ffffffff83987b40,1) at __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1 msleep_nsec(ffff80002a3bc188,ffff80002a3bc120,20,ffffffff833ae2a7,ffffffffffffffff) at msleep_nsec+0x1f8 sys/kern/kern_synch.c:-1 single_thread_set(ffff800034fd4a80,3) at single_thread_set+0x1de sys/kern/kern_sig.c:2336 exit1(ffff800034fd4a80,0,0,1) at exit1+0xa3 sys/kern/kern_exit.c:132 sys_exit(ffff800034fd4a80,ffff8000357e33c0,ffff8000357e3310) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000357e33c0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff8000357e33c0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7850f36a3de0, 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: 0x7cf3761ccfa0, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7cf3761ccfa0, count: -1