login: uvm_fault(0xfffffd806c67ed70, 0x98, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff827885d8 cs 8 rflags 10246 cr2 98 cpl 0 rsp ffff80002a282430 gsbase 0xffff80002999dff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff827885d8 Starting stack trace... panic(ffffffff834ed534) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80002a282380) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dovutimens(ffff80003b3b9a10,fffffd806634c438,ffff80002a282560) at dovutimens+0x368 sys/kern/vfs_syscalls.c:2690 sys_futimes(ffff80003b3b9a10,ffff80002a2826b0,ffff80002a282600) at sys_futimes+0x208 sys/kern/vfs_syscalls.c:2732 syscall(ffff80002a2826b0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a2826b0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x76ba1256350, count: 250 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 83 517066384 EXIT 0 4 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND *304750 29360 0 0 0x4000000 1 syz-executor 423426 24098 0 0 0 0 syz-executor savectx() at savectx+0xae end of kernel end trace frame: 0x76beab8fa70, 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(0xfffffd806c67ed70, 0x98, 0, 1) -> e ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x76beab8fa70, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a2886c0 rbx 0 rdx 0 rcx 0xffff80002a223238 rax 0x3a r8 0xffff80002a2885f0 r9 0x1 r10 0x8597a45867bd1033 r11 0x83d6519968dc2cdb r12 0 r13 0 r14 0xffff80002a223238 r15 0 rip 0xffffffff82a403ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80002a288640 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=304750 pid=29360 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003b3b9a10,0xffff80002a222fb0 process=0xffff80002a37e1c8 user=0xffff80002a283000, vmspace=0xfffffd806c67ed70 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 53432 15110 28684 0 2 0 syz-executor 76941 109027 31893 0 2 0 syz-executor 29360 155880 25986 0 2 0 syz-executor 29360 340266 25986 0 2 0x4000000 syz-executor 29360 157404 25986 0 3 0x4000000 sbar syz-executor *29360 304750 25986 0 7 0x4000000 syz-executor 829 191935 64623 0 2 0xc80 syz-executor 829 464163 64623 0 3 0x4000000 smrbar syz-executor 34863 167692 44279 0 2 0 syz-executor 34863 476725 44279 0 3 0x4000080 fsleep syz-executor 34863 424798 44279 0 3 0x4000080 fsleep syz-executor 34863 467234 44279 0 3 0x4000000 smrbar syz-executor 24098 423426 53814 0 7 0 syz-executor 24098 71440 53814 0 3 0x4000080 netcon syz-executor 24098 46170 53814 0 3 0x4000080 fsleep syz-executor 98165 320671 0 0 3 0x14200 acct acct 82122 52380 0 0 3 0x14280 nfsidl nfsio 78570 476672 0 0 3 0x14280 nfsidl nfsio 48529 502164 0 0 3 0x14280 nfsidl nfsio 95786 304569 0 0 3 0x14280 nfsidl nfsio 28201 266078 0 0 3 0x14280 nfsidl nfsio 1611 485726 0 0 3 0x14280 nfsidl nfsio 14471 289345 0 0 3 0x14280 nfsidl nfsio 95872 433372 0 0 3 0x14280 nfsidl nfsio 11199 286329 0 0 3 0x14280 nfsidl nfsio 17714 514384 0 0 3 0x14280 nfsidl nfsio 51318 283437 0 0 3 0x14280 nfsidl nfsio 40370 350537 0 0 3 0x14280 nfsidl nfsio 14275 390642 0 0 3 0x14280 nfsidl nfsio 85219 469034 0 0 3 0x14280 nfsidl nfsio 48246 475107 0 0 3 0x14280 nfsidl nfsio 80660 124969 0 0 3 0x14280 nfsidl nfsio 2634 40193 0 0 3 0x14280 nfsidl nfsio 11206 201260 0 0 3 0x14280 nfsidl nfsio 90635 397116 0 0 3 0x14280 nfsidl nfsio 43990 145926 0 0 3 0x14280 nfsidl nfsio 44722 231483 1 0 2 0x100083 getty 78364 469833 9370 0 3 0x100082 sbwait ndp 9370 223194 57065 0 3 0x10008a sigsusp sh 25986 98093 74673 0 2 0xc82 syz-executor 64623 484374 74673 0 2 0xc82 syz-executor 53814 292387 74673 0 2 0xc82 syz-executor 66614 491783 74673 0 2 0x2 syz-executor 57065 243026 74673 0 3 0x82 wait syz-executor 31893 302881 74673 0 2 0xc82 syz-executor 44279 126309 74673 0 2 0xc82 syz-executor 28684 183472 74673 0 2 0xc82 syz-executor 74673 276189 1 0 3 0x82 kqread syz-executor 5270 513664 1 74 3 0x1100092 bpf pflogd 1206 25835 1 73 3 0x1100090 kqread syslogd 69395 50354 0 0 2 0x40014200 smr 84638 495755 0 0 2 0x14200 zerothread 54213 215818 0 0 3 0x14200 aiodoned aiodoned 74992 359499 0 0 3 0x14200 syncer update 69063 95682 0 0 3 0x14200 cleaner cleaner 51024 333580 0 0 3 0x14200 reaper reaper 91692 350390 0 0 3 0x14200 pgdaemon pagedaemon 43533 361953 0 0 3 0x14200 bored viomb 13986 395725 0 0 3 0x40014200 acpi0 acpi0 66824 319174 0 0 3 0x40014200 idle1 7686 289489 0 0 3 0x14200 bored softnet1 4904 223052 0 0 2 0x14200 softnet0 92259 293399 0 0 2 0x40014200 systqmp 66745 201974 0 0 3 0x14200 bored systq 1896 205784 0 0 3 0x14200 tmoslp softclockmp 35320 132978 0 0 3 0x40014200 tmoslp softclock 99962 392921 0 0 3 0x40014200 idle0 1 250642 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 29360 (syz-executor) thread 0xffff80003b3b9a10 (157404) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83a3e580) #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 66614 (syz-executor) thread 0xffff8000fffefca0 (491783) exclusive rrwlock inode r = 0 (0xfffffd80683f0a08) #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 ufs_ihashins+0x4f ufs_ihash sys/ufs/ufs/ufs_ihash.c:-1 [inline] #4 ufs_ihashins+0x4f sys/ufs/ufs/ufs_ihash.c:159 #5 ffs_vget+0x187 sys/ufs/ffs/ffs_vfsops.c:1232 #6 ffs_inode_alloc+0x279 sys/ufs/ffs/ffs_alloc.c:393 #7 ufs_mkdir+0xfc sys/ufs/ufs/ufs_vnops.c:1112 #8 VOP_MKDIR+0x101 sys/kern/vfs_vops.c:394 #9 domkdirat+0x179 sys/kern/vfs_syscalls.c:3062 #10 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #10 syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806cdc7308) #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 vfs_lookup+0x12b sys/kern/vfs_lookup.c:431 #6 namei+0x7c5 sys/kern/vfs_lookup.c:250 #7 domkdirat+0x8b sys/kern/vfs_syscalls.c:3047 #8 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #8 syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11067 12215K 12474K 166960K 12570 0 pcb 17 12K 12K 166960K 79 0 rtable 263 10K 10K 166960K 399 0 pf 45 19K 21K 166960K 89 0 ifaddr 46 8K 8K 166960K 58 0 ifgroup 62 2K 2K 166960K 81 0 sysctl 3 1K 9K 166960K 10 0 counters 80 37K 37K 166960K 108 0 ioctlops 0 0K 4K 166960K 1649 0 iov 0 0K 16K 166960K 15 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1361 86K 86K 166960K 1642 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 6 0 VM map 2 1K 1K 166960K 2 0 sem 11 0K 0K 166960K 23 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 85K 166960K 407 0 sigio 1 0K 0K 166960K 6 0 proc 21 33K 164K 166960K 592 0 subproc 72 4K 4K 166960K 73 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 28 0 in_multi 100 7K 7K 166960K 106 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 10 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 577 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 149 93K 190K 166960K 5513 0 UVM aobj 14 2K 2K 166960K 15 0 pinsyscall 25 50K 106K 166960K 1617 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 1K 166960K 38 0 temp 51 9117K 9181K 166960K 13854 0 kqueue 7 12K 29K 166960K 86 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 53 0 52 1 0 1 1 0 8 0 rtentry 176 116 0 2 6 0 6 6 0 8 0 unpcb 144 209 0 200 1 0 1 1 0 8 0 syncache 336 8 0 8 1 0 1 1 0 8 1 tcpcb 736 135 0 132 7 0 7 7 0 8 6 arp 136 18 0 0 1 0 1 1 0 8 0 inpcb 328 364 0 358 7 0 7 7 0 8 5 nd6 152 27 0 0 2 0 2 2 0 8 0 pkpcb 40 2 0 1 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1192 17 0 13 1 0 1 1 0 8 0 pppxif 1576 1 0 0 1 0 1 1 0 8 0 pfstscr 40 69 0 69 1 0 1 1 0 8 1 pffrag 232 6 0 0 1 0 1 1 0 482 0 pffrnode 88 6 0 0 1 0 1 1 0 8 0 pffrent 40 7 0 1 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 2 0 1 1 0 1 1 0 8 0 pfstlim 224 1 0 1 1 0 1 1 0 8 1 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 44 0 0 1 0 1 1 0 8 0 pfstkey 128 115 0 71 2 0 2 2 0 8 0 pfstate 448 80 0 36 5 0 5 5 0 8 0 pfrule 1360 26 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 484 0 0 31 0 31 31 0 8 0 art_table 40 485 0 0 5 0 5 5 0 8 0 art_node 32 116 0 12 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 2 1 0 1 1 0 8 0 semapl 72 19 0 10 1 0 1 1 0 8 0 shmpl 112 12 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2076 0 614 93 0 93 93 0 8 0 ffsino 296 2076 0 614 114 0 114 114 0 8 0 nchpl 144 2650 0 947 64 0 64 64 0 8 0 rtmask 32 6 0 6 1 0 1 1 0 8 1 vnodes 216 2354 0 0 131 0 131 131 0 8 0 namei 1024 8947 0 8946 2 1 1 2 0 8 0 percpumem 16 69 0 14 1 0 1 1 0 8 0 kstatmem 264 47 0 16 3 0 3 3 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 9091 0 9091 10 2 8 8 1 8 8 plimitpl 152 68 0 56 1 0 1 1 0 8 0 sigapl 424 759 0 700 7 0 7 7 0 8 0 knotepl 120 579 0 0 18 0 18 18 0 8 0 kqueuepl 224 207 0 200 5 0 5 5 0 8 4 pipepl 344 153 0 125 3 0 3 3 0 8 0 fdescpl 528 722 0 700 3 0 3 3 0 8 0 filepl 160 3586 0 3395 14 0 14 14 0 8 5 lockfpl 104 297 0 296 2 0 2 2 0 8 1 lockfspl 48 73 0 72 1 0 1 1 0 8 0 sessionpl 144 39 0 34 1 0 1 1 0 8 0 pgrppl 48 48 0 35 1 0 1 1 0 8 0 ucredpl 104 494 0 487 1 0 1 1 0 8 0 zombiepl 144 700 0 700 1 0 1 1 0 8 1 processpl 1232 759 0 700 5 0 5 5 0 8 0 procpl 664 1222 0 1154 7 0 7 7 0 8 0 sosppl 176 6 0 6 1 0 1 1 0 8 1 sockpl 752 642 0 625 9 0 9 9 0 8 7 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 140 0 0 18 0 18 18 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 26 0 0 4 0 4 4 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 210 0 0 14 0 14 14 0 8 0 bufpl 280 2889 0 112 199 0 199 199 0 8 0 anonpl 32 5850 0 0 48 0 48 48 0 246 0 amapchunkpl 152 17247 0 16898 31 0 31 31 0 158 15 amappl16 200 1892 0 1873 5 3 2 5 0 8 0 amappl15 192 6 0 5 1 0 1 1 0 8 0 amappl14 184 434 0 433 1 0 1 1 0 8 0 amappl13 176 134 0 130 1 0 1 1 0 8 0 amappl12 168 995 0 976 2 0 2 2 0 8 0 amappl11 160 40 0 40 1 1 0 1 0 8 0 amappl10 152 81 0 77 1 0 1 1 0 8 0 amappl9 144 274 0 274 1 1 0 1 0 8 0 amappl8 136 106 0 104 1 0 1 1 0 8 0 amappl7 128 154 0 148 1 0 1 1 0 8 0 amappl6 120 155 0 154 1 0 1 1 0 8 0 amappl5 112 107 0 103 1 0 1 1 0 8 0 amappl4 104 310 0 301 1 0 1 1 0 8 0 amappl3 96 3363 0 3285 4 0 4 4 0 8 0 amappl2 88 591 0 572 2 0 2 2 0 8 0 amappl1 80 12810 0 12600 18 1 17 18 0 8 4 amappl 88 4688 0 4570 5 0 5 5 0 92 0 uvmvnodes 80 112 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 14 0 1 1 0 1 1 0 8 0 uaddrrnd 24 722 0 700 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 722 0 700 1 0 1 1 0 8 0 vmmpekpl 168 8183 0 8147 2 0 2 2 0 8 0 vmmpepl 168 55639 0 54614 99 1 98 99 0 357 39 vmsppl 488 721 0 700 5 0 5 5 0 8 0 rwobjpl 80 18511 0 17935 27 1 26 27 0 8 1 pdppl 4096 1451 0 1400 101 48 53 83 0 8 2 pvpl 32 13683 0 0 112 1 111 111 0 265 0 pmappl 256 721 0 700 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 291 0 52 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83994ff0) 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 __sanitizer_cov_trace_const_cmp4(ffffffff83ab9980,120) at __sanitizer_cov_trace_const_cmp4+0x3f sys/dev/kcov.c:231 sys_nanosleep(ffff80002a238fc0,ffff80003c413920,ffff80003c413870) at sys_nanosleep+0x26a sys/kern/kern_time.c:303 syscall(ffff80003c413920) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c413920) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b52cbd78ed0, count: 8 ddb{0}> trace x86_ipi_db(ffffffff83994ff0) 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 __sanitizer_cov_trace_const_cmp4(ffffffff83ab9980,120) at __sanitizer_cov_trace_const_cmp4+0x3f sys/dev/kcov.c:231 sys_nanosleep(ffff80002a238fc0,ffff80003c413920,ffff80003c413870) at sys_nanosleep+0x26a sys/kern/kern_time.c:303 syscall(ffff80003c413920) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c413920) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b52cbd78ed0, 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: 0x76beab8fa70, count: 14 ddb{1}>