uvm_fault(0xfffff1006cedb9a0, 0x98, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff825c7078 cs 8 rflags 10246 cr2 98 cpl 0 rsp ffff80003c3fb320 gsbase 0xffff80002999dff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff825c7078 Starting stack trace... panic(ffffffff834f06e7) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80003c3fb270) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dovutimens(ffff80003c3d3780,fffff1006fb660f8,ffff80003c3fb450) at dovutimens+0x368 sys/kern/vfs_syscalls.c:2691 sys_futimes(ffff80003c3d3780,ffff80003c3fb5a0,ffff80003c3fb4f0) at sys_futimes+0x208 sys/kern/vfs_syscalls.c:2733 syscall(ffff80003c3fb5a0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c3fb5a0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xaed1c0365d0, count: 250 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 83 -1618401856 EXIT 0 4 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND *514585 21851 0 0 0 1 syz-executor 297740 54772 0 0 0 0 syz-executor savectx() at savectx+0xae end of kernel end trace frame: 0x77b0b0d7c1b0, 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(0xfffff1006cedb9a0, 0x98, 0, 1) -> e ddb{1}> show kasan No such command ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x77b0b0d7c1b0, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003c3b7000 rbx 0 rdx 0 rcx 0xffff80003c3d2558 rax 0x3c r8 0xffff80003c3b6f30 r9 0x1 r10 0x6afc37bb8d832d8d r11 0x7cd6a5acf22b7d0f r12 0 r13 0 r14 0xffff80003c3d2558 r15 0 rip 0xffffffff818193ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80003c3b6f80 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=514585 pid=21851 tcnt=2 stat=onproc flags process=0 proc=0 runpri=86, usrpri=86, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c3d3cb0,0xffff80003c3d34f8 process=0xffff80003c47c028 user=0xffff80003c3b2000, vmspace=0xfffff1006cedb7b8 estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND *21851 514585 69411 0 7 0 0 syz-executor 21851 310870 69411 0 3 0 0x4000080 fsleep syz-executor 54772 297740 40163 0 7 0 0 syz-executor 54772 319784 40163 0 3 0 0x4000080 fsleep syz-executor 54772 86165 40163 0 2 0 0x4000000 syz-executor 11178 226729 39384 0 2 0 0 syz-executor 11178 321337 39384 0 3 0 0x4000000 sbar syz-executor 76775 377465 21406 0 2 0 0 syz-executor 76775 102289 21406 0 3 0 0x4000080 sbwait syz-executor 22638 87192 13269 0 3 0 0x80 nanoslp syz-executor 22638 163719 13269 0 3 0 0x4000080 kqread syz-executor 22638 10107 13269 0 3 0 0x4000080 fsleep syz-executor 22638 413119 13269 0 3 0 0x4000080 fsleep syz-executor 6375 139353 48493 0 3 0 0x80 nanoslp syz-executor 6375 385992 48493 0 3 0 0x4000080 lockf syz-executor 6375 463193 48493 0 3 0 0x4000080 fsleep syz-executor 6375 88817 48493 0 3 0 0x4000080 fsleep syz-executor 6375 336780 48493 0 3 0 0x4000080 fsleep syz-executor 49378 452987 1 0 3 0x2 0x80 nanoslp getty 42535 415803 0 0 3 0x14000 0x280 nfsidl nfsio 17283 208267 0 0 3 0x14000 0x280 nfsidl nfsio 7763 326596 0 0 3 0x14000 0x280 nfsidl nfsio 7030 162031 0 0 3 0x14000 0x280 nfsidl nfsio 60498 217890 0 0 3 0x14000 0x280 nfsidl nfsio 56409 95814 0 0 3 0x14000 0x280 nfsidl nfsio 93358 364931 0 0 3 0x14000 0x280 nfsidl nfsio 46825 160816 0 0 3 0x14000 0x280 nfsidl nfsio 23499 122727 0 0 3 0x14000 0x280 nfsidl nfsio 67705 498510 0 0 3 0x14000 0x280 nfsidl nfsio 22687 128904 0 0 3 0x14000 0x280 nfsidl nfsio 10063 373290 0 0 3 0x14000 0x280 nfsidl nfsio 73504 304164 0 0 3 0x14000 0x280 nfsidl nfsio 6357 75379 0 0 3 0x14000 0x280 nfsidl nfsio 10088 415481 0 0 3 0x14000 0x280 nfsidl nfsio 40170 465433 0 0 3 0x14000 0x280 nfsidl nfsio 1061 235931 0 0 3 0x14000 0x280 nfsidl nfsio 1341 154333 0 0 3 0x14000 0x280 nfsidl nfsio 39176 369931 0 0 3 0x14000 0x280 nfsidl nfsio 85843 20341 0 0 3 0x14000 0x280 nfsidl nfsio 69411 160722 17291 0 3 0x2 0x80 nanoslp syz-executor 46646 319789 17291 0 3 0x2 0x80 nanoslp syz-executor 13269 46391 17291 0 3 0x2 0x80 nanoslp syz-executor 40163 144642 17291 0 3 0x2 0x80 nanoslp syz-executor 39384 362688 17291 0 3 0x2 0x80 nanoslp syz-executor 48493 133384 17291 0 3 0x2 0x80 nanoslp syz-executor 21406 279265 17291 0 3 0x2 0x80 nanoslp syz-executor 59691 487283 17291 0 3 0x2 0x80 wait syz-executor 17291 509763 1 0 3 0x2 0x80 kqread syz-executor 90674 403135 0 0 3 0x14000 0x200 bored smr 28518 89397 0 0 3 0x14000 0x200 pgzero zerothread 29287 414155 0 0 3 0x14000 0x200 aiodoned aiodoned 25994 159774 0 0 3 0x14000 0x200 syncer update 24569 428332 0 0 3 0x14000 0x200 cleaner cleaner 10162 332234 0 0 3 0x14000 0x200 reaper reaper 38014 55049 0 0 3 0x14000 0x200 pgdaemon pagedaemon 73928 466874 0 0 3 0x14000 0x200 bored viomb 37161 16231 0 0 3 0x14000 0x40000200 acpi0 acpi0 53736 289568 0 0 3 0x14000 0x40000200 idle1 93927 420150 0 0 3 0x14000 0x200 bored softnet1 38260 162152 0 0 3 0x14000 0x200 netlock softnet0 75215 454574 0 0 2 0x14000 0x40000200 systqmp 77980 47724 0 0 3 0x14000 0x200 bored systq 21286 104785 0 0 3 0x14000 0x200 tmoslp softclockmp 80271 287370 0 0 3 0x14000 0x40000200 tmoslp softclock 69519 15980 0 0 3 0x14000 0x40000200 idle0 1 85053 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{1}> show all locks Process 11178 (syz-executor) thread 0xffff80003c3d3780 (321337) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83aef6c0) #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 11066 12083K 12348K 166960K 12404 0 pcb 18 16K 17K 166960K 169 0 rtable 271 9K 10K 166960K 414 0 pf 42 19K 24K 166960K 133 0 ifaddr 46 8K 8K 166960K 57 0 ifgroup 65 2K 2K 166960K 85 0 sysctl 3 1K 9K 166960K 9 0 counters 76 37K 37K 166960K 94 0 ioctlops 0 0K 4K 166960K 1560 0 iov 0 0K 28K 166960K 31 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1294 81K 81K 166960K 1611 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 5 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 21 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 17 65K 93K 166960K 472 0 sigio 0 0K 0K 166960K 3 0 proc 21 33K 196K 166960K 603 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 38 0 in_multi 100 7K 7K 166960K 116 0 ether_multi 1 0K 0K 166960K 2 0 mrt 1 0K 0K 166960K 21 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 109 493K 493K 166960K 109 0 exec 0 0K 1K 166960K 449 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 152 83K 165K 166960K 6247 0 UVM aobj 13 2K 2K 166960K 14 0 pinsyscall 20 40K 107K 166960K 1632 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 12 0 NDP 14 0K 2K 166960K 37 0 temp 46 9116K 9157K 166960K 28755 0 kqueue 3 4K 28K 166960K 74 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 60 0 59 1 0 1 1 0 8 0 rtentry 176 122 0 3 6 0 6 6 0 8 0 unpcb 144 257 0 257 4 2 2 4 0 8 2 syncache 336 6 0 6 1 0 1 1 0 8 1 tcpcb 736 84 0 83 2 0 2 2 0 8 1 arp 136 19 0 0 1 0 1 1 0 8 0 inpcb 328 464 0 456 7 0 7 7 0 8 5 nd6 152 28 0 0 2 0 2 2 0 8 0 pkpcb 40 3 0 3 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1192 8 0 7 1 0 1 1 0 8 0 pppxif 1576 1 0 0 1 0 1 1 0 8 0 pffrag 232 6 0 1 1 0 1 1 0 482 0 pffrnode 88 6 0 1 1 0 1 1 0 8 0 pffrent 40 8 0 2 1 0 1 1 0 8 0 pfosfp 40 1428 0 1428 5 0 5 5 0 8 5 pfosfpen 112 1428 0 1428 21 0 21 21 0 8 21 pfsrclim 320 3 0 2 1 0 1 1 0 8 0 pfanchor 1288 8 0 0 1 0 1 1 0 8 0 pftag 88 4 0 0 1 0 1 1 0 8 0 pfstitem 24 68 0 1 1 0 1 1 0 8 0 pfstkey 128 68 0 1 3 0 3 3 0 8 0 pfstate 448 68 0 1 8 0 8 8 0 8 0 pfrule 1360 25 0 19 2 1 1 2 0 8 0 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 549 0 0 35 0 35 35 0 8 0 art_table 40 550 0 0 6 0 6 6 0 8 0 art_node 32 122 0 13 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 3 1 0 1 1 0 8 0 semupl 112 3 0 3 1 0 1 1 0 8 1 semapl 72 17 0 7 1 0 1 1 0 8 0 shmpl 112 11 0 1 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2200 0 728 93 0 93 93 0 8 0 ffsino 296 2200 0 728 114 0 114 114 0 8 0 nchpl 144 2876 0 1165 64 0 64 64 0 8 0 rtmask 32 1 0 1 1 1 0 1 0 8 0 vnodes 216 2421 0 0 135 0 135 135 0 8 0 namei 1024 9181 0 9181 3 0 3 3 0 8 3 percpumem 16 63 0 9 1 0 1 1 0 8 0 kstatmem 264 45 0 14 3 0 3 3 0 8 0 scsiplug 72 2 0 2 1 0 1 1 0 8 1 scxspl 216 11319 0 11319 3 2 1 2 1 8 1 plimitpl 152 77 0 66 1 0 1 1 0 8 0 sigapl 424 810 0 754 8 0 8 8 0 8 0 knotepl 120 501 0 0 16 0 16 16 0 8 0 kqueuepl 224 107 0 103 1 0 1 1 0 8 0 pipepl 344 184 0 157 3 0 3 3 0 8 0 fdescpl 528 774 0 754 3 0 3 3 0 8 0 filepl 160 3926 0 3751 14 1 13 14 0 8 3 lockfpl 104 124 0 119 1 0 1 1 0 8 0 lockfspl 48 60 0 56 1 0 1 1 0 8 0 sessionpl 144 41 0 39 1 0 1 1 0 8 0 pgrppl 48 55 0 45 1 0 1 1 0 8 0 ucredpl 104 674 0 670 1 0 1 1 0 8 0 zombiepl 144 756 0 754 1 0 1 1 0 8 0 processpl 1232 810 0 754 6 0 6 6 0 8 0 procpl 664 1381 0 1313 8 0 8 8 0 8 1 sosppl 176 6 0 6 1 0 1 1 0 8 1 sockpl 752 791 0 782 11 1 10 11 0 8 7 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k128 9344 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 131 0 0 17 1 16 17 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 20 0 0 3 0 3 3 0 8 0 mextrefs 64 18 0 0 1 0 1 1 0 8 0 mtagpl 96 6 0 0 1 0 1 1 0 8 0 mbufpl 256 287 0 0 18 0 18 18 0 8 0 bufpl 272 4984 0 105 326 0 326 326 0 8 0 anonpl 32 5600 0 0 46 0 46 46 0 247 0 amapchunkpl 152 19402 0 18989 28 0 28 28 0 158 9 amappl16 200 2130 0 2082 5 2 3 5 0 8 0 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 431 0 431 1 0 1 1 0 8 1 amappl13 176 123 0 122 1 0 1 1 0 8 0 amappl12 168 1024 0 1005 2 0 2 2 0 8 0 amappl11 160 5 0 5 1 1 0 1 0 8 0 amappl10 152 67 0 66 1 0 1 1 0 8 0 amappl9 144 272 0 272 1 1 0 1 0 8 0 amappl8 136 99 0 98 1 0 1 1 0 8 0 amappl7 128 149 0 146 1 0 1 1 0 8 0 amappl6 120 159 0 158 1 0 1 1 0 8 0 amappl5 112 105 0 104 1 0 1 1 0 8 0 amappl4 104 298 0 296 1 0 1 1 0 8 0 amappl3 96 3797 0 3705 4 0 4 4 0 8 1 amappl2 88 546 0 535 2 0 2 2 0 8 0 amappl1 80 11856 0 11735 15 1 14 15 0 8 5 amappl 88 5413 0 5276 5 0 5 5 0 92 1 uvmvnodes 80 117 0 0 3 0 3 3 0 8 0 dma65536 65536 1 0 1 1 0 1 1 0 8 1 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 2 0 1 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 13 0 1 1 0 1 1 0 8 0 uaddrrnd 24 774 0 754 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 774 0 754 1 0 1 1 0 8 0 vmmpekpl 168 8289 0 8254 2 0 2 2 0 8 0 vmmpepl 168 56862 0 55915 88 0 88 88 0 357 40 vmsppl 488 773 0 754 5 1 4 5 0 8 0 rwobjpl 80 18436 0 17939 25 2 23 25 0 8 1 pdppl 4096 1555 0 1508 97 34 63 85 0 8 16 pvpl 32 13113 0 0 106 0 106 106 0 265 0 pmappl 256 773 0 754 3 0 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 619 0 38 17 0 17 17 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff838daff0) 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(ffffffff83aeeec0) at __mp_lock+0x19e __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83aeeec0) at __mp_lock+0x19e 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(ffffffff83aeeec0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83aeeec0) 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: 0x772cf2d64540, count: 4 ddb{0}> trace x86_ipi_db(ffffffff838daff0) 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(ffffffff83aeeec0) at __mp_lock+0x19e __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83aeeec0) at __mp_lock+0x19e 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(ffffffff83aeeec0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83aeeec0) 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: 0x772cf2d64540, 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: 0x77b0b0d7c1b0, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x77b0b0d7c1b0, count: -1 ddb{1}>