uvm_fault(0xfffffa806b139208, 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 ffff80003c3f5300 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(ffff80003c3f5250) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dovutimens(ffff80003abb9ca8,fffffa807c4091e0,ffff80003c3f5410) at dovutimens+0x368 sys/kern/vfs_syscalls.c:2691 sys_futimens(ffff80003abb9ca8,ffff80003c3f5560,ffff80003c3f54b0) at sys_futimens+0xb3 sys/kern/vfs_syscalls.c:2767 syscall(ffff80003c3f5560) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c3f5560) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x663fe55dc0, count: 250 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 83 -1497474608 EXIT 0 4 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND * 83216 42291 0 0 0 1 syz-executor 10462 46236 0 0 0 0 syz-executor savectx() at savectx+0xae end of kernel end trace frame: 0x7adfa335bb20, 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(0xfffffa806b139208, 0x98, 0, 1) -> e ddb{1}> show kasan No such command ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7adfa335bb20, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003abb15b0 rbx 0 rdx 0 rcx 0xffff800045fee548 rax 0x3c r8 0xffff80003abb14e0 r9 0x1 r10 0x72e036bbe354925e r11 0x4683c1db8e5a7ce5 r12 0 r13 0 r14 0xffff800045fee548 r15 0 rip 0xffffffff8105a3ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80003abb1530 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=83216 pid=42291 tcnt=2 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=0xffff800045fef770,0xffff80003abb9cb8 process=0xffff80003c3d44f0 user=0xffff80003abac000, vmspace=0xfffffa806b139208 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND *42291 83216 99998 0 7 0 0 syz-executor 42291 227994 99998 0 3 0 0x4000000 sbar syz-executor 14264 277813 91504 0 2 0 0 syz-executor 46236 10462 76373 0 7 0 0 syz-executor 46236 355137 76373 0 2 0 0x4000000 syz-executor 44279 156719 6691 0 2 0 0 syz-executor 44279 191375 6691 0 3 0 0x4000080 kqread syz-executor 45564 338191 96215 0 2 0 0 syz-executor 45564 513237 96215 0 3 0 0x4000080 fsleep syz-executor 49349 500655 52859 60929 2 0x10 0 syz-executor 49349 415702 52859 60929 3 0x10 0x4000080 fsleep syz-executor 49349 322566 52859 60929 3 0x10 0x4000080 pipewr syz-executor 39583 69624 46737 0 2 0 0 syz-executor 39583 398549 46737 0 3 0 0x4000080 fsleep syz-executor 39583 464532 46737 0 3 0 0x4000080 fsleep syz-executor 79467 4455 35457 0 3 0 0x80 nanoslp syz-executor 79467 3370 35457 0 3 0 0x4000080 sbwait syz-executor 79467 390612 35457 0 3 0 0x4000080 fsleep syz-executor 46737 510689 29850 0 2 0x2 0 syz-executor 76373 487510 29850 0 3 0x2 0x80 nanoslp syz-executor 91504 366026 29850 0 3 0x2 0x80 nanoslp syz-executor 96215 457927 29850 0 3 0x2 0x80 nanoslp syz-executor 6691 201096 29850 0 3 0x2 0x80 nanoslp syz-executor 52859 230228 29850 0 3 0x2 0x80 nanoslp syz-executor 35457 89516 29850 0 3 0x2 0x80 nanoslp syz-executor 99998 279601 29850 0 3 0x2 0x80 nanoslp syz-executor 29850 262326 47023 0 3 0x2 0x80 kqread syz-executor 47023 28045 46761 0 3 0x100002 0x88 sigsusp ksh 46761 468105 63590 0 3 0x10 0x88 kqread sshd-session 63590 311738 53394 0 3 0x12 0x80 kqread sshd-session 7151 508509 1 0 3 0x100003 0x80 ttyopn getty 53394 160544 1 0 3 0 0x88 kqread sshd 81439 304585 89496 74 3 0x1100012 0x80 bpf pflogd 89496 349325 1 0 3 0 0x80 sbwait pflogd 96985 361045 71337 73 3 0x1100010 0x80 kqread syslogd 71337 133533 1 0 3 0x100002 0x80 sbwait syslogd 68823 485509 1 0 3 0x100000 0x80 kqread resolvd 97753 159929 73043 77 3 0x100012 0x80 kqread dhcpleased 31025 81341 73043 77 3 0x100012 0x80 kqread dhcpleased 73043 261613 1 0 3 0 0x80 kqread dhcpleased 3892 325098 0 0 3 0x14000 0x200 bored smr 27928 177074 0 0 2 0x14000 0x200 zerothread 49290 479294 0 0 3 0x14000 0x200 aiodoned aiodoned 57283 394819 0 0 3 0x14000 0x200 syncer update 51065 441453 0 0 3 0x14000 0x200 cleaner cleaner 89239 406149 0 0 3 0x14000 0x200 reaper reaper 22376 22777 0 0 3 0x14000 0x200 pgdaemon pagedaemon 69869 471140 0 0 3 0x14000 0x200 bored viomb 67267 42722 0 0 3 0x14000 0x40000200 acpi0 acpi0 54479 258543 0 0 3 0x14000 0x40000200 idle1 11565 202361 0 0 3 0x14000 0x200 bored softnet1 57048 169166 0 0 3 0x14000 0x200 netlock softnet0 63765 368654 0 0 2 0x14000 0x200 systqmp 96410 123094 0 0 3 0x14000 0x200 bored systq 44805 244708 0 0 3 0x14000 0x200 tmoslp softclockmp 84966 147149 0 0 3 0x14000 0x40000200 tmoslp softclock 57898 466059 0 0 3 0x14000 0x40000200 idle0 1 319428 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{1}> show all locks Process 42291 (syz-executor) thread 0xffff80003abb9ca8 (227994) 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 11074 12229K 12415K 166960K 12390 0 pcb 17 14K 16K 166960K 129 0 rtable 245 8K 8K 166960K 477 0 pf 34 17K 24K 166960K 85 0 ifaddr 42 7K 7K 166960K 64 0 ifgroup 55 2K 2K 166960K 79 0 sysctl 4 1K 9K 166960K 12 0 counters 70 37K 37K 166960K 92 0 ioctlops 0 0K 4K 166960K 1539 0 iov 0 0K 4K 166960K 9 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1354 85K 85K 166960K 1619 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 6 0 VM map 2 1K 1K 166960K 2 0 sem 9 0K 0K 166960K 9 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 18 65K 93K 166960K 375 0 sigio 0 0K 0K 166960K 4 0 proc 72 115K 180K 166960K 631 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 39 0 in_multi 95 6K 6K 166960K 148 0 ether_multi 1 0K 0K 166960K 3 0 mrt 1 0K 0K 166960K 12 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 451 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 236 159K 169K 166960K 5011 0 UVM aobj 7 2K 2K 166960K 8 0 pinsyscall 43 86K 106K 166960K 1623 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 14 0 NDP 14 0K 1K 166960K 42 0 temp 47 9120K 9124K 166960K 14676 0 kqueue 15 24K 31K 166960K 76 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 49 0 46 1 0 1 1 0 8 0 rtentry 176 149 0 40 5 0 5 5 0 8 0 unpcb 144 114 0 93 1 0 1 1 0 8 0 syncache 336 5 0 5 1 1 0 1 0 8 0 tcpcb 736 44 0 40 1 0 1 1 0 8 0 arp 136 23 0 4 1 0 1 1 0 8 0 inpcb 328 318 0 309 7 0 7 7 0 8 5 nd6 152 34 0 11 1 0 1 1 0 8 0 kcovpl 48 10 0 2 1 0 1 1 0 8 0 ppxss 1192 7 0 7 1 0 1 1 0 8 1 pppxif 1576 2 0 2 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 pfrktable 1344 1 0 1 1 0 1 1 0 8 1 pfsrclim 320 1 0 1 1 0 1 1 0 8 1 pfanchor 1288 5 0 0 1 0 1 1 0 8 0 pftag 88 3 0 1 1 0 1 1 0 8 0 pfstitem 24 45 0 0 1 0 1 1 0 8 0 pfstkey 128 45 0 0 2 0 2 2 0 8 0 pfstate 448 45 0 0 5 0 5 5 0 8 0 pfrule 1360 28 0 22 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 636 0 182 33 0 33 33 0 8 4 art_table 40 637 0 182 6 0 6 6 0 8 0 art_node 32 148 0 49 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 5 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 72 7 0 0 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 1942 0 474 93 0 93 93 0 8 0 ffsino 296 1942 0 474 114 0 114 114 0 8 0 nchpl 144 2452 0 737 64 0 64 64 0 8 0 rtmask 32 2 0 2 1 0 1 1 0 8 1 vnodes 216 2225 0 0 124 0 124 124 0 8 0 namei 1024 7602 0 7602 2 1 1 2 0 8 1 percpumem 16 62 0 11 1 0 1 1 0 8 0 kstatmem 264 41 0 14 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 9375 0 9375 10 4 6 8 1 8 6 plimitpl 152 51 0 34 1 0 1 1 0 8 0 sigapl 424 700 0 652 7 1 6 7 0 8 0 knotepl 120 544 0 0 17 0 17 17 0 8 0 kqueuepl 224 91 0 80 1 0 1 1 0 8 0 pipepl 344 154 0 126 3 0 3 3 0 8 0 fdescpl 528 684 0 652 3 0 3 3 0 8 0 filepl 160 2836 0 2609 14 1 13 13 0 8 2 lockfpl 104 99 0 96 1 0 1 1 0 8 0 lockfspl 48 46 0 43 1 0 1 1 0 8 0 sessionpl 144 35 0 26 1 0 1 1 0 8 0 pgrppl 48 45 0 28 1 0 1 1 0 8 0 ucredpl 104 296 0 282 1 0 1 1 0 8 0 zombiepl 144 652 0 652 1 0 1 1 0 8 1 processpl 1232 700 0 652 5 0 5 5 0 8 1 procpl 664 1044 0 986 6 0 6 6 0 8 0 sockpl 752 489 0 456 11 0 11 11 0 8 6 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 132 0 0 17 0 17 17 0 8 0 mcl2k 2048 42 0 0 6 0 6 6 0 8 1 mextrefs 64 42 0 0 1 0 1 1 0 8 0 mtagpl 96 5 0 0 1 0 1 1 0 8 0 mbufpl 256 186 0 0 12 0 12 12 0 8 0 bufpl 272 3121 0 107 201 0 201 201 0 8 0 anonpl 32 8551 0 0 69 0 69 69 0 247 0 amapchunkpl 152 14639 0 14120 22 0 22 22 0 158 0 amappl16 200 1835 0 1807 18 7 11 17 0 8 8 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 468 0 467 1 0 1 1 0 8 0 amappl13 176 130 0 117 1 0 1 1 0 8 0 amappl12 168 997 0 965 2 0 2 2 0 8 0 amappl11 160 3 0 3 1 1 0 1 0 8 0 amappl10 152 62 0 48 1 0 1 1 0 8 0 amappl9 144 285 0 285 1 1 0 1 0 8 0 amappl8 136 110 0 107 1 0 1 1 0 8 0 amappl7 128 155 0 142 1 0 1 1 0 8 0 amappl6 120 176 0 174 1 0 1 1 0 8 0 amappl5 112 107 0 96 1 0 1 1 0 8 0 amappl4 104 305 0 285 1 0 1 1 0 8 0 amappl3 96 2781 0 2677 3 0 3 3 0 8 0 amappl2 88 808 0 729 2 0 2 2 0 8 0 amappl1 80 11681 0 11074 15 1 14 15 0 8 1 amappl 88 4184 0 4020 5 0 5 5 0 92 0 uvmvnodes 80 103 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 7 0 1 1 0 1 1 0 8 0 uaddrrnd 24 684 0 652 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 684 0 652 1 0 1 1 0 8 0 vmmpekpl 168 7412 0 7365 3 0 3 3 0 8 0 vmmpepl 168 52373 0 50406 98 0 98 98 0 357 10 vmsppl 488 683 0 652 5 0 5 5 0 8 0 rwobjpl 80 17318 0 16273 28 0 28 28 0 8 2 pdppl 4096 1375 0 1304 103 30 73 85 0 8 2 pvpl 32 16049 0 0 130 0 130 130 0 265 0 pmappl 256 683 0 652 3 0 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 488 0 34 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+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83a81300) 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(ffffffff83a81300) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83a81300) 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: 0x7831cdaaad50, count: 4 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+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83a81300) 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(ffffffff83a81300) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83a81300) 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: 0x7831cdaaad50, count: -11 ddb{0}> machine ddbcpu 1 Stopped at savectx+0xae: movl $0,%gs:0x688 savectx() at savectx+0xae end of kernel end trace frame: 0x7adfa335bb20, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7adfa335bb20, count: -1