uvm_fault(0xfffffd806cae7200, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff821f6c98 cs 8 rflags 10246 cr2 0 cpl 0 rsp ffff8000333e5890 gsbase 0xffff8000299edff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff821f6c98 Starting stack trace... panic(ffffffff833e232d) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff8000333e57e0) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff80000147e000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(21e5f,1,2000,ffff800037c0d4e0) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,1,2000,ffff800037c0d4e0) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff8000333e5990) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8069b81110,1,fffffd80097fd2d8,ffff800037c0d4e0) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8063545b08,ffff800037c0d4e0) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8063545b08,ffff800037c0d4e0) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd8063545b08,ffff800037c0d4e0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8063545b08,ffff800037c0d4e0) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff800037c0d4e0) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff800037c0d4e0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800037c0d4e0,ffff8000333e5d00,ffff8000333e5c50) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000333e5d00) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff8000333e5d00) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73eb992f5360, count: 242 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 103 -1 EXIT 0 4 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND *243322 39609 0 0x10000002 0 1 syz-executor 500259 24962 0 0x100003 0x80 0 getty savectx() at savectx+0xae end of kernel end trace frame: 0x7251e689cc60, 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(0xfffffd806cae7200, 0x0, 0, 1) -> e ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7251e689cc60, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a31ab70 rbx 0 rdx 0 rcx 0xffff8000ffffcd00 rax 0x34 r8 0xffff80002a31aaa0 r9 0x1 r10 0x8cec3505feb492fa r11 0x2ce83982c8994a13 r12 0 r13 0 r14 0xffff8000ffffcd00 r15 0 rip 0xffffffff81f573ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80002a31aaf0 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=243322 pid=39609 tcnt=1 stat=onproc flags process=10000002 proc=0 runpri=69, usrpri=69, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000ffffd9f8,0xffff8000ffffdca0 process=0xffff8000ffff3500 user=0xffff80002a315000, vmspace=0xfffffd807ec33990 estcpu=36, cpticks=38, pctcpu=0.26, user=0, sys=37, intr=1 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 95176 403722 9780 0 2 0 syz-executor 95176 343104 9780 0 3 0x4000080 fsleep syz-executor 83846 150309 84673 0 2 0 syz-executor 83846 82844 84673 0 3 0x4000080 fsleep syz-executor 11343 332201 9811 0 2 0 syz-executor 11343 507438 9811 0 3 0x4000080 bell syz-executor 89337 304143 0 0 3 0x14200 acct acct 99446 131839 81509 0 2 0 syz-executor 99446 253496 81509 0 3 0x4000080 fsleep syz-executor 59618 313446 2812 0 2 0 syz-executor 59618 156442 2812 0 3 0x4000080 fifor syz-executor 59618 477056 2812 0 3 0x4000080 fifor syz-executor 84673 84865 57767 0 2 0xc82 syz-executor 53572 440918 57767 0 2 0xc82 syz-executor 9780 517450 57767 0 2 0xc82 syz-executor 9811 102914 57767 0 2 0xc82 syz-executor 81509 521719 57767 0 2 0xc82 syz-executor 2812 916 57767 0 2 0xc82 syz-executor *39609 243322 57767 0 7 0x10000002 syz-executor 31622 463933 57767 0 2 0xc82 syz-executor 57767 100705 59240 0 3 0x82 kqread syz-executor 59240 51820 57825 0 3 0x10008a sigsusp ksh 57825 417128 53017 0 3 0x98 kqread sshd-session 53017 72085 89385 0 3 0x92 kqread sshd-session 24962 500259 1 0 7 0x100083 getty 89385 398441 1 0 3 0x88 kqread sshd 7560 340261 32727 74 3 0x1100092 bpf pflogd 32727 349853 1 0 3 0x80 sbwait pflogd 83802 228110 34858 73 3 0x1100090 kqread syslogd 34858 27028 1 0 3 0x100082 sbwait syslogd 70898 158456 1 0 3 0x100080 kqread resolvd 99644 210378 62158 77 3 0x100092 kqread dhcpleased 43292 262991 62158 77 3 0x100092 kqread dhcpleased 62158 135549 1 0 3 0x80 kqread dhcpleased 92850 182884 0 0 2 0x40014200 smr 2156 186656 0 0 2 0x14200 zerothread 56023 15787 0 0 3 0x14200 aiodoned aiodoned 41613 76894 0 0 3 0x14200 syncer update 94298 152525 0 0 3 0x14200 cleaner cleaner 94548 24912 0 0 3 0x14200 reaper reaper 72216 446309 0 0 3 0x14200 pgdaemon pagedaemon 341 125652 0 0 3 0x14200 bored viomb 25851 406529 0 0 3 0x40014200 acpi0 acpi0 17512 233734 0 0 3 0x40014200 idle1 9977 250887 0 0 3 0x14200 bored softnet1 88185 283861 0 0 2 0x14200 softnet0 16004 164324 0 0 2 0x14200 systqmp 86579 261755 0 0 3 0x14200 bored systq 74782 213527 0 0 2 0x14200 softclockmp 10733 389481 0 0 3 0x40014200 tmoslp softclock 47823 297265 0 0 3 0x40014200 idle0 1 64728 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 10228 11112K 11490K 166960K 11903 0 pcb 17 16K 17K 166960K 115 0 rtable 223 8K 9K 166960K 409 0 pf 40 18K 82K 166960K 78 0 ifaddr 43 7K 7K 166960K 57 0 ifgroup 67 2K 2K 166960K 87 0 sysctl 2 1K 9K 166960K 10 0 counters 74 37K 38K 166960K 96 0 ioctlops 0 0K 4K 166960K 1524 0 iov 0 0K 16K 166960K 22 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1412 89K 89K 166960K 1717 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 4 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 75 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 89K 166960K 446 0 sigio 0 0K 0K 166960K 9 0 proc 72 115K 164K 166960K 589 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 4 0K 0K 166960K 102 0 in_multi 89 6K 7K 166960K 113 0 ether_multi 1 0K 0K 166960K 3 0 mrt 0 0K 0K 166960K 5 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 67 307K 307K 166960K 67 0 exec 0 0K 1K 166960K 453 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 248 177K 177K 166960K 5973 0 UVM aobj 14 4K 4K 166960K 15 0 pinsyscall 42 84K 102K 166960K 1578 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 17 0 NDP 14 0K 1K 166960K 37 0 temp 42 8671K 8736K 166960K 20616 0 kqueue 13 20K 31K 166960K 84 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 51 0 48 1 0 1 1 0 8 0 rtentry 176 120 0 26 6 0 6 6 0 8 0 unpcb 144 229 0 207 2 0 2 2 0 8 1 syncache 336 5 0 5 1 0 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 736 91 0 83 1 0 1 1 0 8 0 arp 136 19 0 3 1 0 1 1 0 8 0 inpcb 328 696 0 683 12 4 8 12 0 8 6 nd6 152 26 0 3 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1192 10 0 10 1 0 1 1 0 8 1 pffrag 232 2 0 0 1 0 1 1 0 482 0 pffrnode 88 2 0 0 1 0 1 1 0 8 0 pffrent 40 3 0 1 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 2 0 0 1 0 1 1 0 8 0 pfstitem 24 36 0 0 1 0 1 1 0 8 0 pfstkey 128 36 0 0 2 0 2 2 0 8 0 pfstate 448 36 0 0 4 0 4 4 0 8 0 pfrule 1344 23 0 18 2 1 1 2 0 8 0 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 520 0 118 29 0 29 29 0 8 2 art_table 40 523 0 118 5 0 5 5 0 8 0 art_node 32 120 0 37 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 1 1 0 1 1 0 8 0 semapl 112 73 0 63 1 0 1 1 0 8 0 shmpl 112 11 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2161 0 649 96 0 96 96 0 8 0 ffsino 296 2161 0 649 117 0 117 117 0 8 0 nchpl 144 2789 0 1086 64 0 64 64 0 8 0 rtmask 32 3 0 3 1 0 1 1 0 8 1 vnodes 216 2481 0 0 138 0 138 138 0 8 0 namei 1024 9279 0 9279 2 1 1 2 0 8 1 percpumem 16 63 0 11 1 0 1 1 0 8 0 vcpupl 3968 1 0 0 1 0 1 1 0 8 0 vmpool 840 1 0 0 1 0 1 1 0 8 0 kstatmem 264 46 0 14 3 0 3 3 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 13435 0 13435 3 2 1 2 1 8 1 plimitpl 152 149 0 131 1 0 1 1 0 8 0 sigapl 424 760 0 711 7 1 6 7 0 8 0 knotepl 120 309 0 0 10 0 10 10 0 8 0 kqueuepl 224 127 0 117 2 0 2 2 0 8 1 pipepl 344 145 0 118 3 0 3 3 0 8 0 fdescpl 528 740 0 709 3 0 3 3 0 8 0 filepl 160 4119 0 3893 16 1 15 16 0 8 5 lockfpl 104 227 0 225 2 0 2 2 0 8 1 lockfspl 48 41 0 39 1 0 1 1 0 8 0 sessionpl 144 23 0 14 1 0 1 1 0 8 0 pgrppl 48 39 0 22 1 0 1 1 0 8 0 ucredpl 104 517 0 503 1 0 1 1 0 8 0 zombiepl 144 714 0 711 1 0 1 1 0 8 0 processpl 1232 760 0 711 5 1 4 5 0 8 0 procpl 664 1330 0 1275 6 0 6 6 0 8 0 sosppl 176 2 0 2 1 0 1 1 0 8 1 sockpl 752 993 0 955 17 6 11 17 0 8 6 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 113 0 0 15 0 15 15 0 8 0 mcl2k 2048 25 0 0 4 0 4 4 0 8 0 mtagpl 96 7 0 0 1 0 1 1 0 8 0 mbufpl 256 165 0 0 10 0 10 10 0 8 0 bufpl 280 5415 0 131 378 0 378 378 0 8 0 anonpl 32 13442 0 0 109 0 109 109 0 246 0 amapchunkpl 152 18624 0 18132 30 0 30 30 0 158 9 amappl16 200 3164 0 3136 27 14 13 24 0 8 8 amappl15 192 22 0 22 1 1 0 1 0 8 0 amappl13 176 427 0 426 1 0 1 1 0 8 0 amappl12 168 1100 0 1058 3 1 2 3 0 8 0 amappl11 160 3 0 3 1 1 0 1 0 8 0 amappl10 152 50 0 36 1 0 1 1 0 8 0 amappl9 144 262 0 261 1 0 1 1 0 8 0 amappl8 136 27 0 25 1 0 1 1 0 8 0 amappl7 128 117 0 116 1 0 1 1 0 8 0 amappl6 120 280 0 266 1 0 1 1 0 8 0 amappl5 112 75 0 65 1 0 1 1 0 8 0 amappl4 104 421 0 393 1 0 1 1 0 8 0 amappl3 96 3428 0 3320 5 1 4 4 0 8 1 amappl2 88 530 0 471 2 0 2 2 0 8 0 amappl1 80 10617 0 10019 15 0 15 15 0 8 1 amappl 88 5191 0 5024 5 0 5 5 0 92 0 uvmvnodes 80 109 0 0 3 0 3 3 0 8 0 dma8192 8192 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 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 14 0 1 1 0 1 1 0 8 0 uaddrrnd 24 740 0 709 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 740 0 709 1 0 1 1 0 8 0 vmmpekpl 168 7867 0 7827 2 0 2 2 0 8 0 vmmpepl 168 54623 0 52707 107 0 107 107 0 357 17 vmsppl 488 739 0 709 5 0 5 5 0 8 1 rwobjpl 80 18228 0 17181 31 0 31 31 0 8 4 pdppl 4096 1490 0 1419 99 26 73 84 0 8 2 pvpl 32 22288 0 0 180 0 180 180 0 265 0 pmappl 256 740 0 709 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 276 0 30 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff837d5ff0) 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(ffffffff838c1148) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff838c1148) at __mp_lock+0x192 sys/kern/kern_lock.c:165 __mp_acquire_count(ffffffff838c1148,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(ffff800000afee00,ffff80002a2b6278,0) at ttread+0x7de ttysleep_nsec sys/kern/tty.c:2325 [inline] ttread(ffff800000afee00,ffff80002a2b6278,0) at ttread+0x7de ttysleep sys/kern/tty.c:2315 [inline] ttread(ffff800000afee00,ffff80002a2b6278,0) at ttread+0x7de sys/kern/tty.c:1587 spec_read(ffff80002a2b60d0) at spec_read+0x14b sys/kern/spec_vnops.c:215 VOP_READ(fffffd806fbdaa40,ffff80002a2b6278,0,fffffd80097fdf08) at VOP_READ+0x101 sys/kern/vfs_vops.c:227 vn_read(fffffd806f738328,ffff80002a2b6278,0) at vn_read+0x17b sys/kern/vfs_vnops.c:369 dofilereadv(ffff8000ffffc7d0,0,ffff80002a2b6278,0,ffff80002a2b6330) at dofilereadv+0x25a sys/kern/sys_generic.c:252 sys_read(ffff8000ffffc7d0,ffff80002a2b63e0,ffff80002a2b6330) at sys_read+0xa2 sys/kern/sys_generic.c:172 syscall(ffff80002a2b63e0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a2b63e0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73f316df1210, count: 1 ddb{0}> trace x86_ipi_db(ffffffff837d5ff0) 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(ffffffff838c1148) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff838c1148) at __mp_lock+0x192 sys/kern/kern_lock.c:165 __mp_acquire_count(ffffffff838c1148,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(ffff800000afee00,ffff80002a2b6278,0) at ttread+0x7de ttysleep_nsec sys/kern/tty.c:2325 [inline] ttread(ffff800000afee00,ffff80002a2b6278,0) at ttread+0x7de ttysleep sys/kern/tty.c:2315 [inline] ttread(ffff800000afee00,ffff80002a2b6278,0) at ttread+0x7de sys/kern/tty.c:1587 spec_read(ffff80002a2b60d0) at spec_read+0x14b sys/kern/spec_vnops.c:215 VOP_READ(fffffd806fbdaa40,ffff80002a2b6278,0,fffffd80097fdf08) at VOP_READ+0x101 sys/kern/vfs_vops.c:227 vn_read(fffffd806f738328,ffff80002a2b6278,0) at vn_read+0x17b sys/kern/vfs_vnops.c:369 dofilereadv(ffff8000ffffc7d0,0,ffff80002a2b6278,0,ffff80002a2b6330) at dofilereadv+0x25a sys/kern/sys_generic.c:252 sys_read(ffff8000ffffc7d0,ffff80002a2b63e0,ffff80002a2b6330) at sys_read+0xa2 sys/kern/sys_generic.c:172 syscall(ffff80002a2b63e0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a2b63e0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73f316df1210, 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: 0x7251e689cc60, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7251e689cc60, count: -1