uvm_fault(0xfffffd806bfdad78, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff822bd948 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80003c4dfe60 gsbase 0xffff8000299edff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff822bd948 Starting stack trace... panic(ffffffff833b5ec7) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80003c4dfdb0) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff800001478000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80003c423cc0) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c423cc0) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c4dff60) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd807d934460,81,fffffd80097fb410,ffff80003c423cc0) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068de0898,ffff80003c423cc0) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068de0898,ffff80003c423cc0) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd8068de0898,ffff80003c423cc0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8068de0898,ffff80003c423cc0) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c423cc0) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80003c423cc0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c423cc0,ffff80003c4e02d0,ffff80003c4e0220) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c4e02d0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4e02d0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75084a898b60, count: 242 End of stack trace. WARNING: SPL NOT LOWERED ON TRAP EXIT 4 0 Stopped at proc_trampoline+0xc7: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND *277505 6247 0 0 0 1 syz-executor 395326 39022 0 0 0 0 syz-executor proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x79b3248a3cb0, 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(0xfffffd806bfdad78, 0x0, 0, 1) -> e ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x79b3248a3cb0, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003980e7d0 rbx 0 rdx 0 rcx 0xffff80003c422fc8 rax 0x2a r8 0xffff80003980e700 r9 0x1 r10 0x8e8dc6e25b0fe126 r11 0xa5853ae53f7b36ae r12 0 r13 0 r14 0 r15 0 rip 0xffffffff81dcb4c7 proc_trampoline+0xc7 cs 0x8 rflags 0x246 rsp 0xffff80003980e750 ss 0x10 proc_trampoline+0xc7: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=277505 pid=6247 tcnt=3 stat=onproc flags process=0 proc=0 runpri=86, usrpri=86, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000363e94f0,0xffff80003c422810 process=0xffff8000fffe2b78 user=0xffff800039809000, vmspace=0xfffffd806c2147b8 estcpu=36, cpticks=10, pctcpu=0.0, user=5, sys=4, intr=1 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 94130 292074 2704 0 2 0 syz-executor 90850 221295 89345 0 2 0 syz-executor 90850 114381 89345 0 2 0x4000000 syz-executor 90850 271323 89345 0 3 0x4000080 fsleep syz-executor 66336 247851 73033 0 2 0 syz-executor 66336 211715 73033 0 3 0x4000080 kqsel syz-executor 66336 302138 73033 0 3 0x4000080 fsleep syz-executor 6393 320098 67268 0 2 0 syz-executor 6393 174811 67268 0 3 0x4000080 fsleep syz-executor 6393 469438 67268 0 3 0x4000080 fsleep syz-executor 58411 474352 0 0 3 0x14200 acct acct * 6247 277505 33889 0 7 0 syz-executor 6247 433225 33889 0 3 0x4000080 fsleep syz-executor 6247 221980 33889 0 3 0x4000080 fsleep syz-executor 39022 395326 19448 0 7 0 syz-executor 39022 513972 19448 0 3 0x4000080 kqread syz-executor 39022 148790 19448 0 3 0x4000080 fsleep syz-executor 7361 187305 34218 0 3 0x3000 suspend syz-executor 7361 261632 34218 0 3 0x4081000 inode syz-executor 7361 247798 34218 0 2 0x4081000 syz-executor 34218 476862 99530 0 3 0x82 wait syz-executor 49684 182915 1 0 3 0x100083 ttyin getty 89345 286118 99530 0 2 0xc82 syz-executor 23281 203242 20695 0 3 0x82 sbwait sshd-session 6645 496714 0 0 3 0x14280 nfsidl nfsio 99073 383840 0 0 3 0x14280 nfsidl nfsio 37754 5147 0 0 3 0x14280 nfsidl nfsio 88836 255344 0 0 3 0x14280 nfsidl nfsio 26684 244963 0 0 3 0x14280 nfsidl nfsio 84372 233647 0 0 3 0x14280 nfsidl nfsio 13740 37449 0 0 3 0x14280 nfsidl nfsio 54167 200659 0 0 3 0x14280 nfsidl nfsio 76103 88135 0 0 3 0x14280 nfsidl nfsio 88279 316154 0 0 3 0x14280 nfsidl nfsio 80744 196131 0 0 3 0x14280 nfsidl nfsio 18953 12824 0 0 3 0x14280 nfsidl nfsio 26410 28098 0 0 3 0x14280 nfsidl nfsio 47704 107099 0 0 3 0x14280 nfsidl nfsio 10608 131570 0 0 3 0x14280 nfsidl nfsio 37006 426320 0 0 3 0x14280 nfsidl nfsio 28617 56822 0 0 3 0x14280 nfsidl nfsio 99869 511213 0 0 3 0x14280 nfsidl nfsio 80082 188657 0 0 3 0x14280 nfsidl nfsio 82846 150770 0 0 3 0x14280 nfsidl nfsio 50187 154789 0 0 3 0x14200 bored sosplice 12591 336112 21165 0 3 0x100082 sbwait arp 21165 12779 1 0 3 0x10008a sigsusp sh 19448 226507 99530 0 2 0xc82 syz-executor 73033 463401 99530 0 2 0xc82 syz-executor 95533 150650 99530 0 2 0xc82 syz-executor 2704 455854 99530 0 2 0xc82 syz-executor 67268 1653 99530 0 2 0xc82 syz-executor 33889 351199 99530 0 2 0xc82 syz-executor 99530 130265 24005 0 3 0x82 kqread syz-executor 24005 195453 59887 0 3 0x10008a sigsusp ksh 59887 88813 72802 0 3 0x98 kqread sshd-session 72802 75582 20695 0 3 0x92 kqread sshd-session 20695 319513 1 0 3 0x88 kqread sshd 40674 413210 47354 74 3 0x1100092 bpf pflogd 47354 92918 1 0 3 0x80 sbwait pflogd 47345 195957 48651 73 3 0x1100090 kqread syslogd 48651 171869 1 0 3 0x100082 sbwait syslogd 75918 337274 1 0 3 0x100080 kqread resolvd 87849 364956 36986 77 3 0x100092 kqread dhcpleased 67406 182396 36986 77 3 0x100092 kqread dhcpleased 36986 143245 1 0 3 0x80 kqread dhcpleased 14511 95218 0 0 3 0x14200 bored smr 51132 340601 0 0 2 0x14200 zerothread 86777 462878 0 0 3 0x14200 aiodoned aiodoned 90289 502116 0 0 3 0x14200 syncer update 95689 43731 0 0 3 0x14200 cleaner cleaner 51998 60332 0 0 3 0x14200 reaper reaper 12267 177651 0 0 3 0x14200 pgdaemon pagedaemon 28674 32372 0 0 3 0x14200 bored viomb 39906 62311 0 0 3 0x40014200 acpi0 acpi0 46479 381656 0 0 3 0x40014200 idle1 22989 130248 0 0 3 0x14200 bored softnet1 77603 263563 0 0 3 0x14200 netlock softnet0 95823 76214 0 0 2 0x40014200 systqmp 39606 9056 0 0 3 0x14200 bored systq 25968 210093 0 0 2 0x14200 softclockmp 74738 92672 0 0 3 0x40014200 tmoslp softclock 63951 34434 0 0 3 0x40014200 idle0 1 37115 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 7361 (syz-executor) thread 0xffff8000363e6558 (247798) exclusive rrwlock inode r = 0 (0xfffffd806d4ab7b0) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 rrw_enter+0xc6 sys/kern/kern_rwlock.c:621 #3 VOP_LOCK+0xa3 sys/kern/vfs_vops.c:527 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:570 #5 vn_write+0x18f sys/kern/vfs_vnops.c:405 #6 dofilewritev+0x242 sys/kern/sys_generic.c:380 #7 sys_write+0xa2 sys/kern/sys_generic.c:300 #8 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #8 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10252 11168K 11360K 166960K 12154 0 pcb 18 12K 13K 166960K 255 0 rtable 252 18K 19K 166960K 585 0 pf 42 19K 67486K 166960K 238 0 ifaddr 40 7K 7K 166960K 92 0 ifgroup 59 2K 2K 166960K 139 0 sysctl 4 1K 9K 166960K 21 0 counters 70 37K 37K 166960K 278 0 ioctlops 0 0K 4K 166960K 1928 0 iov 0 0K 16K 166960K 116 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1420 89K 90K 166960K 2305 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 616K 616K 166960K 7 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 50 0 dirhash 12 2K 3K 166960K 63 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 20 73K 273K 166960K 1501 0 sigio 0 0K 0K 166960K 15 0 proc 72 115K 180K 166960K 713 0 subproc 81 5K 5K 166960K 91 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 200 0 in_multi 82 6K 6K 166960K 180 0 ether_multi 1 0K 0K 166960K 16 0 mrt 0 0K 0K 166960K 9 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 247 1102K 1102K 166960K 247 0 exec 0 0K 1K 166960K 612 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 274 180K 189K 166960K 15509 0 UVM aobj 89 7K 7K 166960K 90 0 pinsyscall 48 96K 105K 166960K 2649 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 117 0 NDP 13 0K 1K 166960K 63 0 temp 78 8656K 8916K 166960K 59657 0 kqueue 14 22K 30K 166960K 281 0 SYN cache 2 8K 16K 166960K 3 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 137 0 133 1 0 1 1 0 8 0 rtentry 176 165 0 69 5 0 5 5 0 8 0 unpcb 144 1173 0 1024 14 8 6 6 0 8 0 syncache 336 9 0 9 3 2 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 736 360 0 352 6 5 1 4 0 8 0 arp 136 31 0 11 1 0 1 1 0 8 0 inpcb 328 1297 0 1282 11 8 3 7 0 8 1 nd6 152 34 0 10 1 0 1 1 0 8 0 pkpcb 40 12 0 12 4 3 1 1 0 8 1 kcovpl 48 10 0 1 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1192 97 0 97 2 1 1 1 0 8 1 pppxif 1504 19 0 19 3 3 0 1 0 8 0 pfstscr 40 7 0 6 1 0 1 1 0 8 0 pffrag 232 17 0 6 1 0 1 1 0 482 0 pffrnode 88 14 0 3 1 0 1 1 0 8 0 pffrent 40 31 0 19 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 8 0 8 1 1 0 1 0 8 0 pfanchor 1288 1 0 1 1 1 0 1 0 8 0 pftag 88 4 0 0 1 0 1 1 0 8 0 pfstitem 24 135 0 45 1 0 1 1 0 8 0 pfstkey 128 142 0 52 3 0 3 3 0 8 0 pfstate 384 138 0 49 9 0 9 9 0 8 0 pfrule 1344 37 0 32 2 1 1 2 0 8 0 rttmr 136 2 0 2 2 2 0 1 0 8 0 art_heap8 4096 5 0 0 5 0 5 5 0 8 0 art_heap4 256 720 0 292 31 2 29 29 0 8 2 art_table 40 725 0 292 5 0 5 5 0 8 0 art_node 32 163 0 77 1 0 1 1 0 8 0 sysvmsgpl 40 44 0 4 2 1 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 46 0 36 1 0 1 1 0 8 0 shmpl 112 87 0 1 3 0 3 3 0 8 0 dirhash 1024 53 0 36 3 0 3 3 0 8 0 dino2pl 256 4145 0 2639 96 1 95 96 0 8 0 ffsino 296 4145 0 2639 117 0 117 117 0 8 0 nchpl 144 6154 0 4449 64 0 64 64 0 8 0 rtmask 32 10 0 10 4 4 0 1 0 8 0 vnodes 216 4610 0 0 257 0 257 257 0 8 0 namei 1024 21896 0 21896 3 2 1 2 0 8 1 percpumem 16 154 0 104 1 0 1 1 0 8 0 pfiaddrpl 120 2 0 2 1 1 0 1 0 8 0 kstatmem 264 92 0 62 4 1 3 3 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 8 0 8 5 4 1 1 0 8 1 scxspl 216 29109 0 29109 7 6 1 5 1 8 1 plimitpl 152 373 0 353 1 0 1 1 0 8 0 sigapl 424 1792 0 1719 9 0 9 9 0 8 0 knotepl 120 571 0 0 18 0 18 18 0 8 0 kqueuepl 224 537 0 526 4 2 2 2 0 8 1 pipepl 344 256 0 225 7 3 4 6 0 8 1 fdescpl 528 1749 0 1714 3 0 3 3 0 8 0 filepl 160 11439 0 10999 28 9 19 19 0 8 0 lockfpl 104 498 0 494 1 0 1 1 0 8 0 lockfspl 48 174 0 170 1 0 1 1 0 8 0 sessionpl 144 29 0 19 1 0 1 1 0 8 0 pgrppl 48 49 0 30 1 0 1 1 0 8 0 ucredpl 104 1811 0 1797 1 0 1 1 0 8 0 zombiepl 144 1721 0 1719 1 0 1 1 0 8 0 processpl 1232 1792 0 1719 6 0 6 6 0 8 0 procpl 664 4164 0 4079 8 0 8 8 0 8 0 sosppl 168 8 0 8 4 4 0 1 0 8 0 sockpl 752 2683 0 2515 35 18 17 17 0 8 0 mcl64k 65536 16 0 0 2 0 2 2 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 133 0 0 17 0 17 17 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 64 0 0 6 0 6 6 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 1138 0 0 72 0 72 72 0 8 0 bufpl 280 11418 0 5281 439 0 439 439 0 8 0 anonpl 32 11690 0 0 96 1 95 95 0 246 0 amapchunkpl 152 52226 0 51618 47 18 29 37 0 158 4 amappl16 200 4942 0 4725 53 41 12 27 0 8 0 amappl15 192 6 0 6 2 2 0 1 0 8 0 amappl14 184 9 0 8 1 0 1 1 0 8 0 amappl13 176 442 0 440 1 0 1 1 0 8 0 amappl12 168 2127 0 2080 3 0 3 3 0 8 0 amappl11 160 3 0 3 1 1 0 1 0 8 0 amappl10 152 49 0 34 1 0 1 1 0 8 0 amappl9 144 260 0 260 1 1 0 1 0 8 0 amappl8 136 24 0 21 1 0 1 1 0 8 0 amappl7 128 87 0 84 1 0 1 1 0 8 0 amappl6 120 298 0 281 1 0 1 1 0 8 0 amappl5 112 91 0 79 1 0 1 1 0 8 0 amappl4 104 449 0 416 1 0 1 1 0 8 0 amappl3 96 9045 0 8940 4 1 3 3 0 8 0 amappl2 88 1903 0 1816 3 0 3 3 0 8 0 amappl1 80 15471 0 14765 18 1 17 17 0 8 0 amappl 88 14485 0 14302 5 0 5 5 0 92 0 uvmvnodes 80 4610 0 0 95 0 95 95 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 256 0 256 4 3 1 1 0 8 1 dma64 64 8 0 8 3 3 0 1 0 8 0 dma32 32 8 0 8 2 2 0 1 0 8 0 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 89 0 1 2 0 2 2 0 8 0 uaddrrnd 24 1749 0 1714 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1749 0 1714 1 0 1 1 0 8 0 vmmpekpl 168 15935 0 15892 4 1 3 3 0 8 0 vmmpepl 168 115562 0 113178 128 18 110 110 0 357 2 vmsppl 488 1748 0 1714 5 0 5 5 0 8 0 rwobjpl 80 36184 0 30205 125 2 123 123 0 8 0 pdppl 4096 3506 0 3428 112 32 80 84 0 8 2 pvpl 32 20872 0 0 169 0 169 169 0 265 0 pmappl 256 1748 0 1714 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 365 0 47 10 0 10 10 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff837f9ff0) 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(ffffffff839bf018) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff839bf018) at __mp_lock+0x192 sys/kern/kern_lock.c:165 softintr_dispatch(0) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(0) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:847 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x71d9150c73c0, count: 8 ddb{0}> trace x86_ipi_db(ffffffff837f9ff0) 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(ffffffff839bf018) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff839bf018) at __mp_lock+0x192 sys/kern/kern_lock.c:165 softintr_dispatch(0) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(0) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:847 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x71d9150c73c0, count: -7 ddb{0}> machine ddbcpu 1 Stopped at proc_trampoline+0xc7: movl $0,%gs:0x688 proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x79b3248a3cb0, count: 14 ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x79b3248a3cb0, count: -1