uvm_fault(0xfffffd800b027000, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff82342d88 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80002fc11650 gsbase 0xffff8000299fdff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff82342d88 Starting stack trace... panic(ffffffff833a2119) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80002fc115a0) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff800010fdd000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80002a339510) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a339510) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002fc11750) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805da55cf0,81,fffffd80097fb270,ffff80002a339510) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806fbecaa0,ffff80002a339510) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806fbecaa0,ffff80002a339510) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806fbecaa0,ffff80002a339510) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806fbecaa0,ffff80002a339510) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a339510) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80002a339510,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a339510,ffff80002fc11ac0,ffff80002fc11a10) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002fc11ac0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002fc11ac0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b0788d74f80, 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 *449308 66024 0 0 0 1 syz-executor proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x759ac764eac0, 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(0xfffffd800b027000, 0x0, 0, 1) -> e ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x759ac764eac0, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a3b1610 rbx 0 rdx 0 rcx 0xffff80002a2c7cc8 rax 0x2a r8 0xffff80002a3b1540 r9 0x1 r10 0xf7c35ebf6d4de1e7 r11 0x3b12c51528f518db r12 0 r13 0 r14 0 r15 0 rip 0xffffffff8189c4c7 proc_trampoline+0xc7 cs 0x8 rflags 0x246 rsp 0xffff80002a3b1590 ss 0 proc_trampoline+0xc7: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=449308 pid=66024 tcnt=2 stat=onproc flags process=0 proc=0 runpri=86, usrpri=86, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a339510,0xffff80002a2c6ab0 process=0xffff80003c4d4ec8 user=0xffff80002a3ac000, vmspace=0xfffffd806ef9c7a8 estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *66024 449308 98232 0 7 0 syz-executor 66024 189881 98232 0 3 0x4000080 fsleep syz-executor 52630 370729 39426 0 3 0x80 nanoslp syz-executor 52630 44167 39426 0 3 0x4000080 kqpoll syz-executor 52630 440223 39426 0 3 0x4000080 fsleep syz-executor 98232 342426 90153 0 3 0x82 nanoslp syz-executor 92196 411470 90153 0 3 0x82 nanoslp syz-executor 91525 145015 90153 0 3 0x82 nanoslp syz-executor 43931 318894 90153 0 3 0x82 nanoslp syz-executor 39426 266179 90153 0 3 0x82 nanoslp syz-executor 92890 390510 90153 0 3 0x82 wait syz-executor 94971 31100 1 0 3 0x100083 ttyopn getty 19741 388860 90153 0 3 0x82 nanoslp syz-executor 32465 71216 0 0 3 0x14200 bored sosplice 75349 426739 90153 0 3 0x82 nanoslp syz-executor 90153 181674 71627 0 3 0x82 kqread syz-executor 71627 6524 20631 0 3 0x10008a sigsusp ksh 20631 358028 2881 0 3 0x98 kqread sshd-session 2881 421637 85404 0 3 0x92 kqread sshd-session 85404 74364 1 0 3 0x88 kqread sshd 11550 485607 29985 74 3 0x1100092 bpf pflogd 29985 505256 1 0 3 0x80 sbwait pflogd 48857 461001 90751 73 3 0x1100090 kqread syslogd 90751 247023 1 0 3 0x100082 sbwait syslogd 89697 217551 1 0 3 0x100080 kqread resolvd 38452 499966 26590 77 3 0x100092 kqread dhcpleased 96488 310436 26590 77 3 0x100092 kqread dhcpleased 26590 142972 1 0 3 0x80 kqread dhcpleased 77544 421566 0 0 3 0x14200 bored smr 21454 398878 0 0 3 0x14200 pgzero zerothread 20873 364718 0 0 3 0x14200 aiodoned aiodoned 63097 215654 0 0 3 0x14200 syncer update 99806 327039 0 0 3 0x14200 cleaner cleaner 41725 30064 0 0 3 0x14200 reaper reaper 13847 169716 0 0 3 0x14200 pgdaemon pagedaemon 98999 477741 0 0 3 0x14200 bored viomb 55906 130764 0 0 3 0x40014200 acpi0 acpi0 35742 4785 0 0 3 0x40014200 idle1 68847 320340 0 0 3 0x14200 bored softnet7 7036 128995 0 0 3 0x14200 bored softnet6 7150 136325 0 0 3 0x14200 bored softnet5 10356 489553 0 0 3 0x14200 bored softnet4 58289 486251 0 0 3 0x14200 bored softnet3 69365 449590 0 0 3 0x14200 bored softnet2 29897 326759 0 0 3 0x14200 bored softnet1 3425 506949 0 0 2 0x14200 softnet0 86194 1695 0 0 2 0x40014200 systqmp 49076 62722 0 0 3 0x14200 bored systq 19830 298255 0 0 3 0x14200 tmoslp softclockmp 45708 52558 0 0 3 0x40014200 tmoslp softclock 68743 315695 0 0 7 0x40014200 idle0 1 132233 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 10263 11188K 12389K 166960K 18559 0 pcb 17 20K 23K 166960K 1291 0 rtable 252 14K 14K 166960K 1142 0 pf 38 18K 67486K 166960K 436 0 ifaddr 48 10K 10K 166960K 288 0 ifgroup 59 2K 2K 166960K 523 0 sysctl 4 1K 9K 166960K 135 0 counters 70 37K 38K 166960K 596 0 ioctlops 0 0K 4K 166960K 2472 0 iov 0 0K 24K 166960K 297 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1520 96K 96K 166960K 6186 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 22 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 423 0 dirhash 12 2K 2K 166960K 84 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 5068 0 sigio 0 0K 0K 166960K 272 0 proc 73 115K 164K 166960K 1342 0 subproc 72 4K 4K 166960K 153 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 632 0 in_multi 94 6K 7K 166960K 409 0 ether_multi 1 0K 0K 166960K 75 0 mrt 2 0K 0K 166960K 34 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 259 1155K 1155K 166960K 259 0 exec 0 0K 1K 166960K 1455 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 8 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 259 160K 177K 166960K 47433 0 UVM aobj 130 4K 4K 166960K 136 0 pinsyscall 43 86K 104K 166960K 6378 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 409 0 NDP 13 0K 2K 166960K 205 0 temp 90 8652K 8908K 166960K 243792 0 kqueue 13 20K 35K 166960K 978 0 SYN cache 2 8K 16K 166960K 3 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 547 0 541 6 3 3 3 0 8 2 rtentry 176 334 0 240 5 0 5 5 0 8 0 unpcb 144 3862 0 3845 31 27 4 6 0 8 3 syncache 336 7 0 7 3 2 1 1 0 8 1 tcpcb 736 1594 0 1590 28 24 4 7 0 8 3 arp 128 42 0 29 1 0 1 1 0 8 0 inpcb 328 5917 0 5909 60 50 10 13 0 8 8 nd6 144 52 0 33 1 0 1 1 0 8 0 pkpcb 40 152 0 152 8 7 1 1 0 8 1 kcovpl 48 17 0 9 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1192 211 0 211 9 8 1 1 0 8 1 pppxif 1504 20 0 20 7 6 1 1 0 8 1 pfstscr 40 1 0 0 1 0 1 1 0 8 0 pffrag 232 45 0 36 1 0 1 1 0 482 0 pffrnode 88 27 0 19 1 0 1 1 0 8 0 pffrent 40 76 0 67 1 0 1 1 0 8 0 pfosfp 40 1428 0 1428 5 5 0 5 0 8 0 pfosfpen 112 1428 0 1428 21 21 0 21 0 8 0 pfrktable 1344 5 0 5 5 5 0 1 0 8 0 pfstitem 24 325 0 175 1 0 1 1 0 8 0 pfstkey 128 325 0 175 5 0 5 5 0 8 0 pfstate 384 325 0 175 16 0 16 16 0 8 0 pfrule 1344 22 0 17 2 1 1 2 0 8 0 rttmr 136 10 0 10 6 6 0 1 0 8 0 art_heap8 4096 5 0 1 5 1 4 5 0 8 0 art_heap4 256 1558 0 1102 46 17 29 29 0 8 0 art_table 40 1563 0 1103 6 1 5 5 0 8 0 art_node 32 324 0 242 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 1 1 1 0 1 0 8 0 semupl 112 2 0 2 2 2 0 1 0 8 0 semapl 112 413 0 403 1 0 1 1 0 8 0 shmpl 112 133 0 6 4 0 4 4 0 8 0 dirhash 1024 66 0 49 3 0 3 3 0 8 0 dino2pl 256 11150 0 9618 98 1 97 97 0 8 0 ffsino 296 11150 0 9618 120 1 119 119 0 8 0 nchpl 144 18482 0 17855 64 39 25 64 0 8 0 rtmask 32 30 0 30 10 9 1 1 0 8 1 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 66009 0 66009 7 6 1 2 0 8 1 percpumem 16 313 0 263 1 0 1 1 0 8 0 kstatmem 264 346 0 316 5 2 3 3 0 8 0 acpiwqpl 32 33 0 33 1 0 1 1 1 8 1 scsiplug 72 29 0 29 9 8 1 1 0 8 1 scxspl 216 116836 0 116836 19 16 3 8 1 8 3 plimitpl 152 1912 0 1894 1 0 1 1 0 8 0 sigapl 424 5370 0 5315 9 2 7 9 0 8 0 knotepl 120 1190 0 0 37 1 36 37 0 8 0 kqueuepl 224 2143 0 2133 25 24 1 5 0 8 0 pipepl 344 1127 0 1099 44 35 9 12 0 8 5 fdescpl 528 5310 0 5278 3 0 3 3 0 8 0 filepl 160 40839 0 40609 61 42 19 20 0 8 5 lockfpl 104 2900 0 2898 6 5 1 2 0 8 0 lockfspl 48 1082 0 1080 1 0 1 1 0 8 0 sessionpl 144 37 0 28 1 0 1 1 0 8 0 pgrppl 48 264 0 247 1 0 1 1 0 8 0 ucredpl 104 7400 0 7386 1 0 1 1 0 8 0 zombiepl 144 6292 0 6286 1 0 1 1 0 8 0 processpl 1248 5370 0 5315 6 0 6 6 0 8 0 procpl 664 13899 0 13841 11 4 7 8 0 8 0 sosppl 168 30 0 30 10 9 1 1 0 8 1 sockpl 752 10626 0 10595 108 96 12 18 0 8 8 mcl64k 65536 29 0 0 4 0 4 4 0 8 0 mcl16k 16384 8 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 126 0 0 16 0 16 16 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 79 0 0 7 0 7 7 0 8 0 mtagpl 96 106 0 0 3 0 3 3 0 8 0 mbufpl 256 1248 0 0 73 0 73 73 0 8 0 bufpl 280 49036 0 42892 440 0 440 440 0 8 0 anonpl 32 17909 0 0 145 0 145 145 0 246 0 amapchunkpl 152 166234 0 165592 76 35 41 41 0 158 11 amappl16 200 17813 0 17635 176 152 24 42 0 8 7 amappl15 192 7 0 7 2 1 1 1 0 8 1 amappl14 184 138 0 125 1 0 1 1 0 8 0 amappl13 176 39 0 39 2 2 0 1 0 8 0 amappl12 168 6099 0 6067 2 0 2 2 0 8 0 amappl11 160 52 0 38 1 0 1 1 0 8 0 amappl10 152 6 0 5 1 0 1 1 0 8 0 amappl9 144 261 0 261 1 1 0 1 0 8 0 amappl8 136 21 0 18 1 0 1 1 0 8 0 amappl7 128 128 0 115 1 0 1 1 0 8 0 amappl6 120 265 0 261 1 0 1 1 0 8 0 amappl5 112 164 0 153 1 0 1 1 0 8 0 amappl4 104 313 0 294 1 0 1 1 0 8 0 amappl3 96 34649 0 34525 5 1 4 4 0 8 0 amappl2 88 790 0 724 2 0 2 2 0 8 0 amappl1 80 29181 0 28575 17 3 14 15 0 8 0 amappl 88 45760 0 45576 5 0 5 5 0 92 0 dma65536 65536 1 0 1 1 1 0 1 0 8 0 dma16384 16384 3 0 3 2 2 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 dma512 512 2 0 2 2 2 0 1 0 8 0 dma256 256 9 0 9 4 3 1 1 0 8 1 dma128 128 265 0 265 7 6 1 1 0 8 1 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 135 0 6 3 0 3 3 0 8 0 uaddrrnd 24 5310 0 5278 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 5310 0 5278 1 0 1 1 0 8 0 vmmpekpl 168 40611 0 40548 4 0 4 4 0 8 0 vmmpepl 168 332196 0 329908 186 73 113 123 0 357 0 vmsppl 488 5309 0 5278 6 1 5 5 0 8 0 rwobjpl 80 87265 0 80087 178 24 154 158 0 8 0 pdppl 4096 10628 0 10556 133 59 74 86 0 8 2 pvpl 32 27147 0 0 219 0 219 219 0 265 0 pmappl 256 5309 0 5278 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 440 0 120 10 0 10 10 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83785ff0) 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+0x2c kd_curproc sys/dev/kcov.c:584 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2c sys/dev/kcov.c:153 __mp_lock(ffffffff83889598) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83889598) at __mp_lock+0x1a3 sys/kern/kern_lock.c:165 softintr_dispatch(2) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(2) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:847 Xsofttty() at Xsofttty+0x27 __mp_lock(ffffffff83889598) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83889598) at __mp_lock+0x192 sys/kern/kern_lock.c:165 softintr_dispatch(0) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(0) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:847 Xsoftclock() at Xsoftclock+0x27 acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224 sched_idle(ffffffff83785ff0) at sched_idle+0x391 sys/kern/kern_sched.c:191 end trace frame: 0x0, count: 1 ddb{0}> trace x86_ipi_db(ffffffff83785ff0) 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+0x2c kd_curproc sys/dev/kcov.c:584 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2c sys/dev/kcov.c:153 __mp_lock(ffffffff83889598) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83889598) at __mp_lock+0x1a3 sys/kern/kern_lock.c:165 softintr_dispatch(2) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(2) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:847 Xsofttty() at Xsofttty+0x27 __mp_lock(ffffffff83889598) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83889598) at __mp_lock+0x192 sys/kern/kern_lock.c:165 softintr_dispatch(0) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(0) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:847 Xsoftclock() at Xsoftclock+0x27 acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224 sched_idle(ffffffff83785ff0) at sched_idle+0x391 sys/kern/kern_sched.c:191 end trace frame: 0x0, count: -14 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: 0x759ac764eac0, count: 14 ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x759ac764eac0, count: -1