uvm_fault(0xfffffd80699f37c8, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff82f01a48 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80002ebdb2c0 gsbase 0xffff8000299edff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff82f01a48 Starting stack trace... panic(ffffffff833a070a) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80002ebdb210) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff800001598000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(21e5f,81,2000,ffff80003c437a18) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80003c437a18) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002ebdb3c0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805986e000,81,fffffd80097fb618,ffff80003c437a18) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068555a40,ffff80003c437a18) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068555a40,ffff80003c437a18) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd8068555a40,ffff80003c437a18) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8068555a40,ffff80003c437a18) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c437a18) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80003c437a18,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c437a18,ffff80002ebdb730,ffff80002ebdb680) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002ebdb730) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002ebdb730) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7981ac420cb0, 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 * 74713 64384 0 0 0 1 syz-executor 274929 37220 0 0 0 0 syz-executor proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x6f98dbe78920, 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(0xfffffd80699f37c8, 0x0, 0, 1) -> e ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x6f98dbe78920, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a3a28f0 rbx 0 rdx 0 rcx 0xffff80003c437780 rax 0x2a r8 0xffff80002a3a2820 r9 0x1 r10 0xcd1832834f645f2 r11 0x6fea65e89a77177c r12 0 r13 0xffffffff81cee758 Xdoreti+0x18 r14 0 r15 0 rip 0xffffffff822974c7 proc_trampoline+0xc7 cs 0x8 rflags 0x246 rsp 0xffff80002a3a2870 ss 0 proc_trampoline+0xc7: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=74713 pid=64384 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=0xffff80003c4367f0,0xffff80003c437260 process=0xffff80003c4c61d8 user=0xffff80002a39d000, vmspace=0xfffffd80699f3d80 estcpu=36, cpticks=2, pctcpu=0.0, user=1, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *64384 74713 16953 0 7 0 syz-executor 64384 28695 16953 0 2 0x4000000 syz-executor 37220 274929 88792 0 7 0 syz-executor 37220 231838 88792 0 3 0x4000000 biowait syz-executor 4290 331594 65721 0 2 0x100002 sh 68777 89941 89626 -1 2 0x10 syz-executor 68777 5477 89626 -1 3 0x4000090 fsleep syz-executor 95842 273529 49443 0 2 0 syz-executor 95842 252179 49443 0 3 0x4000080 fsleep syz-executor 65721 197917 60133 0 3 0x82 wait syz-executor 56232 75303 3925 -1 2 0x10 syz-executor 56232 44876 3925 -1 3 0x4000090 msgwait syz-executor 56232 280357 3925 -1 3 0x4000090 msgwait syz-executor 56232 203652 3925 -1 3 0x4000090 fsleep syz-executor 88792 90817 60133 0 3 0x82 nanoslp syz-executor 48815 149901 1 0 3 0x80 nanoslp init 80791 433003 0 0 3 0x14200 bored sosplice 35142 3923 60133 0 2 0x2 syz-executor 40836 342039 60133 0 3 0x82 nanoslp syz-executor 49443 403331 60133 0 3 0x82 nanoslp syz-executor 3925 407799 60133 0 3 0x82 nanoslp syz-executor 89626 396100 60133 0 3 0x82 nanoslp syz-executor 16953 305765 60133 0 3 0x82 nanoslp syz-executor 60133 421601 5666 0 3 0x82 kqread syz-executor 5666 217647 96289 0 3 0x10008a sigsusp ksh 96289 272899 65347 0 3 0x98 kqread sshd-session 65347 277427 30810 0 3 0x92 kqread sshd-session 30810 294959 1 0 3 0x88 kqread sshd 97275 402693 56313 74 3 0x1100092 bpf pflogd 56313 222076 1 0 3 0x80 sbwait pflogd 21407 54853 69778 73 3 0x1100090 kqread syslogd 69778 442573 1 0 3 0x100082 sbwait syslogd 36346 228445 1 0 3 0x100080 kqread resolvd 10276 305501 1111 77 3 0x100092 kqread dhcpleased 83182 95021 1111 77 3 0x100092 kqread dhcpleased 1111 168502 1 0 3 0x80 kqread dhcpleased 20036 396694 0 0 3 0x14200 bored smr 15706 202771 0 0 2 0x14200 zerothread 55796 419157 0 0 3 0x14200 aiodoned aiodoned 50101 36798 0 0 3 0x14200 syncer update 86461 448425 0 0 3 0x14200 cleaner cleaner 21543 517540 0 0 3 0x14200 reaper reaper 95729 338904 0 0 3 0x14200 pgdaemon pagedaemon 85195 258043 0 0 3 0x14200 bored viomb 48208 60134 0 0 3 0x40014200 acpi0 acpi0 48639 343254 0 0 3 0x40014200 idle1 81627 39627 0 0 3 0x14200 bored softnet1 48063 39060 0 0 3 0x14200 netlock softnet0 279 76987 0 0 2 0x40014200 systqmp 42340 509664 0 0 3 0x14200 bored systq 33415 418241 0 0 3 0x14200 tmoslp softclockmp 65008 241377 0 0 3 0x40014200 tmoslp softclock 9746 139552 0 0 3 0x40014200 idle0 1 58794 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 37220 (syz-executor) thread 0xffff80003c4367f0 (231838) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10248 11191K 11853K 166960K 12874 0 pcb 17 14K 16K 166960K 308 0 rtable 181 10K 11K 166960K 407 0 pf 31 17K 67485K 166960K 109 0 ifaddr 33 5K 7K 166960K 87 0 ifgroup 47 2K 2K 166960K 129 0 sysctl 3 1K 9K 166960K 14 0 counters 64 36K 37K 166960K 180 0 ioctlops 0 0K 4K 166960K 1634 0 iov 0 0K 16K 166960K 51 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1394 88K 88K 166960K 2159 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 15 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 37 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 1045 0 sigio 0 0K 0K 166960K 20 0 proc 66 115K 147K 166960K 679 0 subproc 72 4K 4K 166960K 99 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 227 0 in_multi 66 4K 7K 166960K 158 0 ether_multi 1 0K 0K 166960K 6 0 mrt 0 0K 0K 166960K 7 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 247 1102K 1102K 166960K 247 0 exec 0 0K 1K 166960K 508 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 237 160K 172K 166960K 10546 0 UVM aobj 23 2K 3K 166960K 28 0 pinsyscall 42 84K 98K 166960K 2157 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 43 0 NDP 10 0K 2K 166960K 61 0 temp 65 8648K 8726K 166960K 57478 0 kqueue 13 20K 33K 166960K 198 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 173 0 170 3 2 1 3 0 8 0 rtentry 176 130 0 63 5 0 5 5 0 8 0 unpcb 144 754 0 735 10 9 1 9 0 8 0 syncache 336 6 0 6 4 3 1 1 0 8 1 tcpqe 32 3 0 3 2 2 0 1 0 8 0 tcpcb 736 350 0 343 11 4 7 7 0 8 6 arp 136 15 0 6 1 0 1 1 0 8 0 inpcb 328 1153 0 1142 12 5 7 7 0 8 4 nd6 144 26 0 12 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 1 0 1 0 8 0 kcovpl 48 11 0 3 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1192 49 0 49 3 2 1 1 0 8 1 pppxif 1504 1 0 1 1 1 0 1 0 8 0 pffrag 232 11 0 4 1 0 1 1 0 482 0 pffrnode 88 10 0 4 1 0 1 1 0 8 0 pffrent 40 21 0 14 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 pfstitem 24 57 0 21 1 0 1 1 0 8 0 pfstkey 128 57 0 21 2 0 2 2 0 8 0 pfstate 384 57 0 21 4 0 4 4 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 617 0 295 30 3 27 28 0 8 3 art_table 40 620 0 295 5 0 5 5 0 8 0 art_node 32 129 0 70 1 0 1 1 0 8 0 sysvmsgpl 40 17 0 12 2 1 1 1 0 8 0 semupl 112 3 0 3 2 2 0 1 0 8 0 semapl 112 32 0 22 1 0 1 1 0 8 0 shmpl 112 25 0 5 1 0 1 1 0 8 0 dirhash 1024 25 0 8 3 0 3 3 0 8 0 dino2pl 256 3281 0 1767 96 1 95 96 0 8 0 ffsino 296 3281 0 1767 117 0 117 117 0 8 0 nchpl 144 4680 0 2977 64 0 64 64 0 8 0 rtmask 32 13 0 13 3 2 1 1 0 8 1 uvmvnodes 80 3757 0 0 77 0 77 77 0 8 0 vnodes 216 3757 0 0 209 0 209 209 0 8 0 namei 1024 16016 0 16015 2 1 1 2 0 8 0 percpumem 16 105 0 58 1 0 1 1 0 8 0 kstatmem 264 84 0 62 4 1 3 3 0 8 1 scsiplug 72 3 0 3 1 1 0 1 0 8 0 scxspl 216 35652 0 35651 10 9 1 8 1 8 0 plimitpl 152 244 0 227 1 0 1 1 0 8 0 sigapl 424 1326 0 1277 8 2 6 8 0 8 0 knotepl 120 560 0 0 17 0 17 17 0 8 0 kqueuepl 224 386 0 377 5 4 1 3 0 8 0 pipepl 344 202 0 174 3 0 3 3 0 8 0 fdescpl 528 1285 0 1253 3 0 3 3 0 8 0 filepl 160 8107 0 7883 28 14 14 26 0 8 3 lockfpl 104 455 0 453 1 0 1 1 0 8 0 lockfspl 48 160 0 158 1 0 1 1 0 8 0 sessionpl 144 26 0 18 1 0 1 1 0 8 0 pgrppl 48 79 0 63 1 0 1 1 0 8 0 ucredpl 104 1335 0 1318 1 0 1 1 0 8 0 zombiepl 144 1279 0 1277 1 0 1 1 0 8 0 processpl 1232 1326 0 1277 6 0 6 6 0 8 0 procpl 664 2823 0 2767 8 2 6 8 0 8 0 sosppl 168 7 0 7 1 1 0 1 0 8 0 sockpl 752 2104 0 2071 39 28 11 31 0 8 6 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 122 0 0 16 0 16 16 0 8 0 mcl2k 2048 35 0 0 5 0 5 5 0 8 0 mtagpl 96 7 0 0 1 0 1 1 0 8 0 mbufpl 256 1201 0 0 75 0 75 75 0 8 0 bufpl 280 17361 0 11218 439 0 439 439 0 8 0 anonpl 32 13618 0 0 110 0 110 110 0 246 0 amapchunkpl 152 34847 0 34358 34 8 26 27 0 158 5 amappl16 200 6464 0 6434 45 26 19 30 0 8 8 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 140 0 129 1 0 1 1 0 8 0 amappl13 176 7 0 6 1 0 1 1 0 8 0 amappl12 168 1970 0 1938 3 1 2 2 0 8 0 amappl11 160 52 0 38 1 0 1 1 0 8 0 amappl10 152 6 0 6 1 1 0 1 0 8 0 amappl9 144 253 0 253 2 1 1 1 0 8 1 amappl8 136 21 0 19 1 0 1 1 0 8 0 amappl7 128 112 0 101 1 0 1 1 0 8 0 amappl6 120 201 0 196 1 0 1 1 0 8 0 amappl5 112 135 0 124 1 0 1 1 0 8 0 amappl4 104 303 0 281 1 0 1 1 0 8 0 amappl3 96 6193 0 6099 4 1 3 3 0 8 0 amappl2 88 1522 0 1440 2 0 2 2 0 8 0 amappl1 80 11899 0 11315 15 2 13 14 0 8 0 amappl 88 9676 0 9510 5 0 5 5 0 92 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 1 0 0 1 0 1 1 0 8 0 dma256 256 7 0 7 2 2 0 1 0 8 0 dma128 128 254 0 254 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 27 0 5 1 0 1 1 0 8 0 uaddrrnd 24 1285 0 1253 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1285 0 1253 1 0 1 1 0 8 0 vmmpekpl 168 11643 0 11598 3 0 3 3 0 8 0 vmmpepl 168 87308 0 85326 115 5 110 111 0 357 15 vmsppl 488 1284 0 1253 6 1 5 5 0 8 0 rwobjpl 80 29996 0 25302 98 0 98 98 0 8 0 pdppl 4096 2578 0 2506 104 30 74 80 0 8 2 pvpl 32 22302 0 0 181 1 180 180 0 265 0 pmappl 256 1284 0 1253 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 362 0 47 10 0 10 10 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83845ff0) 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 __mp_lock(ffffffff838b04e0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff838b04e0) at __mp_lock+0x192 sys/kern/kern_lock.c:165 scsi_xs_put(fffffd806f4caa50) at scsi_xs_put+0x51 scsi_iopool_put sys/scsi/scsi_base.c:270 [inline] scsi_xs_put(fffffd806f4caa50) at scsi_xs_put+0x51 scsi_io_put sys/scsi/scsi_base.c:499 [inline] scsi_xs_put(fffffd806f4caa50) at scsi_xs_put+0x51 sys/scsi/scsi_base.c:787 scsi_done(fffffd806f4caa50) 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(ffff80003b413430,ffff800000079a80) at intr_handler+0x125 sys/arch/amd64/amd64/intr.c:563 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x7502f5ce0b00, count: 6 ddb{0}> trace x86_ipi_db(ffffffff83845ff0) 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 __mp_lock(ffffffff838b04e0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff838b04e0) at __mp_lock+0x192 sys/kern/kern_lock.c:165 scsi_xs_put(fffffd806f4caa50) at scsi_xs_put+0x51 scsi_iopool_put sys/scsi/scsi_base.c:270 [inline] scsi_xs_put(fffffd806f4caa50) at scsi_xs_put+0x51 scsi_io_put sys/scsi/scsi_base.c:499 [inline] scsi_xs_put(fffffd806f4caa50) at scsi_xs_put+0x51 sys/scsi/scsi_base.c:787 scsi_done(fffffd806f4caa50) 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(ffff80003b413430,ffff800000079a80) at intr_handler+0x125 sys/arch/amd64/amd64/intr.c:563 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x7502f5ce0b00, 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: 0x6f98dbe78920, count: 14 ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x6f98dbe78920, count: -1