uvm_fault(0xfffff0006fa121f0, 0x98, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff81d01278 cs 8 rflags 10246 cr2 98 cpl 0 rsp ffff80003839d180 gsbase 0xffff80002999dff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff81d01278 Starting stack trace... panic(ffffffff834ee02a) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80003839d0d0) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dovutimens(ffff80002a222d08,fffff0006cb3b038,ffff80003839d290) at dovutimens+0x368 sys/kern/vfs_syscalls.c:2690 sys_futimens(ffff80002a222d08,ffff80003839d3e0,ffff80003839d330) at sys_futimens+0xb3 sys/kern/vfs_syscalls.c:2766 syscall(ffff80003839d3e0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003839d3e0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x128d447aaa0, count: 250 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 83 -607489088 EXIT 0 4 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND * 17863 11450 0 0 0 1 syz-executor 484762 22658 0 0 0 0 syz-executor savectx() at savectx+0xae end of kernel end trace frame: 0x70b33d46e990, 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(0xfffff0006fa121f0, 0x98, 0, 1) -> e ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x70b33d46e990, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a2d4460 rbx 0 rdx 0 rcx 0xffff80003c3f1780 rax 0x3b r8 0xffff80002a2d4390 r9 0x1 r10 0x364c9769070d5b13 r11 0x7c2c6db64f16dc9d r12 0 r13 0 r14 0xffff80003c3f1780 r15 0 rip 0xffffffff82b9b3ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80002a2d43e0 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=17863 pid=11450 tcnt=2 stat=onproc flags process=0 proc=0 runpri=50, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c3f0a88,0xffff80003c3f1cc0 process=0xffff800045ff1350 user=0xffff80002a2cf000, vmspace=0xfffff0006fa121f0 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 81343 148757 53430 0 2 0 syz-executor 81343 367812 53430 0 3 0x4000080 fsleep syz-executor *11450 17863 15281 0 7 0 syz-executor 11450 384994 15281 0 3 0x4000000 sbar syz-executor 31211 53773 27101 0 2 0x40 syz-executor 34683 170696 72198 0 2 0 syz-executor 34683 164431 72198 0 3 0x4000080 fsleep syz-executor 22658 484762 72985 0 7 0 syz-executor 22658 438965 72985 0 3 0x4000080 fsleep syz-executor 22658 502924 72985 0 2 0x4000000 syz-executor 8073 280712 45082 0 2 0x400000 syz-executor 8073 293852 45082 0 3 0x4400080 fsleep syz-executor 27101 161761 86434 0 3 0x82 ppwait syz-executor 61817 419283 86434 0 3 0x82 piperd syz-executor 89412 219783 1 0 3 0x100083 ttyin getty 72198 504294 86434 0 3 0x82 nanoslp syz-executor 45082 5618 86434 0 2 0x2 syz-executor 72985 77083 86434 0 3 0x82 nanoslp syz-executor 90851 198749 86434 0 3 0x82 piperd syz-executor 53430 204701 86434 0 3 0x82 nanoslp syz-executor 15281 315884 86434 0 3 0x82 nanoslp syz-executor 86434 424907 1 0 2 0x2 syz-executor 62368 51606 0 0 2 0x40014200 smr 34250 152276 0 0 3 0x14200 pgzero zerothread 79112 23299 0 0 3 0x14200 aiodoned aiodoned 86829 115177 0 0 3 0x14200 syncer update 49894 51182 0 0 3 0x14200 cleaner cleaner 59263 39289 0 0 3 0x14200 reaper reaper 8231 94429 0 0 3 0x14200 pgdaemon pagedaemon 56561 496453 0 0 3 0x14200 bored viomb 22818 368188 0 0 3 0x40014200 acpi0 acpi0 98998 125614 0 0 3 0x40014200 idle1 5813 108695 0 0 3 0x14200 bored softnet1 20080 368691 0 0 3 0x14200 netlock softnet0 18374 118766 0 0 3 0x14200 smrbar systqmp 67238 328072 0 0 3 0x14200 bored systq 39581 312457 0 0 3 0x14200 tmoslp softclockmp 2815 224686 0 0 3 0x40014200 tmoslp softclock 17994 22353 0 0 3 0x40014200 idle0 1 504706 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 11450 (syz-executor) thread 0xffff80002a222d08 (384994) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83aaa180) #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 Process 18374 (systqmp) thread 0xffff800045ffe298 (118766) shared rwlock systqmp r = 0 (0xffffffff8399be18) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 taskq_thread+0x12a sys/kern/kern_task.c:442 #2 proc_trampoline+0x10 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11045 12148K 12304K 166960K 12540 0 pcb 17 12K 12K 166960K 45 0 rtable 185 9K 11K 166960K 438 0 pf 34 17K 24K 166960K 94 0 ifaddr 32 5K 7K 166960K 56 0 ifgroup 47 2K 2K 166960K 72 0 sysctl 4 1K 9K 166960K 8 0 counters 66 36K 37K 166960K 82 0 ioctlops 0 0K 4K 166960K 1620 0 iov 0 0K 16K 166960K 12 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1319 83K 83K 166960K 1621 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 9K 166960K 11 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 90 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 15 57K 89K 166960K 367 0 sigio 0 0K 0K 166960K 2 0 proc 21 33K 164K 166960K 625 0 subproc 72 4K 4K 166960K 90 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 23 0 in_multi 65 4K 6K 166960K 116 0 ether_multi 1 0K 0K 166960K 3 0 mrt 1 0K 0K 166960K 16 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 61 281K 281K 166960K 61 0 exec 0 0K 1K 166960K 438 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 112 81K 168K 166960K 5194 0 UVM aobj 17 2K 2K 166960K 17 0 pinsyscall 18 36K 100K 166960K 1587 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 6 0 NDP 10 0K 1K 166960K 35 0 temp 41 9115K 9191K 166960K 10232 0 kqueue 1 2K 26K 166960K 63 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 51 0 51 1 0 1 1 0 8 1 rtentry 176 128 0 53 5 0 5 5 0 8 0 unpcb 144 197 0 197 3 0 3 3 0 8 3 syncache 336 5 0 5 1 0 1 1 0 8 1 tcpcb 736 82 0 81 4 1 3 4 0 8 2 arp 136 21 0 11 1 0 1 1 0 8 0 inpcb 328 228 0 227 4 1 3 4 0 8 2 nd6 152 29 0 13 1 0 1 1 0 8 0 pkpcb 40 3 0 3 1 0 1 1 0 8 1 kcovpl 48 10 0 2 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1192 3 0 3 1 0 1 1 0 8 1 pfstscr 40 2 0 0 1 0 1 1 0 8 0 pffrag 232 5 0 0 1 0 1 1 0 482 0 pffrnode 88 5 0 0 1 0 1 1 0 8 0 pffrent 40 6 0 1 1 0 1 1 0 8 0 pfosfp 40 1428 0 1428 5 1 4 5 0 8 4 pfosfpen 112 1428 0 1428 21 1 20 21 0 8 20 pfrktable 1344 9 0 4 1 0 1 1 0 8 0 pfsrclim 320 1 0 1 1 0 1 1 0 8 1 pfanchor 1288 6 0 3 1 0 1 1 0 8 0 pftag 88 3 0 1 1 0 1 1 0 8 0 pfstitem 24 38 0 0 1 0 1 1 0 8 0 pfstkey 128 38 0 0 2 0 2 2 0 8 0 pfstate 448 37 0 0 5 0 5 5 0 8 0 pfrule 1360 27 0 19 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 527 0 153 30 0 30 30 0 8 5 art_table 40 528 0 153 5 0 5 5 0 8 0 art_node 32 128 0 60 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 0 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 72 87 0 77 1 0 1 1 0 8 0 shmpl 112 14 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1970 0 497 93 0 93 93 0 8 0 ffsino 296 1970 0 497 115 0 115 115 0 8 0 nchpl 144 2466 0 761 64 0 64 64 0 8 0 vnodes 216 2236 0 0 125 0 125 125 0 8 0 namei 1024 8391 0 8391 3 0 3 3 0 8 3 percpumem 16 56 0 8 1 0 1 1 0 8 0 pfiaddrpl 120 2 0 1 1 0 1 1 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 kstatmem 264 37 0 14 2 0 2 2 0 8 0 scsiplug 72 2 0 2 1 0 1 1 0 8 1 scxspl 216 10056 0 10056 10 3 7 7 1 8 7 plimitpl 152 97 0 87 1 0 1 1 0 8 0 sigapl 424 690 0 656 7 1 6 7 0 8 0 knotepl 120 508 0 0 16 0 16 16 0 8 0 kqueuepl 224 111 0 110 3 0 3 3 0 8 2 pipepl 344 148 0 121 3 0 3 3 0 8 0 fdescpl 528 674 0 656 3 0 3 3 0 8 0 filepl 160 3344 0 3191 11 1 10 11 0 8 1 lockfpl 104 199 0 199 2 0 2 2 0 8 2 lockfspl 48 83 0 83 1 0 1 1 0 8 1 sessionpl 144 69 0 66 1 0 1 1 0 8 0 pgrppl 48 80 0 69 1 0 1 1 0 8 0 ucredpl 104 415 0 412 1 0 1 1 0 8 0 zombiepl 144 656 0 656 1 0 1 1 0 8 1 processpl 1232 690 0 656 5 1 4 5 0 8 0 procpl 664 1054 0 1014 6 0 6 6 0 8 1 sockpl 752 485 0 484 8 0 8 8 0 8 7 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 114 0 0 15 0 15 15 0 8 0 mcl2k 2048 44 0 0 6 0 6 6 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 233 0 0 15 0 15 15 0 8 0 bufpl 272 4343 0 108 283 0 283 283 0 8 0 anonpl 32 5335 0 0 43 0 43 43 0 247 0 amapchunkpl 152 15557 0 15266 24 0 24 24 0 158 9 amappl16 200 2022 0 2005 5 3 2 5 0 8 0 amappl15 192 7 0 7 1 1 0 1 0 8 0 amappl14 184 449 0 449 1 0 1 1 0 8 1 amappl13 176 133 0 132 1 0 1 1 0 8 0 amappl12 168 952 0 936 2 0 2 2 0 8 0 amappl11 160 3 0 3 1 1 0 1 0 8 0 amappl10 152 66 0 66 1 0 1 1 0 8 1 amappl9 144 278 0 277 2 1 1 1 0 8 0 amappl8 136 107 0 107 1 0 1 1 0 8 1 amappl7 128 165 0 163 1 0 1 1 0 8 0 amappl6 120 182 0 182 1 0 1 1 0 8 1 amappl5 112 130 0 130 1 0 1 1 0 8 1 amappl4 104 313 0 310 1 0 1 1 0 8 0 amappl3 96 3072 0 3006 3 0 3 3 0 8 0 amappl2 88 574 0 567 2 0 2 2 0 8 0 amappl1 80 11551 0 11442 15 1 14 15 0 8 8 amappl 88 4322 0 4225 4 0 4 4 0 92 0 uvmvnodes 80 107 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 254 0 254 2 1 1 1 0 8 1 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 16 0 0 1 0 1 1 0 8 0 uaddrrnd 24 674 0 656 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 674 0 656 1 0 1 1 0 8 0 vmmpekpl 168 7384 0 7339 3 0 3 3 0 8 0 vmmpepl 168 51930 0 51163 88 1 87 88 0 357 48 vmsppl 488 673 0 656 5 0 5 5 0 8 1 rwobjpl 80 17367 0 16958 24 0 24 24 0 8 1 pdppl 4096 1355 0 1312 101 52 49 83 0 8 6 pvpl 32 10219 0 0 84 1 83 83 0 265 0 pmappl 256 673 0 656 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 571 0 55 15 0 15 15 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff8399fff0) 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(ffffffff83aa9980) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83aa9980) 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(ffffffff83aa9980) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83aa9980) 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: 0x7bec37091bd0, count: 4 ddb{0}> trace x86_ipi_db(ffffffff8399fff0) 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(ffffffff83aa9980) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83aa9980) 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(ffffffff83aa9980) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83aa9980) 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: 0x7bec37091bd0, count: -11 ddb{0}>