uvm_fault(0xfffffd806c5057c0, 0x98, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff827baa28 cs 8 rflags 10246 cr2 98 cpl 0 rsp ffff80003c414df0 gsbase 0xffff8000299bdff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff827baa28 Starting stack trace... panic(ffffffff8348093d) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80003c414d40) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dovutimens(ffff8000fffead18,fffffd806c573a48,ffff80003c414f00) at dovutimens+0x368 sys/kern/vfs_syscalls.c:2771 sys_futimens(ffff8000fffead18,ffff80003c415050,ffff80003c414fa0) at sys_futimens+0xb3 sys/kern/vfs_syscalls.c:2847 syscall(ffff80003c415050) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c415050) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8a3c0a36260, count: 250 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 35902 10962 0 0 0 0 syz-executor *237197 87212 0 0 0 1 syz-executor proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x7adb607b70b0, 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(0xfffffd806c5057c0, 0x98, 0, 1) -> e ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x7adb607b70b0, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003c41b270 rbx 0 rdx 0 rcx 0xffff8000ffff3240 rax 0x2a r8 0xffff80003c41b1a0 r9 0x1 r10 0xee0d0862479dfded r11 0x881b8109bc3fa314 r12 0 r13 0 r14 0 r15 0 rip 0xffffffff817144c7 proc_trampoline+0xc7 cs 0x8 rflags 0x246 rsp 0xffff80003c41b1f0 ss 0x10 proc_trampoline+0xc7: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=237197 pid=87212 tcnt=2 stat=onproc flags process=0 proc=0 runpri=50, usrpri=86, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800039bce558,0xffff8000ffff2fb8 process=0xffff80003c3f1360 user=0xffff80003c416000, vmspace=0xfffffd806c505020 estcpu=36, cpticks=3, pctcpu=0.0, user=1, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 10962 35902 71345 0 7 0 syz-executor 10962 112446 71345 0 3 0x4000000 sbar syz-executor *87212 237197 96243 0 7 0 syz-executor 87212 64896 96243 0 3 0x4000080 fsleep syz-executor 44981 321082 20856 0 2 0 syz-executor 44981 517275 20856 0 3 0x4000080 fsleep syz-executor 44981 358685 20856 0 3 0x4000080 fsleep syz-executor 82871 334235 91389 0 2 0 syz-executor 82871 484385 91389 0 3 0x4000080 fsleep syz-executor 82158 490498 85815 0 3 0x3000 suspend syz-executor 82158 267502 85815 0 2 0x4081000 syz-executor 24395 70620 6481 0 2 0x10 syz-executor 24395 453976 6481 0 3 0x4000090 fsleep syz-executor 24395 190617 6481 0 3 0x4000090 fsleep syz-executor 20440 299452 44790 0 3 0x80 nanoslp syz-executor 20440 419732 44790 0 3 0x4000080 kqsel syz-executor 20440 111714 44790 0 3 0x4000080 fsleep syz-executor 20440 336170 44790 0 3 0x4000080 fsleep syz-executor 54941 184081 1606 0 3 0x100082 sbwait arp 1606 430884 79329 0 3 0x10008a sigsusp sh 96243 418837 28001 0 3 0x82 nanoslp syz-executor 6481 303380 28001 0 3 0x82 nanoslp syz-executor 79329 269789 28001 0 3 0x82 wait syz-executor 71345 480782 28001 0 3 0x82 nanoslp syz-executor 20856 332522 28001 0 3 0x82 nanoslp syz-executor 91389 165560 28001 0 3 0x82 nanoslp syz-executor 44790 267533 28001 0 3 0x82 nanoslp syz-executor 85815 291318 28001 0 3 0x82 nanoslp syz-executor 28001 22671 13717 0 3 0x82 kqread syz-executor 13717 457835 23077 0 3 0x10008a sigsusp ksh 23077 318896 62477 0 3 0x98 kqread sshd-session 62477 400162 37938 0 3 0x92 kqread sshd-session 6929 66954 1 0 3 0x100083 ttyin getty 37938 231257 1 0 3 0x88 kqread sshd 47414 155380 60941 74 3 0x1100092 bpf pflogd 60941 97805 1 0 3 0x80 sbwait pflogd 84408 176665 94776 73 3 0x1100090 kqread syslogd 94776 480646 1 0 3 0x100082 sbwait syslogd 21501 366751 1 0 3 0x100080 kqread resolvd 20902 72776 50255 77 3 0x100092 kqread dhcpleased 89019 510000 50255 77 3 0x100092 kqread dhcpleased 50255 322954 1 0 3 0x80 kqread dhcpleased 12813 28573 0 0 3 0x14200 bored smr 14005 417295 0 0 3 0x14200 pgzero zerothread 24155 7757 0 0 3 0x14200 aiodoned aiodoned 68327 446373 0 0 3 0x14200 syncer update 73983 387572 0 0 3 0x14200 cleaner cleaner 74444 361045 0 0 3 0x14200 reaper reaper 57186 504342 0 0 3 0x14200 pgdaemon pagedaemon 84992 235780 0 0 3 0x14200 bored viomb 98668 341083 0 0 3 0x40014200 acpi0 acpi0 8194 236278 0 0 3 0x40014200 idle1 66909 71294 0 0 3 0x14200 bored softnet1 89177 256729 0 0 3 0x14200 netlock softnet0 81467 306395 0 0 2 0x40014200 systqmp 54449 231794 0 0 3 0x14200 bored systq 26220 304928 0 0 3 0x14200 tmoslp softclockmp 49614 351676 0 0 3 0x40014200 tmoslp softclock 11085 326654 0 0 3 0x40014200 idle0 1 422713 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 10962 (syz-executor) thread 0xffff8000fffead18 (112446) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83a48bc0) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 syscall+0xaf4 mi_syscall sys/sys/syscall_mi.h:175 [inline] #1 syscall+0xaf4 sys/arch/amd64/amd64/trap.c:783 #2 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11069 12215K 12346K 166960K 12323 0 pcb 17 14K 15K 166960K 57 0 rtable 227 6K 6K 166960K 343 0 pf 35 17K 22K 166960K 91 0 ifaddr 42 7K 7K 166960K 46 0 ifgroup 55 2K 2K 166960K 65 0 sysctl 3 1K 9K 166960K 7 0 counters 70 37K 37K 166960K 74 0 ioctlops 0 0K 4K 166960K 1540 0 iov 0 0K 12K 166960K 4 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1289 81K 81K 166960K 1444 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 6 0 VM map 2 1K 1K 166960K 2 0 sem 6 0K 0K 166960K 9 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 19 69K 97K 166960K 279 0 sigio 0 0K 0K 166960K 1 0 proc 75 131K 180K 166960K 562 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 2 0K 0K 166960K 14 0 in_multi 89 6K 6K 166960K 91 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 7 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 55 254K 254K 166960K 55 0 exec 0 0K 1K 166960K 387 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 250 153K 168K 166960K 4359 0 UVM aobj 5 2K 2K 166960K 5 0 pinsyscall 45 90K 108K 166960K 1407 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 25 0 NDP 12 0K 1K 166960K 28 0 temp 37 9074K 9139K 166960K 7120 0 kqueue 14 22K 26K 166960K 42 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 37 0 32 1 0 1 1 0 8 0 rtentry 176 109 0 4 5 0 5 5 0 8 0 unpcb 144 124 0 101 2 0 2 2 0 8 1 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpcb 736 51 0 46 1 0 1 1 0 8 0 arp 136 19 0 1 1 0 1 1 0 8 0 inpcb 328 343 0 331 10 0 10 10 0 8 7 nd6 152 21 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 pffrag 232 2 0 0 1 0 1 1 0 482 0 pffrnode 88 2 0 0 1 0 1 1 0 8 0 pffrent 40 2 0 0 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 pfsrclim 320 1 0 1 1 0 1 1 0 8 1 pfstlim 224 1 0 1 1 0 1 1 0 8 1 pfstitem 24 30 0 0 1 0 1 1 0 8 0 pfstkey 128 30 0 0 1 0 1 1 0 8 0 pfstate 448 30 0 0 4 0 4 4 0 8 0 pfrule 1360 24 0 19 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 416 0 2 26 0 26 26 0 8 0 art_table 40 417 0 2 5 0 5 5 0 8 0 art_node 32 109 0 16 1 0 1 1 0 8 0 semapl 112 5 0 1 1 0 1 1 0 8 0 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1827 0 359 93 0 93 93 0 8 1 ffsino 296 1827 0 359 114 0 114 114 0 8 0 nchpl 144 2240 0 536 64 0 64 64 0 8 0 vnodes 216 1967 0 0 110 0 110 110 0 8 0 namei 1024 7101 0 7101 2 0 2 2 0 8 2 percpumem 16 52 0 2 1 0 1 1 0 8 0 kstatmem 264 30 0 4 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 7759 0 7759 4 3 1 3 1 8 1 plimitpl 152 113 0 95 1 0 1 1 0 8 0 sigapl 424 591 0 542 7 0 7 7 0 8 1 knotepl 120 71 0 0 3 0 3 3 0 8 0 kqueuepl 224 49 0 38 1 0 1 1 0 8 0 pipepl 344 131 0 103 3 0 3 3 0 8 0 fdescpl 528 575 0 542 3 0 3 3 0 8 0 filepl 160 2651 0 2354 14 0 14 14 0 8 1 lockfpl 104 137 0 134 2 0 2 2 0 8 1 lockfspl 48 33 0 30 1 0 1 1 0 8 0 sessionpl 144 25 0 16 1 0 1 1 0 8 0 pgrppl 48 33 0 16 1 0 1 1 0 8 0 ucredpl 104 204 0 190 1 0 1 1 0 8 0 zombiepl 144 543 0 542 1 0 1 1 0 8 0 processpl 1232 591 0 542 5 0 5 5 0 8 0 procpl 664 856 0 796 6 0 6 6 0 8 0 sosppl 176 1 0 1 1 0 1 1 0 8 1 sockpl 752 505 0 464 14 0 14 14 0 8 7 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 132 0 0 17 0 17 17 0 8 0 mcl2k 2048 26 0 0 4 0 4 4 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 201 0 0 13 0 13 13 0 8 0 bufpl 280 2855 0 107 197 0 197 197 0 8 0 anonpl 32 7303 0 0 59 0 59 59 0 246 0 amapchunkpl 152 13044 0 12514 25 0 25 25 0 158 4 amappl16 200 2054 0 2028 12 1 11 11 0 8 6 amappl15 192 8 0 7 1 0 1 1 0 8 0 amappl14 184 426 0 424 1 0 1 1 0 8 0 amappl13 176 120 0 107 1 0 1 1 0 8 0 amappl12 168 823 0 791 2 0 2 2 0 8 0 amappl11 160 3 0 3 1 1 0 1 0 8 0 amappl10 152 180 0 166 1 0 1 1 0 8 0 amappl9 144 261 0 261 1 1 0 1 0 8 0 amappl8 136 104 0 102 1 0 1 1 0 8 0 amappl7 128 145 0 130 1 0 1 1 0 8 0 amappl6 120 153 0 151 1 0 1 1 0 8 0 amappl5 112 93 0 83 1 0 1 1 0 8 0 amappl4 104 287 0 264 1 0 1 1 0 8 0 amappl3 96 2418 0 2290 4 0 4 4 0 8 0 amappl2 88 523 0 456 2 0 2 2 0 8 0 amappl1 80 9809 0 9176 15 0 15 15 0 8 0 amappl 88 3627 0 3452 4 0 4 4 0 92 0 uvmvnodes 80 103 0 0 3 0 3 3 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 253 0 253 1 1 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 18 0 17 1 0 1 1 0 8 0 aobjpl 72 4 0 0 1 0 1 1 0 8 0 uaddrrnd 24 575 0 542 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 575 0 542 1 0 1 1 0 8 0 vmmpekpl 168 6459 0 6423 2 0 2 2 0 8 0 vmmpepl 168 44008 0 41998 92 0 92 92 0 357 4 vmsppl 488 574 0 542 5 0 5 5 0 8 0 rwobjpl 80 15243 0 14139 26 0 26 26 0 8 0 pdppl 4096 1157 0 1084 99 26 73 87 0 8 0 pvpl 32 14980 0 0 121 0 121 121 0 265 0 pmappl 256 574 0 542 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 275 0 29 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83937ff0) 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(ffffffff83a483c0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83a483c0) at __mp_lock+0x192 sys/kern/kern_lock.c:173 softintr_dispatch(2) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(2) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:862 Xsofttty() at Xsofttty+0x27 __mp_lock(ffffffff83a483c0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83a483c0) at __mp_lock+0x192 sys/kern/kern_lock.c:173 softintr_dispatch(0) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(0) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:862 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x7d24092834d0, count: 4 ddb{0}> trace x86_ipi_db(ffffffff83937ff0) 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(ffffffff83a483c0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83a483c0) at __mp_lock+0x192 sys/kern/kern_lock.c:173 softintr_dispatch(2) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(2) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:862 Xsofttty() at Xsofttty+0x27 __mp_lock(ffffffff83a483c0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83a483c0) at __mp_lock+0x192 sys/kern/kern_lock.c:173 softintr_dispatch(0) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(0) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:862 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x7d24092834d0, count: -11 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: 0x7adb607b70b0, count: 14 ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x7adb607b70b0, count: -1