uvm_fault(0xfffffd806bed31f8, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff8316c250 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff800034bee170 gsbase 0xffff8000299ddff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff8316c250 Starting stack trace... panic(ffffffff833369fc) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff800034bee0c0) at kerntrap+0x29b sys/arch/amd64/amd64/trap.c:327 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff800001474000) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:579 dtclose(11e5f,81,2000,ffff8000fffe5740) at dtclose+0x105 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff8000fffe5740) at dtclose+0x105 sys/dev/dt/dt_dev.c:232 spec_close(ffff800034bee270) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805f3a4628,81,fffffd807f7d35b0,ffff8000fffe5740) at VOP_CLOSE+0x133 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806904e500,ffff8000fffe5740) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806904e500,ffff8000fffe5740) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806904e500,ffff8000fffe5740) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806904e500,ffff8000fffe5740) at closef+0x192 sys/kern/kern_descrip.c:1251 fdfree(ffff8000fffe5740) at fdfree+0x116 sys/kern/kern_descrip.c:1182 exit1(ffff8000fffe5740,0,0,1) at exit1+0x58f sys/kern/kern_exit.c:214 sys_exit(ffff8000fffe5740,ffff800034bee5e0,ffff800034bee530) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800034bee5e0) at syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800034bee5e0) at syscall+0xb08 sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f443ff063d0, 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 128977 70818 0 0 0 0 syz-executor * 31238 52630 0 0 0 1 syz-executor proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x72b3e5477d10, 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(0xfffffd806bed31f8, 0x0, 0, 1) -> e ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x72b3e5477d10, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003c4fad40 rbx 0 rdx 0 rcx 0xffff8000fffe42c0 rax 0x2a r8 0xffff80003c4fac70 r9 0x1 r10 0x446aed4950bf78c r11 0x22fcf2e19d86d4b0 r12 0 r13 0xffffffff82c70288 Xdoreti+0x18 r14 0 r15 0 rip 0xffffffff8191a4c7 proc_trampoline+0xc7 cs 0x8 rflags 0x246 rsp 0xffff80003c4facc0 ss 0x10 proc_trampoline+0xc7: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=31238 pid=52630 tcnt=3 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=0xffff8000fffe5740,0xffff8000fffe4040 process=0xffff8000fffe2aa0 user=0xffff80003c4f5000, vmspace=0xfffffd806bcb9200 estcpu=36, cpticks=4, pctcpu=0.0, user=3, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 70818 128977 91461 0 7 0 syz-executor 70818 328080 91461 0 3 0x4000080 sbwait syz-executor *52630 31238 25317 0 7 0 syz-executor 52630 463563 25317 0 3 0x4000080 ttyretype syz-executor 52630 496295 25317 0 3 0x4000080 fsleep syz-executor 28523 244547 83208 0 2 0 syz-executor 28523 238196 83208 0 3 0x4000080 sbwait syz-executor 28523 169168 83208 0 3 0x4000080 sbwait syz-executor 28523 335296 83208 0 3 0x4000080 fsleep syz-executor 6545 242964 78219 60929 2 0x10 syz-executor 6545 165055 78219 60929 3 0x4000090 kqsel syz-executor 6545 54159 78219 60929 3 0x4000090 fsleep syz-executor 6545 15024 78219 60929 3 0x4000090 fsleep syz-executor 43802 393802 48506 0 2 0 syz-executor 43802 150014 48506 0 3 0x4000080 ttyin syz-executor 43802 494432 48506 0 2 0x4000000 syz-executor 25317 322322 79756 0 3 0x82 nanoslp syz-executor 78219 131606 79756 0 2 0x2 syz-executor 93532 144172 1 0 3 0x80 nanoslp init 91461 221955 79756 0 3 0x82 nanoslp syz-executor 83208 199854 79756 0 3 0x82 nanoslp syz-executor 75655 251027 79756 0 3 0x82 nanoslp syz-executor 48506 517349 79756 0 3 0x82 nanoslp syz-executor 80620 453072 79756 0 2 0x2 syz-executor 96041 259681 0 0 3 0x14200 bored sosplice 66628 288347 79756 0 2 0x2 syz-executor 79756 358972 96519 0 2 0x2 syz-executor 96519 320830 64745 0 3 0x10008a sigsusp ksh 64745 388361 80414 0 3 0x98 kqread sshd-session 80414 177280 59858 0 3 0x92 kqread sshd-session 59858 354346 1 0 3 0x88 kqread sshd 77093 215493 33573 74 3 0x1100092 bpf pflogd 33573 49817 1 0 3 0x80 sbwait pflogd 67745 357693 37020 73 3 0x1100090 kqread syslogd 37020 235400 1 0 3 0x100082 sbwait syslogd 2399 177317 1 0 3 0x100080 kqread resolvd 41350 389374 44792 77 3 0x100092 kqread dhcpleased 65292 464084 44792 77 3 0x100092 kqread dhcpleased 44792 432267 1 0 3 0x80 kqread dhcpleased 23814 242177 0 0 3 0x14200 bored smr 61762 240408 0 0 2 0x14200 zerothread 18217 166068 0 0 3 0x14200 aiodoned aiodoned 97427 400620 0 0 3 0x14200 syncer update 28172 186940 0 0 3 0x14200 cleaner cleaner 20809 499608 0 0 3 0x14200 reaper reaper 14904 93691 0 0 3 0x14200 pgdaemon pagedaemon 27638 235242 0 0 3 0x14200 bored viomb 56079 496769 0 0 3 0x40014200 acpi0 acpi0 82855 38183 0 0 3 0x40014200 idle1 44948 91042 0 0 3 0x14200 bored softnet3 73207 10835 0 0 3 0x14200 bored softnet2 33910 517088 0 0 3 0x14200 bored softnet1 10944 14672 0 0 3 0x14200 netlock softnet0 48895 19015 0 0 2 0x40014200 systqmp 4325 467484 0 0 3 0x14200 bored systq 62781 391805 0 0 3 0x14200 tmoslp softclockmp 666 287993 0 0 3 0x40014200 tmoslp softclock 72541 515710 0 0 3 0x40014200 idle0 1 272959 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 80620 (syz-executor) thread 0xffff8000ffff22a0 (453072) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10268 11139K 12545K 166960K 20474 0 pcb 19 16K 32K 166960K 1051 0 rtable 209 12K 13K 166960K 1593 0 pf 40 18K 20K 166960K 347 0 ifaddr 39 8K 8K 166960K 255 0 ifgroup 63 2K 2K 166960K 441 0 sysctl 4 1K 9K 166960K 35 0 counters 72 37K 38K 166960K 584 0 ioctlops 0 0K 4K 166960K 2325 0 iov 1 12K 20K 166960K 280 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1581 99K 100K 166960K 7288 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 91 0 VM map 2 1K 1K 166960K 2 0 sem 23 6K 6K 166960K 33 0 dirhash 15 2K 3K 166960K 105 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 240K 166960K 4543 0 sigio 0 0K 0K 166960K 77 0 proc 65 91K 128K 166960K 1478 0 subproc 72 4K 4K 166960K 225 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 571 0 in_multi 58 4K 7K 166960K 446 0 ether_multi 1 0K 0K 166960K 67 0 mrt 2 0K 0K 166960K 32 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 229 1023K 1023K 166960K 229 0 exec 0 0K 1K 166960K 1256 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 4 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 240 160K 179K 166960K 42513 0 UVM aobj 118 7K 7K 166960K 129 0 pinsyscall 40 80K 105K 166960K 6117 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 1 0K 0K 166960K 190 0 NDP 14 0K 2K 166960K 190 0 temp 80 8688K 8944K 166960K 174393 0 kqueue 13 20K 36K 166960K 872 0 SYN cache 2 10K 18K 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 500 0 496 5 4 1 3 0 8 0 rtentry 176 578 0 497 6 2 4 6 0 8 0 unpcb 144 3557 0 3534 27 25 2 6 0 8 0 syncache 336 15 0 15 4 4 0 1 0 8 0 tcpqe 32 15 0 15 3 3 0 1 0 8 0 tcpcb 808 1522 0 1515 29 25 4 8 0 8 3 arp 128 138 0 116 1 0 1 1 0 8 0 inpcb 384 4840 0 4826 43 33 10 12 0 8 8 nd6 144 88 0 71 2 1 1 2 0 8 0 pkpcb 40 97 0 97 6 6 0 1 0 8 0 kcovpl 48 25 0 17 1 0 1 1 0 8 0 mppekey 1024 3 0 3 2 2 0 1 0 8 0 ppxss 1192 208 0 208 3 2 1 1 0 8 1 pppxif 1504 11 0 11 7 6 1 1 0 8 1 pffrag 232 22 0 17 1 0 1 1 0 482 0 pffrnode 88 17 0 12 1 0 1 1 0 8 0 pffrent 40 53 0 47 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 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 250 0 114 1 0 1 1 0 8 0 pfstkey 128 252 0 116 5 0 5 5 0 8 0 pfstate 384 251 0 115 14 0 14 14 0 8 0 pfrule 1344 22 0 17 2 1 1 2 0 8 0 rttmr 136 3 0 3 3 3 0 1 0 8 0 art_heap8 4096 4 0 1 3 0 3 3 0 8 0 art_heap4 256 1666 0 1397 33 15 18 31 0 8 1 art_table 32 1670 0 1398 4 1 3 4 0 8 0 art_node 16 571 0 506 1 0 1 1 0 8 0 sysvmsgpl 40 36 0 31 5 4 1 1 0 8 0 semupl 112 3 0 3 2 2 0 1 0 8 0 semapl 112 29 0 8 1 0 1 1 0 8 0 shmpl 112 126 0 11 4 0 4 4 0 8 0 dirhash 1024 79 0 60 3 0 3 3 0 8 0 dino2pl 256 9852 0 8304 98 0 98 98 0 8 0 ffsino 288 9852 0 8304 111 0 111 111 0 8 0 nchpl 144 16032 0 15448 64 39 25 64 0 8 0 rtmask 32 24 0 24 6 5 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 60928 0 60928 7 6 1 2 0 8 1 percpumem 16 307 0 256 1 0 1 1 0 8 0 kstatmem 264 286 0 252 3 0 3 3 0 8 0 scsiplug 72 14 0 14 7 6 1 1 0 8 1 scxspl 216 50986 0 50986 17 15 2 8 1 8 2 plimitpl 152 1488 0 1470 1 0 1 1 0 8 0 sigapl 424 4839 0 4790 11 3 8 9 0 8 0 knotepl 120 886 0 0 25 0 25 25 0 8 0 kqueuepl 224 1752 0 1742 13 11 2 5 0 8 1 pipepl 336 531 0 504 7 4 3 6 0 8 0 fdescpl 520 4772 0 4742 3 0 3 3 0 8 0 filepl 160 36642 0 36403 39 25 14 20 0 8 0 lockfpl 104 1603 0 1601 2 1 1 2 0 8 0 lockfspl 48 570 0 568 1 0 1 1 0 8 0 sessionpl 144 50 0 42 1 0 1 1 0 8 0 pgrppl 48 143 0 127 1 0 1 1 0 8 0 ucredpl 104 7139 0 7125 1 0 1 1 0 8 0 zombiepl 144 4791 0 4790 2 1 1 1 0 8 0 processpl 1208 4839 0 4790 7 1 6 6 0 8 0 procpl 656 12091 0 12031 11 4 7 8 0 8 0 srpgc 96 41 0 41 5 4 1 1 0 8 1 sosppl 168 20 0 20 8 7 1 1 0 8 1 sockpl 728 9268 0 9227 73 62 11 19 0 8 6 mcl64k 65536 9 0 0 2 0 2 2 0 8 0 mcl16k 16384 5 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 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 110 0 0 13 0 13 13 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 56 0 0 6 0 6 6 0 8 0 mtagpl 96 275 0 0 6 0 6 6 0 8 0 mbufpl 256 1377 0 0 83 0 83 83 0 8 0 bufpl 280 15751 0 9609 439 0 439 439 0 8 0 anonpl 32 11129 0 0 89 0 89 89 0 246 0 amapchunkpl 152 142675 0 142113 67 31 36 36 0 158 8 amappl16 200 10181 0 10146 59 44 15 16 0 8 8 amappl15 192 12 0 12 4 3 1 1 0 8 1 amappl14 184 174 0 163 1 0 1 1 0 8 0 amappl13 176 8 0 6 1 0 1 1 0 8 0 amappl12 168 5722 0 5692 4 2 2 3 0 8 0 amappl11 160 125 0 111 1 0 1 1 0 8 0 amappl10 152 22 0 22 2 2 0 1 0 8 0 amappl9 144 255 0 255 2 2 0 1 0 8 0 amappl8 136 24 0 20 1 0 1 1 0 8 0 amappl7 128 156 0 144 1 0 1 1 0 8 0 amappl6 120 360 0 356 2 1 1 1 0 8 0 amappl5 112 208 0 197 1 0 1 1 0 8 0 amappl4 104 420 0 400 1 0 1 1 0 8 0 amappl3 96 30099 0 29993 5 1 4 4 0 8 0 amappl2 88 989 0 924 2 0 2 2 0 8 0 amappl1 80 29536 0 28959 16 1 15 15 0 8 0 amappl 88 40635 0 40464 5 0 5 5 0 92 0 dma32768 32768 2 0 2 1 0 1 1 0 8 1 dma8192 8192 1 0 1 1 1 0 1 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma2048 2048 2 0 2 2 2 0 1 0 8 0 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma256 256 7 0 7 2 2 0 1 0 8 0 dma128 128 256 0 256 4 4 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 18 0 17 1 0 1 1 0 8 0 aobjpl 72 128 0 11 3 0 3 3 0 8 0 uaddrrnd 24 4772 0 4742 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4772 0 4742 1 0 1 1 0 8 0 vmmpekpl 168 34564 0 34498 4 0 4 4 0 8 0 vmmpepl 168 295983 0 294037 133 32 101 104 0 357 1 vmsppl 480 4771 0 4742 5 0 5 5 0 8 0 rwobjpl 72 75636 0 68676 135 2 133 133 0 8 0 pdppl 4096 9551 0 9484 172 99 73 87 0 8 6 pvpl 32 18791 0 0 150 0 150 150 0 265 0 pmappl 256 4771 0 4742 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 586 0 161 13 0 13 13 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83851ff0) 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+0xf sys/dev/kcov.c:149 scsi_xs_put(fffffd800ca89378) at scsi_xs_put+0x51 scsi_iopool_put sys/scsi/scsi_base.c:270 [inline] scsi_xs_put(fffffd800ca89378) at scsi_xs_put+0x51 scsi_io_put sys/scsi/scsi_base.c:499 [inline] scsi_xs_put(fffffd800ca89378) at scsi_xs_put+0x51 sys/scsi/scsi_base.c:787 scsi_done(fffffd800ca89378) at scsi_done+0x40 sys/scsi/scsi_base.c:1496 vioscsi_vq_done(ffff8000000a3668) at vioscsi_vq_done+0xe1 sys/dev/pv/vioscsi.c:-1 intr_handler(ffff80002a3b6550,ffff800000079f00) at intr_handler+0x11d sys/arch/amd64/amd64/intr.c:563 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x77f44c0b0ac0, count: 6 ddb{0}> trace x86_ipi_db(ffffffff83851ff0) 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+0xf sys/dev/kcov.c:149 scsi_xs_put(fffffd800ca89378) at scsi_xs_put+0x51 scsi_iopool_put sys/scsi/scsi_base.c:270 [inline] scsi_xs_put(fffffd800ca89378) at scsi_xs_put+0x51 scsi_io_put sys/scsi/scsi_base.c:499 [inline] scsi_xs_put(fffffd800ca89378) at scsi_xs_put+0x51 sys/scsi/scsi_base.c:787 scsi_done(fffffd800ca89378) at scsi_done+0x40 sys/scsi/scsi_base.c:1496 vioscsi_vq_done(ffff8000000a3668) at vioscsi_vq_done+0xe1 sys/dev/pv/vioscsi.c:-1 intr_handler(ffff80002a3b6550,ffff800000079f00) at intr_handler+0x11d sys/arch/amd64/amd64/intr.c:563 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x77f44c0b0ac0, count: -9 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: 0x72b3e5477d10, count: 14 ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x72b3e5477d10, count: -1