uvm_fault(0xfffffd80701171f0, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff824e0188 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80003c461760 gsbase 0xffff8000299ddff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff824e0188 Starting stack trace... panic(ffffffff833e547f) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80003c4616b0) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff800001717000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(21e5f,81,2000,ffff8000387f1a38) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff8000387f1a38) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c461860) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805bc59038,81,fffffd80097fd2d8,ffff8000387f1a38) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806d7cb988,ffff8000387f1a38) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806d7cb988,ffff8000387f1a38) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806d7cb988,ffff8000387f1a38) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806d7cb988,ffff8000387f1a38) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff8000387f1a38) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff8000387f1a38,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000387f1a38,ffff80003c461bd0,ffff80003c461b20) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c461bd0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c461bd0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7310d8e06d10, 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 *201565 67811 0 0 0 1 syz-executor 87236 49084 0 0x1000 0x4080000 0 syz-executor proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x74fb51200d10, 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(0xfffffd80701171f0, 0x0, 0, 1) -> e ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x74fb51200d10, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003c41d350 rbx 0 rdx 0 rcx 0xffff8000fffefa08 rax 0x2a r8 0xffff80003c41d280 r9 0x1 r10 0x3ac51a1595506787 r11 0x8ae264608b59d272 r12 0 r13 0 r14 0 r15 0 rip 0xffffffff813164c7 proc_trampoline+0xc7 cs 0x8 rflags 0x246 rsp 0xffff80003c41d2d0 ss 0 proc_trampoline+0xc7: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=201565 pid=67811 tcnt=1 stat=onproc flags process=0 proc=0 runpri=50, usrpri=86, slppri=16, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000387f1a38,0xffffffff839a7750 process=0xffff8000387ec020 user=0xffff80003c418000, vmspace=0xfffffd8070117b78 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *67811 201565 89987 0 7 0 syz-executor 71453 206098 58515 0 2 0 syz-executor 71453 386751 58515 0 3 0x4000080 fsleep syz-executor 53350 35971 15874 0 2 0 syz-executor 53350 503368 15874 0 3 0x4000080 fsleep syz-executor 12963 61813 64170 0 2 0 syz-executor 12963 336880 64170 0 3 0x4000080 fsleep syz-executor 14393 62464 71034 0 3 0x3000 suspend syz-executor 14393 103615 71034 0 2 0x4081000 syz-executor 14393 343110 71034 0 3 0x4081000 inode syz-executor 14393 433822 71034 0 3 0x4081000 inode syz-executor 18130 120524 26901 0 2 0x2 syz-executor 49084 61835 74215 0 3 0x3000 suspend syz-executor 49084 87236 74215 0 7 0x4081000 syz-executor 15874 183913 26901 0 2 0xc82 syz-executor 89661 171816 0 0 3 0x14200 acct acct 28510 509588 1 0 3 0x100083 ttyopn getty 89987 232475 26901 0 2 0xc82 syz-executor 18444 299248 26901 0 2 0xc82 syz-executor 58515 362805 26901 0 2 0xc82 syz-executor 64170 331219 26901 0 2 0xc82 syz-executor 71034 490124 26901 0 2 0xc82 syz-executor 74215 364759 26901 0 2 0xc82 syz-executor 26901 483954 84889 0 2 0x2 syz-executor 84889 400241 69496 0 3 0x10008a sigsusp ksh 69496 517130 84012 0 3 0x98 kqread sshd-session 84012 116029 51892 0 3 0x92 kqread sshd-session 51892 80041 1 0 3 0x88 kqread sshd 87392 274323 5298 74 3 0x1100092 bpf pflogd 5298 412443 1 0 3 0x80 sbwait pflogd 44638 101692 15495 73 3 0x1100090 kqread syslogd 15495 394736 1 0 3 0x100082 sbwait syslogd 49162 407127 1 0 3 0x100080 kqread resolvd 44406 85875 0 0 2 0x40014200 smr 23454 405617 0 0 2 0x14200 zerothread 64308 288279 0 0 3 0x14200 aiodoned aiodoned 10514 385945 0 0 3 0x14200 syncer update 37481 264519 0 0 3 0x14200 cleaner cleaner 37662 181331 0 0 3 0x14200 reaper reaper 12236 181079 0 0 3 0x14200 pgdaemon pagedaemon 9745 521428 0 0 3 0x14200 bored viomb 14973 211129 0 0 3 0x40014200 acpi0 acpi0 32222 239806 0 0 3 0x40014200 idle1 8692 211321 0 0 3 0x14200 bored softnet1 50923 521161 0 0 2 0x14200 softnet0 11542 178241 0 0 3 0x14200 smrbar systqmp 90913 33589 0 0 3 0x14200 bored systq 8352 177517 0 0 3 0x14200 netlock softclockmp 7788 15194 0 0 3 0x40014200 tmoslp softclock 22891 485213 0 0 3 0x40014200 idle0 1 459351 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 14393 (syz-executor) thread 0xffff80003c466800 (103615) Process 14393 (syz-executor) thread 0xffff8000ffffd760 (343110) Process 18130 (syz-executor) thread 0xffff8000387f0578 (120524) Process 49084 (syz-executor) thread 0xffff8000387f0d40 (87236) Process 11542 (systqmp) thread 0xffff8000ffffe000 (178241) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11104 12211K 15830K 166960K 18996 0 pcb 17 16K 32K 166960K 2372 0 rtable 248 18K 19K 166960K 1895 0 pf 37 18K 83K 166960K 892 0 ifaddr 36 9K 11K 166960K 539 0 ifgroup 48 2K 3K 166960K 1044 0 sysctl 4 1K 9K 166960K 57 0 counters 68 36K 39K 166960K 1122 0 ioctlops 0 0K 4K 166960K 3504 0 iov 0 0K 24K 166960K 616 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1704 107K 108K 166960K 7144 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 9K 166960K 59 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 564 0 dirhash 12 2K 3K 166960K 120 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 240K 166960K 7433 0 sigio 0 0K 0K 166960K 226 0 proc 68 99K 164K 166960K 1827 0 subproc 72 4K 4K 166960K 264 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 1383 0 in_multi 75 5K 7K 166960K 918 0 ether_multi 1 0K 0K 166960K 218 0 mrt 1 0K 0K 166960K 70 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 1847 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 2K 166960K 19 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 229 142K 191K 166960K 68800 0 UVM aobj 50 42K 42K 166960K 65 0 pinsyscall 36 72K 101K 166960K 9178 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 657 0 NDP 11 0K 2K 166960K 424 0 temp 95 8684K 8940K 166960K 358183 0 kqueue 8 14K 35K 166960K 1540 0 SYN cache 2 0K 16K 166960K 4 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 898 0 897 9 8 1 3 0 8 0 rtentry 176 567 0 488 6 1 5 6 0 8 0 unpcb 144 6029 0 6019 41 38 3 8 0 8 2 syncache 336 34 0 34 14 13 1 1 0 8 1 tcpqe 32 100 5 100 9 9 0 1 0 8 0 tcpcb 736 2728 0 2722 52 45 7 8 0 8 6 arp 136 87 0 71 1 0 1 1 0 8 0 inpcb 328 9977 0 9970 86 74 12 16 0 8 11 ip6q 72 3 0 3 3 3 0 1 0 8 0 ip6af 40 6 0 6 3 3 0 1 0 8 0 nd6 152 115 0 96 3 1 2 2 0 8 0 pkpcb 40 102 0 102 11 11 0 1 0 8 0 kcovpl 48 29 0 21 1 0 1 1 0 8 0 mppekey 1024 4 0 4 3 3 0 1 0 8 0 ppxss 1192 409 0 409 7 6 1 1 0 8 1 pppxif 1504 43 0 43 16 15 1 1 0 8 1 pfstscr 40 3 0 2 2 1 1 1 0 8 0 pffrag 232 59 0 49 1 0 1 1 0 482 0 pffrnode 88 54 0 44 1 0 1 1 0 8 0 pffrent 40 152 0 142 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 6 0 4 1 0 1 1 0 8 0 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pfstitem 24 4 0 0 1 0 1 1 0 8 0 pfstkey 128 6 0 2 2 1 1 1 0 8 0 pfstate 448 3 0 1 2 1 1 1 0 8 0 pfrule 1360 5 0 4 1 0 1 1 0 8 0 rttmr 136 13 0 13 8 8 0 1 0 8 0 art_heap8 4096 8 0 3 8 3 5 7 0 8 0 art_heap4 256 2626 0 2248 47 19 28 30 0 8 0 art_table 40 2634 0 2251 6 1 5 5 0 8 0 art_node 32 561 0 493 1 0 1 1 0 8 0 sysvmsgpl 40 24 0 18 1 0 1 1 0 8 0 semupl 112 5 0 5 4 4 0 1 0 8 0 semapl 112 553 0 543 1 0 1 1 0 8 0 shmpl 112 30 0 3 1 0 1 1 0 8 0 dirhash 1024 90 0 73 3 0 3 3 0 8 0 dino2pl 256 15749 0 14186 98 0 98 98 0 8 0 ffsino 296 15749 0 14186 121 0 121 121 0 8 0 nchpl 144 25708 0 23955 66 0 66 66 0 8 0 rtmask 32 93 0 93 12 12 0 1 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 100959 0 100957 15 14 1 3 0 8 0 percpumem 16 576 0 527 1 0 1 1 0 8 0 vcpupl 3968 22 0 2 3 0 3 3 0 8 0 vmpool 848 31 0 11 3 0 3 3 0 8 0 pfiaddrpl 120 1 0 0 1 0 1 1 0 8 0 kstatmem 264 708 0 682 8 5 3 3 0 8 0 acpiwqpl 32 4 0 4 1 0 1 1 1 8 1 scsiplug 72 38 0 38 14 13 1 1 0 8 1 scxspl 216 232227 0 232227 30 28 2 8 1 8 2 plimitpl 152 2745 0 2727 1 0 1 1 0 8 0 sigapl 424 7700 0 7655 10 4 6 8 0 8 0 knotepl 120 906 0 0 25 0 25 25 0 8 0 kqueuepl 224 3340 0 3331 26 25 1 5 0 8 0 pipepl 344 908 0 881 9 5 4 6 0 8 0 fdescpl 528 7621 0 7593 3 0 3 3 0 8 0 filepl 160 62386 0 62185 71 56 15 22 0 8 3 lockfpl 104 3434 0 3432 6 5 1 2 0 8 0 lockfspl 48 1117 0 1115 1 0 1 1 0 8 0 sessionpl 144 79 0 71 1 0 1 1 0 8 0 pgrppl 48 231 0 215 1 0 1 1 0 8 0 ucredpl 104 12705 0 12693 1 0 1 1 0 8 0 zombiepl 144 9211 0 9208 4 3 1 1 0 8 0 processpl 1232 7700 0 7655 7 2 5 6 0 8 0 procpl 664 20291 0 20239 10 4 6 8 0 8 0 sosppl 176 67 0 67 12 11 1 1 0 8 1 sockpl 752 17531 0 17513 193 178 15 32 0 8 12 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 6 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 136 0 0 15 0 15 15 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 51 0 0 5 0 5 5 0 8 0 mtagpl 96 9 0 0 1 0 1 1 0 8 0 mbufpl 256 3229 0 0 190 0 190 190 0 8 0 bufpl 280 97843 0 91707 439 0 439 439 0 8 0 anonpl 32 17602 0 0 141 0 141 141 0 246 0 amapchunkpl 152 243417 0 242808 113 81 32 45 0 158 3 amappl16 200 29934 0 29636 222 189 33 42 0 8 7 amappl15 192 10 0 9 1 0 1 1 0 8 0 amappl14 184 5 0 5 2 2 0 1 0 8 0 amappl13 176 682 0 681 1 0 1 1 0 8 0 amappl12 168 8215 0 8179 3 0 3 3 0 8 0 amappl11 160 15 0 15 4 4 0 1 0 8 0 amappl10 152 51 0 43 1 0 1 1 0 8 0 amappl9 144 258 0 257 2 1 1 1 0 8 0 amappl8 136 30 0 27 1 0 1 1 0 8 0 amappl7 128 167 0 165 1 0 1 1 0 8 0 amappl6 120 592 0 581 1 0 1 1 0 8 0 amappl5 112 111 0 102 1 0 1 1 0 8 0 amappl4 104 730 0 702 1 0 1 1 0 8 0 amappl3 96 43352 0 43261 3 0 3 3 0 8 0 amappl2 88 7952 0 7889 2 0 2 2 0 8 0 amappl1 80 48781 0 48274 18 4 14 16 0 8 0 amappl 88 66249 0 66078 5 0 5 5 0 92 0 uvmvnodes 80 268 0 0 6 0 6 6 0 8 0 dma65536 65536 2 0 2 1 1 0 1 0 8 0 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 1 0 0 1 0 1 1 0 8 0 dma512 512 2 0 2 2 2 0 1 0 8 0 dma256 256 12 0 12 4 4 0 1 0 8 0 dma128 128 262 0 262 9 8 1 1 0 8 1 dma64 64 12 0 12 4 4 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 23 0 22 1 0 1 1 0 8 0 aobjpl 72 64 0 15 1 0 1 1 0 8 0 uaddrrnd 24 7621 0 7593 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 7621 0 7593 1 0 1 1 0 8 0 vmmpekpl 168 56809 0 56736 5 1 4 4 0 8 0 vmmpepl 168 493549 0 491556 199 95 104 115 0 357 5 vmsppl 488 7620 0 7593 7 3 4 5 0 8 0 rwobjpl 80 129297 0 127881 59 23 36 40 0 8 0 pdppl 4096 15312 0 15228 221 133 88 88 0 8 4 pvpl 32 26363 0 0 210 0 210 210 0 265 0 pmappl 256 7651 0 7604 4 0 4 4 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 695 0 242 14 0 14 14 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83871ff0) 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(ffffffff8393cf80) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff8393cf80) at __mp_lock+0x192 sys/kern/kern_lock.c:173 __mp_acquire_count(ffffffff8393cf80,1) at __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1 sleep_finish(ffffffffffffffff,1) at sleep_finish+0x2d8 sys/kern/kern_synch.c:369 biowait(fffffd8063fcf468) at biowait+0xc6 sys/kern/vfs_bio.c:1242 bwrite(fffffd8063fcf468) at bwrite+0x2e7 sys/kern/vfs_bio.c:754 ffs_write(ffff80002a3744e0) at ffs_write+0x810 sys/ufs/ffs/ffs_vnops.c:377 VOP_WRITE(fffffd805c472cb0,ffff80002a374698,7,fffffd80097fd2d8) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 vn_write(fffffd806d7cbb68,ffff80002a374698,0) at vn_write+0x1d3 sys/kern/vfs_vnops.c:408 dofilewritev(ffff8000387f0d40,4,ffff80002a374698,0,ffff80002a374750) at dofilewritev+0x242 sys/kern/sys_generic.c:380 sys_write(ffff8000387f0d40,ffff80002a374800,ffff80002a374750) at sys_write+0xa2 sys/kern/sys_generic.c:300 syscall(ffff80002a374800) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a374800) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:775 end trace frame: 0xffff80002a374880, count: 0 ddb{0}> trace x86_ipi_db(ffffffff83871ff0) 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(ffffffff8393cf80) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff8393cf80) at __mp_lock+0x192 sys/kern/kern_lock.c:173 __mp_acquire_count(ffffffff8393cf80,1) at __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1 sleep_finish(ffffffffffffffff,1) at sleep_finish+0x2d8 sys/kern/kern_synch.c:369 biowait(fffffd8063fcf468) at biowait+0xc6 sys/kern/vfs_bio.c:1242 bwrite(fffffd8063fcf468) at bwrite+0x2e7 sys/kern/vfs_bio.c:754 ffs_write(ffff80002a3744e0) at ffs_write+0x810 sys/ufs/ffs/ffs_vnops.c:377 VOP_WRITE(fffffd805c472cb0,ffff80002a374698,7,fffffd80097fd2d8) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 vn_write(fffffd806d7cbb68,ffff80002a374698,0) at vn_write+0x1d3 sys/kern/vfs_vnops.c:408 dofilewritev(ffff8000387f0d40,4,ffff80002a374698,0,ffff80002a374750) at dofilewritev+0x242 sys/kern/sys_generic.c:380 sys_write(ffff8000387f0d40,ffff80002a374800,ffff80002a374750) at sys_write+0xa2 sys/kern/sys_generic.c:300 syscall(ffff80002a374800) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a374800) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6a521b041b0, count: -15 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: 0x74fb51200d10, count: 14 ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x74fb51200d10, count: -1