uvm_fault(0xfffffd806c6e65d0, 0x98, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff815210d8 cs 8 rflags 10246 cr2 98 cpl 0 rsp ffff80003c408c10 gsbase 0xffff8000299bdff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff815210d8 Starting stack trace... panic(ffffffff83483619) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80003c408b60) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dovutimens(ffff80002a2407e0,fffffd80648172e8,ffff80003c408d20) at dovutimens+0x368 sys/kern/vfs_syscalls.c:2771 sys_futimens(ffff80002a2407e0,ffff80003c408e70,ffff80003c408dc0) at sys_futimens+0xb3 sys/kern/vfs_syscalls.c:2847 syscall(ffff80003c408e70) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c408e70) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc01c41dc360, count: 250 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 74 736407552 EXIT 0 4 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND *405542 26229 0 0 0 1 syz-executor 207089 92133 0 0 0 0 syz-executor savectx() at savectx+0xae end of kernel end trace frame: 0x7bfbce980ba0, 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(0xfffffd806c6e65d0, 0x98, 0, 1) -> e ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7bfbce980ba0, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003c3f62b0 rbx 0 rdx 0 rcx 0xffff8000fffe8d28 rax 0x3a r8 0xffff80003c3f61e0 r9 0x1 r10 0x4cd4d9bc67cce8ff r11 0xe8f90f0e9262a277 r12 0 r13 0 r14 0xffff8000fffe8d28 r15 0 rip 0xffffffff814ad3ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80003c3f6230 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=405542 pid=26229 tcnt=2 stat=onproc flags process=0 proc=0 runpri=57, usrpri=57, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000fffe8fc0,0xffff8000fffe9cc8 process=0xffff8000fffed828 user=0xffff80003c3f1000, vmspace=0xfffffd806c6e67b8 estcpu=15, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *26229 405542 56402 0 7 0 syz-executor 26229 248383 56402 0 3 0x4000080 fsleep syz-executor 92133 207089 16464 0 7 0 syz-executor 92133 81914 16464 0 3 0x4000000 sbar syz-executor 54748 100569 62398 0 2 0 syz-executor 54748 62936 62398 0 3 0x4000080 fsleep syz-executor 1571 111472 9178 0 3 0x80 nanoslp syz-executor 1571 460960 9178 0 2 0x4000000 syz-executor 1571 77403 9178 0 3 0x4000080 fsleep syz-executor 69908 358438 32442 0 2 0 syz-executor 69908 475346 32442 0 3 0x4000080 msgwait syz-executor 69908 439950 32442 0 3 0x4000080 fsleep syz-executor 69908 521423 32442 0 3 0x4000080 fsleep syz-executor 69908 489543 32442 0 3 0x4000080 fsleep syz-executor 19688 95460 46120 0 2 0 syz-executor 19688 234741 46120 0 3 0x4000080 kqread syz-executor 62313 27722 70725 0 3 0x81 nanoslp syz-executor 62313 194017 70725 0 3 0x4000081 ttyout syz-executor 62313 398190 70725 0 3 0x4000081 fsleep syz-executor 62313 511652 70725 0 3 0x4000081 fsleep syz-executor 62398 288465 43964 0 3 0x82 nanoslp syz-executor 46120 247793 43964 0 3 0x82 nanoslp syz-executor 16464 10816 43964 0 3 0x82 nanoslp syz-executor 32442 378215 43964 0 3 0x82 nanoslp syz-executor 70725 320466 43964 0 3 0x82 nanoslp syz-executor 56402 24219 43964 0 3 0x82 nanoslp syz-executor 35693 182297 43964 0 3 0x82 nanoslp syz-executor 9178 163141 43964 0 3 0x82 nanoslp syz-executor 43964 316661 42091 0 3 0x82 kqread syz-executor 42091 431563 28548 0 3 0x10008a sigsusp ksh 28548 311747 58550 0 3 0x98 kqread sshd-session 58550 192228 74871 0 3 0x92 kqread sshd-session 34498 43484 1 0 3 0x100083 ttyin getty 74871 401724 1 0 3 0x88 kqread sshd 63054 39682 59973 74 3 0x1100092 bpf pflogd 59973 270289 1 0 3 0x80 sbwait pflogd 80033 195202 6236 73 3 0x1100090 kqread syslogd 6236 63850 1 0 3 0x100082 sbwait syslogd 36582 393898 1 0 3 0x100080 kqread resolvd 93280 31291 66692 77 3 0x100092 kqread dhcpleased 33362 4020 66692 77 3 0x100092 kqread dhcpleased 66692 322712 1 0 3 0x80 kqread dhcpleased 44061 463507 0 0 3 0x14200 bored smr 48887 154802 0 0 3 0x14200 pgzero zerothread 5274 439770 0 0 3 0x14200 aiodoned aiodoned 66716 400071 0 0 3 0x14200 syncer update 12037 18932 0 0 3 0x14200 cleaner cleaner 90910 441708 0 0 3 0x14200 reaper reaper 82709 28061 0 0 3 0x14200 pgdaemon pagedaemon 42438 73714 0 0 3 0x14200 bored viomb 89501 154786 0 0 3 0x40014200 acpi0 acpi0 42 393604 0 0 3 0x40014200 idle1 15576 479752 0 0 3 0x14200 bored softnet1 99042 98895 0 0 3 0x14200 bored softnet0 64530 338238 0 0 2 0x40014200 systqmp 15096 8803 0 0 3 0x14200 bored systq 87306 296949 0 0 3 0x14200 tmoslp softclockmp 35494 46634 0 0 3 0x40014200 tmoslp softclock 2695 147848 0 0 3 0x40014200 idle0 1 94772 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 92133 (syz-executor) thread 0xffff80002a2407e0 (81914) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83a346c0) #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 11065 12158K 12273K 166960K 12231 0 pcb 17 14K 16K 166960K 25 0 rtable 237 6K 7K 166960K 360 0 pf 34 17K 21K 166960K 55 0 ifaddr 43 7K 7K 166960K 48 0 ifgroup 55 2K 2K 166960K 67 0 sysctl 3 1K 9K 166960K 7 0 counters 70 37K 37K 166960K 76 0 ioctlops 0 0K 4K 166960K 1497 0 iov 0 0K 12K 166960K 9 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1294 81K 82K 166960K 1434 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 5 0K 0K 166960K 5 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 85K 166960K 229 0 sigio 0 0K 0K 166960K 3 0 proc 72 115K 164K 166960K 560 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 0 0K 0K 166960K 7 0 in_multi 99 7K 7K 166960K 99 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 5 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 67 307K 307K 166960K 67 0 exec 0 0K 1K 166960K 403 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 159K 168K 166960K 4133 0 UVM aobj 3 2K 2K 166960K 4 0 pinsyscall 43 86K 102K 166960K 1406 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 3 0 NDP 12 0K 2K 166960K 31 0 temp 41 9071K 9138K 166960K 8985 0 kqueue 14 22K 26K 166960K 36 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 41 0 38 1 0 1 1 0 8 0 rtentry 176 111 0 1 5 0 5 5 0 8 0 unpcb 144 151 0 131 2 0 2 2 0 8 0 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpcb 736 60 0 56 4 0 4 4 0 8 3 arp 136 18 0 0 1 0 1 1 0 8 0 inpcb 328 243 0 235 13 9 4 10 0 8 3 nd6 152 24 0 0 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1192 1 0 1 1 1 0 1 0 8 0 pffrag 232 3 0 0 1 0 1 1 0 482 0 pffrnode 88 3 0 0 1 0 1 1 0 8 0 pffrent 40 3 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 pfstitem 24 23 0 0 1 0 1 1 0 8 0 pfstkey 128 23 0 0 1 0 1 1 0 8 0 pfstate 448 23 0 0 3 0 3 3 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 453 0 0 29 0 29 29 0 8 0 art_table 40 454 0 0 5 0 5 5 0 8 0 art_node 32 111 0 11 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 0 1 0 1 1 0 8 0 semapl 112 3 0 0 1 0 1 1 0 8 0 shmpl 112 1 0 1 1 0 1 1 0 8 1 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1746 0 279 92 0 92 92 0 8 0 ffsino 296 1746 0 279 114 0 114 114 0 8 0 nchpl 144 2077 0 374 64 0 64 64 0 8 0 vnodes 216 1863 0 0 104 0 104 104 0 8 0 namei 1024 6507 0 6507 3 2 1 2 0 8 1 percpumem 16 53 0 3 1 0 1 1 0 8 0 kstatmem 264 33 0 6 3 1 2 3 0 8 0 scxspl 216 7079 0 7079 10 9 1 8 1 8 1 plimitpl 152 39 0 21 1 0 1 1 0 8 0 sigapl 424 553 0 505 6 0 6 6 0 8 0 knotepl 120 547 0 0 17 0 17 17 0 8 0 kqueuepl 224 50 0 39 1 0 1 1 0 8 0 pipepl 344 129 0 102 3 0 3 3 0 8 0 fdescpl 528 537 0 505 3 0 3 3 0 8 0 filepl 160 2270 0 2049 15 4 11 14 0 8 0 lockfpl 104 25 0 22 1 0 1 1 0 8 0 lockfspl 48 14 0 11 1 0 1 1 0 8 0 sessionpl 144 29 0 19 1 0 1 1 0 8 0 pgrppl 48 38 0 20 1 0 1 1 0 8 0 ucredpl 104 154 0 141 1 0 1 1 0 8 0 zombiepl 144 506 0 505 1 0 1 1 0 8 0 processpl 1232 553 0 505 5 1 4 5 0 8 0 procpl 664 727 0 666 7 1 6 6 0 8 0 sockpl 752 438 0 407 17 10 7 14 0 8 2 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 131 0 0 17 0 17 17 0 8 0 mcl2k 2048 19 0 0 3 0 3 3 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 152 0 0 10 0 10 10 0 8 0 bufpl 280 2478 0 107 170 0 170 170 0 8 0 anonpl 32 5466 0 0 45 0 45 45 0 246 0 amapchunkpl 152 11788 0 11249 26 5 21 26 0 158 0 amappl16 200 1749 0 1721 5 3 2 5 0 8 0 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 459 0 457 1 0 1 1 0 8 0 amappl13 176 142 0 130 1 0 1 1 0 8 0 amappl12 168 800 0 769 2 0 2 2 0 8 0 amappl11 160 78 0 78 1 1 0 1 0 8 0 amappl10 152 94 0 80 1 0 1 1 0 8 0 amappl9 144 271 0 271 1 1 0 1 0 8 0 amappl8 136 103 0 101 1 0 1 1 0 8 0 amappl7 128 154 0 141 1 0 1 1 0 8 0 amappl6 120 155 0 154 1 0 1 1 0 8 0 amappl5 112 92 0 81 1 0 1 1 0 8 0 amappl4 104 289 0 270 1 0 1 1 0 8 0 amappl3 96 2134 0 2009 4 0 4 4 0 8 0 amappl2 88 543 0 479 2 0 2 2 0 8 0 amappl1 80 9769 0 9155 15 2 13 15 0 8 0 amappl 88 3371 0 3191 5 0 5 5 0 92 0 uvmvnodes 80 105 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 3 0 1 1 0 1 1 0 8 0 uaddrrnd 24 537 0 505 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 537 0 505 1 0 1 1 0 8 0 vmmpekpl 168 6117 0 6086 3 1 2 3 0 8 0 vmmpepl 168 42106 0 40122 88 1 87 88 0 357 0 vmsppl 488 536 0 505 5 1 4 5 0 8 0 rwobjpl 80 14735 0 13669 24 1 23 24 0 8 0 pdppl 4096 1081 0 1010 97 26 71 81 0 8 0 pvpl 32 13333 0 0 108 0 108 108 0 265 0 pmappl 256 536 0 505 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 274 0 31 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83894ff0) 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(ffffffff83a33ec0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83a33ec0) at __mp_lock+0x192 sys/kern/kern_lock.c:173 intr_handler(ffff80003bbdeb50,ffff80000007ab80) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560 Xintr_ioapic_edge18_untramp() at Xintr_ioapic_edge18_untramp+0x18f __mp_lock(ffffffff83a33ec0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83a33ec0) 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: 0x7144ff151b20, count: 5 ddb{0}> trace x86_ipi_db(ffffffff83894ff0) 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(ffffffff83a33ec0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83a33ec0) at __mp_lock+0x192 sys/kern/kern_lock.c:173 intr_handler(ffff80003bbdeb50,ffff80000007ab80) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560 Xintr_ioapic_edge18_untramp() at Xintr_ioapic_edge18_untramp+0x18f __mp_lock(ffffffff83a33ec0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83a33ec0) 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: 0x7144ff151b20, count: -10 ddb{0}> machine ddbcpu 1 Stopped at savectx+0xae: movl $0,%gs:0x688 savectx() at savectx+0xae end of kernel end trace frame: 0x7bfbce980ba0, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7bfbce980ba0, count: -1