uvm_fault(0xfffffd8009eda960, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff821223e0 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80002a801c90 gsbase 0xffff8000299ddff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff821223e0 Starting stack trace... panic(ffffffff83330422) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80002a801be0) at kerntrap+0x29b sys/arch/amd64/amd64/trap.c:327 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff8000014a0000) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:579 dtclose(21e5f,81,2000,ffff8000367f22b8) at dtclose+0x105 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff8000367f22b8) at dtclose+0x105 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002a801d90) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd807669f1d0,81,fffffd807f7d25b0,ffff8000367f22b8) at VOP_CLOSE+0x133 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8073ffa358,ffff8000367f22b8) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8073ffa358,ffff8000367f22b8) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd8073ffa358,ffff8000367f22b8) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd8073ffa358,ffff8000367f22b8) at closef+0x192 sys/kern/kern_descrip.c:1251 fdfree(ffff8000367f22b8) at fdfree+0x116 sys/kern/kern_descrip.c:1182 exit1(ffff8000367f22b8,0,0,1) at exit1+0x58f sys/kern/kern_exit.c:214 sys_exit(ffff8000367f22b8,ffff80002a802100,ffff80002a802050) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a802100) at syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a802100) at syscall+0xb08 sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x703a5c449d10, 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 *182600 96642 0 0 0x4000000 1 syz-executor 212821 28023 0 0 0 0 syz-executor proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0xb3493d0a670, 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(0xfffffd8009eda960, 0x0, 0, 1) -> e ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0xb3493d0a670, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a3e06b0 rbx 0 rdx 0 rcx 0xffff8000fffe2a70 rax 0x2a r8 0xffff80002a3e05e0 r9 0x1 r10 0x68451b1c0e13b1ca r11 0x8fae5be219558280 r12 0 r13 0 r14 0 r15 0 rip 0xffffffff831774c7 proc_trampoline+0xc7 cs 0x8 rflags 0x246 rsp 0xffff80002a3e0630 ss 0x10 proc_trampoline+0xc7: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=182600 pid=96642 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=50, usrpri=50, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000fffe3c60,0xffff8000ffff0550 process=0xffff8000fffee120 user=0xffff80002a3db000, vmspace=0xfffffd806bca03e0 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 96642 161969 46952 0 2 0 syz-executor *96642 182600 46952 0 7 0x4000000 syz-executor 96642 53825 46952 0 2 0x4000000 syz-executor 28023 212821 27758 0 7 0 syz-executor 28023 505392 27758 0 2 0x4000000 syz-executor 25578 218706 69708 0 2 0 syz-executor 25578 228193 69708 0 2 0x4000000 syz-executor 6985 194312 35792 0 2 0 syz-executor 6985 72933 35792 0 3 0x4000080 fsleep syz-executor 6985 315841 35792 0 3 0x4000080 fsleep syz-executor 6985 254903 35792 0 2 0x4000000 syz-executor 17749 9801 65496 0 2 0 syz-executor 17749 209604 65496 0 3 0x4000080 fsleep syz-executor 17749 513960 65496 0 3 0x4000080 fsleep syz-executor 28231 68356 48529 0 3 0x90 nanoslp syz-executor 28231 173245 48529 0 3 0x4000090 netcon syz-executor 28231 121655 48529 0 3 0x4000090 fsleep syz-executor 33631 181977 0 0 3 0x14200 acct acct 61024 277128 61970 0 3 0x82 nanoslp syz-executor 46952 489709 61970 0 3 0x82 nanoslp syz-executor 35792 467311 61970 0 3 0x82 nanoslp syz-executor 48529 452005 61970 0 3 0x82 nanoslp syz-executor 65496 169174 61970 0 3 0x82 nanoslp syz-executor 27758 216425 61970 0 3 0x82 nanoslp syz-executor 94592 32891 61970 0 2 0x2 syz-executor 69708 96905 61970 0 3 0x82 nanoslp syz-executor 43569 114994 1 0 3 0x100083 ttyin getty 19726 127686 0 0 3 0x14200 bored sosplice 35318 481944 11405 0 3 0x100082 sbwait arp 11405 415503 1 0 3 0x10008a sigsusp sh 61970 438018 32435 0 3 0x82 kqread syz-executor 32435 26839 40399 0 3 0x10008a sigsusp ksh 40399 182346 84417 0 3 0x98 kqread sshd-session 84417 194590 95368 0 3 0x92 kqread sshd-session 95368 201369 1 0 3 0x88 kqread sshd 97467 254496 96273 74 3 0x1100092 bpf pflogd 96273 282297 1 0 3 0x80 sbwait pflogd 99237 333613 32625 73 3 0x1100090 kqread syslogd 32625 504986 1 0 3 0x100082 sbwait syslogd 89740 263777 1 0 3 0x100080 kqread resolvd 80025 351331 18090 77 3 0x100092 kqread dhcpleased 32164 296526 18090 77 3 0x100092 kqread dhcpleased 18090 28125 1 0 3 0x80 kqread dhcpleased 22561 217153 0 0 3 0x14200 bored smr 69651 146145 0 0 2 0x14200 zerothread 94614 110650 0 0 3 0x14200 aiodoned aiodoned 50215 170930 0 0 3 0x14200 syncer update 83403 405030 0 0 3 0x14200 cleaner cleaner 15395 242738 0 0 3 0x14200 reaper reaper 50260 395078 0 0 3 0x14200 pgdaemon pagedaemon 36147 469142 0 0 3 0x14200 bored viomb 6123 284066 0 0 3 0x40014200 acpi0 acpi0 221 69695 0 0 3 0x40014200 idle1 95582 131235 0 0 3 0x14200 bored softnet3 91777 506431 0 0 3 0x14200 bored softnet2 92603 198257 0 0 3 0x14200 bored softnet1 94143 227357 0 0 3 0x14200 netlock softnet0 49630 121399 0 0 2 0x40014200 systqmp 63742 289708 0 0 3 0x14200 bored systq 93949 455627 0 0 3 0x14200 tmoslp softclockmp 91840 232850 0 0 3 0x40014200 tmoslp softclock 39098 256673 0 0 3 0x40014200 idle0 1 517834 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 96642 (syz-executor) thread 0xffff8000fffe2a70 (182600) Process 28023 (syz-executor) thread 0xffff8000fffe22c0 (505392) Process 6985 (syz-executor) thread 0xffff8000fffe3220 (254903) Process 94592 (syz-executor) thread 0xffff8000367f34a8 (32891) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10248 11091K 12448K 166960K 17852 0 pcb 20 20K 33K 166960K 1735 0 rtable 204 15K 17K 166960K 2193 0 pf 39 18K 82K 166960K 580 0 ifaddr 39 8K 10K 166960K 415 0 ifgroup 56 2K 3K 166960K 723 0 sysctl 4 1K 9K 166960K 71 0 counters 68 36K 38K 166960K 790 0 ioctlops 0 0K 4K 166960K 2732 0 iov 0 0K 32K 166960K 656 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1459 92K 92K 166960K 6958 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 93 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 415 0 dirhash 15 2K 3K 166960K 159 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 22 102K 248K 166960K 9150 0 sigio 0 0K 0K 166960K 169 0 proc 73 91K 128K 166960K 2273 0 subproc 81 5K 5K 166960K 354 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 1804 0 in_multi 54 4K 7K 166960K 754 0 ether_multi 1 0K 0K 166960K 108 0 mrt 1 0K 0K 166960K 57 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 241 1076K 1076K 166960K 241 0 exec 0 0K 1K 166960K 2300 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 12 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 276 187K 215K 166960K 80665 0 UVM aobj 131 8K 9K 166960K 139 0 pinsyscall 46 92K 110K 166960K 11211 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 545 0 NDP 12 0K 1K 166960K 324 0 temp 95 8684K 8940K 166960K 366487 0 kqueue 14 22K 32K 166960K 1688 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 1124 0 1120 15 12 3 3 0 8 2 rtentry 176 658 0 586 5 0 5 5 0 8 0 unpcb 144 6215 0 6196 53 52 1 9 0 8 0 syncache 336 53 0 53 11 11 0 1 0 8 0 tcpqe 32 27 0 27 12 12 0 1 0 8 0 tcpcb 808 2892 0 2881 62 60 2 15 0 8 0 arp 128 105 0 87 1 0 1 1 0 8 0 inpcb 384 9331 0 9313 84 75 9 16 0 8 6 nd6 144 139 0 128 1 0 1 1 0 8 0 pkpcb 40 91 0 91 14 13 1 1 0 8 1 kcovpl 48 39 0 30 1 0 1 1 0 8 0 mppekey 1024 8 0 8 6 6 0 1 0 8 0 ppxss 1192 275 0 274 4 3 1 1 0 8 0 pppxif 1504 20 0 19 8 7 1 1 0 8 0 pffrag 232 92 0 80 1 0 1 1 0 482 0 pffrnode 88 66 0 56 1 0 1 1 0 8 0 pffrent 40 323 0 311 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 2 0 1 1 0 1 1 0 8 0 pfanchor 1288 3 0 0 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 681 0 492 2 0 2 2 0 8 0 pfstkey 128 683 0 494 8 1 7 7 0 8 0 pfstate 384 682 0 493 31 11 20 22 0 8 0 pfrule 1344 35 0 23 3 2 1 2 0 8 0 rttmr 136 16 0 16 7 7 0 1 0 8 0 art_heap8 4096 6 0 3 4 1 3 4 0 8 0 art_heap4 256 3052 0 2775 51 24 27 29 0 8 1 art_table 32 3058 0 2778 4 0 4 4 0 8 0 art_node 16 614 0 555 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 7 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 410 0 400 1 0 1 1 0 8 0 shmpl 112 136 0 8 4 0 4 4 0 8 0 dirhash 1024 115 0 96 3 0 3 3 0 8 0 dino2pl 256 18059 0 16470 100 0 100 100 0 8 0 ffsino 288 18059 0 16470 114 0 114 114 0 8 0 nchpl 144 30383 0 29710 64 37 27 64 0 8 0 rtmask 32 53 0 53 16 16 0 1 0 8 0 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 108105 0 108105 12 11 1 2 0 8 1 percpumem 16 410 0 361 1 0 1 1 0 8 0 kstatmem 264 478 0 450 6 3 3 3 0 8 0 acpiwqpl 32 2 0 2 1 0 1 1 1 8 1 scsiplug 72 36 0 36 16 15 1 1 0 8 1 scxspl 216 89070 0 89070 32 31 1 8 1 8 1 plimitpl 152 1470 0 1451 1 0 1 1 0 8 0 sigapl 424 9441 0 9387 9 2 7 9 0 8 0 knotepl 120 828 0 0 22 0 22 22 0 8 0 kqueuepl 224 3317 0 3307 33 31 2 5 0 8 1 pipepl 336 1536 0 1506 27 19 8 8 0 8 5 fdescpl 520 9380 0 9346 3 0 3 3 0 8 0 filepl 160 63006 0 62765 85 69 16 23 0 8 2 lockfpl 104 2873 0 2871 3 2 1 2 0 8 0 lockfspl 48 1028 0 1026 1 0 1 1 0 8 0 sessionpl 144 104 0 95 1 0 1 1 0 8 0 pgrppl 48 381 0 363 1 0 1 1 0 8 0 ucredpl 104 10767 0 10750 2 1 1 2 0 8 0 zombiepl 144 12277 0 12276 1 0 1 1 0 8 0 processpl 1208 9441 0 9387 7 1 6 7 0 8 0 procpl 656 23805 0 23740 10 3 7 9 0 8 0 srpgc 96 44 0 44 15 14 1 1 0 8 1 sosppl 168 75 0 75 15 14 1 1 0 8 1 sockpl 728 17107 0 17067 154 144 10 28 0 8 4 mcl64k 65536 18 0 0 3 0 3 3 0 8 0 mcl16k 16384 27 0 0 4 1 3 3 0 8 0 mcl12k 12288 8 0 0 1 0 1 1 0 8 0 mcl9k 9216 6 0 0 1 0 1 1 0 8 0 mcl8k 8192 33 0 0 4 1 3 4 0 8 0 mcl4k 4096 128 0 0 14 0 14 14 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 87 0 0 6 0 6 6 0 8 0 mtagpl 96 50 0 0 2 0 2 2 0 8 0 mbufpl 256 2903 0 0 166 0 166 166 0 8 0 bufpl 280 24211 0 18069 440 0 440 440 0 8 0 anonpl 32 17917 0 0 143 0 143 143 0 246 0 amapchunkpl 152 294931 0 294170 128 90 38 45 0 158 2 amappl16 200 16706 0 16403 105 79 26 29 0 8 0 amappl15 192 7 0 7 2 2 0 1 0 8 0 amappl14 184 273 0 259 1 0 1 1 0 8 0 amappl13 176 7 0 7 2 2 0 1 0 8 0 amappl12 168 10546 0 10512 4 2 2 3 0 8 0 amappl11 160 58 0 43 1 0 1 1 0 8 0 amappl10 152 25 0 23 1 0 1 1 0 8 0 amappl9 144 248 0 247 2 1 1 1 0 8 0 amappl8 136 44 0 41 1 0 1 1 0 8 0 amappl7 128 238 0 224 1 0 1 1 0 8 0 amappl6 120 514 0 509 1 0 1 1 0 8 0 amappl5 112 243 0 233 1 0 1 1 0 8 0 amappl4 104 619 0 595 1 0 1 1 0 8 0 amappl3 96 60664 0 60546 4 0 4 4 0 8 0 amappl2 88 1488 0 1421 2 0 2 2 0 8 0 amappl1 80 57521 0 56883 20 2 18 20 0 8 0 amappl 88 77564 0 77371 6 0 6 6 0 92 0 dma65536 65536 1 0 1 1 1 0 1 0 8 0 dma8192 8192 3 0 3 3 3 0 1 0 8 0 dma4096 4096 2 0 2 2 2 0 1 0 8 0 dma2048 2048 2 0 2 2 2 0 1 0 8 0 dma1024 1024 3 0 2 1 0 1 1 0 8 0 dma512 512 1 0 1 1 1 0 1 0 8 0 dma256 256 7 0 7 2 2 0 1 0 8 0 dma128 128 264 0 264 10 10 0 1 0 8 0 dma64 64 15 0 15 8 7 1 1 0 8 1 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 138 0 8 3 0 3 3 0 8 0 uaddrrnd 24 9380 0 9346 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 9380 0 9346 1 0 1 1 0 8 0 vmmpekpl 168 65345 0 65276 4 0 4 4 0 8 0 vmmpepl 168 585671 0 583188 182 62 120 129 0 357 0 vmsppl 480 9379 0 9346 5 0 5 5 0 8 0 rwobjpl 72 138684 0 131336 151 10 141 142 0 8 0 pdppl 4096 18768 0 18692 240 164 76 86 0 8 0 pvpl 32 27494 0 0 219 0 219 219 0 265 0 pmappl 256 9379 0 9346 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 842 0 309 16 0 16 16 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff837d7ff0) 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(ffffffff838d45a8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff838d45a8) at __mp_lock+0x192 sys/kern/kern_lock.c:144 softintr_dispatch(2) at softintr_dispatch+0x12a sys/kern/kern_softintr.c:83 dosoftint(2) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:840 Xsofttty() at Xsofttty+0x27 __mp_lock(ffffffff838d45a8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff838d45a8) at __mp_lock+0x192 sys/kern/kern_lock.c:144 softintr_dispatch(0) at softintr_dispatch+0x12a sys/kern/kern_softintr.c:83 dosoftint(0) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:840 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x7419ec628d10, count: 4 ddb{0}> trace x86_ipi_db(ffffffff837d7ff0) 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(ffffffff838d45a8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff838d45a8) at __mp_lock+0x192 sys/kern/kern_lock.c:144 softintr_dispatch(2) at softintr_dispatch+0x12a sys/kern/kern_softintr.c:83 dosoftint(2) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:840 Xsofttty() at Xsofttty+0x27 __mp_lock(ffffffff838d45a8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff838d45a8) at __mp_lock+0x192 sys/kern/kern_lock.c:144 softintr_dispatch(0) at softintr_dispatch+0x12a sys/kern/kern_softintr.c:83 dosoftint(0) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:840 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x7419ec628d10, count: -11 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: 0xb3493d0a670, count: 14 ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0xb3493d0a670, count: -1