uvm_fault(0xfffff9806fc02008, 0x98, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff81e62248 cs 8 rflags 10246 cr2 98 cpl 0 rsp ffff800033b859d0 gsbase 0xffff80002999dff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff81e62248 Starting stack trace... panic(ffffffff834f058c) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff800033b85920) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dovutimens(ffff800045fee018,fffff98063224ce0,ffff800033b85ae0) at dovutimens+0x368 sys/kern/vfs_syscalls.c:2691 sys_futimens(ffff800045fee018,ffff800033b85c30,ffff800033b85b80) at sys_futimens+0xb3 sys/kern/vfs_syscalls.c:2767 syscall(ffff800033b85c30) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800033b85c30) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4c428b400, count: 250 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 91 -437576536 EXIT 0 4 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND 313730 55314 0 0 0 0 syz-executor *316233 73919 0 0x2 0 1 syz-executor savectx() at savectx+0xae end of kernel end trace frame: 0x71e6e5eb1c90, 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(0xfffff9806fc02008, 0x98, 0, 1) -> e ddb{1}> show kasan No such command ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x71e6e5eb1c90, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a2c6160 rbx 0 rdx 0 rcx 0xffff80002a222540 rax 0x3b r8 0xffff80002a2c6090 r9 0x1 r10 0x6de3dd0a4acc0f95 r11 0x8ce28a7cc678f8c1 r12 0 r13 0 r14 0xffff80002a222540 r15 0 rip 0xffffffff8105a3ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80002a2c60e0 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=316233 pid=73919 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=0xffff80002a222010,0xffff80002a2222b8 process=0xffff800045ff39d0 user=0xffff80002a2c1000, vmspace=0xfffff9800b1f7988 estcpu=23, cpticks=9, pctcpu=0.6, user=1, sys=8, intr=0 ddb{1}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 67464 496968 23900 0 2 0 0 syz-executor 9511 78605 1 0 2 0 0 init 55314 313730 78819 0 7 0 0 syz-executor 55314 13880 78819 0 3 0 0x4000000 sbar syz-executor 92388 312827 77834 0 2 0 0 syz-executor 92388 488957 77834 0 3 0 0x4000080 fsleep syz-executor 32844 187538 87105 0 2 0 0 syz-executor 32844 452945 87105 0 3 0 0x4000080 fsleep syz-executor 33491 408364 73919 0 2 0 0 syz-executor 33491 89044 73919 0 3 0 0x4000080 fsleep syz-executor 91636 456536 39896 0 2 0 0 syz-executor 57279 118297 29025 0 2 0 0 syz-executor 57279 238278 29025 0 3 0 0x4000080 fsleep syz-executor 57279 55048 29025 0 3 0 0x4000080 fsleep syz-executor 39896 67173 99564 0 2 0x2 0 syz-executor 63056 224251 99564 0 2 0x10000002 0 syz-executor 77834 61611 99564 0 2 0x2 0xc80 syz-executor 23900 297209 99564 0 2 0x2 0xc80 syz-executor 29025 465352 99564 0 2 0x2 0 syz-executor 78819 199090 99564 0 2 0x2 0 syz-executor *73919 316233 99564 0 7 0x2 0 syz-executor 87105 434722 99564 0 2 0x2 0 syz-executor 99564 413058 1 0 3 0x2 0x80 kqread syz-executor 89066 307816 1 0 2 0x10000800 0x2008 sshd 5773 95847 1 0 2 0x10000800 0x2000 pflogd 60525 407081 1 0 2 0x10100802 0x2000 syslogd 73936 476302 1 0 2 0x100800 0x2000 resolvd 81607 172525 0 0 3 0x14000 0x200 bored smr 80036 490724 0 0 2 0x14000 0x200 zerothread 79462 416495 0 0 3 0x14000 0x200 aiodoned aiodoned 23967 167633 0 0 3 0x14000 0x200 syncer update 25613 315387 0 0 3 0x14000 0x200 cleaner cleaner 10882 407096 0 0 3 0x14000 0x200 reaper reaper 81957 424378 0 0 3 0x14000 0x200 pgdaemon pagedaemon 60885 114066 0 0 3 0x14000 0x200 bored viomb 28048 445659 0 0 3 0x14000 0x40000200 acpi0 acpi0 53626 190458 0 0 3 0x14000 0x40000200 idle1 38189 163470 0 0 3 0x14000 0x200 bored softnet1 37600 267019 0 0 3 0x14000 0x200 netlock softnet0 14656 486818 0 0 2 0x14000 0x40000200 systqmp 86672 31861 0 0 3 0x14000 0x200 bored systq 52237 293018 0 0 2 0x14000 0x200 softclockmp 38651 317984 0 0 3 0x14000 0x40000200 tmoslp softclock 67915 324623 0 0 3 0x14000 0x40000200 idle0 1 488821 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{1}> show all locks Process 55314 (syz-executor) thread 0xffff800045fee018 (13880) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83a81b00) #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 11048 12081K 12218K 166960K 12188 0 pcb 17 12K 12K 166960K 21 0 rtable 257 10K 10K 166960K 393 0 pf 39 18K 21K 166960K 69 0 ifaddr 43 7K 7K 166960K 51 0 ifgroup 55 2K 2K 166960K 68 0 sysctl 1 1K 9K 166960K 5 0 counters 70 37K 37K 166960K 78 0 ioctlops 0 0K 4K 166960K 1530 0 iov 0 0K 2K 166960K 2 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1293 81K 82K 166960K 1397 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 1734 201K 291K 166960K 11964 0 file desc 16 61K 89K 166960K 186 0 proc 55 67K 164K 166960K 559 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 14 0 in_multi 99 6K 6K 166960K 100 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 49 228K 228K 166960K 49 0 exec 0 0K 1K 166960K 400 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 158 105K 179K 166960K 3594 0 UVM aobj 4 2K 2K 166960K 4 0 pinsyscall 26 52K 102K 166960K 1383 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 32 0 temp 38 9138K 9154K 166960K 4156 0 kqueue 4 8K 29K 166960K 44 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 28 0 0 1 0 1 1 0 8 0 rtpcb 120 41 0 40 1 0 1 1 0 8 0 rtentry 176 112 0 1 6 0 6 6 0 8 0 unpcb 144 56 0 52 1 0 1 1 0 8 0 syncache 336 6 0 6 1 0 1 1 0 8 1 tcpcb 736 16 0 12 1 0 1 1 0 8 0 arp 136 18 0 0 1 0 1 1 0 8 0 inpcb 328 168 0 164 7 0 7 7 0 8 5 nd6 152 25 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1192 2 0 2 1 0 1 1 0 8 1 pffrag 232 1 0 0 1 0 1 1 0 482 0 pffrnode 88 1 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 pfrktable 1344 7 0 2 1 0 1 1 0 8 0 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfstitem 24 20 0 0 1 0 1 1 0 8 0 pfstkey 128 20 0 0 1 0 1 1 0 8 0 pfstate 448 20 0 0 3 0 3 3 0 8 0 pfrule 1360 24 0 17 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 454 0 0 29 0 29 29 0 8 0 art_table 40 455 0 0 5 0 5 5 0 8 0 art_node 32 112 0 11 1 0 1 1 0 8 0 shmpl 112 1 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1658 0 182 93 0 93 93 0 8 0 ffsino 296 1658 0 182 114 0 114 114 0 8 0 nchpl 144 1916 0 212 64 0 64 64 0 8 0 vnodes 216 1767 0 0 99 0 99 99 0 8 0 namei 1024 6004 0 6000 3 0 3 3 0 8 1 percpumem 16 55 0 4 1 0 1 1 0 8 0 pfiaddrpl 120 2 0 0 1 0 1 1 0 8 0 kstatmem 264 35 0 8 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 7287 0 7287 4 3 1 3 1 8 1 plimitpl 152 37 0 24 1 0 1 1 0 8 0 sigapl 424 516 0 473 7 0 7 7 0 8 1 knotepl 120 358 0 0 11 0 11 11 0 8 0 kqueuepl 224 39 0 34 1 0 1 1 0 8 0 pipepl 344 133 0 105 3 0 3 3 0 8 0 fdescpl 528 500 0 477 3 0 3 3 0 8 0 filepl 160 1971 0 1797 12 0 12 12 0 8 2 lockfpl 104 31 0 29 1 0 1 1 0 8 0 lockfspl 48 14 0 12 1 0 1 1 0 8 0 sessionpl 144 24 0 17 1 0 1 1 0 8 0 pgrppl 48 33 0 18 1 0 1 1 0 8 0 ucredpl 104 146 0 132 1 0 1 1 0 8 0 zombiepl 144 477 0 473 1 0 1 1 0 8 0 processpl 1232 516 0 473 5 0 5 5 0 8 0 procpl 664 612 0 563 6 0 6 6 0 8 1 sockpl 752 265 0 256 10 0 10 10 0 8 7 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 129 0 0 17 0 17 17 0 8 0 mcl2k 2048 28 0 0 4 0 4 4 0 8 0 mextrefs 64 28 0 0 1 0 1 1 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 151 0 0 10 0 10 10 0 8 0 bufpl 272 3142 0 105 203 0 203 203 0 8 0 anonpl 32 3667 0 0 30 0 30 30 0 247 0 amapchunkpl 152 10249 0 9822 33 0 33 33 0 158 13 amappl16 200 1496 0 1482 5 1 4 5 0 8 2 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 449 0 448 1 0 1 1 0 8 0 amappl13 176 129 0 125 1 0 1 1 0 8 0 amappl12 168 752 0 733 2 0 2 2 0 8 0 amappl11 160 5 0 5 1 1 0 1 0 8 0 amappl10 152 65 0 61 1 0 1 1 0 8 0 amappl9 144 276 0 276 1 1 0 1 0 8 0 amappl8 136 105 0 104 1 0 1 1 0 8 0 amappl7 128 151 0 149 1 0 1 1 0 8 0 amappl6 120 164 0 164 1 0 1 1 0 8 1 amappl5 112 103 0 98 1 0 1 1 0 8 0 amappl4 104 304 0 296 1 0 1 1 0 8 0 amappl3 96 1771 0 1713 3 0 3 3 0 8 0 amappl2 88 630 0 605 2 0 2 2 0 8 0 amappl1 80 10808 0 10682 15 0 15 15 0 8 4 amappl 88 2775 0 2658 4 0 4 4 0 92 0 uvmvnodes 80 100 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 0 1 0 1 1 0 8 0 uaddrrnd 24 500 0 477 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 500 0 477 1 0 1 1 0 8 0 vmmpekpl 168 6145 0 6107 2 0 2 2 0 8 0 vmmpepl 168 41260 0 40296 86 0 86 86 0 357 17 vmsppl 488 499 0 477 5 0 5 5 0 8 1 rwobjpl 80 14940 0 14505 25 1 24 24 0 8 2 pdppl 4096 1007 0 954 101 30 71 85 0 8 18 pvpl 32 9528 0 0 77 0 77 77 0 265 0 pmappl 256 499 0 477 3 0 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 479 0 32 13 0 13 13 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff839d6ff0) 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(ffffffff83a81300) at __mp_lock+0x19e __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83a81300) at __mp_lock+0x19e 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: 0x7ba848fc42d0, count: 8 ddb{0}> trace x86_ipi_db(ffffffff839d6ff0) 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(ffffffff83a81300) at __mp_lock+0x19e __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83a81300) at __mp_lock+0x19e 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: 0x7ba848fc42d0, 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: 0x71e6e5eb1c90, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x71e6e5eb1c90, count: -1 ddb{1}>