uvm_fault(0xfffffd800b063000, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff81ff3ae8 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80003c47cc60 gsbase 0xffff8000299edff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff81ff3ae8 Starting stack trace... panic(ffffffff833dc149) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80003c47cbb0) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff800001481000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(21e5f,81,2000,ffff8000337eafb0) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff8000337eafb0) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c47cd60) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80743e1bf8,81,fffffd80097fd7b8,ffff8000337eafb0) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd80611fa908,ffff8000337eafb0) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd80611fa908,ffff8000337eafb0) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd80611fa908,ffff8000337eafb0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd80611fa908,ffff8000337eafb0) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff8000337eafb0) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff8000337eafb0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000337eafb0,ffff80003c47d0d0,ffff80003c47d020) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c47d0d0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c47d0d0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x71a430f0f520, count: 242 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 83 1454521200 EXIT 0 4 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND 93636 81133 0 0 0 0 syz-executor * 23822 40642 0 0 0 1 syz-executor savectx() at savectx+0xae end of kernel end trace frame: 0x7ea80f4b53e0, 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(0xfffffd800b063000, 0x0, 0, 1) -> e ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7ea80f4b53e0, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a301ff0 rbx 0 rdx 0 rcx 0xffff8000337f1a28 rax 0x3b r8 0xffff80002a301f20 r9 0x1 r10 0x8e7fcb792f3403b1 r11 0xdd5324d697e8889e r12 0 r13 0 r14 0xffff8000337f1a28 r15 0 rip 0xffffffff81da63ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80002a301f70 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=23822 pid=40642 tcnt=2 stat=onproc flags process=0 proc=0 runpri=86, usrpri=86, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000337f0d30,0xffff8000337f1cd0 process=0xffff80002a3cf508 user=0xffff80002a2fd000, vmspace=0xfffffd80694729b0 estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 54683 491882 3182 0 2 0 syz-executor 81133 93636 7156 0 7 0 syz-executor 81133 469989 7156 0 3 0x4000080 ttyin syz-executor *40642 23822 945 0 7 0 syz-executor 40642 91304 945 0 3 0x4000080 fsleep syz-executor 48470 263287 28917 0 2 0 syz-executor 48470 378051 28917 0 3 0x4000080 fsleep syz-executor 80894 5778 98021 0 3 0x80 nanoslp syz-executor 80894 374294 98021 0 3 0x4000080 kqsel syz-executor 80894 11616 98021 0 3 0x4000080 kqsel syz-executor 80894 435219 98021 0 3 0x4000080 kqread syz-executor 95418 415561 30152 0 2 0x10 syz-executor 95418 176013 30152 0 3 0x4000090 kqread syz-executor 3182 325382 22166 0 3 0x82 nanoslp syz-executor 87148 185762 0 0 3 0x14200 acct acct 7156 431674 22166 0 3 0x82 nanoslp syz-executor 27113 454097 22166 0 3 0x82 nanoslp syz-executor 30152 137460 22166 0 3 0x82 nanoslp syz-executor 28917 109052 22166 0 3 0x82 nanoslp syz-executor 98021 193461 22166 0 3 0x82 nanoslp syz-executor 43315 519393 22166 0 3 0x82 nanoslp syz-executor 945 481478 22166 0 3 0x82 nanoslp syz-executor 91111 521377 1 0 3 0x100083 ttyin getty 22166 49152 87083 0 3 0x82 kqread syz-executor 87083 416704 14877 0 3 0x10008a sigsusp ksh 14877 286493 47351 0 3 0x98 kqread sshd-session 47351 421388 73867 0 3 0x92 kqread sshd-session 73867 347290 1 0 3 0x88 kqread sshd 39487 37630 85335 74 3 0x1100092 bpf pflogd 85335 157697 1 0 3 0x80 sbwait pflogd 12955 46610 44825 73 3 0x1100090 kqread syslogd 44825 135105 1 0 3 0x100082 sbwait syslogd 72973 30449 1 0 3 0x100080 kqread resolvd 46788 456360 50146 77 3 0x100092 kqread dhcpleased 11573 286687 50146 77 3 0x100092 kqread dhcpleased 50146 173089 1 0 3 0x80 kqread dhcpleased 60115 120543 0 0 3 0x14200 bored smr 72306 102784 0 0 2 0x14200 zerothread 15685 364142 0 0 3 0x14200 aiodoned aiodoned 37882 409866 0 0 3 0x14200 syncer update 71204 39711 0 0 3 0x14200 cleaner cleaner 52973 412896 0 0 3 0x14200 reaper reaper 76424 88091 0 0 3 0x14200 pgdaemon pagedaemon 60926 81350 0 0 3 0x14200 bored viomb 70472 506688 0 0 3 0x40014200 acpi0 acpi0 74440 368449 0 0 3 0x40014200 idle1 13794 258266 0 0 3 0x14200 bored softnet1 14529 491100 0 0 3 0x14200 netlock softnet0 40872 229256 0 0 2 0x40014200 systqmp 87201 201748 0 0 3 0x14200 bored systq 33337 264651 0 0 3 0x14200 tmoslp softclockmp 61772 172652 0 0 3 0x40014200 tmoslp softclock 25019 272712 0 0 3 0x40014200 idle0 1 288349 0 0 3 0x80082 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 10259 11185K 12035K 166960K 22739 0 pcb 18 16K 32K 166960K 1512 0 rtable 242 16K 17K 166960K 1371 0 pf 39 18K 82K 166960K 606 0 ifaddr 39 8K 9K 166960K 359 0 ifgroup 59 2K 3K 166960K 690 0 sysctl 4 1K 9K 166960K 46 0 counters 70 37K 38K 166960K 898 0 ioctlops 0 0K 4K 166960K 3101 0 iov 1 12K 24K 166960K 280 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1489 94K 94K 166960K 8081 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 6K 10K 166960K 57 0 VM map 2 1K 1K 166960K 2 0 sem 18 136K 137K 166960K 272 0 dirhash 108 19K 20K 166960K 5505 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 5899 0 sigio 0 0K 0K 166960K 151 0 proc 74 115K 163K 166960K 1532 0 subproc 72 4K 4K 166960K 226 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 2 0K 0K 166960K 1119 0 in_multi 69 4K 7K 166960K 484 0 ether_multi 1 0K 0K 166960K 66 0 mrt 1 0K 0K 166960K 50 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 1567 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 255 168K 191K 166960K 54790 0 UVM aobj 59 34K 34K 166960K 64 0 pinsyscall 43 86K 106K 166960K 7489 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 481 0 NDP 13 0K 2K 166960K 280 0 temp 86 8676K 8932K 166960K 270387 0 kqueue 14 22K 35K 166960K 1003 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 587 0 584 6 5 1 3 0 8 0 rtentry 176 430 0 346 6 0 6 6 0 8 0 unpcb 144 4023 0 4000 24 23 1 6 0 8 0 syncache 336 17 0 17 10 10 0 1 0 8 0 tcpqe 32 7 0 7 4 4 0 1 0 8 0 tcpcb 736 1845 0 1839 34 33 1 7 0 8 0 arp 136 70 0 54 1 0 1 1 0 8 0 inpcb 328 6573 0 6562 46 39 7 10 0 8 5 nd6 152 91 0 75 2 1 1 2 0 8 0 pkpcb 40 103 0 103 11 10 1 1 0 8 1 kcovpl 48 25 0 17 1 0 1 1 0 8 0 mppekey 1024 5 0 5 5 5 0 1 0 8 0 ppxss 1192 339 0 339 4 3 1 1 0 8 1 pppxif 1504 91 0 91 9 8 1 1 0 8 1 pfstscr 40 2 0 1 1 0 1 1 0 8 0 pffrag 232 69 0 57 1 0 1 1 0 482 0 pffrnode 88 58 0 47 1 0 1 1 0 8 0 pffrent 40 157 0 145 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 5 0 5 4 4 0 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 289 0 206 1 0 1 1 0 8 0 pfstkey 128 291 0 208 3 0 3 3 0 8 0 pfstate 448 290 0 207 12 1 11 11 0 8 0 pfrule 1344 25 0 20 2 1 1 2 0 8 0 rttmr 136 7 0 7 5 5 0 1 0 8 0 art_heap8 4096 6 0 0 6 0 6 6 0 8 0 art_heap4 256 1833 0 1492 45 23 22 31 0 8 0 art_table 40 1839 0 1492 6 0 6 6 0 8 1 art_node 32 423 0 352 1 0 1 1 0 8 0 sysvmsgpl 40 21 0 8 1 0 1 1 0 8 0 semupl 112 6 0 6 4 4 0 1 0 8 0 semapl 112 265 0 249 1 0 1 1 0 8 0 shmpl 112 44 0 4 2 0 2 2 0 8 0 dirhash 1024 1869 0 1820 9 2 7 7 0 8 0 dino2pl 256 12439 0 10884 98 0 98 98 0 8 0 ffsino 296 12439 0 10884 121 0 121 121 0 8 0 nchpl 144 20535 0 19873 66 41 25 65 0 8 0 rtmask 32 74 0 74 12 11 1 1 0 8 1 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 73667 0 73667 8 7 1 2 0 8 1 percpumem 16 464 0 414 1 0 1 1 0 8 0 vcpupl 3968 16 0 0 2 0 2 2 0 8 0 vmpool 840 17 0 1 2 0 2 2 0 8 0 kstatmem 264 462 0 432 7 4 3 3 0 8 0 acpiwqpl 32 3 0 3 1 0 1 1 1 8 1 scsiplug 72 18 0 18 9 8 1 1 0 8 1 scxspl 216 132649 0 132649 25 24 1 8 1 8 1 plimitpl 152 1412 0 1393 1 0 1 1 0 8 0 sigapl 424 6172 0 6123 8 2 6 8 0 8 0 knotepl 120 1042 0 0 27 0 27 27 0 8 0 kqueuepl 224 2462 0 2449 28 27 1 7 0 8 0 pipepl 344 913 0 885 19 15 4 9 0 8 1 fdescpl 528 6131 0 6099 3 0 3 3 0 8 0 filepl 160 44154 0 43924 46 30 16 20 0 8 2 lockfpl 104 2234 0 2221 3 2 1 3 0 8 0 lockfspl 48 867 0 858 1 0 1 1 0 8 0 sessionpl 144 52 0 43 1 0 1 1 0 8 0 pgrppl 48 343 0 326 1 0 1 1 0 8 0 ucredpl 104 7286 0 7272 1 0 1 1 0 8 0 zombiepl 144 7428 0 7426 2 1 1 1 0 8 0 processpl 1232 6172 0 6123 6 0 6 6 0 8 0 procpl 664 15703 0 15647 8 2 6 8 0 8 0 sosppl 176 43 0 43 14 14 0 1 0 8 0 sockpl 752 11553 0 11515 97 86 11 17 0 8 7 mcl64k 65536 23 0 0 3 0 3 3 0 8 0 mcl16k 16384 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 6 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 22 0 0 3 0 3 3 0 8 0 mcl4k 4096 125 0 0 16 0 16 16 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 95 0 0 7 0 7 7 0 8 0 mtagpl 96 243 0 0 5 0 5 5 0 8 0 mbufpl 256 2034 0 0 124 0 124 124 0 8 0 bufpl 280 50813 0 44676 439 0 439 439 0 8 0 anonpl 32 15290 0 0 123 0 123 123 0 246 0 amapchunkpl 152 200555 0 199866 99 62 37 41 0 158 5 amappl16 200 19441 0 19383 148 130 18 35 0 8 8 amappl15 192 13 0 13 2 2 0 1 0 8 0 amappl14 184 11 0 10 2 1 1 1 0 8 0 amappl13 176 631 0 629 1 0 1 1 0 8 0 amappl12 168 6631 0 6589 3 0 3 3 0 8 0 amappl11 160 26 0 25 2 1 1 1 0 8 0 amappl10 152 47 0 33 1 0 1 1 0 8 0 amappl9 144 286 0 286 1 1 0 1 0 8 0 amappl8 136 29 0 26 1 0 1 1 0 8 0 amappl7 128 149 0 147 1 0 1 1 0 8 0 amappl6 120 490 0 476 1 0 1 1 0 8 0 amappl5 112 83 0 72 1 0 1 1 0 8 0 amappl4 104 555 0 525 1 0 1 1 0 8 0 amappl3 96 34174 0 34081 4 1 3 3 0 8 0 amappl2 88 6271 0 6192 3 1 2 3 0 8 0 amappl1 80 36642 0 36044 18 3 15 16 0 8 0 amappl 88 52815 0 52638 5 0 5 5 0 92 0 uvmvnodes 80 249 0 0 6 0 6 6 0 8 0 dma65536 65536 1 0 1 1 1 0 1 0 8 0 dma32768 32768 1 0 1 1 1 0 1 0 8 0 dma4096 4096 4 0 4 3 3 0 1 0 8 0 dma2048 2048 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma512 512 1 0 1 1 1 0 1 0 8 0 dma256 256 9 0 9 4 4 0 1 0 8 0 dma128 128 256 0 256 4 4 0 1 0 8 0 dma64 64 8 0 8 3 3 0 1 0 8 0 dma32 32 8 0 8 2 2 0 1 0 8 0 dma16 16 20 0 19 1 0 1 1 0 8 0 aobjpl 72 63 0 5 2 0 2 2 0 8 0 uaddrrnd 24 6131 0 6099 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 6131 0 6099 1 0 1 1 0 8 0 vmmpekpl 168 44366 0 44298 5 1 4 4 0 8 0 vmmpepl 168 386249 0 384228 186 77 109 116 0 357 11 vmsppl 488 6130 0 6099 7 2 5 5 0 8 0 rwobjpl 80 95289 0 94009 47 11 36 39 0 8 0 pdppl 4096 12303 0 12216 184 97 87 89 0 8 0 pvpl 32 23217 0 0 188 2 186 187 0 265 0 pmappl 256 6147 0 6100 4 0 4 4 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 581 0 189 12 0 12 12 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83807ff0) 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(ffffffff8390f790) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8390f790) 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:862 Xsofttty() at Xsofttty+0x27 __mp_lock(ffffffff8390f790) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8390f790) at __mp_lock+0x1a3 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:862 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x748b0c1bc610, count: 4 ddb{0}> trace x86_ipi_db(ffffffff83807ff0) 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(ffffffff8390f790) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8390f790) 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:862 Xsofttty() at Xsofttty+0x27 __mp_lock(ffffffff8390f790) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8390f790) at __mp_lock+0x1a3 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:862 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x748b0c1bc610, count: -11 ddb{0}> machine ddbcpu 1 Stopped at savectx+0xae: movl $0,%gs:0x688 savectx() at savectx+0xae end of kernel end trace frame: 0x7ea80f4b53e0, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7ea80f4b53e0, count: -1