uvm_fault(0xfffffd805c05f5e0, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff831868c8 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80003c46d180 gsbase 0xffff8000299fdff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff831868c8 Starting stack trace... panic(ffffffff833a7aaf) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80003c46d0d0) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff800001473000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff800033c29780) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff800033c29780) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c46d280) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805d2fade0,81,fffffd80097fb548,ffff800033c29780) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8069e5b900,ffff800033c29780) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8069e5b900,ffff800033c29780) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd8069e5b900,ffff800033c29780) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8069e5b900,ffff800033c29780) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff800033c29780) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff800033c29780,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800033c29780,ffff80003c46d5f0,ffff80003c46d540) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c46d5f0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c46d5f0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x772e1ae54d10, count: 242 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 51 128 EXIT 0 4 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND 256500 41317 0 0 0 0 syz-executor *349537 40567 0 0 0x4000000 1 syz-executor savectx() at savectx+0xae end of kernel end trace frame: 0x1720d8eb620, 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(0xfffffd805c05f5e0, 0x0, 0, 1) -> e ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x1720d8eb620, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003c461ba0 rbx 0 rdx 0xffff800001472200 rcx 0xffff800033c287f0 rax 0x34 r8 0xffff80003c461ad0 r9 0x1 r10 0xf81d6759b2706bc7 r11 0xb486043afd9fc945 r12 0 r13 0 r14 0xffff800033c287f0 r15 0 rip 0xffffffff82ef53ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80003c461b20 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=349537 pid=40567 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=82, usrpri=82, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800033c28fb8,0xffff800033c29790 process=0xffff80003602c9c0 user=0xffff80003c45c000, vmspace=0xfffffd800b027988 estcpu=32, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 42528 387842 0 0 3 0x14200 acct acct 41317 256500 59913 0 7 0 syz-executor 17798 112406 78556 0 2 0 syz-executor 17798 11703 78556 0 2 0x4000000 syz-executor 67017 100505 50032 0 2 0 syz-executor 67017 341777 50032 0 3 0x4000080 fsleep syz-executor 40567 225670 89113 0 2 0 syz-executor 40567 141195 89113 0 3 0x4000080 kqread syz-executor *40567 349537 89113 0 7 0x4000000 syz-executor 19450 483949 68882 0 3 0x82 nanoslp syz-executor 90491 326776 0 0 3 0x14200 bored sosplice 73379 182799 68882 0 3 0x82 nanoslp syz-executor 50032 37396 68882 0 3 0x82 nanoslp syz-executor 89113 335481 68882 0 2 0x2 syz-executor 51413 408141 68882 0 3 0x82 wait syz-executor 78556 24375 68882 0 3 0x82 nanoslp syz-executor 970 3156 68882 0 3 0x82 nanoslp syz-executor 59913 229813 68882 0 3 0x82 nanoslp syz-executor 68882 522143 2353 0 3 0x82 kqread syz-executor 2353 47140 79969 0 3 0x10008a sigsusp ksh 79969 398066 28398 0 3 0x98 kqread sshd-session 28398 220874 83553 0 3 0x92 kqread sshd-session 91780 452447 1 0 3 0x100083 ttyin getty 83553 278960 1 0 3 0x88 kqread sshd 92862 376765 93367 74 3 0x1100092 bpf pflogd 93367 181357 1 0 3 0x80 sbwait pflogd 73818 450174 84118 73 3 0x1100090 kqread syslogd 84118 458953 1 0 3 0x100082 sbwait syslogd 59211 98187 1 0 3 0x100080 kqread resolvd 92981 63857 87464 77 3 0x100092 kqread dhcpleased 20159 279751 87464 77 3 0x100092 kqread dhcpleased 87464 400185 1 0 3 0x80 kqread dhcpleased 31269 478446 0 0 3 0x14200 bored smr 52351 353820 0 0 2 0x14200 zerothread 73230 357313 0 0 3 0x14200 aiodoned aiodoned 81190 506622 0 0 3 0x14200 syncer update 45737 197198 0 0 3 0x14200 cleaner cleaner 46340 494973 0 0 3 0x14200 reaper reaper 49363 335008 0 0 3 0x14200 pgdaemon pagedaemon 76098 262642 0 0 3 0x14200 bored viomb 785 708 0 0 3 0x40014200 acpi0 acpi0 72225 424600 0 0 3 0x40014200 idle1 65160 509709 0 0 3 0x14200 bored softnet7 36567 510313 0 0 3 0x14200 bored softnet6 97982 240823 0 0 3 0x14200 bored softnet5 92587 143436 0 0 3 0x14200 bored softnet4 68724 139644 0 0 3 0x14200 bored softnet3 60939 340672 0 0 3 0x14200 bored softnet2 17147 25736 0 0 3 0x14200 bored softnet1 39852 113563 0 0 3 0x14200 netlock softnet0 62399 442752 0 0 2 0x40014200 systqmp 67580 44508 0 0 3 0x14200 bored systq 70723 521145 0 0 3 0x14200 tmoslp softclockmp 58505 14434 0 0 3 0x40014200 tmoslp softclock 1736 348165 0 0 3 0x40014200 idle0 1 289039 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10225 11079K 11298K 166960K 12518 0 pcb 17 14K 16K 166960K 249 0 rtable 192 7K 8K 166960K 434 0 pf 39 18K 81K 166960K 173 0 ifaddr 40 7K 8K 166960K 114 0 ifgroup 59 2K 2K 166960K 181 0 sysctl 3 1K 9K 166960K 8 0 counters 70 37K 38K 166960K 200 0 ioctlops 0 0K 4K 166960K 1569 0 iov 0 0K 32K 166960K 37 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1465 92K 93K 166960K 1969 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 11 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 29 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 817 0 sigio 0 0K 0K 166960K 17 0 proc 72 115K 163K 166960K 617 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 0 0K 0K 166960K 229 0 in_multi 78 5K 7K 166960K 121 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 85 387K 387K 166960K 85 0 exec 0 0K 1K 166960K 499 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 247 169K 183K 166960K 8690 0 UVM aobj 17 2K 2K 166960K 21 0 pinsyscall 43 86K 104K 166960K 1933 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 29 0 NDP 13 0K 2K 166960K 87 0 temp 71 8650K 8725K 166960K 31145 0 kqueue 15 22K 30K 166960K 139 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 127 0 124 2 0 2 2 0 8 1 rtentry 176 133 0 55 5 0 5 5 0 8 0 unpcb 144 351 0 334 5 2 3 4 0 8 2 syncache 336 8 0 8 2 1 1 1 0 8 1 tcpcb 736 283 0 277 7 6 1 7 0 8 0 arp 128 16 0 3 1 0 1 1 0 8 0 inpcb 328 905 0 894 7 5 2 7 0 8 1 nd6 144 20 0 7 1 0 1 1 0 8 0 pkpcb 40 7 0 7 3 2 1 2 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1192 61 0 61 1 0 1 1 0 8 1 pppxif 1504 1 0 1 1 1 0 1 0 8 0 pfstscr 40 7 0 6 1 0 1 1 0 8 0 pffrag 232 5 0 3 1 0 1 1 0 482 0 pffrnode 88 5 0 3 1 0 1 1 0 8 0 pffrent 40 8 0 6 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 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pfstitem 24 53 0 14 1 0 1 1 0 8 0 pfstkey 128 59 0 20 2 0 2 2 0 8 0 pfstate 384 54 0 17 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 2 0 0 2 0 2 2 0 8 0 art_heap4 256 536 0 175 29 1 28 29 0 8 5 art_table 40 538 0 175 5 0 5 5 0 8 0 art_node 32 131 0 65 1 0 1 1 0 8 0 sysvmsgpl 40 18 0 11 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 26 0 16 1 0 1 1 0 8 0 shmpl 112 18 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2841 0 1332 95 0 95 95 0 8 0 ffsino 296 2841 0 1332 117 0 117 117 0 8 0 nchpl 144 3920 0 2227 64 0 64 64 0 8 0 rtmask 32 5 0 5 2 1 1 1 0 8 1 uvmvnodes 80 3271 0 0 67 0 67 67 0 8 0 vnodes 216 3271 0 0 182 0 182 182 0 8 0 namei 1024 12700 0 12700 2 1 1 2 0 8 1 percpumem 16 115 0 65 1 0 1 1 0 8 0 kstatmem 264 142 0 112 3 0 3 3 0 8 0 acpiwqpl 32 3 0 3 1 0 1 1 1 8 1 scsiplug 72 5 0 5 2 1 1 1 0 8 1 scxspl 216 19895 0 19895 10 2 8 8 1 8 8 plimitpl 152 133 0 115 1 0 1 1 0 8 0 sigapl 424 1131 0 1075 9 2 7 9 0 8 0 knotepl 120 805 0 0 25 0 25 25 0 8 0 kqueuepl 224 247 0 236 3 2 1 3 0 8 0 pipepl 344 232 0 204 3 0 3 3 0 8 0 fdescpl 528 1087 0 1055 3 0 3 3 0 8 0 filepl 160 5951 0 5723 17 2 15 16 0 8 5 lockfpl 104 213 0 211 1 0 1 1 0 8 0 lockfspl 48 98 0 96 1 0 1 1 0 8 0 sessionpl 144 28 0 19 1 0 1 1 0 8 0 pgrppl 48 45 0 28 1 0 1 1 0 8 0 ucredpl 104 763 0 749 1 0 1 1 0 8 0 zombiepl 144 1079 0 1075 1 0 1 1 0 8 0 processpl 1232 1131 0 1075 6 1 5 6 0 8 0 procpl 664 2252 0 2192 8 1 7 8 0 8 1 sosppl 168 3 0 3 2 1 1 1 0 8 1 sockpl 752 1406 0 1375 12 3 9 10 0 8 5 mcl64k 65536 13 0 0 2 0 2 2 0 8 0 mcl16k 16384 7 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 10 0 0 2 0 2 2 0 8 0 mcl4k 4096 115 0 0 15 0 15 15 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 44 0 0 6 0 6 6 0 8 0 mtagpl 96 78 0 0 2 0 2 2 0 8 0 mbufpl 256 339 0 0 22 0 22 22 0 8 0 bufpl 280 8038 0 1894 439 0 439 439 0 8 0 anonpl 32 12578 0 0 102 0 102 102 0 246 0 amapchunkpl 152 28392 0 27822 39 8 31 31 0 158 6 amappl16 200 4022 0 3965 36 16 20 26 0 8 8 amappl15 192 34 0 34 1 1 0 1 0 8 0 amappl14 184 124 0 112 1 0 1 1 0 8 0 amappl13 176 11 0 11 3 2 1 1 0 8 1 amappl12 168 1746 0 1715 3 1 2 2 0 8 0 amappl11 160 83 0 69 1 0 1 1 0 8 0 amappl10 152 6 0 6 1 1 0 1 0 8 0 amappl9 144 268 0 268 1 1 0 1 0 8 0 amappl8 136 21 0 18 1 0 1 1 0 8 0 amappl7 128 136 0 123 1 0 1 1 0 8 0 amappl6 120 194 0 191 1 0 1 1 0 8 0 amappl5 112 123 0 113 1 0 1 1 0 8 0 amappl4 104 319 0 298 1 0 1 1 0 8 0 amappl3 96 5660 0 5547 5 1 4 4 0 8 0 amappl2 88 684 0 621 2 0 2 2 0 8 0 amappl1 80 12093 0 11494 16 1 15 15 0 8 1 amappl 88 7884 0 7710 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 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 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 18 0 17 1 0 1 1 0 8 0 aobjpl 72 20 0 4 1 0 1 1 0 8 0 uaddrrnd 24 1087 0 1055 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1087 0 1055 1 0 1 1 0 8 0 vmmpekpl 168 10705 0 10661 3 0 3 3 0 8 0 vmmpepl 168 75085 0 73032 114 4 110 110 0 357 4 vmsppl 488 1086 0 1055 6 1 5 5 0 8 1 rwobjpl 80 25605 0 21354 92 0 92 92 0 8 0 pdppl 4096 2181 0 2110 99 26 73 83 0 8 2 pvpl 32 20301 0 0 164 0 164 164 0 265 0 pmappl 256 1086 0 1055 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 294 0 38 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff8385dff0) 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(ffffffff838e34c8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff838e34c8) at __mp_lock+0x192 sys/kern/kern_lock.c:165 softintr_dispatch(2) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(2) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:847 Xsofttty() at Xsofttty+0x27 __mp_lock(ffffffff838e34c8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff838e34c8) at __mp_lock+0x192 sys/kern/kern_lock.c:165 softintr_dispatch(0) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(0) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:847 Xsoftclock() at Xsoftclock+0x27 __mp_lock(ffffffff838e34c8) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff838e34c8) at __mp_lock+0x199 sys/kern/kern_lock.c:165 syscall(ffff80003c483dd0) at syscall+0xaf4 mi_syscall sys/sys/syscall_mi.h:175 [inline] syscall(ffff80003c483dd0) at syscall+0xaf4 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74bb62810d90, count: 1 ddb{0}> trace x86_ipi_db(ffffffff8385dff0) 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(ffffffff838e34c8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff838e34c8) at __mp_lock+0x192 sys/kern/kern_lock.c:165 softintr_dispatch(2) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(2) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:847 Xsofttty() at Xsofttty+0x27 __mp_lock(ffffffff838e34c8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff838e34c8) at __mp_lock+0x192 sys/kern/kern_lock.c:165 softintr_dispatch(0) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(0) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:847 Xsoftclock() at Xsoftclock+0x27 __mp_lock(ffffffff838e34c8) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff838e34c8) at __mp_lock+0x199 sys/kern/kern_lock.c:165 syscall(ffff80003c483dd0) at syscall+0xaf4 mi_syscall sys/sys/syscall_mi.h:175 [inline] syscall(ffff80003c483dd0) at syscall+0xaf4 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74bb62810d90, count: -14 ddb{0}> machine ddbcpu 1 Stopped at savectx+0xae: movl $0,%gs:0x688 savectx() at savectx+0xae end of kernel end trace frame: 0x1720d8eb620, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x1720d8eb620, count: -1