uvm_fault(0xfffffd806eb29e68, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff812f8f18 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80003c9a7940 gsbase 0xffffffff83796ff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff812f8f18 Starting stack trace... panic(ffffffff8336763d) at panic+0x1ba sys/kern/subr_prf.c:229 kerntrap(ffff80003c9a7890) at kerntrap+0x2fb alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt _ioctl_record_stop(ffff800001496c80) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80002a81f4f0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a81f4f0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c9a7a40) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80667dc0e0,81,fffffd8007bfb2d8,ffff80002a81f4f0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd807aa6aa68,ffff80002a81f4f0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd807aa6aa68,ffff80002a81f4f0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd807aa6aa68,ffff80002a81f4f0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd807aa6aa68,ffff80002a81f4f0) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff80003c9a7c90) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9a7c90) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x48dad3407d0, count: 245 End of stack trace. sWARNING: SPL NOT LOWERED ON SYSCALL 110 53 EXIT 0 3 et $lines = 0 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND *398550 55974 0 0x2 0 0 syz-executor savectx() at savectx+0xae end of kernel end trace frame: 0x786220d92240, 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> set $maxwidth = 0 ddb> show panic *cpu0: uvm_fault(0xfffffd806eb29e68, 0x0, 0, 1) -> e ddb> trace savectx() at savectx+0xae end of kernel end trace frame: 0x786220d92240, count: -1 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002a8372b0 rbx 0 rdx 0 rcx 0 rax 0x34 r8 0xffff80002a8371e0 r9 0 r10 0x73fea70a78e9dd77 r11 0x7ee62e1562b60d9a r12 0 r13 0 r14 0xffff80002a7defa0 r15 0 rip 0xffffffff811873ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80002a837230 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb> show proc PROC (syz-executor) tid=398550 pid=55974 tcnt=1 stat=onproc flags process=2 proc=0 runpri=24, usrpri=51, slppri=24, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7dea70,0xffff80002a787770 process=0xffff80002a794908 user=0xffff80002a832000, vmspace=0xfffffd80094275c0 estcpu=1, cpticks=40, pctcpu=0.0, user=7, sys=33, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 56094 494898 84606 0 2 0 syz-executor 56094 124846 84606 0 3 0x4000080 fsleep syz-executor 56094 7396 84606 0 3 0x4000080 fsleep syz-executor 19572 109706 14974 0 2 0 syz-executor 19572 243647 14974 0 3 0x4000080 fsleep syz-executor 19572 152472 14974 0 3 0x4000080 fsleep syz-executor 62424 356738 84878 0 2 0 syz-executor 62424 383972 84878 0 2 0x4000000 syz-executor 62424 367294 84878 0 3 0x4000080 fsleep syz-executor 62424 335548 84878 0 3 0x4000080 fsleep syz-executor 71283 322291 70032 0 2 0 syz-executor 71283 83437 70032 0 3 0x4000000 netlock syz-executor 71283 19105 70032 0 3 0x4000080 fsleep syz-executor 92725 498167 1 0 3 0x100003 kmmaplk getty 26545 30385 55974 0 3 0x82 wait syz-executor 84606 124960 55974 0 2 0xc82 syz-executor 94241 332783 55974 0 3 0x2 kmmaplk syz-executor 66319 198225 0 0 3 0x14200 bored sosplice 84878 33366 55974 0 2 0xc82 syz-executor 834 156917 55974 0 2 0x2 syz-executor 8814 98205 55974 0 2 0xc82 syz-executor 70032 412292 55974 0 2 0x2 syz-executor 14974 387803 55974 0 2 0x2 syz-executor *55974 398550 53899 0 7 0x2 syz-executor 53899 354651 53183 0 3 0x10008a sigsusp ksh 53183 451192 41277 0 3 0x98 kqread sshd-session 41277 246861 25809 0 3 0x92 kqread sshd-session 25809 280833 1 0 3 0x88 kqread sshd 37378 89006 61536 73 3 0x1100090 kqread syslogd 61536 346461 1 0 3 0x100082 sbwait syslogd 38914 196191 1 0 3 0x100080 kqread resolvd 20300 229583 64362 77 3 0x100092 kqread dhcpleased 23572 22318 64362 77 3 0x100092 kqread dhcpleased 64362 245892 1 0 3 0x80 kqread dhcpleased 16058 419680 0 0 3 0x14200 bored smr 81151 98231 0 0 2 0x14200 zerothread 90155 352344 0 0 3 0x14200 aiodoned aiodoned 1365 44214 0 0 2 0x14200 update 30920 259893 0 0 3 0x14200 cleaner cleaner 5808 336226 0 0 3 0x14200 kmmaplk reaper 69865 485678 0 0 3 0x14200 pgdaemon pagedaemon 21903 121555 0 0 3 0x14200 bored viomb 74456 227197 0 0 3 0x40014200 acpi0 acpi0 50691 514050 0 0 3 0x14200 bored softnet7 29293 229910 0 0 3 0x14200 bored softnet6 71547 107503 0 0 3 0x14200 bored softnet5 30195 111627 0 0 3 0x14200 bored softnet4 8368 488255 0 0 3 0x14200 bored softnet3 89994 405468 0 0 3 0x14200 bored softnet2 64247 73570 0 0 3 0x14200 bored softnet1 86253 415192 0 0 3 0x14200 netlock softnet0 54432 292993 0 0 3 0x14200 bored systqmp 71848 161876 0 0 3 0x14200 bored systq 81242 364950 0 0 3 0x40014200 netlock softclock 99186 102288 0 0 3 0x40014200 idle0 1 69641 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10224 11087K 11614K 166960K 12406 0 pcb 84 20K 20K 166960K 350 0 rtable 193 9K 10K 166960K 550 0 pf 34 13K 16K 166960K 137 0 ifaddr 39 6K 8K 166960K 112 0 ifgroup 55 2K 2K 166960K 180 0 sysctl 4 1K 9K 166960K 22 0 counters 33 17K 18K 166960K 124 0 ioctlops 0 0K 4K 166960K 299 0 iov 0 0K 17K 166960K 78 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1405 88K 89K 166960K 2363 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 9K 166960K 33 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 51 0 dirhash 12 2K 3K 166960K 45 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 15 53K 110K 166960K 1379 0 sigio 0 0K 0K 166960K 120 0 proc 60 59K 124K 166960K 715 0 subproc 72 4K 4K 166960K 101 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 1 0K 0K 166960K 546 0 in_multi 77 5K 7K 166960K 191 0 ether_multi 1 0K 0K 166960K 18 0 mrt 4 0K 0K 166960K 20 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 2K 166960K 504 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 213 151K 178K 166960K 13795 0 UVM aobj 131 4K 4K 166960K 134 0 pinsyscall 36 72K 96K 166960K 2486 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 1 0K 0K 166960K 67 0 NDP 12 0K 2K 166960K 74 0 temp 74 8644K 8772K 166960K 47130 0 kqueue 14 22K 34K 166960K 275 0 SYN cache 2 8K 16K 166960K 3 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 167 0 164 2 0 2 2 0 8 1 rtentry 136 188 0 113 4 0 4 4 0 8 0 unpcb 144 1366 0 1349 9 3 6 6 0 8 5 syncache 336 5 0 5 2 1 1 1 0 8 1 tcpqe 32 2 0 2 2 1 1 1 0 8 1 tcpcb 736 557 0 551 7 0 7 7 0 8 5 arp 96 23 0 12 1 0 1 1 0 8 0 ipq 40 3 0 1 1 0 1 1 0 8 0 ipqe 40 5 0 3 1 0 1 1 0 8 0 inpcb 328 1621 0 1542 15 8 7 10 0 8 0 ip6q 72 4 0 0 1 0 1 1 0 8 0 ip6af 40 4 0 0 1 0 1 1 0 8 0 nd6 104 35 0 21 1 0 1 1 0 8 0 pkpcb 40 9 0 9 2 1 1 1 0 8 1 kcovpl 48 11 0 3 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1072 75 0 74 1 0 1 1 0 8 0 pppxif 1384 40 0 40 2 1 1 1 0 8 1 pftag 88 2 0 0 1 0 1 1 0 8 0 pfrule 1344 3 0 2 1 0 1 1 0 8 0 rttmr 136 6 0 6 2 1 1 1 0 8 1 art_heap8 4096 4 0 1 3 0 3 3 0 8 0 art_heap4 256 969 0 594 39 12 27 33 0 8 1 art_table 40 973 0 595 6 0 6 6 0 8 0 art_node 32 184 0 124 1 0 1 1 0 8 0 sysvmsgpl 40 38 0 36 1 0 1 1 0 8 0 semupl 112 3 0 3 2 1 1 1 0 8 1 semapl 112 46 0 36 1 0 1 1 0 8 0 shmpl 112 131 0 3 4 0 4 4 0 8 0 dirhash 1024 39 0 22 3 0 3 3 0 8 0 dino2pl 256 4004 0 2504 95 0 95 95 0 8 0 ffsino 256 4004 0 2504 95 0 95 95 0 8 0 nchpl 144 5923 0 4232 64 0 64 64 0 8 0 rtmask 32 4 0 4 1 0 1 1 0 8 1 uvmvnodes 80 4482 0 0 92 0 92 92 0 8 0 vnodes 216 4482 0 0 249 0 249 249 0 8 0 namei 1024 21368 0 21368 2 1 1 2 0 8 1 kstatmem 264 104 0 80 3 0 3 3 0 8 1 scsiplug 72 3 0 3 2 1 1 1 0 8 1 scxspl 216 18339 0 18338 9 7 2 8 1 8 1 plimitpl 152 287 0 270 1 0 1 1 0 8 0 sigapl 424 1677 0 1627 9 1 8 8 0 8 1 knotepl 120 67160 0 66866 24 14 10 17 0 8 1 kqueuepl 184 533 0 523 4 3 1 4 0 8 0 pipepl 304 419 0 364 15 5 10 10 0 8 5 fdescpl 448 1630 0 1603 5 1 4 5 0 8 0 filepl 120 11722 0 11388 18 5 13 13 0 8 2 lockfpl 104 528 0 526 1 0 1 1 0 8 0 lockfspl 48 190 0 188 1 0 1 1 0 8 0 sessionpl 144 27 0 19 1 0 1 1 0 8 0 pgrppl 48 57 0 41 1 0 1 1 0 8 0 ucredpl 104 2135 0 2123 1 0 1 1 0 8 0 zombiepl 144 2123 0 2120 1 0 1 1 0 8 0 processpl 1152 1677 0 1627 7 1 6 6 0 8 1 procpl 664 3698 0 3638 8 0 8 8 0 8 2 sosppl 168 5 0 5 2 1 1 1 0 8 1 sockpl 552 3351 0 3251 19 7 12 13 0 8 4 mcl64k 65536 173 0 171 2 1 1 2 0 8 0 mcl16k 16384 9 0 9 2 1 1 1 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl9k 9216 2 0 2 1 1 0 1 0 8 0 mcl8k 8192 92 0 92 2 1 1 1 0 8 1 mcl4k 4096 4142 0 4086 14 6 8 14 0 8 1 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 1940 0 1937 5 3 2 4 0 8 1 mtagpl 96 9 0 8 1 0 1 1 0 8 0 mbufpl 256 18230 0 18049 27 7 20 22 0 8 4 bufpl 280 5406 0 126 378 0 378 378 0 8 0 anonpl 24 211509 0 208001 69 21 48 48 0 187 16 amapchunkpl 152 47957 0 47505 52 11 41 41 0 158 19 amappl16 200 2682 0 2646 27 15 12 15 0 8 8 amappl14 184 112 0 102 1 0 1 1 0 8 0 amappl13 176 3 0 3 1 1 0 1 0 8 0 amappl12 168 2288 0 2261 3 1 2 3 0 8 0 amappl11 160 47 0 36 1 0 1 1 0 8 0 amappl10 152 4 0 4 1 1 0 1 0 8 0 amappl9 144 259 0 259 1 1 0 1 0 8 0 amappl8 136 16 0 14 1 0 1 1 0 8 0 amappl7 128 107 0 95 1 0 1 1 0 8 0 amappl6 120 196 0 193 1 0 1 1 0 8 0 amappl5 112 121 0 113 1 0 1 1 0 8 0 amappl4 104 280 0 264 1 0 1 1 0 8 0 amappl3 96 8170 0 8089 3 0 3 3 0 8 0 amappl2 88 1874 0 1804 2 0 2 2 0 8 0 amappl1 80 13794 0 13250 15 1 14 14 0 8 0 amappl 88 12846 0 12696 5 0 5 5 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma2048 2048 5 0 5 2 1 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 8 0 8 2 1 1 1 0 8 1 dma128 128 255 0 255 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 133 0 3 3 0 3 3 0 8 0 uaddrrnd 24 1630 0 1603 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1630 0 1603 1 0 1 1 0 8 0 vmmpekpl 168 13927 0 13876 3 0 3 3 0 8 0 vmmpepl 168 103659 0 101893 105 10 95 95 0 357 7 vmsppl 368 1629 0 1601 4 1 3 4 0 8 0 rwobjpl 40 30629 0 25168 56 0 56 56 0 8 0 pdppl 4096 3266 0 3202 112 46 66 82 0 8 2 pvpl 32 664571 0 656339 151 35 116 119 0 265 27 pmappl 216 1629 0 1601 3 1 2 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 426 0 84 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace savectx() at savectx+0xae end of kernel end trace frame: 0x786220d92240, count: -1 ddb> machine ddbcpu 1 No such command ddb> trace savectx() at savectx+0xae end of kernel end trace frame: 0x786220d92240, count: -1