uvm_fault(0xfffffd800b0273d0, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff81427858 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80002a3133a0 gsbase 0xffff8000299edff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff81427858 Starting stack trace... panic(ffffffff833a078c) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80002a3132f0) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff8000016f8000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(21e5f,1,2000,ffff800035c21cb8) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,1,2000,ffff800035c21cb8) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002a3134a0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805b5987f8,1,fffffd80097fb5b0,ffff800035c21cb8) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8069579910,ffff800035c21cb8) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8069579910,ffff800035c21cb8) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd8069579910,ffff800035c21cb8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8069579910,ffff800035c21cb8) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff800035c21cb8) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff800035c21cb8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800035c21cb8,ffff80002a313810,ffff80002a313760) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a313810) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a313810) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74d61785bd10, count: 242 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 49 0 EXIT 0 4 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND *382368 8094 0 0 0x4000000 1 syz-executor 116518 37277 0 0x2 0x1 0 syz-executor savectx() at savectx+0xae end of kernel end trace frame: 0xc4a738ea0, 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(0xfffffd800b0273d0, 0x0, 0, 1) -> e ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0xc4a738ea0, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003c499cb0 rbx 0 rdx 0 rcx 0xffff80002a2b94d8 rax 0x32 r8 0xffff80003c499be0 r9 0x80713 acpi_pdirpa+0x6c584 r10 0xbe1bbaf685051659 r11 0x507a28df4c03cbb7 r12 0 r13 0 r14 0xffff80002a2b94d8 r15 0 rip 0xffffffff830303ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80003c499c30 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=382368 pid=8094 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=50, usrpri=50, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000ffff3a00,0xffffffff83930db8 process=0xffff80002a2a6bf0 user=0xffff80003c494000, vmspace=0xfffffd806ef827a8 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 8094 271860 37277 0 2 0 syz-executor * 8094 382368 37277 0 7 0x4000000 syz-executor 2958 322262 2816 0 2 0 syz-executor 2958 170588 2816 0 3 0x4000000 biowait syz-executor 85415 332545 22100 0 3 0x3000 suspend syz-executor 85415 79925 22100 0 2 0x4081000 syz-executor 63460 364049 36272 -1 3 0x90 nanoslp syz-executor 63460 462967 36272 -1 3 0x4000090 ttyout syz-executor 63460 75171 36272 -1 3 0x4000090 fsleep syz-executor 63460 376872 36272 -1 3 0x4000090 ttyout syz-executor 63460 62471 36272 -1 3 0x4000090 fsleep syz-executor 63460 490292 36272 -1 3 0x4000090 fsleep syz-executor 24954 415335 0 0 3 0x14200 acct acct 2816 477525 57085 0 2 0x3 syz-executor 14443 44827 74460 0 3 0x3000 suspend syz-executor 14443 38143 74460 0 3 0x4081000 uvn_flsh syz-executor 14443 86123 74460 0 3 0x4081000 inode syz-executor 14443 124408 74460 0 3 0x4081000 inode syz-executor 63351 467081 57085 0 2 0x3 syz-executor 37277 116518 57085 0 7 0x3 syz-executor 22100 23105 57085 0 3 0x82 nanoslp syz-executor 24119 74230 57085 0 2 0x2 syz-executor 74460 336710 57085 0 3 0x82 wait syz-executor 14052 94831 57085 0 3 0x82 wait syz-executor 36272 465374 57085 0 2 0x3 syz-executor 48561 297351 1 0 3 0x100083 ttyin getty 72538 267976 0 0 3 0x14200 bored sosplice 57085 130188 91804 0 3 0x82 kqread syz-executor 91804 252659 40997 0 3 0x10008a sigsusp ksh 40997 388837 62476 0 3 0x98 kqread sshd-session 62476 361260 13320 0 3 0x92 kqread sshd-session 13320 247761 1 0 3 0x88 kqread sshd 31054 195698 24885 74 3 0x1100092 bpf pflogd 24885 159654 1 0 3 0x80 sbwait pflogd 90630 434005 80105 73 3 0x1100090 kqread syslogd 80105 441333 1 0 3 0x100082 sbwait syslogd 80336 172020 1 0 3 0x100080 kqread resolvd 13223 126246 0 0 3 0x14200 bored smr 32532 365038 0 0 3 0x14200 pgzero zerothread 4999 512460 0 0 3 0x14200 aiodoned aiodoned 90071 243025 0 0 3 0x14200 syncer update 4248 219668 0 0 3 0x14200 cleaner cleaner 78431 487035 0 0 2 0x14200 reaper 9330 105907 0 0 3 0x14200 pgdaemon pagedaemon 28460 195784 0 0 3 0x14200 bored viomb 21489 125403 0 0 3 0x40014200 acpi0 acpi0 15939 293947 0 0 3 0x40014200 idle1 19304 463499 0 0 3 0x14200 bored softnet7 3024 124972 0 0 3 0x14200 bored softnet6 86329 244478 0 0 3 0x14200 bored softnet5 96776 109129 0 0 3 0x14200 bored softnet4 98943 505305 0 0 3 0x14200 bored softnet3 81344 75945 0 0 3 0x14200 bored softnet2 37701 143359 0 0 3 0x14200 bored softnet1 62303 416282 0 0 2 0x14200 softnet0 53230 449626 0 0 2 0x40014200 systqmp 717 99223 0 0 3 0x14200 bored systq 91954 261164 0 0 3 0x14200 tmoslp softclockmp 32978 107552 0 0 3 0x40014200 tmoslp softclock 77889 497765 0 0 3 0x40014200 idle0 1 26574 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 2958 (syz-executor) thread 0xffff800035c21a20 (170588) Process 85415 (syz-executor) thread 0xffff8000ffff2a70 (79925) Process 14443 (syz-executor) thread 0xffff800035c21258 (38143) Process 14443 (syz-executor) thread 0xffff80002a37d4f8 (86123) Process 14443 (syz-executor) thread 0xffff8000ffff2540 (124408) Process 78431 (reaper) thread 0xffff8000ffffc7d0 (487035) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10254 11075K 12477K 166960K 20142 0 pcb 17 21K 24K 166960K 1455 0 rtable 265 17K 17K 166960K 1505 0 pf 41 18K 67486K 166960K 734 0 ifaddr 45 11K 13K 166960K 449 0 ifgroup 64 2K 3K 166960K 854 0 sysctl 4 1K 9K 166960K 88 0 counters 72 37K 38K 166960K 1052 0 ioctlops 0 0K 4K 166960K 2769 0 iov 0 0K 34K 166960K 918 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1521 96K 96K 166960K 7831 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 72K 76K 166960K 51 0 VM map 2 1K 1K 166960K 2 0 sem 20 41K 41K 166960K 365 0 dirhash 12 2K 2K 166960K 126 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 7404 0 sigio 0 0K 0K 166960K 143 0 proc 66 83K 164K 166960K 1822 0 subproc 72 4K 4K 166960K 321 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 2 0K 0K 166960K 1502 0 in_multi 101 7K 7K 166960K 452 0 ether_multi 1 0K 0K 166960K 43 0 mrt 1 0K 0K 166960K 44 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 265 1182K 1182K 166960K 265 0 exec 0 0K 1K 166960K 2094 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 14 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 244 129K 177K 166960K 68506 0 UVM aobj 111 5K 5K 166960K 117 0 pinsyscall 37 74K 102K 166960K 9018 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 534 0 NDP 14 0K 2K 166960K 364 0 temp 95 8652K 8900K 166960K 319045 0 kqueue 7 12K 32K 166960K 1371 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 803 0 802 8 7 1 3 0 8 0 rtentry 176 467 0 372 5 0 5 5 0 8 0 unpcb 144 5897 0 5887 38 35 3 8 0 8 2 syncache 336 33 0 33 9 9 0 1 0 8 0 tcpqe 32 7 0 7 4 4 0 1 0 8 0 tcpcb 736 2752 0 2747 55 48 7 10 0 8 6 arp 128 64 0 51 1 0 1 1 0 8 0 ipq 40 10 0 9 2 1 1 1 0 8 0 ipqe 40 14 0 13 2 1 1 1 0 8 0 inpcb 328 8490 0 8479 93 86 7 20 0 8 5 ip6q 72 4 0 4 1 1 0 1 0 8 0 ip6af 40 5 0 5 1 1 0 1 0 8 0 nd6 144 88 0 65 1 0 1 1 0 8 0 pkpcb 40 178 0 178 12 11 1 1 0 8 1 kcovpl 48 27 0 19 1 0 1 1 0 8 0 mppekey 1024 4 0 4 4 4 0 1 0 8 0 ppxss 1192 412 0 412 8 7 1 1 0 8 1 pppxif 1504 93 0 93 13 12 1 1 0 8 1 pfstscr 40 66 0 66 1 1 0 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 2 0 2 2 2 0 1 0 8 0 pfstitem 24 24 0 22 1 0 1 1 0 8 0 pfstkey 128 90 0 88 1 0 1 1 0 8 0 pfstate 384 57 0 55 3 2 1 3 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 rttmr 136 4 0 4 3 2 1 1 0 8 1 art_heap8 4096 7 0 3 6 2 4 6 0 8 0 art_heap4 256 1922 0 1440 44 13 31 32 0 8 0 art_table 40 1929 0 1443 6 0 6 6 0 8 0 art_node 32 456 0 374 1 0 1 1 0 8 0 sysvmsgpl 40 12 0 5 1 0 1 1 0 8 0 semupl 112 2 0 2 2 2 0 1 0 8 0 semapl 112 356 0 338 1 0 1 1 0 8 0 shmpl 112 114 0 6 4 0 4 4 0 8 0 dirhash 1024 93 0 76 3 0 3 3 0 8 0 dino2pl 256 14931 0 13360 99 0 99 99 0 8 0 ffsino 296 14931 0 13360 122 0 122 122 0 8 0 nchpl 144 24960 0 23231 65 0 65 65 0 8 0 rtmask 32 63 0 63 8 7 1 1 0 8 1 uvmvnodes 80 6107 0 0 125 0 125 125 0 8 0 vnodes 216 6107 0 0 340 0 340 340 0 8 0 namei 1024 91548 0 91546 9 8 1 3 0 8 0 percpumem 16 541 0 490 1 0 1 1 0 8 0 kstatmem 264 622 0 590 7 4 3 3 0 8 0 acpiwqpl 32 3 0 3 1 0 1 1 1 8 1 scsiplug 72 41 0 41 13 12 1 1 0 8 1 scxspl 216 187923 0 187922 24 23 1 8 1 8 0 plimitpl 152 1841 0 1822 1 0 1 1 0 8 0 sigapl 424 7645 0 7592 9 1 8 9 0 8 0 knotepl 120 866 0 0 25 0 25 25 0 8 0 kqueuepl 224 3159 0 3153 30 29 1 5 0 8 0 pipepl 344 1300 0 1273 31 28 3 9 0 8 0 fdescpl 528 7586 0 7557 3 0 3 3 0 8 0 filepl 160 55649 0 55442 63 49 14 22 0 8 0 lockfpl 104 4698 0 4696 8 7 1 4 0 8 0 lockfspl 48 1841 0 1839 1 0 1 1 0 8 0 sessionpl 144 67 0 59 1 0 1 1 0 8 0 pgrppl 48 306 0 290 1 0 1 1 0 8 0 ucredpl 104 8611 0 8600 1 0 1 1 0 8 0 zombiepl 144 9782 0 9777 1 0 1 1 0 8 0 processpl 1248 7645 0 7592 6 1 5 6 0 8 0 procpl 664 19751 0 19684 10 3 7 9 0 8 0 sosppl 168 90 0 89 10 9 1 1 0 8 0 sockpl 752 15621 0 15599 141 131 10 26 0 8 6 mcl64k 65536 26 0 0 4 0 4 4 0 8 0 mcl16k 16384 18 0 0 3 0 3 3 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 130 0 0 15 0 15 15 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 92 0 0 12 1 11 12 0 8 0 mtagpl 96 25 0 0 1 0 1 1 0 8 0 mbufpl 256 559 0 0 29 0 29 29 0 8 0 bufpl 280 77091 0 70948 440 0 440 440 0 8 0 anonpl 32 16624 0 0 133 0 133 133 0 246 0 amapchunkpl 152 246957 0 246372 125 95 30 39 0 158 3 amappl16 200 28500 0 28250 186 163 23 42 0 8 8 amappl15 192 39 0 39 2 2 0 1 0 8 0 amappl14 184 205 0 195 1 0 1 1 0 8 0 amappl13 176 27 0 27 5 4 1 1 0 8 1 amappl12 168 8560 0 8531 3 1 2 2 0 8 0 amappl11 160 79 0 71 1 0 1 1 0 8 0 amappl10 152 6 0 6 3 3 0 1 0 8 0 amappl9 144 251 0 251 1 1 0 1 0 8 0 amappl8 136 20 0 17 1 0 1 1 0 8 0 amappl7 128 175 0 164 1 0 1 1 0 8 0 amappl6 120 394 0 389 1 0 1 1 0 8 0 amappl5 112 202 0 195 1 0 1 1 0 8 0 amappl4 104 438 0 417 1 0 1 1 0 8 0 amappl3 96 49760 0 49636 5 1 4 4 0 8 0 amappl2 88 1137 0 1087 2 0 2 2 0 8 0 amappl1 80 44991 0 44479 16 1 15 15 0 8 0 amappl 88 66150 0 65962 5 0 5 5 0 92 0 dma65536 65536 1 0 1 1 1 0 1 0 8 0 dma32768 32768 4 0 4 3 3 0 1 0 8 0 dma16384 16384 1 0 1 1 1 0 1 0 8 0 dma8192 8192 2 0 2 2 1 1 1 0 8 1 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 dma256 256 8 0 8 3 3 0 1 0 8 0 dma128 128 272 0 272 12 11 1 1 0 8 1 dma64 64 8 0 8 3 3 0 1 0 8 0 dma32 32 12 0 12 5 5 0 1 0 8 0 dma16 16 21 0 20 1 0 1 1 0 8 0 aobjpl 72 116 0 6 3 0 3 3 0 8 0 uaddrrnd 24 7586 0 7557 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 7586 0 7557 1 0 1 1 0 8 0 vmmpekpl 168 56090 0 56017 4 0 4 4 0 8 0 vmmpepl 168 486418 0 484374 167 55 112 112 0 357 11 vmsppl 488 7585 0 7557 5 0 5 5 0 8 0 rwobjpl 80 127771 0 120478 160 3 157 157 0 8 0 pdppl 4096 15179 0 15114 159 94 65 83 0 8 0 pvpl 32 27739 0 0 220 0 220 220 0 265 0 pmappl 256 7585 0 7557 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 472 0 192 9 0 9 9 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83847ff0) 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(ffffffff8392ba78) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8392ba78) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x19 kd_curproc sys/dev/kcov.c:580 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x19 sys/dev/kcov.c:153 intr_handler(ffff80003c449520,ffff800000079a80) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x44 sys/dev/kcov.c:159 ktrstruct(ffff800035c20560,ffffffff833e070b,ffff80003c449750,10) at ktrstruct+0xdf sys/kern/kern_ktrace.c:313 sys_nanosleep(ffff800035c20560,ffff80003c449890,ffff80003c4497e0) at sys_nanosleep+0x108 sys/kern/kern_time.c:294 syscall(ffff80003c449890) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c449890) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 end trace frame: 0xffff80003c449910, count: 0 ddb{0}> trace x86_ipi_db(ffffffff83847ff0) 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(ffffffff8392ba78) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8392ba78) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x19 kd_curproc sys/dev/kcov.c:580 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x19 sys/dev/kcov.c:153 intr_handler(ffff80003c449520,ffff800000079a80) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x44 sys/dev/kcov.c:159 ktrstruct(ffff800035c20560,ffffffff833e070b,ffff80003c449750,10) at ktrstruct+0xdf sys/kern/kern_ktrace.c:313 sys_nanosleep(ffff800035c20560,ffff80003c449890,ffff80003c4497e0) at sys_nanosleep+0x108 sys/kern/kern_time.c:294 syscall(ffff80003c449890) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c449890) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x738cd0242ce0, count: -15 ddb{0}> machine ddbcpu 1 Stopped at savectx+0xae: movl $0,%gs:0x688 savectx() at savectx+0xae end of kernel end trace frame: 0xc4a738ea0, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0xc4a738ea0, count: -1