uvm_fault(0xfffffd806ef7eb78, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff8302ab08 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80002a32eef0 gsbase 0xffff8000299edff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff8302ab08 Starting stack trace... panic(ffffffff833a1f82) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80002a32ee40) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff800001661000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80002a2b9a08) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a2b9a08) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002a32eff0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80689417f0,81,fffffd80097fb478,ffff80002a2b9a08) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd807db8dc98,ffff80002a2b9a08) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd807db8dc98,ffff80002a2b9a08) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd807db8dc98,ffff80002a2b9a08) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd807db8dc98,ffff80002a2b9a08) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a2b9a08) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80002a2b9a08,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a2b9a08,ffff80002a32f360,ffff80002a32f2b0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a32f360) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a32f360) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b519620dd10, 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 * 78609 42554 0 0 0 1 syz-executor 166383 3664 0 0x14000 0x40000200 0 softclock proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x7bd74940db60, 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(0xfffffd806ef7eb78, 0x0, 0, 1) -> e ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x7bd74940db60, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003c4f1220 rbx 0 rdx 0 rcx 0xffff80003c463a20 rax 0x2a r8 0xffff80003c4f1150 r9 0x1 r10 0xb63e8ba4984aa4c5 r11 0x1445d40870d63b8c r12 0 r13 0xffffffff816916e8 Xdoreti+0x18 r14 0 r15 0 rip 0xffffffff811954c7 proc_trampoline+0xc7 cs 0x8 rflags 0x246 rsp 0xffff80003c4f11a0 ss 0 proc_trampoline+0xc7: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=78609 pid=42554 tcnt=2 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=0xffff80002a2b9a08,0xffff80003c462808 process=0xffff80002a35faa8 user=0xffff80003c4ec000, vmspace=0xfffffd806ef7e990 estcpu=36, cpticks=2, pctcpu=0.0, user=1, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *42554 78609 89248 0 7 0 syz-executor 42554 150216 89248 0 2 0x4000000 syz-executor 56077 6914 73151 60928 2 0xc90 syz-executor 56077 138164 73151 60928 3 0x4000090 ttyout syz-executor 56077 314255 73151 60928 3 0x4000090 fsleep syz-executor 27289 183497 40588 0 2 0xc80 syz-executor 27289 326613 40588 0 3 0x4000080 rest syz-executor 27289 125592 40588 0 3 0x4000080 fsleep syz-executor 12822 412080 86647 0 2 0xc80 syz-executor 12822 385919 86647 0 3 0x4000080 fsleep syz-executor 12822 434653 86647 0 3 0x4000080 lockf syz-executor 12822 518311 86647 0 3 0x4000080 fsleep syz-executor 36279 250903 11537 0 2 0xc80 syz-executor 36279 471817 11537 0 3 0x4000080 pipewr syz-executor 63663 17923 8492 0 2 0xc80 syz-executor 63663 4449 8492 0 3 0x4000080 kqsel syz-executor 63663 233829 8492 0 3 0x4000080 fsleep syz-executor 63663 432757 8492 0 3 0x4000080 fsleep syz-executor 79771 305007 29375 0 3 0x3000 suspend syz-executor 79771 130934 29375 0 2 0x4081000 syz-executor 8492 253888 74041 0 2 0xc82 syz-executor 89248 359626 74041 0 2 0xc82 syz-executor 11537 110908 74041 0 2 0xc82 syz-executor 36208 224936 1 0 3 0x80 nanoslp init 82711 435551 74041 0 2 0xc82 syz-executor 86647 26794 74041 0 2 0xc82 syz-executor 73151 468398 74041 0 2 0x2 syz-executor 29375 92564 74041 0 2 0xc82 syz-executor 40588 409651 74041 0 2 0xc82 syz-executor 53250 51727 0 0 3 0x14200 bored sosplice 74041 509431 66028 0 3 0x82 kqread syz-executor 66028 177854 1176 0 3 0x10008a sigsusp ksh 1176 57091 72646 0 3 0x98 kqread sshd-session 72646 207422 37249 0 3 0x92 kqread sshd-session 37249 426793 1 0 3 0x88 kqread sshd 21221 500452 37526 74 3 0x1100092 bpf pflogd 37526 458815 1 0 3 0x80 sbwait pflogd 36703 371192 9711 73 3 0x1100090 kqread syslogd 9711 107364 1 0 3 0x100082 sbwait syslogd 37399 384538 1 0 3 0x100080 kqread resolvd 81036 290529 0 0 3 0x14200 bored smr 26782 88301 0 0 3 0x14200 pgzero zerothread 19332 436119 0 0 3 0x14200 aiodoned aiodoned 29634 281410 0 0 2 0x14e00 update 45033 122811 0 0 3 0x14200 cleaner cleaner 91722 345089 0 0 3 0x14200 reaper reaper 56990 110126 0 0 3 0x14200 pgdaemon pagedaemon 8068 353739 0 0 3 0x14200 bored viomb 6982 89073 0 0 3 0x40014200 acpi0 acpi0 77118 137415 0 0 3 0x40014200 idle1 19539 333165 0 0 3 0x14200 bored softnet7 19156 426109 0 0 3 0x14200 bored softnet6 65557 180021 0 0 3 0x14200 bored softnet5 84663 506990 0 0 3 0x14200 bored softnet4 75076 390076 0 0 3 0x14200 bored softnet3 48382 221832 0 0 3 0x14200 bored softnet2 8500 97390 0 0 3 0x14200 bored softnet1 70967 76425 0 0 2 0x14200 softnet0 17176 9970 0 0 2 0x14200 systqmp 89451 93743 0 0 3 0x14200 bored systq 31554 339167 0 0 2 0x14200 softclockmp 3664 166383 0 0 7 0x40014200 softclock 81206 452249 0 0 3 0x40014200 idle0 1 151935 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 42554 (syz-executor) thread 0xffff80003c4627f8 (150216) Process 79771 (syz-executor) thread 0xffff800035c262d8 (130934) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10248 11084K 13683K 166960K 18172 0 pcb 51 21K 28K 166960K 2166 0 rtable 286 18K 18K 166960K 1527 0 pf 44 19K 67487K 166960K 748 0 ifaddr 57 14K 14K 166960K 453 0 ifgroup 67 2K 3K 166960K 802 0 sysctl 4 1K 9K 166960K 73 0 counters 74 37K 38K 166960K 928 0 ioctlops 0 0K 4K 166960K 2905 0 iov 0 0K 32K 166960K 620 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1606 101K 102K 166960K 6919 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 52K 60K 166960K 48 0 VM map 2 1K 1K 166960K 2 0 sem 25 73K 121K 166960K 127 0 dirhash 12 2K 2K 166960K 105 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 7380 0 sigio 1 0K 0K 166960K 238 0 proc 59 67K 164K 166960K 1946 0 subproc 72 4K 4K 166960K 261 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 1195 0 in_multi 102 7K 7K 166960K 596 0 ether_multi 1 0K 0K 166960K 72 0 mrt 1 0K 0K 166960K 36 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 175 784K 784K 166960K 175 0 exec 0 0K 1K 166960K 1756 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 19 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 243 125K 166K 166960K 66968 0 UVM aobj 121 4K 6K 166960K 129 0 pinsyscall 36 72K 99K 166960K 8978 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 1 0K 1K 166960K 780 0 NDP 15 0K 2K 166960K 337 0 temp 118 8652K 8908K 166960K 364123 0 kqueue 8 14K 32K 166960K 1372 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 810 0 809 4 1 3 3 0 8 2 rtentry 176 521 0 419 5 0 5 5 0 8 0 unpcb 144 5131 0 5117 30 24 6 6 0 8 5 syncache 336 9 0 9 7 7 0 1 0 8 0 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 736 2344 0 2339 28 24 4 7 0 8 3 arp 128 64 0 48 1 0 1 1 0 8 0 inpcb 328 8815 0 8736 73 66 7 13 0 8 0 nd6 144 87 0 66 1 0 1 1 0 8 0 pkpcb 40 126 0 125 7 6 1 1 0 8 0 kcovpl 48 29 0 21 1 0 1 1 0 8 0 mppekey 1024 4 0 4 2 2 0 1 0 8 0 ppxss 1192 349 0 349 3 2 1 1 0 8 1 pppxif 1504 60 0 60 11 11 0 1 0 8 0 pffrag 232 48 0 40 1 0 1 1 0 482 0 pffrnode 88 34 0 27 1 0 1 1 0 8 0 pffrent 40 89 0 80 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 3 0 3 3 3 0 1 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfstitem 24 417 0 288 1 0 1 1 0 8 0 pfstkey 128 421 0 292 5 0 5 5 0 8 0 pfstate 384 419 0 290 13 0 13 13 0 8 0 pfrule 1344 27 0 22 2 1 1 2 0 8 0 rttmr 136 10 0 10 6 6 0 1 0 8 0 art_heap8 4096 8 0 4 7 2 5 5 0 8 1 art_heap4 256 2207 0 1727 53 21 32 32 0 8 0 art_table 40 2215 0 1731 6 0 6 6 0 8 0 art_node 32 479 0 393 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 6 2 1 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 117 0 94 1 0 1 1 0 8 0 shmpl 112 126 0 8 4 0 4 4 0 8 0 dirhash 1024 79 0 62 3 0 3 3 0 8 0 dino2pl 256 15174 0 13609 99 0 99 99 0 8 0 ffsino 296 15174 0 13609 121 0 121 121 0 8 0 nchpl 144 25531 0 24921 64 38 26 64 0 8 0 rtmask 32 66 0 66 10 10 0 1 0 8 0 uvmvnodes 80 14486 0 0 296 0 296 296 0 8 0 vnodes 216 14486 0 0 805 0 805 805 0 8 0 namei 1024 93977 0 93976 6 5 1 3 0 8 0 percpumem 16 479 0 427 1 0 1 1 0 8 0 kstatmem 264 562 0 526 3 0 3 3 0 8 0 acpiwqpl 32 3 0 3 1 0 1 1 1 8 1 scsiplug 72 31 0 31 11 10 1 1 0 8 1 scxspl 216 210627 0 210627 21 19 2 8 1 8 2 plimitpl 152 2189 0 2172 1 0 1 1 0 8 0 sigapl 424 7645 0 7593 10 1 9 9 0 8 1 knotepl 120 918 0 0 24 0 24 24 0 8 0 kqueuepl 224 3122 0 3080 28 25 3 5 0 8 0 pipepl 344 930 0 901 12 3 9 9 0 8 6 fdescpl 528 7564 0 7535 3 0 3 3 0 8 0 filepl 160 57023 0 56700 61 45 16 19 0 8 0 lockfpl 104 3935 0 3931 5 3 2 2 0 8 1 lockfspl 48 1332 0 1329 1 0 1 1 0 8 0 sessionpl 144 50 0 43 1 0 1 1 0 8 0 pgrppl 48 314 0 299 1 0 1 1 0 8 0 ucredpl 104 11785 0 11774 1 0 1 1 0 8 0 zombiepl 144 7959 0 7957 1 0 1 1 0 8 0 processpl 1248 7645 0 7593 6 0 6 6 0 8 0 procpl 664 19371 0 19306 10 3 7 8 0 8 0 sosppl 168 34 0 34 10 9 1 1 0 8 1 sockpl 752 15116 0 15021 123 107 16 19 0 8 6 mcl64k 65536 31 0 0 3 0 3 3 0 8 0 mcl16k 16384 15 0 0 2 0 2 2 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 8 0 0 1 0 1 1 0 8 0 mcl4k 4096 141 0 0 16 0 16 16 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 71 0 0 6 0 6 6 0 8 0 mtagpl 96 26 0 0 1 0 1 1 0 8 0 mbufpl 256 1246 0 0 72 0 72 72 0 8 0 bufpl 280 92013 0 85590 461 1 460 460 0 8 0 anonpl 32 18672 0 0 150 0 150 150 0 246 0 amapchunkpl 152 236679 0 235964 89 54 35 39 0 158 5 amappl16 200 30401 0 29898 153 117 36 43 0 8 8 amappl15 192 4 0 4 2 2 0 1 0 8 0 amappl14 184 162 0 153 1 0 1 1 0 8 0 amappl13 176 6 0 6 2 2 0 1 0 8 0 amappl12 168 8554 0 8526 3 1 2 2 0 8 0 amappl11 160 65 0 56 1 0 1 1 0 8 0 amappl10 152 10 0 9 2 1 1 1 0 8 0 amappl9 144 256 0 255 2 1 1 1 0 8 0 amappl8 136 24 0 21 1 0 1 1 0 8 0 amappl7 128 156 0 147 1 0 1 1 0 8 0 amappl6 120 394 0 390 1 0 1 1 0 8 0 amappl5 112 218 0 209 1 0 1 1 0 8 0 amappl4 104 347 0 329 1 0 1 1 0 8 0 amappl3 96 49190 0 49072 5 1 4 4 0 8 0 amappl2 88 989 0 942 2 0 2 2 0 8 0 amappl1 80 39239 0 38750 15 3 12 14 0 8 0 amappl 88 64643 0 64451 5 0 5 5 0 92 0 dma65536 65536 3 0 3 3 3 0 1 0 8 0 dma8192 8192 1 0 1 1 1 0 1 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma2048 2048 66 0 66 2 2 0 1 0 8 0 dma1024 1024 3 0 2 1 0 1 1 0 8 0 dma512 512 1 0 1 1 1 0 1 0 8 0 dma256 256 8 0 8 3 3 0 1 0 8 0 dma128 128 263 0 263 8 7 1 1 0 8 1 dma64 64 15 0 15 8 8 0 1 0 8 0 dma32 32 8 0 8 2 2 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 128 0 8 3 0 3 3 0 8 0 uaddrrnd 24 7564 0 7535 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 7564 0 7535 1 0 1 1 0 8 0 vmmpekpl 168 50709 0 50636 4 0 4 4 0 8 0 vmmpepl 168 479547 0 477313 171 61 110 119 0 357 5 vmsppl 488 7563 0 7535 6 1 5 5 0 8 0 rwobjpl 80 132036 0 116153 337 12 325 325 0 8 0 pdppl 4096 15136 0 15070 136 70 66 84 0 8 0 pvpl 32 27945 0 0 224 0 224 224 0 265 0 pmappl 256 7563 0 7535 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 456 0 142 10 0 10 10 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff837a8ff0) 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(ffffffff83914398) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83914398) at __mp_lock+0x192 sys/kern/kern_lock.c:165 __mp_acquire_count(ffffffff83914398,1) at __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1 sleep_finish(ffffffffffffffff,1) at sleep_finish+0x2d8 sys/kern/kern_synch.c:367 softclock_thread_run(ffffffff837efa48) at softclock_thread_run+0x79 sys/kern/kern_timeout.c:836 softclock_thread(ffff8000fffff4c0) at softclock_thread+0x10a sys/kern/kern_timeout.c:858 end trace frame: 0x0, count: 7 ddb{0}> trace x86_ipi_db(ffffffff837a8ff0) 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(ffffffff83914398) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83914398) at __mp_lock+0x192 sys/kern/kern_lock.c:165 __mp_acquire_count(ffffffff83914398,1) at __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1 sleep_finish(ffffffffffffffff,1) at sleep_finish+0x2d8 sys/kern/kern_synch.c:367 softclock_thread_run(ffffffff837efa48) at softclock_thread_run+0x79 sys/kern/kern_timeout.c:836 softclock_thread(ffff8000fffff4c0) at softclock_thread+0x10a sys/kern/kern_timeout.c:858 end trace frame: 0x0, count: -8 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: 0x7bd74940db60, count: 14 ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x7bd74940db60, count: -1