uvm_fault(0xfffffd807ea4d3f0, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff82efe448 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff800034bd7bf0 gsbase 0xffff8000299ddff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff82efe448 Starting stack trace... panic(ffffffff833e610a) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff800034bd7b40) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff8000016a0000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80003c446fe0) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c446fe0) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff800034bd7cf0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd807b7753b0,81,fffffd80097fd3a8,ffff80003c446fe0) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd800cf0b0e0,ffff80003c446fe0) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd800cf0b0e0,ffff80003c446fe0) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd800cf0b0e0,ffff80003c446fe0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd800cf0b0e0,ffff80003c446fe0) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c446fe0) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80003c446fe0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c446fe0,ffff800034bd8060,ffff800034bd7fb0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800034bd8060) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800034bd8060) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75436442dd10, count: 242 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 11 73355 EXIT 0 4 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND 14954 46339 0 0 0 0 syz-executor *160273 3326 0 0x2 0 1 syz-executor savectx() at savectx+0xae end of kernel end trace frame: 0x7cf3cd927a90, 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(0xfffffd807ea4d3f0, 0x0, 0, 1) -> e ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7cf3cd927a90, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a330930 rbx 0 rdx 0 rcx 0xffff80003c446050 rax 0x36 r8 0xffff80002a330860 r9 0x1 r10 0xc30fab6215859097 r11 0xae2ceaf577226098 r12 0 r13 0 r14 0xffff80003c446050 r15 0 rip 0xffffffff81db53ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80002a3308b0 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=160273 pid=3326 tcnt=1 stat=onproc flags process=2 proc=0 runpri=86, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c446fe0,0xffff80003c447ce8 process=0xffff800031bc8038 user=0xffff80002a32b000, vmspace=0xfffffd807ea4d5d8 estcpu=36, cpticks=5, pctcpu=0.0, user=0, sys=5, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 46339 14954 61823 0 7 0 syz-executor 34242 23901 61899 0 2 0 syz-executor 34242 188983 61899 0 3 0x4000080 fsleep syz-executor 97071 386032 35695 0 2 0 syz-executor 97071 168565 35695 0 3 0x4000080 lockf syz-executor 97071 403580 35695 0 3 0x4000080 fsleep syz-executor * 3326 160273 23189 0 7 0x2 syz-executor 76570 137428 40098 0 2 0 syz-executor 76570 278843 40098 0 3 0x4000000 biowait syz-executor 76570 442174 40098 0 3 0x4000000 inode syz-executor 76570 157023 40098 0 3 0x4000080 fsleep syz-executor 76570 33690 40098 0 3 0x4000000 inode syz-executor 97261 248001 48172 0 3 0x80 nanoslp syz-executor 97261 113627 48172 0 3 0x4000080 nanoslp syz-executor 97261 125173 48172 0 3 0x4000080 fsleep syz-executor 61823 70805 23189 0 3 0x82 nanoslp syz-executor 96368 68042 1 0 3 0x100083 ttyin getty 74799 220332 0 0 3 0x14200 acct acct 33296 127940 23189 0 3 0x82 nanoslp syz-executor 48172 457729 23189 0 3 0x82 nanoslp syz-executor 23570 199895 23189 0 3 0x2 biowait syz-executor 40098 68104 23189 0 3 0x82 nanoslp syz-executor 61899 219662 23189 0 3 0x82 nanoslp syz-executor 35695 280929 23189 0 3 0x82 nanoslp syz-executor 15394 508563 45724 0 3 0x100082 sbwait arp 45724 114820 1 0 3 0x10008a sigsusp sh 23189 372039 20031 0 3 0x82 kqread syz-executor 20031 203653 81651 0 3 0x10008a sigsusp ksh 81651 387972 20911 0 3 0x98 kqread sshd-session 20911 499463 61713 0 3 0x92 kqread sshd-session 61713 87175 1 0 3 0x88 kqread sshd 84976 281580 69583 74 3 0x1100092 bpf pflogd 69583 102190 1 0 3 0x80 sbwait pflogd 24969 244596 78196 73 3 0x1100090 kqread syslogd 78196 271764 1 0 3 0x100082 sbwait syslogd 20536 296372 1 0 3 0x100080 kqread resolvd 3825 56378 0 0 3 0x14200 bored smr 53421 493147 0 0 2 0x14200 zerothread 46802 505448 0 0 3 0x14200 aiodoned aiodoned 60496 453261 0 0 3 0x14200 syncer update 29668 455703 0 0 3 0x14200 cleaner cleaner 82969 225388 0 0 3 0x14200 reaper reaper 70334 321399 0 0 3 0x14200 pgdaemon pagedaemon 68955 142392 0 0 3 0x14200 bored viomb 99427 457303 0 0 3 0x40014200 acpi0 acpi0 89200 452906 0 0 3 0x40014200 idle1 47292 157249 0 0 3 0x14200 bored softnet1 95086 48552 0 0 3 0x14200 netlock softnet0 44350 523967 0 0 2 0x40014200 systqmp 91868 244923 0 0 3 0x14200 bored systq 71416 496364 0 0 3 0x14200 tmoslp softclockmp 19421 217814 0 0 3 0x40014200 tmoslp softclock 21495 413985 0 0 3 0x40014200 idle0 1 369693 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 46339 (syz-executor) thread 0xffff8000fffe87f0 (14954) Process 76570 (syz-executor) thread 0xffff8000fffe8d20 (278843) Process 76570 (syz-executor) thread 0xffff80003c446ab0 (442174) Process 23570 (syz-executor) thread 0xffff80002a2622a8 (199895) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11110 12309K 13989K 166960K 17441 0 pcb 18 16K 32K 166960K 2041 0 rtable 240 16K 16K 166960K 1804 0 pf 41 18K 82K 166960K 762 0 ifaddr 42 10K 11K 166960K 489 0 ifgroup 66 2K 3K 166960K 930 0 sysctl 4 1K 9K 166960K 81 0 counters 74 37K 38K 166960K 1030 0 ioctlops 0 0K 4K 166960K 3284 0 iov 0 0K 24K 166960K 449 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1517 95K 96K 166960K 6116 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 7K 166960K 12 0 VM map 2 1K 1K 166960K 2 0 sem 15 1K 1K 166960K 436 0 dirhash 12 2K 3K 166960K 132 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 248K 166960K 6747 0 sigio 1 0K 0K 166960K 155 0 proc 67 83K 164K 166960K 1690 0 subproc 81 5K 5K 166960K 236 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 2 0K 0K 166960K 826 0 in_multi 65 5K 7K 166960K 649 0 ether_multi 1 0K 0K 166960K 108 0 mrt 2 0K 0K 166960K 78 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 103 466K 466K 166960K 103 0 exec 0 0K 1K 166960K 1879 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 7 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 234 147K 189K 166960K 62172 0 UVM aobj 159 45K 47K 166960K 182 0 pinsyscall 38 76K 104K 166960K 8351 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 828 0 NDP 16 0K 1K 166960K 376 0 temp 93 8688K 8816K 166960K 363965 0 kqueue 8 14K 32K 166960K 1415 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 811 0 809 10 8 2 3 0 8 1 rtentry 176 563 0 483 6 2 4 5 0 8 0 unpcb 144 5418 0 5406 40 34 6 6 0 8 5 syncache 336 26 0 26 14 14 0 1 0 8 0 tcpqe 32 16 0 16 7 6 1 1 0 8 1 tcpcb 736 2354 0 2350 54 50 4 7 0 8 3 arp 136 74 0 59 1 0 1 1 0 8 0 inpcb 328 8396 0 8390 89 82 7 13 0 8 6 nd6 152 87 0 71 1 0 1 1 0 8 0 pkpcb 40 45 0 44 18 17 1 1 0 8 0 kcovpl 48 26 0 17 1 0 1 1 0 8 0 mppekey 1024 6 0 6 6 5 1 1 0 8 1 ppxss 1192 376 0 376 8 7 1 1 0 8 1 pppxif 1504 48 0 48 15 14 1 1 0 8 1 pffrag 232 56 0 49 1 0 1 1 0 482 0 pffrnode 88 49 0 42 1 0 1 1 0 8 0 pffrent 40 162 0 155 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 1 0 1 1 1 0 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfrule 1360 2 0 1 1 0 1 1 0 8 0 rttmr 136 12 0 12 10 10 0 1 0 8 0 art_heap8 4096 41 0 35 41 35 6 38 0 8 0 art_heap4 256 2496 0 2111 56 31 25 30 0 8 0 art_table 40 2537 0 2146 7 2 5 6 0 8 0 art_node 32 557 0 485 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 2 1 0 1 1 0 8 0 semupl 112 6 0 6 5 5 0 1 0 8 0 semapl 112 325 0 312 1 0 1 1 0 8 0 shmpl 112 153 0 14 4 0 4 4 0 8 0 dirhash 1024 97 0 80 3 0 3 3 0 8 0 dino2pl 256 14284 0 12735 97 0 97 97 0 8 0 ffsino 296 14284 0 12735 120 0 120 120 0 8 0 nchpl 144 23387 0 21644 65 0 65 65 0 8 0 rtmask 32 84 0 84 16 15 1 1 0 8 1 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 85885 0 85883 11 10 1 2 0 8 0 percpumem 16 530 0 478 1 0 1 1 0 8 0 vcpupl 3968 17 0 0 3 0 3 3 0 8 0 vmpool 848 24 0 7 2 0 2 2 0 8 0 kstatmem 264 634 0 598 5 2 3 3 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 38 0 38 18 17 1 1 0 8 1 scxspl 216 164116 0 164114 38 36 2 8 1 8 1 plimitpl 152 1828 0 1808 2 1 1 2 0 8 0 sigapl 424 7015 0 6969 8 0 8 8 0 8 0 knotepl 120 1099 0 0 32 0 32 32 0 8 0 kqueuepl 224 2984 0 2975 29 26 3 5 0 8 2 pipepl 344 927 0 895 10 6 4 6 0 8 0 fdescpl 528 6955 0 6926 3 0 3 3 0 8 0 filepl 160 51539 0 51313 65 47 18 21 0 8 6 lockfpl 104 2749 0 2745 6 5 1 2 0 8 0 lockfspl 48 904 0 901 1 0 1 1 0 8 0 sessionpl 144 64 0 56 1 0 1 1 0 8 0 pgrppl 48 212 0 195 1 0 1 1 0 8 0 ucredpl 104 9980 0 9968 1 0 1 1 0 8 0 zombiepl 144 8336 0 8335 3 2 1 1 0 8 0 processpl 1232 7015 0 6969 8 2 6 6 0 8 0 procpl 664 18365 0 18310 12 5 7 8 0 8 0 sosppl 176 50 0 50 13 12 1 1 0 8 1 sockpl 752 15185 0 15163 159 149 10 22 0 8 7 mcl64k 65536 8 0 0 1 0 1 1 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 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 129 0 0 16 0 16 16 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 119 0 0 8 0 8 8 0 8 0 mtagpl 96 5 0 0 1 0 1 1 0 8 0 mbufpl 256 1894 0 0 113 0 113 113 0 8 0 bufpl 280 66286 0 60150 439 0 439 439 0 8 0 anonpl 32 15736 0 0 128 1 127 127 0 246 0 amapchunkpl 152 225195 0 224642 121 92 29 44 0 158 1 amappl16 200 22051 0 21984 158 146 12 36 0 8 1 amappl15 192 7 0 6 1 0 1 1 0 8 0 amappl14 184 3 0 3 2 2 0 1 0 8 0 amappl13 176 626 0 624 1 0 1 1 0 8 0 amappl12 168 7484 0 7446 3 0 3 3 0 8 0 amappl11 160 3 0 3 2 2 0 1 0 8 0 amappl10 152 57 0 49 1 0 1 1 0 8 0 amappl9 144 250 0 248 1 0 1 1 0 8 0 amappl8 136 28 0 25 1 0 1 1 0 8 0 amappl7 128 155 0 153 1 0 1 1 0 8 0 amappl6 120 528 0 515 1 0 1 1 0 8 0 amappl5 112 98 0 90 1 0 1 1 0 8 0 amappl4 104 639 0 610 1 0 1 1 0 8 0 amappl3 96 39358 0 39269 6 3 3 4 0 8 0 amappl2 88 7193 0 7131 2 0 2 2 0 8 0 amappl1 80 42184 0 41663 17 3 14 15 0 8 0 amappl 88 59971 0 59803 5 0 5 5 0 92 0 uvmvnodes 80 260 0 0 6 0 6 6 0 8 0 dma32768 32768 2 0 2 2 2 0 1 0 8 0 dma16384 16384 1 0 1 1 1 0 1 0 8 0 dma8192 8192 2 0 2 2 2 0 1 0 8 0 dma4096 4096 2 0 2 2 2 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma512 512 3 0 3 2 2 0 1 0 8 0 dma256 256 9 0 9 4 4 0 1 0 8 0 dma128 128 262 0 262 7 7 0 1 0 8 0 dma64 64 11 0 11 6 6 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 20 0 19 1 0 1 1 0 8 0 aobjpl 72 181 0 23 3 0 3 3 0 8 0 uaddrrnd 24 6956 0 6927 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 6956 0 6927 1 0 1 1 0 8 0 vmmpekpl 168 50236 0 50158 4 0 4 4 0 8 0 vmmpepl 168 440181 0 438418 184 93 91 116 0 357 1 vmsppl 488 6955 0 6927 5 0 5 5 0 8 0 rwobjpl 80 110126 0 108822 44 8 36 37 0 8 0 pdppl 4096 13967 0 13885 214 126 88 96 0 8 6 pvpl 32 25095 0 0 204 1 203 203 0 265 0 pmappl 256 6979 0 6934 4 0 4 4 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 655 0 284 12 0 12 12 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff8384aff0) 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(ffffffff83948400) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83948400) at __mp_lock+0x192 sys/kern/kern_lock.c:173 softintr_dispatch(2) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(2) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:862 Xsofttty() at Xsofttty+0x27 __mp_lock(ffffffff83948400) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83948400) at __mp_lock+0x192 sys/kern/kern_lock.c:173 intr_handler(ffff80002a292780,ffff8000002a3480) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc syscall(ffff80002a292960) at syscall+0xaf4 mi_syscall sys/sys/syscall_mi.h:175 [inline] syscall(ffff80002a292960) at syscall+0xaf4 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7bb7bf1efb20, count: 2 ddb{0}> trace x86_ipi_db(ffffffff8384aff0) 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(ffffffff83948400) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83948400) at __mp_lock+0x192 sys/kern/kern_lock.c:173 softintr_dispatch(2) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(2) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:862 Xsofttty() at Xsofttty+0x27 __mp_lock(ffffffff83948400) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83948400) at __mp_lock+0x192 sys/kern/kern_lock.c:173 intr_handler(ffff80002a292780,ffff8000002a3480) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc syscall(ffff80002a292960) at syscall+0xaf4 mi_syscall sys/sys/syscall_mi.h:175 [inline] syscall(ffff80002a292960) at syscall+0xaf4 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7bb7bf1efb20, count: -13 ddb{0}> machine ddbcpu 1 Stopped at savectx+0xae: movl $0,%gs:0x688 savectx() at savectx+0xae end of kernel end trace frame: 0x7cf3cd927a90, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7cf3cd927a90, count: -1