uvm_fault(0xfffffd8061134028, 0x20, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff8184849b cs 8 rflags 10297 cr2 20 cpl 0 rsp ffff800034be4580 gsbase 0xffff8000299edff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff8184849b Starting stack trace... panic(ffffffff833c0ea4) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff800034be44d0) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b mtx_enter_try(18) at mtx_enter_try+0x7b sys/kern/kern_lock.c:290 mtx_enter(18) at mtx_enter+0x62 sys/kern/kern_lock.c:261 clockintr_unbind(ffff80000148d430,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001488000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,81,2000,ffff80003a8082c0) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003a8082c0) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff800034be4760) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805e4d48d0,81,fffffd80097fb5b0,ffff80003a8082c0) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c104680,ffff80003a8082c0) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c104680,ffff80003a8082c0) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806c104680,ffff80003a8082c0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c104680,ffff80003a8082c0) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80003a8082c0) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80003a8082c0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003a8082c0,ffff800034be4ad0,ffff800034be4a20) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800034be4ad0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800034be4ad0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f3f357e75c0, count: 239 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 *159067 78097 0 0 0 1 syz-executor 469332 29584 0 0 0 0 syz-executor proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x713d26c98ce0, 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(0xfffffd8061134028, 0x20, 0, 1) -> e ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x713d26c98ce0, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003c465110 rbx 0 rdx 0 rcx 0xffff8000fffed778 rax 0x2a r8 0xffff80003c465040 r9 0x1 r10 0x338f082d246ab282 r11 0x1669340f3e28fb4f r12 0 r13 0 r14 0 r15 0 rip 0xffffffff8264e4c7 proc_trampoline+0xc7 cs 0x8 rflags 0x246 rsp 0xffff80003c465090 ss 0x10 proc_trampoline+0xc7: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=159067 pid=78097 tcnt=1 stat=onproc flags process=0 proc=0 runpri=50, usrpri=50, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003a808fb8,0xffff80003c480fd0 process=0xffff80003c4df518 user=0xffff80003c460000, vmspace=0xfffffd80611347c8 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *78097 159067 93568 0 7 0 syz-executor 29584 469332 9964 0 7 0 syz-executor 29584 244915 9964 0 3 0x4000000 biowait syz-executor 29584 441385 9964 0 3 0x4000000 inode syz-executor 67269 412303 11494 0 2 0 syz-executor 67269 42797 11494 0 3 0x4000080 fsleep syz-executor 67269 163777 11494 0 3 0x4000080 fsleep syz-executor 88339 13246 14004 0 2 0 syz-executor 88339 207799 14004 0 3 0x4000080 fsleep syz-executor 60884 368065 18091 0 2 0 syz-executor 60884 513793 18091 0 3 0x4000080 fsleep syz-executor 66384 324335 0 0 3 0x14280 nfsidl nfsio 20629 363129 0 0 3 0x14280 nfsidl nfsio 38418 195017 0 0 3 0x14280 nfsidl nfsio 25480 299018 0 0 3 0x14280 nfsidl nfsio 86991 305838 0 0 3 0x14280 nfsidl nfsio 53811 259564 0 0 3 0x14280 nfsidl nfsio 17832 220910 0 0 3 0x14280 nfsidl nfsio 62336 144635 0 0 3 0x14280 nfsidl nfsio 48015 99291 0 0 3 0x14280 nfsidl nfsio 67936 345680 0 0 3 0x14280 nfsidl nfsio 86056 361321 0 0 3 0x14280 nfsidl nfsio 9951 342414 0 0 3 0x14280 nfsidl nfsio 70214 496813 0 0 3 0x14280 nfsidl nfsio 42003 255609 0 0 3 0x14280 nfsidl nfsio 81125 85117 0 0 3 0x14280 nfsidl nfsio 93989 162976 0 0 3 0x14280 nfsidl nfsio 90198 375655 0 0 3 0x14280 nfsidl nfsio 46040 196000 0 0 3 0x14280 nfsidl nfsio 79256 26065 0 0 3 0x14280 nfsidl nfsio 97115 97102 0 0 3 0x14280 nfsidl nfsio 41438 48522 1 0 3 0x100083 ttyopn getty 14004 422302 67732 0 3 0x82 nanoslp syz-executor 18091 222929 67732 0 3 0x82 nanoslp syz-executor 91773 415749 67732 0 3 0x82 nanoslp syz-executor 93568 406123 67732 0 3 0x82 nanoslp syz-executor 11494 179066 67732 0 3 0x82 nanoslp syz-executor 4227 88435 67732 0 2 0x2 syz-executor 9964 200282 67732 0 2 0x2 syz-executor 33170 418699 67732 0 3 0x2 biowait syz-executor 67732 292356 35943 0 3 0x82 kqread syz-executor 35943 345984 55409 0 3 0x10008a sigsusp ksh 55409 331348 34749 0 3 0x98 kqread sshd-session 34749 210999 43809 0 3 0x92 kqread sshd-session 43809 160818 1 0 3 0x88 kqread sshd 62506 318455 40932 74 3 0x1100092 bpf pflogd 40932 202878 1 0 3 0x80 sbwait pflogd 32437 93494 46223 73 3 0x1100090 kqread syslogd 46223 481353 1 0 3 0x100082 sbwait syslogd 39165 39175 1 0 3 0x100080 kqread resolvd 37725 433145 99856 77 3 0x100092 kqread dhcpleased 51153 294979 99856 77 3 0x100092 kqread dhcpleased 99856 161251 1 0 3 0x80 kqread dhcpleased 14887 399324 0 0 3 0x14200 bored smr 21664 376789 0 0 2 0x14200 zerothread 81986 443572 0 0 3 0x14200 aiodoned aiodoned 43652 171526 0 0 3 0x14200 syncer update 56417 264303 0 0 3 0x14200 cleaner cleaner 7711 87532 0 0 3 0x14200 reaper reaper 26978 473901 0 0 3 0x14200 pgdaemon pagedaemon 53797 124602 0 0 3 0x14200 bored viomb 23232 495764 0 0 3 0x40014200 acpi0 acpi0 13043 144736 0 0 3 0x40014200 idle1 71136 112454 0 0 3 0x14200 bored softnet1 12090 36245 0 0 3 0x14200 netlock softnet0 47195 510894 0 0 3 0x14200 smrbar systqmp 52441 66968 0 0 3 0x14200 bored systq 43757 495079 0 0 3 0x14200 tmoslp softclockmp 97145 498696 0 0 3 0x40014200 tmoslp softclock 54510 76297 0 0 3 0x40014200 idle0 1 4679 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 29584 (syz-executor) thread 0xffff80003c480fc0 (244915) Process 33170 (syz-executor) thread 0xffff8000ffffd9f8 (418699) Process 47195 (systqmp) thread 0xffff8000ffffe530 (510894) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10216 11053K 11149K 166960K 12077 0 pcb 18 14K 16K 166960K 384 0 rtable 186 10K 11K 166960K 641 0 pf 35 17K 22K 166960K 183 0 ifaddr 34 6K 8K 166960K 124 0 ifgroup 55 2K 2K 166960K 212 0 sysctl 4 1K 9K 166960K 20 0 counters 68 36K 37K 166960K 374 0 ioctlops 0 0K 4K 166960K 1963 0 iov 0 0K 32K 166960K 131 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1424 90K 90K 166960K 2274 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 1K 166960K 66 0 dirhash 12 2K 2K 166960K 33 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 240K 166960K 1644 0 sigio 0 0K 0K 166960K 126 0 proc 72 115K 164K 166960K 727 0 subproc 72 4K 4K 166960K 74 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 3 0K 0K 166960K 326 0 in_multi 48 3K 7K 166960K 150 0 ether_multi 1 0K 0K 166960K 13 0 mrt 2 0K 0K 166960K 22 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 109 493K 493K 166960K 109 0 exec 0 0K 1K 166960K 655 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 247 155K 167K 166960K 17059 0 UVM aobj 16 4K 6K 166960K 22 0 pinsyscall 42 84K 103K 166960K 2840 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 2 0K 0K 166960K 111 0 NDP 12 0K 2K 166960K 83 0 temp 86 8660K 8732K 166960K 84776 0 kqueue 16 24K 32K 166960K 351 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 197 0 193 2 1 1 2 0 8 0 rtentry 176 178 0 111 6 0 6 6 0 8 0 unpcb 144 1361 0 1342 13 11 2 6 0 8 1 syncache 336 18 0 17 2 1 1 1 0 8 0 tcpqe 32 4 0 4 4 3 1 1 0 8 1 tcpcb 736 743 0 734 17 10 7 8 0 8 5 arp 136 27 0 13 1 0 1 1 0 8 0 inpcb 328 2257 0 2242 16 6 10 10 0 8 6 nd6 152 31 0 19 2 1 1 2 0 8 0 pkpcb 40 8 0 8 3 3 0 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 mppekey 1024 2 0 2 2 1 1 1 0 8 1 ppxss 1192 137 0 137 1 0 1 1 0 8 1 pppxif 1504 74 0 74 3 2 1 1 0 8 1 pffrag 232 72 0 55 2 0 2 2 0 482 0 pffrnode 88 68 0 51 1 0 1 1 0 8 0 pffrent 40 135 0 117 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 2 0 2 2 2 0 1 0 8 0 pfstitem 24 151 0 35 1 0 1 1 0 8 0 pfstkey 128 151 0 35 4 0 4 4 0 8 0 pfstate 384 151 0 35 13 0 13 13 0 8 0 pfrule 1344 23 0 18 2 1 1 2 0 8 0 rttmr 136 3 0 3 1 1 0 1 0 8 0 art_heap8 4096 5 0 0 5 0 5 5 0 8 0 art_heap4 256 726 0 501 31 9 22 31 0 8 2 art_table 40 731 0 501 5 0 5 5 0 8 0 art_node 32 178 0 121 1 0 1 1 0 8 0 sysvmsgpl 40 19 0 9 1 0 1 1 0 8 0 semupl 112 2 0 2 2 2 0 1 0 8 0 semapl 112 59 0 49 1 0 1 1 0 8 0 shmpl 112 19 0 6 1 0 1 1 0 8 0 dirhash 1024 31 0 14 3 0 3 3 0 8 0 dino2pl 256 4514 0 3006 96 0 96 96 0 8 0 ffsino 296 4514 0 3006 118 0 118 118 0 8 1 nchpl 144 6900 0 6355 64 33 31 64 0 8 8 rtmask 32 12 0 12 2 2 0 1 0 8 0 vnodes 216 4907 0 0 273 0 273 273 0 8 0 namei 1024 24893 0 24889 2 1 1 2 0 8 0 percpumem 16 202 0 153 1 0 1 1 0 8 0 kstatmem 264 138 0 110 5 2 3 3 0 8 1 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 4 0 4 3 3 0 1 0 8 0 scxspl 216 35364 0 35362 14 11 3 8 1 8 2 plimitpl 152 385 0 368 1 0 1 1 0 8 0 sigapl 424 1978 0 1911 8 0 8 8 0 8 0 knotepl 120 747 0 0 22 0 22 22 0 8 0 kqueuepl 224 923 0 911 12 9 3 7 0 8 1 pipepl 344 323 0 295 9 6 3 6 0 8 0 fdescpl 528 1938 0 1907 3 0 3 3 0 8 0 filepl 160 14307 0 14081 28 12 16 20 0 8 4 lockfpl 104 801 0 799 4 3 1 3 0 8 0 lockfspl 48 201 0 199 1 0 1 1 0 8 0 sessionpl 144 34 0 25 1 0 1 1 0 8 0 pgrppl 48 145 0 128 1 0 1 1 0 8 0 ucredpl 104 2294 0 2280 1 0 1 1 0 8 0 zombiepl 144 1913 0 1911 1 0 1 1 0 8 0 processpl 1232 1978 0 1911 6 0 6 6 0 8 0 procpl 664 4655 0 4582 8 0 8 8 0 8 1 sosppl 176 11 0 11 3 2 1 1 0 8 1 sockpl 752 3901 0 3863 31 18 13 18 0 8 7 mcl64k 65536 11 0 0 2 0 2 2 0 8 0 mcl16k 16384 7 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 120 0 0 15 0 15 15 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 58 0 0 6 0 6 6 0 8 0 mtagpl 96 4 0 0 1 0 1 1 0 8 0 mbufpl 256 1192 0 0 75 0 75 75 0 8 0 bufpl 280 13466 0 7329 439 0 439 439 0 8 0 anonpl 32 10660 0 0 86 0 86 86 0 246 0 amapchunkpl 152 58163 0 57665 43 16 27 35 0 158 5 amappl16 200 6445 0 6407 38 23 15 25 0 8 4 amappl15 192 71 0 71 1 1 0 1 0 8 0 amappl14 184 17 0 17 1 1 0 1 0 8 0 amappl13 176 433 0 432 1 0 1 1 0 8 0 amappl12 168 2342 0 2300 3 0 3 3 0 8 0 amappl11 160 6 0 5 2 1 1 1 0 8 0 amappl10 152 48 0 34 1 0 1 1 0 8 0 amappl9 144 248 0 248 1 1 0 1 0 8 0 amappl8 136 42 0 39 1 0 1 1 0 8 0 amappl7 128 88 0 86 1 0 1 1 0 8 0 amappl6 120 295 0 280 1 0 1 1 0 8 0 amappl5 112 89 0 78 1 0 1 1 0 8 0 amappl4 104 488 0 456 1 0 1 1 0 8 0 amappl3 96 10124 0 10031 3 0 3 3 0 8 0 amappl2 88 2147 0 2069 2 0 2 2 0 8 0 amappl1 80 18288 0 17708 14 0 14 14 0 8 0 amappl 88 15966 0 15796 5 0 5 5 0 92 0 uvmvnodes 80 4907 0 0 101 0 101 101 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 255 0 255 3 3 0 1 0 8 0 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 21 0 6 1 0 1 1 0 8 0 uaddrrnd 24 1938 0 1907 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1938 0 1907 1 0 1 1 0 8 0 vmmpekpl 168 17939 0 17900 3 0 3 3 0 8 0 vmmpepl 168 131539 0 129618 115 17 98 107 0 357 5 vmsppl 488 1937 0 1907 6 1 5 5 0 8 1 rwobjpl 80 41521 0 35665 124 0 124 124 0 8 1 pdppl 4096 3883 0 3814 113 42 71 81 0 8 2 pvpl 32 20545 0 0 166 0 166 166 0 265 0 pmappl 256 1937 0 1907 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 377 0 66 10 0 10 10 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83823ff0) 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(ffffffff838b2cf0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff838b2cf0) 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+0x44 sys/dev/kcov.c:159 intr_handler(ffff80003a8020c0,ffff80000007aa80) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x735b160ab230, count: 5 ddb{0}> trace x86_ipi_db(ffffffff83823ff0) 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(ffffffff838b2cf0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff838b2cf0) 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+0x44 sys/dev/kcov.c:159 intr_handler(ffff80003a8020c0,ffff80000007aa80) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x735b160ab230, count: -10 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: 0x713d26c98ce0, count: 14 ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x713d26c98ce0, count: -1