×-™ø©Í*ÓÉuvm_fault(0xfffffd8071454200, 0x98, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff829f43a8 cs 8 rflags 10246 cr2 98 cpl 0 rsp ffff80002a26e7e0 gsbase 0xffff80002999dff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff829f43a8 Starting stack trace... panic(ffffffff834eee54) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80002a26e730) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dovutimens(ffff80002a222010,fffffd80633b72c8,ffff80002a26e910) at dovutimens+0x368 sys/kern/vfs_syscalls.c:2778 sys_futimes(ffff80002a222010,ffff80002a26ea60,ffff80002a26e9b0) at sys_futimes+0x208 sys/kern/vfs_syscalls.c:2820 syscall(ffff80002a26ea60) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a26ea60) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x461fc78e30, count: 250 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 83 1213244016 EXIT 0 4 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND *283452 86942 0 0 0 1 syz-executor 153171 86942 0 0 0x4000000 0 syz-executor savectx() at savectx+0xae end of kernel end trace frame: 0x7c8929c97de0, 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(0xfffffd8071454200, 0x98, 0, 1) -> e ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7c8929c97de0, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003bfc2f70 rbx 0 rdx 0 rcx 0xffff800033795778 rax 0x3b r8 0xffff80003bfc2ea0 r9 0x1 r10 0x88c87e2c3edb049c r11 0xd6893ef033a0858f r12 0 r13 0 r14 0xffff800033795778 r15 0 rip 0xffffffff8239b3ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80003bfc2ef0 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=283452 pid=86942 tcnt=4 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=0xffff800033794020,0xffff800033795cb8 process=0xffff8000fffe49c0 user=0xffff80003bfbd000, vmspace=0xfffffd8071454200 estcpu=36, cpticks=5, pctcpu=0.0, user=3, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 8262 260730 8142 0 2 0 syz-executor 8262 474505 8142 0 3 0x4000080 fsleep syz-executor 60725 141176 20309 0 2 0 syz-executor 60725 393034 20309 0 3 0x4000080 kqread syz-executor *86942 283452 54949 0 7 0 syz-executor 86942 313716 54949 0 3 0x4000080 sbwait syz-executor 86942 153171 54949 0 7 0x4000000 syz-executor 86942 303300 54949 0 3 0x4000000 sbar syz-executor 749 268253 1 0 3 0x82 nanoslp getty 42570 446952 62415 0 2 0 syz-executor 42570 341460 62415 0 3 0x4000080 kqpoll syz-executor 42570 344879 62415 0 3 0x4000080 fsleep syz-executor 79855 359606 35302 -1 2 0x10 syz-executor 79855 124284 35302 -1 3 0x4000090 ttyout syz-executor 79855 351744 35302 -1 3 0x4000090 fsleep syz-executor 50867 328346 34841 0 3 0x80 nanoslp syz-executor 50867 69219 34841 0 3 0x4000080 ttyout syz-executor 50867 252926 34841 0 3 0x4000080 fsleep syz-executor 57710 476148 90670 0 3 0x3000 suspend syz-executor 57710 354846 90670 0 3 0x4081000 biowait syz-executor 34841 389592 86137 0 3 0x82 nanoslp syz-executor 90670 295619 86137 0 3 0x82 nanoslp syz-executor 8142 216085 86137 0 3 0x82 nanoslp syz-executor 54949 161300 86137 0 3 0x82 nanoslp syz-executor 62415 439741 86137 0 3 0x82 nanoslp syz-executor 35302 490471 86137 0 2 0x2 syz-executor 20309 154630 86137 0 3 0x82 nanoslp syz-executor 97710 335988 86137 0 3 0x82 nanoslp syz-executor 86137 78211 46594 0 3 0x82 kqread syz-executor 46594 379946 70519 0 3 0x10008a sigsusp ksh 70519 328457 33843 0 3 0x98 kqread sshd-session 33843 205644 54736 0 3 0x92 kqread sshd-session 54736 414252 1 0 3 0x88 kqread sshd 10001 5251 89909 74 3 0x1100092 bpf pflogd 89909 90870 1 0 3 0x80 sbwait pflogd 44304 310280 92917 73 3 0x1100090 kqread syslogd 92917 510672 1 0 3 0x100082 sbwait syslogd 39147 473843 1 0 3 0x100080 kqread resolvd 10171 153095 53374 77 3 0x100092 kqread dhcpleased 76284 379768 53374 77 3 0x100092 kqread dhcpleased 53374 299208 1 0 3 0x80 kqread dhcpleased 48343 392844 0 0 3 0x14200 bored smr 88752 124189 0 0 3 0x14200 pgzero zerothread 64474 203216 0 0 3 0x14200 aiodoned aiodoned 13770 354672 0 0 3 0x14200 syncer update 89262 88348 0 0 3 0x14200 cleaner cleaner 51038 228002 0 0 3 0x14200 reaper reaper 23715 487343 0 0 3 0x14200 pgdaemon pagedaemon 36841 323035 0 0 3 0x14200 bored viomb 99912 86754 0 0 3 0x40014200 acpi0 acpi0 32770 210929 0 0 3 0x40014200 idle1 36214 498519 0 0 3 0x14200 bored softnet1 12970 12048 0 0 3 0x14200 netlock softnet0 33320 251335 0 0 3 0x14200 smrbar systqmp 55767 401041 0 0 3 0x14200 bored systq 54544 37155 0 0 3 0x14200 tmoslp softclockmp 52317 148956 0 0 3 0x40014200 tmoslp softclock 85593 120280 0 0 3 0x40014200 idle0 1 305858 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 86942 (syz-executor) thread 0xffff80002a222010 (303300) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff839eee80) #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 57710 (syz-executor) thread 0xffff800033794d18 (354846) exclusive rrwlock inode r = 0 (0xfffffd806c901688) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 rrw_enter+0xc6 sys/kern/kern_rwlock.c:621 #3 VOP_LOCK+0xbd sys/kern/vfs_vops.c:527 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:576 #5 vn_write+0x18f sys/kern/vfs_vnops.c:411 #6 dofilewritev+0x2bd sys/kern/sys_generic.c:384 #7 sys_write+0xa2 sys/kern/sys_generic.c:300 #8 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #8 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 #9 Xsyscall+0x128 Process 33320 (systqmp) thread 0xffff8000ffffe7c8 (251335) shared rwlock systqmp r = 0 (0xffffffff839deb28) #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 11063 12086K 12222K 166960K 12204 0 pcb 17 12K 12K 166960K 30 0 rtable 241 7K 7K 166960K 367 0 pf 34 17K 18K 166960K 52 0 ifaddr 43 7K 7K 166960K 49 0 ifgroup 55 2K 2K 166960K 64 0 sysctl 3 1K 9K 166960K 7 0 counters 70 37K 37K 166960K 86 0 ioctlops 1 2K 4K 166960K 1496 0 iov 0 0K 16K 166960K 4 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1293 81K 81K 166960K 1398 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 5K 166960K 3 0 VM map 2 1K 1K 166960K 2 0 sem 2 0K 0K 166960K 2 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 93K 166960K 204 0 sigio 0 0K 0K 166960K 5 0 proc 72 115K 180K 166960K 564 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 4 0 in_multi 99 7K 7K 166960K 100 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 4 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 398 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 247 167K 175K 166960K 3702 0 UVM aobj 5 2K 2K 166960K 5 0 pinsyscall 43 86K 102K 166960K 1404 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 12 0K 2K 166960K 31 0 temp 38 9114K 9122K 166960K 7710 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 34 1 0 1 1 0 8 0 rtentry 176 113 0 3 6 0 6 6 0 8 1 unpcb 144 65 0 46 1 0 1 1 0 8 0 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpcb 736 26 0 21 1 0 1 1 0 8 0 arp 136 18 0 0 1 0 1 1 0 8 0 inpcb 328 115 0 107 2 0 2 2 0 8 1 nd6 152 24 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1192 7 0 7 1 0 1 1 0 8 1 pppxif 1576 1 0 1 1 0 1 1 0 8 1 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 24 0 0 1 0 1 1 0 8 0 pfstkey 128 24 0 0 1 0 1 1 0 8 0 pfstate 448 24 0 0 3 0 3 3 0 8 0 pfrule 1360 21 0 15 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 464 0 5 29 0 29 29 0 8 0 art_table 40 465 0 5 5 0 5 5 0 8 0 art_node 32 113 0 13 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 1686 0 214 93 0 93 93 0 8 0 ffsino 296 1686 0 214 114 0 114 114 0 8 0 nchpl 144 1982 0 277 64 0 64 64 0 8 0 vnodes 216 1792 0 0 100 0 100 100 0 8 0 namei 1024 6181 0 6181 2 0 2 2 0 8 2 percpumem 16 58 0 8 1 0 1 1 0 8 0 kstatmem 264 33 0 6 3 0 3 3 0 8 1 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 8779 0 8778 4 2 2 3 1 8 1 plimitpl 152 35 0 15 1 0 1 1 0 8 0 sigapl 424 534 0 486 7 0 7 7 0 8 0 knotepl 120 306 0 0 10 0 10 10 0 8 0 kqueuepl 224 47 0 36 1 0 1 1 0 8 0 pipepl 344 132 0 105 3 0 3 3 0 8 0 fdescpl 528 518 0 486 3 0 3 3 0 8 0 filepl 160 1994 0 1764 10 0 10 10 0 8 0 lockfpl 104 36 0 34 1 0 1 1 0 8 0 lockfspl 48 17 0 15 1 0 1 1 0 8 0 sessionpl 144 92 0 84 1 0 1 1 0 8 0 pgrppl 48 100 0 84 1 0 1 1 0 8 0 ucredpl 104 168 0 154 1 0 1 1 0 8 0 zombiepl 144 488 0 486 1 0 1 1 0 8 0 processpl 1232 534 0 486 5 0 5 5 0 8 0 procpl 664 660 0 600 6 0 6 6 0 8 0 sosppl 176 1 0 1 1 0 1 1 0 8 1 sockpl 752 218 0 188 4 0 4 4 0 8 1 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 128 0 0 16 0 16 16 0 8 0 mcl2k 2048 18 0 0 3 0 3 3 0 8 0 mtagpl 96 4 0 0 1 0 1 1 0 8 0 mbufpl 256 136 0 0 9 0 9 9 0 8 0 bufpl 280 3481 0 105 242 0 242 242 0 8 0 anonpl 32 7030 0 0 58 1 57 57 0 246 0 amapchunkpl 152 10428 0 9905 21 0 21 21 0 158 0 amappl16 200 1899 0 1652 13 0 13 13 0 8 0 amappl15 192 1 0 1 1 1 0 1 0 8 0 amappl14 184 457 0 456 1 0 1 1 0 8 0 amappl13 176 129 0 117 1 0 1 1 0 8 0 amappl12 168 774 0 743 2 0 2 2 0 8 0 amappl11 160 7 0 7 1 1 0 1 0 8 0 amappl10 152 69 0 55 1 0 1 1 0 8 0 amappl9 144 286 0 286 1 1 0 1 0 8 0 amappl8 136 104 0 101 1 0 1 1 0 8 0 amappl7 128 152 0 139 1 0 1 1 0 8 0 amappl6 120 159 0 158 1 0 1 1 0 8 0 amappl5 112 99 0 89 1 0 1 1 0 8 0 amappl4 104 299 0 281 1 0 1 1 0 8 0 amappl3 96 1934 0 1814 3 0 3 3 0 8 0 amappl2 88 567 0 504 2 0 2 2 0 8 0 amappl1 80 10885 0 10277 14 0 14 14 0 8 0 amappl 88 2926 0 2752 4 0 4 4 0 92 0 uvmvnodes 80 104 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 4 0 0 1 0 1 1 0 8 0 uaddrrnd 24 518 0 486 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 518 0 486 1 0 1 1 0 8 0 vmmpekpl 168 6277 0 6244 2 0 2 2 0 8 0 vmmpepl 168 42568 0 40378 96 0 96 96 0 357 0 vmsppl 488 517 0 486 5 0 5 5 0 8 0 rwobjpl 80 15540 0 14273 27 1 26 26 0 8 0 pdppl 4096 1043 0 972 101 30 71 85 0 8 0 pvpl 32 13610 0 0 111 1 110 110 0 265 0 pmappl 256 517 0 486 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 273 0 32 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83962ff0) 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(ffffffff839ee680) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff839ee680) 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(ffffffff839ee680) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff839ee680) at __mp_lock+0x199 sys/kern/kern_lock.c:173 intr_handler(ffff800033792510,ffff8000002a3480) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __mp_lock(ffffffff839ee680) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff839ee680) at __mp_lock+0x192 sys/kern/kern_lock.c:173 vn_ioctl(fffffd80667784a8,c450444a,ffff80000160d000,ffff800033794550) at vn_ioctl+0x4d sys/kern/vfs_vnops.c:520 sys_ioctl(ffff800033794550,ffff800033792900,ffff800033792850) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff800033792900) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800033792900) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 end trace frame: 0xffff800033792980, count: 0 ddb{0}> trace x86_ipi_db(ffffffff83962ff0) 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(ffffffff839ee680) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff839ee680) 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(ffffffff839ee680) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff839ee680) at __mp_lock+0x199 sys/kern/kern_lock.c:173 intr_handler(ffff800033792510,ffff8000002a3480) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __mp_lock(ffffffff839ee680) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff839ee680) at __mp_lock+0x192 sys/kern/kern_lock.c:173 vn_ioctl(fffffd80667784a8,c450444a,ffff80000160d000,ffff800033794550) at vn_ioctl+0x4d sys/kern/vfs_vnops.c:520 sys_ioctl(ffff800033794550,ffff800033792900,ffff800033792850) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff800033792900) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800033792900) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4553f6cc70, count: -15 ddb{0}> machine ddbcpu 1 Stopped at savectx+0xae: movl $0,%gs:0x688 savectx() at savectx+0xae end of kernel end trace frame: 0x7c8929c97de0, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7c8929c97de0, count: -1