uvm_fault(0xfffffd80774a33f0, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff82993e38 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80003c40bda0 gsbase 0xffff8000299edff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff82993e38 Starting stack trace... panic(ffffffff833a1c27) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80003c40bcf0) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff8000017b7000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(21e5f,81,2000,ffff80003c449a40) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80003c449a40) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c40bea0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8068f4b8a8,81,fffffd80097fb820,ffff80003c449a40) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd805e50e3f8,ffff80003c449a40) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd805e50e3f8,ffff80003c449a40) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd805e50e3f8,ffff80003c449a40) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd805e50e3f8,ffff80003c449a40) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c449a40) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80003c449a40,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c449a40,ffff80003c40c210,ffff80003c40c160) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c40c210) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c40c210) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x789d0f509630, count: 242 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 3 249 EXIT 0 4 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND 415851 69107 0 0 0 0 syz-executor *117897 14193 0 0x2 0 1 syz-executor savectx() at savectx+0xae end of kernel end trace frame: 0x7103532c1d10, 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}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: uvm_fault(0xfffffd80774a33f0, 0x0, 0, 1) -> e ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7103532c1d10, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a348bf0 rbx 0 rdx 0 rcx 0xffff80003c449278 rax 0x33 r8 0xffff80002a348b20 r9 0x1 r10 0xfe2e6f8ee7503899 r11 0x4419ec784c2c133 r12 0 r13 0 r14 0xffff80003c449278 r15 0 rip 0xffffffff82e9a3ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80002a348b70 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=117897 pid=14193 tcnt=1 stat=onproc flags process=2 proc=0 runpri=86, usrpri=86, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a2702b8,0xffff80003c448ff0 process=0xffff8000fffee698 user=0xffff80002a343000, vmspace=0xfffffd800b027988 estcpu=36, cpticks=33, pctcpu=0.18, user=0, sys=32, intr=1 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 69107 415851 63537 0 7 0 syz-executor 36096 194111 59968 0 2 0 syz-executor 36096 35555 59968 0 3 0x4000080 fsleep syz-executor 36096 471259 59968 0 3 0x4000080 fsleep syz-executor 36096 378452 59968 0 3 0x4000080 fsleep syz-executor 76936 431214 2416 0 3 0x80 nanoslp syz-executor 76936 116711 2416 0 3 0x4000080 fsleep syz-executor 76936 400465 2416 0 3 0x4000080 fsleep syz-executor 19180 465968 99634 0 2 0 syz-executor 19180 404872 99634 0 3 0x4000080 fsleep syz-executor 19180 6028 99634 0 3 0x4000080 fsleep syz-executor 19180 382131 99634 0 3 0x4000080 fsleep syz-executor 35669 283257 34886 0 3 0x80 nanoslp syz-executor 35669 225162 34886 0 3 0x4000080 sbwait syz-executor 35669 144502 34886 0 3 0x4000080 fsleep syz-executor 2416 219812 96451 0 3 0x82 nanoslp syz-executor 64398 20243 0 0 3 0x14200 acct acct 1146 218684 15085 0 3 0x3000 suspend syz-executor 1146 501326 15085 0 3 0x4081000 biowait syz-executor 1146 118603 15085 0 3 0x4081000 inode syz-executor 15085 371614 96451 0 3 0x82 wait syz-executor *14193 117897 96451 0 7 0x2 syz-executor 99634 267328 96451 0 3 0x82 nanoslp syz-executor 34886 492464 96451 0 3 0x82 nanoslp syz-executor 2732 432065 96451 0 3 0x82 nanoslp syz-executor 63537 303928 96451 0 3 0x82 nanoslp syz-executor 59968 386713 96451 0 3 0x82 nanoslp syz-executor 86740 497510 1 0 3 0x100083 ttyin getty 13048 335690 0 0 3 0x14200 bored sosplice 96451 73045 94513 0 3 0x82 kqread syz-executor 94513 427895 342 0 3 0x10008a sigsusp ksh 342 83993 19346 0 3 0x98 kqread sshd-session 19346 295087 28214 0 3 0x92 kqread sshd-session 28214 367560 1 0 3 0x88 kqread sshd 84612 137220 60208 74 3 0x1100092 bpf pflogd 60208 244769 1 0 3 0x80 sbwait pflogd 63313 405133 80090 73 3 0x1100090 kqread syslogd 80090 64532 1 0 3 0x100082 sbwait syslogd 12833 87967 1 0 3 0x100080 kqread resolvd 54546 418675 4732 77 3 0x100092 kqread dhcpleased 71836 32361 4732 77 3 0x100092 kqread dhcpleased 4732 87427 1 0 3 0x80 kqread dhcpleased 9794 393998 0 0 3 0x14200 bored smr 52726 255544 0 0 2 0x14200 zerothread 77694 272343 0 0 3 0x14200 aiodoned aiodoned 47254 322795 0 0 3 0x14200 syncer update 92824 172057 0 0 3 0x14200 cleaner cleaner 34765 473520 0 0 3 0x14200 reaper reaper 41248 271931 0 0 3 0x14200 pgdaemon pagedaemon 86324 68841 0 0 3 0x14200 bored viomb 8177 48214 0 0 3 0x40014200 acpi0 acpi0 19678 15601 0 0 3 0x40014200 idle1 52712 280000 0 0 3 0x14200 bored softnet1 74800 308787 0 0 3 0x14200 netlock softnet0 2719 12515 0 0 2 0x40014200 systqmp 11976 221956 0 0 3 0x14200 bored systq 59736 251357 0 0 3 0x14200 tmoslp softclockmp 8800 298520 0 0 3 0x40014200 tmoslp softclock 55872 70736 0 0 3 0x40014200 idle0 1 460784 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 1146 (syz-executor) thread 0xffff80003c446828 (501326) Process 1146 (syz-executor) thread 0xffff80002a271248 (118603) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10257 11256K 13730K 166960K 29119 0 pcb 18 20K 34K 166960K 3242 0 rtable 197 15K 17K 166960K 2474 0 pf 38 18K 67487K 166960K 1230 0 ifaddr 31 8K 11K 166960K 727 0 ifgroup 51 2K 3K 166960K 1456 0 sysctl 4 1K 9K 166960K 126 0 counters 66 36K 38K 166960K 1824 0 ioctlops 0 0K 8K 166960K 3951 0 iov 0 0K 48K 166960K 1270 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1605 101K 101K 166960K 11615 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 616K 616K 166960K 17 0 VM map 2 1K 1K 166960K 2 0 sem 26 140K 140K 166960K 627 0 dirhash 12 2K 3K 166960K 186 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 240K 166960K 11764 0 sigio 0 0K 0K 166960K 333 0 proc 72 115K 164K 166960K 2687 0 subproc 72 4K 4K 166960K 433 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 1650 0 in_multi 53 4K 7K 166960K 882 0 ether_multi 1 0K 0K 166960K 144 0 mrt 1 0K 0K 166960K 84 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 259 1155K 1155K 166960K 259 0 exec 0 0K 1K 166960K 2878 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 60 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 253 168K 192K 166960K 102998 0 UVM aobj 104 7K 7K 166960K 109 0 pinsyscall 42 84K 104K 166960K 13744 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 974 0 NDP 11 0K 2K 166960K 593 0 temp 155 8653K 8780K 166960K 532792 0 kqueue 17 28K 36K 166960K 2347 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 1273 0 1270 11 10 1 3 0 8 0 rtentry 176 835 0 773 6 1 5 5 0 8 0 unpcb 144 9359 0 9339 70 68 2 11 0 8 1 syncache 336 7 0 7 3 3 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 736 4680 0 4673 95 88 7 13 0 8 6 arp 136 89 0 77 1 0 1 1 0 8 0 inpcb 328 14288 0 14275 113 105 8 18 0 8 6 nd6 152 149 0 140 1 0 1 1 0 8 0 pkpcb 40 101 0 101 17 16 1 1 0 8 1 kcovpl 48 48 0 40 1 0 1 1 0 8 0 mppekey 1024 3 0 3 3 3 0 1 0 8 0 ppxss 1192 710 0 710 9 8 1 1 0 8 1 pppxif 1504 65 0 65 15 14 1 1 0 8 1 pfstscr 40 5 0 5 2 2 0 1 0 8 0 pffrag 232 88 0 75 1 0 1 1 0 482 0 pffrnode 88 69 0 57 1 0 1 1 0 8 0 pffrent 40 264 0 248 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 35 0 35 4 4 0 1 0 8 0 pfanchor 1288 7 0 7 4 4 0 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 673 0 565 1 0 1 1 0 8 0 pfstkey 128 682 0 574 5 0 5 5 0 8 0 pfstate 384 675 0 569 18 2 16 18 0 8 0 pfrule 1344 41 0 36 2 1 1 2 0 8 0 rttmr 136 2 0 2 1 1 0 1 0 8 0 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 2895 0 2648 54 29 25 32 0 8 3 art_table 40 2899 0 2648 6 1 5 6 0 8 0 art_node 32 754 0 705 2 1 1 2 0 8 0 sysvmsgpl 40 31 0 13 1 0 1 1 0 8 0 semupl 112 10 0 10 7 6 1 1 0 8 1 semapl 112 606 0 582 1 0 1 1 0 8 0 shmpl 112 106 0 5 3 0 3 3 0 8 0 dirhash 1024 133 0 116 3 0 3 3 0 8 0 dino2pl 256 23362 0 21745 103 1 102 102 0 8 0 ffsino 296 23362 0 21745 125 0 125 125 0 8 0 nchpl 144 39331 0 38628 65 38 27 64 0 8 0 rtmask 32 133 0 133 14 13 1 1 0 8 1 uvmvnodes 80 6762 0 0 138 0 138 138 0 8 0 vnodes 216 6762 0 0 376 0 376 376 0 8 0 namei 1024 143071 0 143070 16 15 1 3 0 8 0 percpumem 16 927 0 879 1 0 1 1 0 8 0 pfiaddrpl 120 8 0 8 3 3 0 1 0 8 0 kstatmem 264 990 0 964 6 3 3 3 0 8 0 acpiwqpl 32 2 0 2 1 0 1 1 1 8 1 scsiplug 72 38 0 38 15 14 1 1 0 8 1 scxspl 216 311551 0 311549 36 34 2 8 1 8 1 plimitpl 152 3215 0 3196 1 0 1 1 0 8 0 sigapl 424 11915 0 11866 11 4 7 8 0 8 0 knotepl 120 995 0 0 30 0 30 30 0 8 0 kqueuepl 224 4842 0 4827 43 41 2 5 0 8 1 pipepl 344 1712 0 1684 37 31 6 12 0 8 3 fdescpl 528 11783 0 11752 3 0 3 3 0 8 0 filepl 160 89577 0 89341 89 74 15 26 0 8 2 lockfpl 104 6379 0 6377 9 8 1 2 0 8 0 lockfspl 48 2330 0 2328 1 0 1 1 0 8 0 sessionpl 144 68 0 59 1 0 1 1 0 8 0 pgrppl 48 294 0 277 1 0 1 1 0 8 0 ucredpl 104 14641 0 14627 1 0 1 1 0 8 0 zombiepl 144 14131 0 14129 3 2 1 1 0 8 0 processpl 1232 11915 0 11866 7 2 5 6 0 8 0 procpl 664 31423 0 31362 13 6 7 8 0 8 0 sosppl 168 73 0 73 14 14 0 1 0 8 0 sockpl 752 25431 0 25395 264 253 11 30 0 8 7 mcl64k 65536 35 0 0 4 0 4 4 0 8 0 mcl16k 16384 8 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 9 0 0 2 0 2 2 0 8 0 mcl4k 4096 127 0 0 16 0 16 16 0 8 0 mcl2k2 2112 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 172 0 0 10 1 9 10 0 8 1 mtagpl 96 82 0 0 2 0 2 2 0 8 0 mbufpl 256 1360 0 0 82 1 81 81 0 8 0 bufpl 280 132673 0 125792 493 1 492 492 0 8 0 anonpl 32 19351 0 0 156 0 156 156 0 246 0 amapchunkpl 152 373266 0 372660 123 92 31 42 0 158 0 amappl16 200 45046 0 44737 270 253 17 46 0 8 0 amappl15 192 4 0 4 2 2 0 1 0 8 0 amappl14 184 211 0 199 1 0 1 1 0 8 0 amappl13 176 7 0 6 1 0 1 1 0 8 0 amappl12 168 13078 0 13047 3 1 2 2 0 8 0 amappl11 160 51 0 37 1 0 1 1 0 8 0 amappl10 152 8 0 7 2 1 1 1 0 8 0 amappl9 144 259 0 258 3 2 1 1 0 8 0 amappl8 136 26 0 23 1 0 1 1 0 8 0 amappl7 128 194 0 180 1 0 1 1 0 8 0 amappl6 120 582 0 578 1 0 1 1 0 8 0 amappl5 112 287 0 277 1 0 1 1 0 8 0 amappl4 104 376 0 355 1 0 1 1 0 8 0 amappl3 96 67179 0 67080 5 1 4 4 0 8 0 amappl2 88 12167 0 12083 2 0 2 2 0 8 0 amappl1 80 58167 0 57559 17 2 15 15 0 8 0 amappl 88 99595 0 99416 5 0 5 5 0 92 0 dma65536 65536 5 0 5 5 5 0 1 0 8 0 dma16384 16384 4 0 4 4 4 0 1 0 8 0 dma8192 8192 1 0 1 1 1 0 1 0 8 0 dma4096 4096 3 0 3 3 2 1 1 0 8 1 dma2048 2048 1 0 1 1 1 0 1 0 8 0 dma1024 1024 4 0 3 1 0 1 1 0 8 0 dma512 512 4 0 4 4 4 0 1 0 8 0 dma256 256 10 0 10 5 5 0 1 0 8 0 dma128 128 268 0 268 12 11 1 1 0 8 1 dma64 64 13 0 13 5 5 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 108 0 5 2 0 2 2 0 8 0 uaddrrnd 24 11783 0 11752 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 11783 0 11752 1 0 1 1 0 8 0 vmmpekpl 168 77486 0 77422 4 0 4 4 0 8 0 vmmpepl 168 733270 0 730943 207 93 114 131 0 357 0 vmsppl 488 11782 0 11752 6 1 5 5 0 8 0 rwobjpl 80 187799 0 179691 190 22 168 170 0 8 0 pdppl 4096 23574 0 23504 186 114 72 84 0 8 2 pvpl 32 27517 0 0 220 0 220 220 0 265 0 pmappl 256 11782 0 11752 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 609 0 277 10 0 10 10 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff837dcff0) 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(ffffffff83946b68) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83946b68) at __mp_lock+0x192 sys/kern/kern_lock.c:165 intr_handler(ffff80003c47f090,ffff800000069c00) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge16_untramp() at Xintr_ioapic_edge16_untramp+0x18f __mp_lock(ffffffff83946b68) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83946b68) at __mp_lock+0x192 sys/kern/kern_lock.c:165 intr_handler(ffff80003c47f1f0,ffff800000079a80) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __mp_lock(ffffffff83946b68) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83946b68) at __mp_lock+0x199 sys/kern/kern_lock.c:165 syscall(ffff80003c47f3c0) at syscall+0xaf4 mi_syscall sys/sys/syscall_mi.h:175 [inline] syscall(ffff80003c47f3c0) at syscall+0xaf4 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x706086e8ca40, count: 3 ddb{0}> trace x86_ipi_db(ffffffff837dcff0) 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(ffffffff83946b68) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83946b68) at __mp_lock+0x192 sys/kern/kern_lock.c:165 intr_handler(ffff80003c47f090,ffff800000069c00) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge16_untramp() at Xintr_ioapic_edge16_untramp+0x18f __mp_lock(ffffffff83946b68) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83946b68) at __mp_lock+0x192 sys/kern/kern_lock.c:165 intr_handler(ffff80003c47f1f0,ffff800000079a80) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __mp_lock(ffffffff83946b68) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83946b68) at __mp_lock+0x199 sys/kern/kern_lock.c:165 syscall(ffff80003c47f3c0) at syscall+0xaf4 mi_syscall sys/sys/syscall_mi.h:175 [inline] syscall(ffff80003c47f3c0) at syscall+0xaf4 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x706086e8ca40, count: -12 ddb{0}> machine ddbcpu 1 Stopped at savectx+0xae: movl $0,%gs:0x688 savectx() at savectx+0xae end of kernel end trace frame: 0x7103532c1d10, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7103532c1d10, count: -1