uvm_fault(0xfffffd800d8bd5d8, 0x98, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff82ee10e8 cs 8 rflags 10246 cr2 98 cpl 0 rsp ffff80003a3adb70 gsbase 0xffff80002999dff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff82ee10e8 Starting stack trace... panic(ffffffff834ef1bf) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80003a3adac0) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dovutimens(ffff80002a222010,fffffd806da073a0,ffff80003a3adca0) at dovutimens+0x368 sys/kern/vfs_syscalls.c:2778 sys_futimes(ffff80002a222010,ffff80003a3addf0,ffff80003a3add40) at sys_futimes+0x208 sys/kern/vfs_syscalls.c:2820 syscall(ffff80003a3addf0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003a3addf0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x65e47ee1910, count: 250 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 91 1652014776 EXIT 0 4 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND 103092 22892 0 0 0 0 syz-executor *324793 85933 0 0x2 0 1 syz-executor savectx() at savectx+0xae end of kernel end trace frame: 0x78946277bea0, 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(0xfffffd800d8bd5d8, 0x98, 0, 1) -> e ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x78946277bea0, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a3602c0 rbx 0 rdx 0 rcx 0xffff8000ffff3770 rax 0x3b r8 0xffff80002a3601f0 r9 0x1 r10 0x8a3d91ba32845e6d r11 0xf91c69707aefa78e r12 0 r13 0 r14 0xffff8000ffff3770 r15 0 rip 0xffffffff813d53ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80002a360240 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=324793 pid=85933 tcnt=1 stat=onproc flags process=2 proc=0 runpri=32, usrpri=79, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000ffff3a08,0xffff8000ffff2fb8 process=0xffff8000ffff5348 user=0xffff80002a35b000, vmspace=0xfffffd800b063000 estcpu=36, cpticks=19, pctcpu=0.6, user=0, sys=18, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 98615 106605 88240 0 2 0 syz-executor 98615 296283 88240 0 2 0x4000000 syz-executor 22892 103092 90646 0 7 0 syz-executor 22892 135224 90646 0 2 0x4000000 syz-executor 15203 227675 31973 0 2 0 syz-executor 15203 413240 31973 0 3 0x4000000 sbar syz-executor 22546 157029 85933 0 2 0 syz-executor 8028 129349 44720 0 2 0 syz-executor 8028 308812 44720 0 3 0x4000080 fsleep syz-executor 22903 135862 86359 0 2 0 syz-executor 22903 49572 86359 0 3 0x4000080 kqread syz-executor 22903 46044 86359 0 2 0x4000000 syz-executor 67646 383686 62435 0 2 0 syz-executor 67646 4413 62435 0 3 0x4000080 kqread syz-executor 76635 180519 64641 0 2 0 syz-executor 76635 263455 64641 0 3 0x4000080 fsleep syz-executor 76635 103733 64641 0 3 0x4000080 fsleep syz-executor 88786 276432 1 0 3 0x80 nanoslp init 86359 398524 21033 0 2 0x2 syz-executor *85933 324793 21033 0 7 0x2 syz-executor 62435 270155 21033 0 2 0x2 syz-executor 44720 252721 21033 0 2 0x2 syz-executor 31973 311198 21033 0 2 0xc82 syz-executor 88240 517540 21033 0 2 0xc82 syz-executor 64641 396152 21033 0 2 0xc82 syz-executor 90646 366273 21033 0 2 0x2 syz-executor 21033 205924 1 0 3 0x82 kqread syz-executor 24586 318000 0 0 3 0x14200 bored smr 40275 299720 0 0 2 0x14200 zerothread 63430 518222 0 0 3 0x14200 aiodoned aiodoned 71402 120341 0 0 3 0x14200 syncer update 75654 290390 0 0 3 0x14200 cleaner cleaner 65691 456105 0 0 3 0x14200 reaper reaper 79497 358213 0 0 3 0x14200 pgdaemon pagedaemon 77617 489396 0 0 3 0x14200 bored viomb 66765 381124 0 0 3 0x40014200 acpi0 acpi0 61325 519696 0 0 3 0x40014200 idle1 69512 208892 0 0 3 0x14200 bored softnet1 70227 345571 0 0 3 0x14200 netlock softnet0 47781 40907 0 0 2 0x14200 systqmp 84544 132860 0 0 3 0x14200 bored systq 27135 65385 0 0 3 0x14200 tmoslp softclockmp 81086 147585 0 0 2 0x40014200 softclock 99151 214498 0 0 3 0x40014200 idle0 1 145500 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 15203 (syz-executor) thread 0xffff80002a222010 (413240) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83a3f4c0) #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 11067 12217K 12417K 166960K 12580 0 pcb 17 12K 12K 166960K 86 0 rtable 227 7K 8K 166960K 371 0 pf 38 18K 25K 166960K 231 0 ifaddr 43 7K 7K 166960K 53 0 ifgroup 55 2K 2K 166960K 71 0 sysctl 3 1K 9K 166960K 13 0 counters 70 37K 38K 166960K 92 0 ioctlops 0 0K 4K 166960K 1562 0 iov 0 0K 16K 166960K 12 0 mount 1 1K 1K 166960K 1 0 log 7 0K 0K 166960K 11 0 vnodes 1291 81K 82K 166960K 1684 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 23 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 65K 89K 166960K 483 0 sigio 0 0K 0K 166960K 2 0 proc 12 17K 164K 166960K 600 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 23 0 in_multi 96 7K 7K 166960K 102 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 15 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 85 387K 387K 166960K 85 0 exec 0 0K 1K 166960K 423 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 119 78K 176K 166960K 6313 0 UVM aobj 15 2K 2K 166960K 15 0 pinsyscall 19 38K 105K 166960K 1687 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 13 0 NDP 12 0K 1K 166960K 34 0 temp 42 9115K 12967K 166960K 18059 0 kqueue 4 8K 30K 166960K 78 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 88 0 88 1 0 1 1 0 8 1 rtentry 176 114 0 12 6 0 6 6 0 8 0 unpcb 144 174 0 173 1 0 1 1 0 8 0 syncache 336 6 0 6 1 0 1 1 0 8 1 tcpcb 736 110 0 109 4 0 4 4 0 8 3 arp 136 18 0 0 1 0 1 1 0 8 0 inpcb 328 413 0 412 6 0 6 6 0 8 5 nd6 152 26 0 1 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1192 9 0 9 1 0 1 1 0 8 1 pfstscr 40 4 0 2 1 0 1 1 0 8 0 pffrag 232 7 0 2 1 0 1 1 0 482 0 pffrnode 88 6 0 1 1 0 1 1 0 8 0 pffrent 40 9 0 4 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 pfanchor 1288 47 0 0 4 0 4 4 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfqueue 320 2 0 1 1 0 1 1 0 8 0 pfstitem 24 26 0 1 1 0 1 1 0 8 0 pfstkey 128 36 0 11 1 0 1 1 0 8 0 pfstate 448 29 0 6 3 0 3 3 0 8 0 pfrule 1360 30 0 23 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 488 0 62 31 0 31 31 0 8 2 art_table 40 489 0 62 5 0 5 5 0 8 0 art_node 32 114 0 24 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 2 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 72 21 0 11 1 0 1 1 0 8 0 shmpl 112 12 0 0 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2227 0 754 93 0 93 93 0 8 0 ffsino 296 2227 0 754 114 0 114 114 0 8 0 nchpl 144 2922 0 1219 64 0 64 64 0 8 0 rtmask 32 4 0 4 1 0 1 1 0 8 1 vnodes 216 2496 0 0 139 0 139 139 0 8 0 namei 1024 9303 0 9303 2 0 2 2 0 8 2 percpumem 16 61 0 11 1 0 1 1 0 8 0 kstatmem 264 39 0 12 3 0 3 3 0 8 1 scsiplug 72 2 0 2 1 0 1 1 0 8 1 scxspl 216 14063 0 14063 11 3 8 8 1 8 8 plimitpl 152 80 0 71 1 0 1 1 0 8 0 sigapl 424 814 0 778 7 1 6 7 0 8 0 knotepl 120 284 0 0 9 0 9 9 0 8 0 kqueuepl 224 122 0 118 1 0 1 1 0 8 0 pipepl 344 148 0 121 3 0 3 3 0 8 0 fdescpl 528 798 0 778 3 0 3 3 0 8 0 filepl 160 3985 0 3826 11 0 11 11 0 8 2 lockfpl 104 223 0 222 1 0 1 1 0 8 0 lockfspl 48 102 0 101 1 0 1 1 0 8 0 sessionpl 144 40 0 38 1 0 1 1 0 8 0 pgrppl 48 51 0 41 1 0 1 1 0 8 0 ucredpl 104 735 0 732 1 0 1 1 0 8 0 zombiepl 144 778 0 778 1 0 1 1 0 8 1 processpl 1232 814 0 778 5 0 5 5 0 8 0 procpl 664 1385 0 1340 6 0 6 6 0 8 1 sosppl 176 2 0 2 1 0 1 1 0 8 1 sockpl 752 687 0 685 7 0 7 7 0 8 5 mcl64k 65536 11 0 0 2 0 2 2 0 8 0 mcl16k 16384 4 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 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 119 0 0 15 0 15 15 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 24 0 0 3 0 3 3 0 8 0 mtagpl 96 5 0 0 1 0 1 1 0 8 0 mbufpl 256 181 0 0 12 0 12 12 0 8 0 bufpl 280 6051 0 105 425 0 425 425 0 8 0 anonpl 32 6790 0 0 55 0 55 55 0 246 0 amapchunkpl 152 20233 0 19912 28 0 28 28 0 158 12 amappl16 200 2437 0 2413 18 7 11 15 0 8 8 amappl15 192 15 0 15 2 2 0 1 0 8 0 amappl14 184 441 0 441 1 0 1 1 0 8 1 amappl13 176 129 0 129 1 0 1 1 0 8 1 amappl12 168 1057 0 1040 2 0 2 2 0 8 0 amappl11 160 10 0 10 2 2 0 1 0 8 0 amappl10 152 76 0 76 1 0 1 1 0 8 1 amappl9 144 274 0 274 1 1 0 1 0 8 0 amappl8 136 114 0 114 1 0 1 1 0 8 1 amappl7 128 154 0 152 1 0 1 1 0 8 0 amappl6 120 170 0 169 1 0 1 1 0 8 0 amappl5 112 107 0 107 1 0 1 1 0 8 1 amappl4 104 305 0 303 1 0 1 1 0 8 0 amappl3 96 3755 0 3684 4 0 4 4 0 8 1 amappl2 88 586 0 579 2 0 2 2 0 8 0 amappl1 80 12523 0 12430 16 2 14 16 0 8 8 amappl 88 5433 0 5324 5 0 5 5 0 92 1 uvmvnodes 80 118 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 7 0 7 2 1 1 1 0 8 1 dma128 128 255 0 255 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 14 0 0 1 0 1 1 0 8 0 uaddrrnd 24 798 0 778 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 798 0 778 1 0 1 1 0 8 0 vmmpekpl 168 8461 0 8430 2 0 2 2 0 8 0 vmmpepl 168 59534 0 58705 97 0 97 97 0 357 55 vmsppl 488 797 0 778 5 0 5 5 0 8 1 rwobjpl 80 19352 0 18961 27 1 26 26 0 8 4 pdppl 4096 1603 0 1556 105 58 47 83 0 8 0 pvpl 32 12748 0 0 105 2 103 104 0 265 0 pmappl 256 797 0 778 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 286 0 60 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff839d3ff0) 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(ffffffff83a3ecc0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83a3ecc0) 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: 0x725f5ff540c0, count: 8 ddb{0}> trace x86_ipi_db(ffffffff839d3ff0) 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(ffffffff83a3ecc0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83a3ecc0) 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: 0x725f5ff540c0, count: -7 ddb{0}>