uvm_fault(0xfffffd806c67a7b8, 0x98, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff82f50ca8 cs 8 rflags 10246 cr2 98 cpl 0 rsp ffff800035b9a270 gsbase 0xffff80002999dff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff82f50ca8 Starting stack trace... panic(ffffffff834e8b9e) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff800035b9a1c0) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dovutimens(ffff8000fffe9778,fffffd806b1e17d8,ffff800035b9a380) at dovutimens+0x368 sys/kern/vfs_syscalls.c:2778 sys_futimens(ffff8000fffe9778,ffff800035b9a4d0,ffff800035b9a420) at sys_futimens+0xb3 sys/kern/vfs_syscalls.c:2854 syscall(ffff800035b9a4d0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800035b9a4d0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3d4759c77c0, count: 250 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 91 1628799432 EXIT 0 4 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND 331601 49167 0 0 0 0 syz-executor *177152 46013 0 0x2 0 1 syz-executor savectx() at savectx+0xae end of kernel end trace frame: 0x7f77611581b0, 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(0xfffffd806c67a7b8, 0x98, 0, 1) -> e ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7f77611581b0, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a2e6450 rbx 0 rdx 0 rcx 0xffff80002a222010 rax 0x3b r8 0xffff80002a2e6380 r9 0x1 r10 0x756dcce9ffc6b45 r11 0x193a8001fa757555 r12 0 r13 0 r14 0xffff80002a222010 r15 0 rip 0xffffffff817713ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80002a2e63d0 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=177152 pid=46013 tcnt=1 stat=onproc flags process=2 proc=0 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a2222a8,0xffff80002a222550 process=0xffff8000ffff49a8 user=0xffff80002a2e1000, vmspace=0xfffffd800b063d58 estcpu=36, cpticks=10, pctcpu=0.3, user=0, sys=10, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 98842 39701 75201 0 2 0 syz-executor 98842 510602 75201 0 3 0x4000000 sbar syz-executor 4384 448086 87268 0 2 0 syz-executor 4384 520824 87268 0 3 0x4000080 fsleep syz-executor 41603 28222 21085 0 2 0 syz-executor 41603 446273 21085 0 3 0x4000080 kqread syz-executor 49167 331601 46013 0 7 0 syz-executor 49167 120156 46013 0 2 0x4000c80 syz-executor 48752 384351 66010 0 2 0 syz-executor 48752 88984 66010 0 2 0x4000000 syz-executor 1795 227435 8680 0 2 0 syz-executor 1795 91178 8680 0 2 0x4000000 syz-executor 50614 381414 59306 0 2 0 syz-executor 50614 196011 59306 0 2 0x4000000 syz-executor 67272 413251 1 0 3 0x82 nanoslp getty 66010 455962 15023 0 2 0xc82 syz-executor 21085 144407 15023 0 2 0xc82 syz-executor 75201 246507 15023 0 2 0xc82 syz-executor 59306 396407 15023 0 2 0x2 syz-executor 18620 295241 15023 0 2 0x2 syz-executor *46013 177152 15023 0 7 0x2 syz-executor 8680 72332 15023 0 2 0xc82 syz-executor 87268 254109 15023 0 2 0xc82 syz-executor 15023 465634 1 0 3 0x82 kqread syz-executor 86615 334750 1 74 3 0x1100092 bpf pflogd 21128 24331 1 73 3 0x1100090 kqread syslogd 26707 194800 0 0 2 0x40014200 smr 1392 36624 0 0 2 0x14200 zerothread 47568 280624 0 0 3 0x14200 aiodoned aiodoned 4982 508538 0 0 3 0x14200 syncer update 3843 343436 0 0 3 0x14200 cleaner cleaner 92653 178662 0 0 3 0x14200 reaper reaper 69972 211221 0 0 3 0x14200 pgdaemon pagedaemon 47361 96107 0 0 3 0x14200 bored viomb 36072 458332 0 0 3 0x40014200 acpi0 acpi0 7093 324826 0 0 3 0x40014200 idle1 33903 503235 0 0 3 0x14200 bored softnet1 22231 493002 0 0 3 0x14200 netlock softnet0 19689 378949 0 0 2 0x40014200 systqmp 83265 433749 0 0 3 0x14200 bored systq 43449 76242 0 0 3 0x14200 tmoslp softclockmp 53605 138138 0 0 3 0x40014200 tmoslp softclock 76771 497020 0 0 3 0x40014200 idle0 1 301317 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 98842 (syz-executor) thread 0xffff8000fffe9778 (510602) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83b29480) #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 11075 12465K 12465K 166960K 12646 0 pcb 17 13K 14K 166960K 97 0 rtable 214 8K 9K 166960K 389 0 pf 35 17K 25K 166960K 100 0 ifaddr 37 6K 7K 166960K 61 0 ifgroup 51 2K 2K 166960K 95 0 sysctl 3 1K 9K 166960K 7 0 counters 68 36K 37K 166960K 100 0 ioctlops 0 0K 4K 166960K 1555 0 iov 0 0K 32K 166960K 20 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1351 85K 85K 166960K 1615 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 3 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 19 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 93K 166960K 387 0 sigio 0 0K 0K 166960K 5 0 proc 20 33K 164K 166960K 593 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 1 0K 0K 166960K 19 0 in_multi 77 5K 7K 166960K 109 0 ether_multi 1 0K 0K 166960K 4 0 mrt 1 0K 0K 166960K 10 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 404 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 160 99K 194K 166960K 5246 0 UVM aobj 7 2K 2K 166960K 8 0 pinsyscall 24 48K 104K 166960K 1557 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 5 0 NDP 11 0K 1K 166960K 39 0 temp 45 9112K 9176K 166960K 14498 0 kqueue 3 4K 30K 166960K 59 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 44 0 44 1 0 1 1 0 8 1 rtentry 176 116 0 25 5 0 5 5 0 8 0 unpcb 144 151 0 146 2 1 1 2 0 8 0 syncache 336 7 0 7 1 0 1 1 0 8 1 tcpcb 736 171 0 169 7 1 6 7 0 8 5 arp 136 19 0 4 1 0 1 1 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 3 0 3 1 1 0 1 0 8 0 inpcb 328 374 0 371 7 1 6 7 0 8 5 nd6 152 24 0 6 1 0 1 1 0 8 0 pkpcb 40 3 0 2 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1192 8 0 8 1 0 1 1 0 8 1 pppxif 1576 2 0 2 1 1 0 1 0 8 0 pfstscr 40 4 0 4 1 1 0 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 5 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 pfrktable 1344 4 0 2 1 0 1 1 0 8 0 pfsrclim 320 1 0 1 1 1 0 1 0 8 0 pfanchor 1288 3 0 0 1 0 1 1 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfstitem 24 38 0 1 1 0 1 1 0 8 0 pfstkey 128 42 0 5 2 0 2 2 0 8 0 pfstate 448 40 0 3 5 0 5 5 0 8 0 pfrule 1360 24 0 17 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 468 0 100 29 0 29 29 0 8 1 art_table 40 469 0 100 5 0 5 5 0 8 0 art_node 32 116 0 34 1 0 1 1 0 8 0 sysvmsgpl 40 45 0 5 2 1 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 72 14 0 4 1 0 1 1 0 8 0 shmpl 112 5 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1980 0 518 93 0 93 93 0 8 0 ffsino 296 1980 0 518 114 0 114 114 0 8 0 nchpl 144 2520 0 816 64 0 64 64 0 8 0 vnodes 216 2263 0 0 126 0 126 126 0 8 0 namei 1024 8023 0 8023 2 1 1 2 0 8 1 percpumem 16 65 0 16 1 0 1 1 0 8 0 pfiaddrpl 120 1 0 0 1 0 1 1 0 8 0 kstatmem 264 49 0 24 3 1 2 3 0 8 0 scsiplug 72 4 0 4 2 1 1 1 0 8 1 scxspl 216 8305 0 8305 3 2 1 2 1 8 1 plimitpl 152 53 0 39 1 0 1 1 0 8 0 sigapl 424 707 0 669 7 1 6 7 0 8 0 knotepl 120 643 0 0 20 0 20 20 0 8 0 kqueuepl 224 180 0 176 5 0 5 5 0 8 4 pipepl 344 132 0 105 3 0 3 3 0 8 0 fdescpl 528 691 0 669 3 0 3 3 0 8 0 filepl 160 3370 0 3188 15 0 15 15 0 8 4 lockfpl 104 136 0 134 1 0 1 1 0 8 0 lockfspl 48 66 0 64 1 0 1 1 0 8 0 sessionpl 144 38 0 34 1 0 1 1 0 8 0 pgrppl 48 50 0 38 1 0 1 1 0 8 0 ucredpl 104 340 0 333 1 0 1 1 0 8 0 zombiepl 144 670 0 669 1 0 1 1 0 8 0 processpl 1232 707 0 669 5 1 4 5 0 8 0 procpl 664 1119 0 1074 6 0 6 6 0 8 1 sosppl 176 1 0 1 1 1 0 1 0 8 0 sockpl 752 580 0 571 10 1 9 10 0 8 7 mcl64k 65536 7 0 0 1 0 1 1 0 8 0 mcl16k 16384 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k128 9344 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 118 0 0 15 0 15 15 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 27 0 0 4 0 4 4 0 8 0 mtagpl 96 5 0 0 1 0 1 1 0 8 0 mbufpl 256 196 0 0 13 0 13 13 0 8 0 bufpl 280 2846 0 106 196 0 196 196 0 8 0 anonpl 32 5567 0 0 45 0 45 45 0 246 0 amapchunkpl 152 16128 0 15719 26 2 24 26 0 158 7 amappl16 200 1737 0 1714 6 3 3 5 0 8 0 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 447 0 447 1 0 1 1 0 8 1 amappl13 176 139 0 136 1 0 1 1 0 8 0 amappl12 168 950 0 929 2 0 2 2 0 8 0 amappl11 160 8 0 8 2 2 0 1 0 8 0 amappl10 152 82 0 78 1 0 1 1 0 8 0 amappl9 144 278 0 278 1 1 0 1 0 8 0 amappl8 136 100 0 99 1 0 1 1 0 8 0 amappl7 128 168 0 162 1 0 1 1 0 8 0 amappl6 120 158 0 156 1 0 1 1 0 8 0 amappl5 112 97 0 94 1 0 1 1 0 8 0 amappl4 104 302 0 292 1 0 1 1 0 8 0 amappl3 96 3160 0 3068 4 0 4 4 0 8 0 amappl2 88 560 0 543 2 0 2 2 0 8 0 amappl1 80 12096 0 11905 17 1 16 16 0 8 5 amappl 88 4459 0 4324 5 1 4 5 0 92 0 uvmvnodes 80 112 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 2 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 7 0 1 1 0 1 1 0 8 0 uaddrrnd 24 691 0 669 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 691 0 669 1 0 1 1 0 8 0 vmmpekpl 168 7673 0 7637 3 0 3 3 0 8 1 vmmpepl 168 52652 0 51588 97 0 97 97 0 357 37 vmsppl 488 690 0 669 5 0 5 5 0 8 0 rwobjpl 80 17484 0 16941 26 0 26 26 0 8 1 pdppl 4096 1389 0 1338 103 50 53 85 0 8 2 pvpl 32 13975 0 0 115 2 113 113 0 265 0 pmappl 256 690 0 669 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 288 0 56 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83900ff0) 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(ffffffff83b28c80) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83b28c80) 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: 0x7f7761157fa0, count: 8 ddb{0}> trace x86_ipi_db(ffffffff83900ff0) 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(ffffffff83b28c80) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83b28c80) 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: 0x7f7761157fa0, count: -7 ddb{0}> machine ddbcpu 1 Stopped at savectx+0xae: movl $0,%gs:0x688 savectx() at savectx+0xae end of kernel end trace frame: 0x7f77611581b0, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7f77611581b0, count: -1 ddb{1}>