uvm_fault(0xfffffd806c7de9a8, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff824e0188 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80003c3ff3d0 gsbase 0xffff8000299ddff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff824e0188 Starting stack trace... panic(ffffffff833e547f) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80003c3ff320) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff800010fca000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80003c3f9ca8) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80003c3f9ca8) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c3ff4d0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80668bc1d0,1,fffffd80097fd548,ffff80003c3f9ca8) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd805fe607f8,ffff80003c3f9ca8) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd805fe607f8,ffff80003c3f9ca8) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd805fe607f8,ffff80003c3f9ca8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd805fe607f8,ffff80003c3f9ca8) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c3f9ca8) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80003c3f9ca8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c3f9ca8,ffff80003c3ff840,ffff80003c3ff790) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c3ff840) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c3ff840) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x771288c97fb0, count: 242 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 83 -1425193744 EXIT 0 4 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND *332891 79681 0 0 0x4000000 1 syz-executor 150764 77387 0 0x100003 0x80 0 getty savectx() at savectx+0xae end of kernel end trace frame: 0x90c6bc17ca0, 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(0xfffffd806c7de9a8, 0x0, 0, 1) -> e ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x90c6bc17ca0, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003c427db0 rbx 0 rdx 0 rcx 0xffff80003c3f8fb0 rax 0x3c r8 0xffff80003c427ce0 r9 0x1 r10 0x394d672ecbb6e31b r11 0x81ad14ceb1e7b365 r12 0 r13 0 r14 0xffff80003c3f8fb0 r15 0 rip 0xffffffff813163ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80003c427d30 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=332891 pid=79681 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c3f82b8,0xffff80003c3f8d28 process=0xffff80003c40dd00 user=0xffff80003c422000, vmspace=0xfffffd806f6083d8 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 79681 484128 1775 0 2 0 syz-executor *79681 332891 1775 0 7 0x4000000 syz-executor 79681 499871 1775 0 2 0x4000000 syz-executor 92186 124972 36521 0 2 0 syz-executor 92186 153353 36521 0 3 0x4000080 bell syz-executor 10603 377619 67467 0 2 0xc80 syz-executor 10603 52518 67467 0 3 0x4000080 wsevent_read syz-executor 96161 107359 38995 0 2 0xc80 syz-executor 96161 486709 38995 0 3 0x4000080 ttyout syz-executor 96161 81942 38995 0 3 0x4000080 kqread syz-executor 96161 11948 38995 0 3 0x4000080 fsleep syz-executor 37967 122150 0 0 3 0x14200 acct acct 36521 27011 16897 0 2 0xc82 syz-executor 54827 35236 16897 0 2 0xc82 syz-executor 28313 197358 16897 0 3 0x82 wait syz-executor 38995 126018 16897 0 2 0xc82 syz-executor 67467 472671 16897 0 2 0xc82 syz-executor 1775 25273 16897 0 2 0xc82 syz-executor 73929 359114 16897 0 2 0xc82 syz-executor 58663 192192 16897 0 2 0xc82 syz-executor 16897 367041 75801 0 3 0x82 kqread syz-executor 75801 499904 84132 0 3 0x10008a sigsusp ksh 84132 417129 60692 0 3 0x98 kqread sshd-session 60692 457868 69942 0 3 0x92 kqread sshd-session 77387 150764 1 0 7 0x100083 getty 69942 375997 1 0 3 0x88 kqread sshd 4725 494075 53265 74 3 0x1100092 bpf pflogd 53265 389909 1 0 3 0x80 sbwait pflogd 68359 162870 10989 73 3 0x1100090 kqread syslogd 10989 395453 1 0 3 0x100082 sbwait syslogd 39089 470023 1 0 3 0x100080 kqread resolvd 42020 322100 50779 77 3 0x100092 kqread dhcpleased 93366 517933 50779 77 3 0x100092 kqread dhcpleased 50779 61749 1 0 3 0x80 kqread dhcpleased 4317 8931 0 0 2 0x40014200 smr 99782 168939 0 0 3 0x14200 pgzero zerothread 94571 198019 0 0 3 0x14200 aiodoned aiodoned 27067 117304 0 0 3 0x14200 syncer update 85609 499900 0 0 3 0x14200 cleaner cleaner 35413 303225 0 0 3 0x14200 reaper reaper 10326 308907 0 0 3 0x14200 pgdaemon pagedaemon 1803 403414 0 0 3 0x14200 bored viomb 58601 405171 0 0 3 0x40014200 acpi0 acpi0 22452 360733 0 0 3 0x40014200 idle1 3082 307732 0 0 3 0x14200 bored softnet1 47856 455314 0 0 2 0x14200 softnet0 17850 478646 0 0 3 0x14200 smrbar systqmp 5980 86711 0 0 3 0x14200 bored systq 89958 430406 0 0 3 0x14200 netlock softclockmp 68794 370074 0 0 3 0x40014200 tmoslp softclock 2974 169998 0 0 3 0x40014200 idle0 1 232770 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 17850 (systqmp) thread 0xffff8000ffffecf8 (478646) shared rwlock systqmp r = 0 (0xffffffff83831558) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 taskq_thread+0x12a sys/kern/kern_task.c:442 #2 proc_trampoline+0x10 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11075 12155K 12344K 166960K 12367 0 pcb 17 12K 12K 166960K 61 0 rtable 246 7K 8K 166960K 434 0 pf 34 17K 21K 166960K 68 0 ifaddr 43 7K 8K 166960K 63 0 ifgroup 55 2K 2K 166960K 94 0 sysctl 2 1K 9K 166960K 10 0 counters 70 37K 38K 166960K 110 0 ioctlops 0 0K 4K 166960K 1499 0 iov 1 0K 12K 166960K 10 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1342 84K 85K 166960K 1522 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 10 0 VM map 2 1K 1K 166960K 2 0 sem 11 0K 0K 166960K 12 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 110K 166960K 362 0 sigio 0 0K 0K 166960K 28 0 proc 72 115K 164K 166960K 556 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 1 0K 0K 166960K 24 0 in_multi 101 7K 7K 166960K 109 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 3 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 403 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 254 168K 178K 166960K 5108 0 UVM aobj 7 2K 4K 166960K 9 0 pinsyscall 43 86K 101K 166960K 1479 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 23 0 NDP 12 0K 2K 166960K 38 0 temp 44 8676K 8740K 166960K 9599 0 kqueue 13 20K 29K 166960K 80 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 48 0 45 1 0 1 1 0 8 0 rtentry 176 141 0 31 7 1 6 6 0 8 1 unpcb 144 176 0 159 2 1 1 2 0 8 0 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 736 124 0 120 7 6 1 7 0 8 0 arp 136 26 0 8 1 0 1 1 0 8 0 inpcb 328 483 0 473 13 11 2 12 0 8 1 nd6 152 24 0 0 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 1 0 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1192 13 0 13 2 1 1 1 0 8 1 pppxif 1504 8 0 8 2 1 1 1 0 8 1 pffrag 232 4 0 1 1 0 1 1 0 482 0 pffrnode 88 4 0 1 1 0 1 1 0 8 0 pffrent 40 6 0 3 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 pfrule 1360 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 484 0 27 29 0 29 29 0 8 0 art_table 40 485 0 27 5 0 5 5 0 8 0 art_node 32 141 0 40 2 0 2 2 0 8 1 sysvmsgpl 40 3 0 1 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 10 0 1 1 0 1 1 0 8 0 shmpl 112 5 0 1 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2028 0 520 96 0 96 96 0 8 0 ffsino 296 2028 0 520 118 1 117 118 0 8 0 nchpl 144 2543 0 838 64 0 64 64 0 8 0 vnodes 216 2185 0 0 122 0 122 122 0 8 0 namei 1024 7562 0 7562 1 0 1 1 0 8 1 percpumem 16 70 0 20 1 0 1 1 0 8 0 vmpool 848 1 0 1 1 1 0 1 0 8 0 kstatmem 264 46 0 20 3 1 2 3 0 8 0 scsiplug 72 3 0 3 1 1 0 1 0 8 0 scxspl 216 11829 0 11829 10 9 1 8 1 8 1 plimitpl 152 68 0 50 1 0 1 1 0 8 0 sigapl 424 664 0 615 7 1 6 7 0 8 0 knotepl 120 510 0 0 16 0 16 16 0 8 0 kqueuepl 224 111 0 101 2 1 1 2 0 8 0 pipepl 344 142 0 113 3 0 3 3 0 8 0 fdescpl 528 647 0 615 3 0 3 3 0 8 0 filepl 160 2982 0 2743 16 5 11 15 0 8 0 lockfpl 104 89 0 85 1 0 1 1 0 8 0 lockfspl 48 40 0 36 1 0 1 1 0 8 0 sessionpl 144 22 0 13 1 0 1 1 0 8 0 pgrppl 48 131 0 114 1 0 1 1 0 8 0 ucredpl 104 275 0 262 1 0 1 1 0 8 0 zombiepl 144 619 0 615 1 0 1 1 0 8 0 processpl 1232 664 0 615 5 0 5 5 0 8 0 procpl 664 1058 0 1002 6 0 6 6 0 8 0 sosppl 176 2 0 2 1 1 0 1 0 8 0 sockpl 752 716 0 686 16 12 4 16 0 8 0 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 116 0 0 15 0 15 15 0 8 0 mcl2k 2048 20 0 0 3 0 3 3 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 1141 0 0 72 0 72 72 0 8 0 bufpl 280 4578 0 130 318 0 318 318 0 8 0 anonpl 32 7538 0 0 61 0 61 61 0 246 0 amapchunkpl 152 16077 0 15564 36 9 27 30 0 158 6 amappl16 200 3003 0 2958 15 11 4 15 0 8 0 amappl15 192 4 0 4 1 1 0 1 0 8 0 amappl14 184 14 0 14 2 2 0 1 0 8 0 amappl13 176 426 0 425 1 0 1 1 0 8 0 amappl12 168 1002 0 959 3 0 3 3 0 8 0 amappl11 160 4 0 4 1 1 0 1 0 8 0 amappl10 152 60 0 45 1 0 1 1 0 8 0 amappl9 144 251 0 251 1 1 0 1 0 8 0 amappl8 136 32 0 28 1 0 1 1 0 8 0 amappl7 128 100 0 99 1 0 1 1 0 8 0 amappl6 120 282 0 269 1 0 1 1 0 8 0 amappl5 112 77 0 67 1 0 1 1 0 8 0 amappl4 104 412 0 384 1 0 1 1 0 8 0 amappl3 96 2572 0 2475 4 1 3 3 0 8 0 amappl2 88 754 0 677 2 0 2 2 0 8 0 amappl1 80 9989 0 9387 14 1 13 14 0 8 0 amappl 88 4331 0 4157 5 0 5 5 0 92 0 uvmvnodes 80 109 0 0 3 0 3 3 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 255 0 255 2 2 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 8 0 2 1 0 1 1 0 8 0 uaddrrnd 24 647 0 615 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 647 0 615 1 0 1 1 0 8 0 vmmpekpl 168 6946 0 6906 2 0 2 2 0 8 0 vmmpepl 168 48975 0 46982 98 9 89 96 0 357 2 vmsppl 488 646 0 615 5 1 4 5 0 8 0 rwobjpl 80 16704 0 15644 27 1 26 27 0 8 0 pdppl 4096 1304 0 1232 98 26 72 84 0 8 0 pvpl 32 15861 0 0 129 1 128 128 0 265 0 pmappl 256 647 0 616 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 336 0 36 9 0 9 9 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83871ff0) 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(ffffffff8393cf80) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff8393cf80) at __mp_lock+0x192 sys/kern/kern_lock.c:173 __mp_acquire_count(ffffffff8393cf80,1) at __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1 sleep_finish(ffffffffffffffff,1) at sleep_finish+0x2d8 sys/kern/kern_synch.c:369 ttread(ffff800000c04e00,ffff80002a2c8438,0) at ttread+0x7de ttysleep_nsec sys/kern/tty.c:2325 [inline] ttread(ffff800000c04e00,ffff80002a2c8438,0) at ttread+0x7de ttysleep sys/kern/tty.c:2315 [inline] ttread(ffff800000c04e00,ffff80002a2c8438,0) at ttread+0x7de sys/kern/tty.c:1587 spec_read(ffff80002a2c8290) at spec_read+0x14b sys/kern/spec_vnops.c:215 VOP_READ(fffffd807ea90b18,ffff80002a2c8438,0,fffffd80097fdea0) at VOP_READ+0x101 sys/kern/vfs_vops.c:227 vn_read(fffffd806f8ce6e8,ffff80002a2c8438,0) at vn_read+0x17b sys/kern/vfs_vnops.c:369 dofilereadv(ffff8000ffffc2a0,0,ffff80002a2c8438,0,ffff80002a2c84f0) at dofilereadv+0x25a sys/kern/sys_generic.c:252 sys_read(ffff8000ffffc2a0,ffff80002a2c85a0,ffff80002a2c84f0) at sys_read+0xa2 sys/kern/sys_generic.c:172 syscall(ffff80002a2c85a0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a2c85a0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x763abaf15590, count: 1 ddb{0}> trace x86_ipi_db(ffffffff83871ff0) 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(ffffffff8393cf80) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff8393cf80) at __mp_lock+0x192 sys/kern/kern_lock.c:173 __mp_acquire_count(ffffffff8393cf80,1) at __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1 sleep_finish(ffffffffffffffff,1) at sleep_finish+0x2d8 sys/kern/kern_synch.c:369 ttread(ffff800000c04e00,ffff80002a2c8438,0) at ttread+0x7de ttysleep_nsec sys/kern/tty.c:2325 [inline] ttread(ffff800000c04e00,ffff80002a2c8438,0) at ttread+0x7de ttysleep sys/kern/tty.c:2315 [inline] ttread(ffff800000c04e00,ffff80002a2c8438,0) at ttread+0x7de sys/kern/tty.c:1587 spec_read(ffff80002a2c8290) at spec_read+0x14b sys/kern/spec_vnops.c:215 VOP_READ(fffffd807ea90b18,ffff80002a2c8438,0,fffffd80097fdea0) at VOP_READ+0x101 sys/kern/vfs_vops.c:227 vn_read(fffffd806f8ce6e8,ffff80002a2c8438,0) at vn_read+0x17b sys/kern/vfs_vnops.c:369 dofilereadv(ffff8000ffffc2a0,0,ffff80002a2c8438,0,ffff80002a2c84f0) at dofilereadv+0x25a sys/kern/sys_generic.c:252 sys_read(ffff8000ffffc2a0,ffff80002a2c85a0,ffff80002a2c84f0) at sys_read+0xa2 sys/kern/sys_generic.c:172 syscall(ffff80002a2c85a0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a2c85a0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x763abaf15590, 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: 0x90c6bc17ca0, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x90c6bc17ca0, count: -1