uvm_fault(0xfffffd80662cf210, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff82a55b08 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80003c411ff0 gsbase 0xffff8000299edff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff82a55b08 Starting stack trace... panic(ffffffff833c66d9) at panic+464 kerntrap(ffff80003c411f40) at kerntrap+779 alltraps_kern_meltdown() at alltraps_kern_meltdown+123 dt_ioctl_record_stop(ffff80000146e000) at dt_ioctl_record_stop+264 dtclose(21e5f,81,2000,ffff80003c492560) at dtclose+265 spec_close(ffff80003c4120f0) at spec_close+1126 VOP_CLOSE(fffffd805f566710,81,fffffd80097fb138,ffff80003c492560) at VOP_CLOSE+306 vn_closefile(fffffd806c1e3038,ffff80003c492560) at vn_closefile+299 fdrop(fffffd806c1e3038,ffff80003c492560) at fdrop+289 closef(fffffd806c1e3038,ffff80003c492560) at closef+402 fdfree(ffff80003c492560) at fdfree+278 exit1(ffff80003c492560,0,0,1) at exit1+1398 sys_exit(ffff80003c492560,ffff80003c412460,ffff80003c4123b0) at sys_exit+26 syscall(ffff80003c412460) at syscall+2839 Xsyscall() at Xsyscall+296 end of kernel end trace frame: 0x750a4491b360, count: 242 End of stack trace. WARNING: SPL NOT LOWERED ON TRAP EXIT 4 0 Stopped at proc_trampoline+199: movl $0,%gs:1672 TID PID UID PRFLAGS PFLAGS CPU COMMAND 42600 92892 0 0 0 0 syz-executor * 73945 69731 0 0x100002 0 1 sh proc_trampoline() at proc_trampoline+199 end of kernel end trace frame: 0x771db59c6b90, 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(0xfffffd80662cf210, 0x0, 0, 1) -> e ddb{1}> trace proc_trampoline() at proc_trampoline+199 end of kernel end trace frame: 0x771db59c6b90, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 18446603337232469616 rbx 0 rdx 0 rcx 18446603337076728512 rax 42 r8 18446603337232469408 r9 1 r10 1426994304179743155 r11 14796525498264037770 r12 0 r13 0 r14 0 r15 0 rip 18446744071596569799 proc_trampoline+199 cs 8 rflags 582 rsp 18446603337232469488 ss 0 proc_trampoline+199: movl $0,%gs:1672 ddb{1}> show proc PROC (sh) tid=73945 pid=69731 tcnt=1 stat=onproc flags process=100002 proc=0 runpri=86, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c492560,0xffff800032fe7a28 process=0xffff80003c4709c8 user=0xffff80003c467000, vmspace=0xfffffd800b027d58 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 92892 42600 50993 0 7 0 syz-executor 92892 417791 50993 0 3 0x4000080 fsleep syz-executor 79315 242487 76221 0 2 0 syz-executor 79315 521934 76221 0 3 0x4000080 fifor syz-executor 79315 27249 76221 0 2 0x4000000 syz-executor *69731 73945 69646 0 7 0x100002 sh 69646 178469 26965 0 3 0x82 wait syz-executor 1435 371654 10425 0 3 0x3000 suspend syz-executor 1435 206301 10425 0 3 0x4081000 biowait syz-executor 1435 276491 10425 0 3 0x4081000 inode syz-executor 99734 366728 19329 0 3 0x80 nanoslp syz-executor 99734 335324 19329 0 3 0x4000080 kqread syz-executor 99734 162952 19329 0 3 0x4000080 fsleep syz-executor 21341 271931 32459 0 3 0x82 sbwait sshd-session 91057 410790 49732 0 3 0x80 nanoslp syz-executor 91057 473335 49732 0 3 0x4000080 kqread syz-executor 91057 15167 49732 0 3 0x4000080 fsleep syz-executor 51609 105368 58759 0 3 0x80 nanoslp syz-executor 51609 24941 58759 0 3 0x4000080 netacc syz-executor 51609 303827 58759 0 3 0x4000080 fsleep syz-executor 85451 364073 0 0 3 0x14200 acct acct 35515 188167 0 0 3 0x14280 nfsidl nfsio 81851 473703 0 0 3 0x14280 nfsidl nfsio 74918 352976 0 0 3 0x14280 nfsidl nfsio 40680 479008 0 0 3 0x14280 nfsidl nfsio 70134 364479 0 0 3 0x14280 nfsidl nfsio 61568 155615 0 0 3 0x14280 nfsidl nfsio 55537 310437 0 0 3 0x14280 nfsidl nfsio 16304 434831 0 0 3 0x14280 nfsidl nfsio 10425 445311 26965 0 3 0x82 nanoslp syz-executor 49732 284768 26965 0 3 0x82 nanoslp syz-executor 58759 70081 26965 0 3 0x82 nanoslp syz-executor 76221 233128 26965 0 3 0x82 nanoslp syz-executor 50993 173914 26965 0 3 0x82 nanoslp syz-executor 33982 324323 26965 0 3 0x82 nanoslp syz-executor 19329 251546 26965 0 3 0x82 nanoslp syz-executor 26965 117204 95258 0 3 0x82 kqread syz-executor 95258 162656 63149 0 3 0x10008a sigsusp ksh 63149 444027 20422 0 3 0x98 kqread sshd-session 20422 475776 32459 0 3 0x92 kqread sshd-session 18092 236581 1 0 3 0x100083 ttyin getty 32459 348257 1 0 3 0x88 kqread sshd 40824 418105 38127 74 3 0x1100092 bpf pflogd 38127 408407 1 0 3 0x80 sbwait pflogd 19810 343429 88442 73 3 0x1100090 kqread syslogd 88442 407778 1 0 3 0x100082 sbwait syslogd 79909 107515 1 0 3 0x100080 kqread resolvd 50230 211210 74395 77 3 0x100092 kqread dhcpleased 42845 228379 74395 77 3 0x100092 kqread dhcpleased 74395 322151 1 0 3 0x80 kqread dhcpleased 68385 48391 0 0 3 0x14200 bored smr 5116 439277 0 0 2 0x14200 zerothread 53925 470629 0 0 3 0x14200 aiodoned aiodoned 1135 191516 0 0 3 0x14200 syncer update 87673 189155 0 0 3 0x14200 cleaner cleaner 13085 293326 0 0 3 0x14200 reaper reaper 52597 78333 0 0 3 0x14200 pgdaemon pagedaemon 74985 164360 0 0 3 0x14200 bored viomb 59660 435412 0 0 3 0x40014200 acpi0 acpi0 99458 119443 0 0 3 0x40014200 idle1 60145 382853 0 0 3 0x14200 bored softnet1 76084 181825 0 0 3 0x14200 netlock softnet0 51266 242306 0 0 2 0x40014200 systqmp 95178 293425 0 0 3 0x14200 bored systq 54635 33314 0 0 3 0x14200 tmoslp softclockmp 77861 365286 0 0 3 0x40014200 tmoslp softclock 67861 147158 0 0 3 0x40014200 idle0 1 433638 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 92892 (syz-executor) thread 0xffff80003c4922c8 (42600) exclusive rwlock amaplk r = 0 (0xfffffd806d1a7700) #0 witness_lock+1521 #1 rw_do_enter_write+1049 #2 uvm_fault_check+2235 #3 uvm_fault+262 #4 upageflttrap+169 #5 usertrap+1071 #6 recall_trap+8 shared rwlock vmmaplk r = 0 (0xfffffd80662cf8c8) #0 witness_lock+1521 #1 rw_do_enter_read+1000 #2 uvmfault_lookup+290 #3 uvm_fault_check+79 #4 uvm_fault+262 #5 upageflttrap+169 #6 usertrap+1071 #7 recall_trap+8 Process 1435 (syz-executor) thread 0xffff8000ffff22b0 (206301) exclusive rrwlock inode r = 0 (0xfffffd8061efba28) #0 witness_lock+1521 #1 rw_do_enter_write+1049 #2 rrw_enter+198 #3 VOP_LOCK+163 #4 vn_lock+164 #5 vn_write+399 #6 dofilewritev+578 #7 sys_write+162 #8 syscall+3028 #9 Xsyscall+296 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10233 11172K 11449K 166960K 12299 0 pcb 18 12K 12K 166960K 154 0 rtable 198 7K 8K 166960K 669 0 pf 38 18K 67485K 166960K 138 0 ifaddr 39 6K 8K 166960K 94 0 ifgroup 59 2K 2K 166960K 165 0 sysctl 3 1K 9K 166960K 10 0 counters 70 37K 37K 166960K 160 0 ioctlops 0 0K 5K 166960K 1823 0 iov 0 0K 24K 166960K 85 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1379 87K 87K 166960K 1953 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 7 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 49 0 dirhash 12 2K 2K 166960K 36 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 232K 166960K 914 0 sigio 0 0K 0K 166960K 19 0 proc 72 115K 180K 166960K 606 0 subproc 72 4K 4K 166960K 81 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 3 0K 0K 166960K 182 0 in_multi 80 6K 7K 166960K 139 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 97 440K 440K 166960K 97 0 exec 0 0K 1K 166960K 609 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 264 161K 166K 166960K 10193 0 UVM aobj 17 2K 2K 166960K 20 0 pinsyscall 45 90K 104K 166960K 2055 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 3 0K 1K 166960K 65 0 NDP 13 0K 2K 166960K 61 0 temp 79 8660K 8724K 166960K 38670 0 kqueue 14 22K 33K 166960K 180 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 144 0 141 2 1 1 2 0 8 0 rtentry 176 203 0 121 6 0 6 6 0 8 0 unpcb 144 696 0 674 4 2 2 4 0 8 0 syncache 336 8 0 8 2 1 1 1 0 8 1 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 736 335 0 327 7 0 7 7 0 8 6 arp 136 21 0 5 1 0 1 1 0 8 0 inpcb 328 1020 0 1003 11 4 7 7 0 8 5 nd6 152 26 0 9 1 0 1 1 0 8 0 pkpcb 40 6 0 6 3 2 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1192 28 0 28 1 0 1 1 0 8 1 pppxif 1504 9 0 9 2 1 1 1 0 8 1 pfstscr 40 2 0 2 1 0 1 1 0 8 1 pffrag 232 41 0 36 1 0 1 1 0 482 0 pffrnode 88 40 0 36 1 0 1 1 0 8 0 pffrent 40 165 0 160 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 pfstitem 24 71 0 19 1 0 1 1 0 8 0 pfstkey 128 72 0 20 2 0 2 2 0 8 0 pfstate 384 71 0 20 6 0 6 6 0 8 0 pfrule 1344 24 0 19 2 1 1 2 0 8 0 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 602 0 235 32 3 29 32 0 8 2 art_table 40 604 0 235 6 1 5 6 0 8 0 art_node 32 138 0 64 1 0 1 1 0 8 0 sysvmsgpl 40 20 0 10 2 1 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 45 0 35 1 0 1 1 0 8 0 shmpl 112 17 0 3 1 0 1 1 0 8 0 dirhash 1024 33 0 16 3 0 3 3 0 8 0 dino2pl 256 3092 0 1581 96 0 96 96 0 8 0 ffsino 296 3092 0 1581 118 0 118 118 0 8 0 nchpl 144 4325 0 2616 64 0 64 64 0 8 0 rtmask 32 2 0 2 1 1 0 1 0 8 0 vnodes 216 3468 0 0 193 0 193 193 0 8 0 namei 1024 15065 0 15065 1 0 1 1 0 8 1 percpumem 16 95 0 45 1 0 1 1 0 8 0 kstatmem 264 92 0 62 4 1 3 3 0 8 1 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 34609 0 34608 9 7 2 8 1 8 1 plimitpl 152 326 0 308 1 0 1 1 0 8 0 sigapl 424 1222 0 1164 8 1 7 7 0 8 0 knotepl 120 327 0 0 10 0 10 10 0 8 0 kqueuepl 224 323 0 311 4 0 4 4 0 8 3 pipepl 344 262 0 234 6 3 3 6 0 8 0 fdescpl 528 1195 0 1162 3 0 3 3 0 8 0 filepl 160 7388 0 7145 19 2 17 17 0 8 6 lockfpl 104 303 0 301 1 0 1 1 0 8 0 lockfspl 48 136 0 134 1 0 1 1 0 8 0 sessionpl 144 27 0 17 1 0 1 1 0 8 0 pgrppl 48 46 0 28 1 0 1 1 0 8 0 ucredpl 104 1052 0 1038 1 0 1 1 0 8 0 zombiepl 144 1166 0 1164 1 0 1 1 0 8 0 processpl 1232 1222 0 1164 6 1 5 5 0 8 0 procpl 664 2630 0 2561 7 0 7 7 0 8 1 sosppl 176 8 0 8 1 0 1 1 0 8 1 sockpl 752 1901 0 1858 17 6 11 14 0 8 6 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 137 0 0 18 0 18 18 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 80 0 0 8 0 8 8 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 269 0 0 17 0 17 17 0 8 0 bufpl 280 15425 0 9288 439 0 439 439 0 8 0 anonpl 32 15968 0 0 131 2 129 129 0 246 0 amapchunkpl 152 33812 0 33281 34 2 32 32 0 158 6 amappl16 200 5106 0 5049 40 22 18 38 0 8 8 amappl15 192 7 0 6 1 0 1 1 0 8 0 amappl14 184 16 0 16 1 1 0 1 0 8 0 amappl13 176 462 0 460 1 0 1 1 0 8 0 amappl12 168 1565 0 1520 3 0 3 3 0 8 0 amappl11 160 6 0 6 1 1 0 1 0 8 0 amappl10 152 45 0 31 1 0 1 1 0 8 0 amappl9 144 248 0 248 1 1 0 1 0 8 0 amappl8 136 130 0 127 1 0 1 1 0 8 0 amappl7 128 85 0 84 1 0 1 1 0 8 0 amappl6 120 284 0 268 1 0 1 1 0 8 0 amappl5 112 81 0 69 1 0 1 1 0 8 0 amappl4 104 436 0 405 1 0 1 1 0 8 0 amappl3 96 5821 0 5723 4 1 3 3 0 8 0 amappl2 88 1333 0 1247 2 0 2 2 0 8 0 amappl1 80 13259 0 12577 15 0 15 15 0 8 0 amappl 88 9306 0 9127 5 0 5 5 0 92 0 uvmvnodes 80 3468 0 0 71 0 71 71 0 8 0 dma65536 65536 1 0 1 1 1 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 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 254 0 254 2 1 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 19 0 3 1 0 1 1 0 8 0 uaddrrnd 24 1195 0 1162 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1195 0 1162 1 0 1 1 0 8 0 vmmpekpl 168 11820 0 11776 3 0 3 3 0 8 0 vmmpepl 168 84203 0 82079 119 9 110 118 0 357 14 vmsppl 488 1194 0 1162 6 1 5 5 0 8 0 rwobjpl 80 29132 0 24571 95 1 94 94 0 8 0 pdppl 4096 2397 0 2324 105 30 75 85 0 8 2 pvpl 32 22946 0 0 187 1 186 186 0 265 0 pmappl 256 1194 0 1162 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 302 0 38 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+39: addq $8,%rsp x86_ipi_db(ffffffff83827ff0) at x86_ipi_db+39 x86_ipi_handler() at x86_ipi_handler+217 Xresume_lapic_ipi() at Xresume_lapic_ipi+39 __mp_lock(ffffffff838dea50) at __mp_lock+402 softintr_dispatch(2) at softintr_dispatch+293 dosoftint(2) at dosoftint+84 Xsofttty() at Xsofttty+39 __mp_lock(ffffffff838dea50) at __mp_lock+402 intr_handler(ffff80003c48d780,ffff80000007aa80) at intr_handler+233 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+399 uvm_pagelookup(fffffd806d414390,23000) at uvm_pagelookup+142 uvn_get(fffffd806d414390,21000,ffff80003c48db90,ffff80003c48d9f4,3,1,818c91fe5d64fcd1,ffff80003c48dc48) at uvn_get+1158 uvm_fault_lower_lookup(ffff80003c48dc10,ffff80003c48dc48,ffff80003c48db90) at uvm_fault_lower_lookup+269 uvm_fault_lower(ffff80003c48dc10,ffff80003c48dc48,ffff80003c48db90) at uvm_fault_lower+137 end trace frame: 0xffff80003c48dce0, count: 0 ddb{0}> trace x86_ipi_db(ffffffff83827ff0) at x86_ipi_db+39 x86_ipi_handler() at x86_ipi_handler+217 Xresume_lapic_ipi() at Xresume_lapic_ipi+39 __mp_lock(ffffffff838dea50) at __mp_lock+402 softintr_dispatch(2) at softintr_dispatch+293 dosoftint(2) at dosoftint+84 Xsofttty() at Xsofttty+39 __mp_lock(ffffffff838dea50) at __mp_lock+402 intr_handler(ffff80003c48d780,ffff80000007aa80) at intr_handler+233 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+399 uvm_pagelookup(fffffd806d414390,23000) at uvm_pagelookup+142 uvn_get(fffffd806d414390,21000,ffff80003c48db90,ffff80003c48d9f4,3,1,818c91fe5d64fcd1,ffff80003c48dc48) at uvn_get+1158 uvm_fault_lower_lookup(ffff80003c48dc10,ffff80003c48dc48,ffff80003c48db90) at uvm_fault_lower_lookup+269 uvm_fault_lower(ffff80003c48dc10,ffff80003c48dc48,ffff80003c48db90) at uvm_fault_lower+137 uvm_fault(fffffd80662cf7c8,110c254000,0,1) at uvm_fault+628 upageflttrap(ffff80003c48ddb0,110c254b2d) at upageflttrap+169 usertrap(ffff80003c48ddb0) at usertrap+1071 recall_trap() at recall_trap+8 end of kernel end trace frame: 0x74ff39a7e720, count: -18 ddb{0}> machine ddbcpu 1 Stopped at proc_trampoline+199: movl $0,%gs:1672 proc_trampoline() at proc_trampoline+199 end of kernel end trace frame: 0x771db59c6b90, count: 14 ddb{1}> trace proc_trampoline() at proc_trampoline+199 end of kernel end trace frame: 0x771db59c6b90, count: -1