uvm_fault(0xfffff3006ccf83f0, 0x98, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff823e5038 cs 8 rflags 10246 cr2 98 cpl 0 rsp ffff80002a2601f0 gsbase 0xffff80002999dff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff823e5038 Starting stack trace... panic(ffffffff834e8bb4) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80002a260140) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dovutimens(ffff80003a3b8fb0,fffff300650b6c08,ffff80002a260300) at dovutimens+0x368 sys/kern/vfs_syscalls.c:2691 sys_futimens(ffff80003a3b8fb0,ffff80002a260450,ffff80002a2603a0) at sys_futimens+0xb3 sys/kern/vfs_syscalls.c:2767 syscall(ffff80002a260450) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a260450) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x13b7aa4510, count: 250 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 83 -498620128 EXIT 0 4 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND 47057 19344 0 0x1 0 0 syz-executor *290399 13071 0 0 0 1 syz-executor savectx() at savectx+0xae end of kernel end trace frame: 0x7f3e092987f0, 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(0xfffff3006ccf83f0, 0x98, 0, 1) -> e ddb{1}> show kasan No such command ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7f3e092987f0, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003178b7e0 rbx 0 rdx 0 rcx 0xffff80002a2234d0 rax 0x3b r8 0xffff80003178b710 r9 0x1 r10 0xb2721958627f4d0b r11 0xdc1a22bc06e9f2ed r12 0 r13 0 r14 0xffff80002a2234d0 r15 0 rip 0xffffffff8225b3ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80003178b760 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=290399 pid=13071 tcnt=4 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=0xffff80003a3b8a80,0xffff80003a3b8d28 process=0xffff800045ff3030 user=0xffff800031786000, vmspace=0xfffff3006ccf83f0 estcpu=36, cpticks=12, pctcpu=0.0, user=11, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 19344 47057 56493 0 7 0x1 0 syz-executor 19344 395355 56493 0 3 0x1 0x4000080 fsleep syz-executor 92820 450413 75787 0 2 0 0 syz-executor 92820 268646 75787 0 2 0 0x4000000 syz-executor 59068 205230 44272 0 3 0 0x80 nanoslp syz-executor 59068 181716 44272 0 3 0 0x4000080 msgwait syz-executor 59068 489986 44272 0 3 0 0x4000080 fsleep syz-executor 74040 13328 44989 0 3 0 0x80 nanoslp syz-executor 74040 482871 44989 0 3 0 0x4000080 fifow syz-executor 74040 452967 44989 0 3 0 0x4000080 fsleep syz-executor 6924 132479 75053 0 3 0 0x80 nanoslp syz-executor 6924 123527 75053 0 3 0 0x4000080 fsleep syz-executor 6924 339655 75053 0 3 0 0x4000080 fsleep syz-executor 6924 473355 75053 0 3 0 0x4000080 ttyin syz-executor *13071 290399 84792 0 7 0 0 syz-executor 13071 335547 84792 0 3 0 0x4000080 sbwait syz-executor 13071 136349 84792 0 3 0 0x4000000 inode syz-executor 13071 430870 84792 0 3 0 0x4000000 sbar syz-executor 7504 17187 41732 -1 3 0x10 0x80 nanoslp syz-executor 7504 346461 41732 -1 3 0x10 0x4000080 fsleep syz-executor 7504 422839 41732 -1 3 0x10 0x4000080 fsleep syz-executor 81148 70106 0 0 3 0x14000 0x200 acct acct 74843 209732 1 0 3 0x100003 0x80 ttyin getty 75053 237670 93649 0 3 0x2 0x80 nanoslp syz-executor 65490 509666 0 0 3 0x14000 0x280 nfsidl nfsio 36513 307200 0 0 3 0x14000 0x280 nfsidl nfsio 21360 343878 0 0 3 0x14000 0x280 nfsidl nfsio 12030 322580 0 0 3 0x14000 0x280 nfsidl nfsio 77603 363746 0 0 3 0x14000 0x280 nfsidl nfsio 52753 92069 0 0 3 0x14000 0x280 nfsidl nfsio 33666 184727 0 0 3 0x14000 0x280 nfsidl nfsio 78459 514001 0 0 3 0x14000 0x280 nfsidl nfsio 39142 224062 0 0 3 0x14000 0x280 nfsidl nfsio 27429 184302 0 0 3 0x14000 0x280 nfsidl nfsio 58638 286065 0 0 3 0x14000 0x280 nfsidl nfsio 43755 314535 0 0 3 0x14000 0x280 nfsidl nfsio 62363 354149 0 0 3 0x14000 0x280 nfsidl nfsio 54919 81400 0 0 3 0x14000 0x280 nfsidl nfsio 58271 297395 0 0 3 0x14000 0x280 nfsidl nfsio 30234 399921 0 0 3 0x14000 0x280 nfsidl nfsio 83025 110157 0 0 3 0x14000 0x280 nfsidl nfsio 86716 210122 0 0 3 0x14000 0x280 nfsidl nfsio 64278 358251 0 0 3 0x14000 0x280 nfsidl nfsio 82040 124457 0 0 3 0x14000 0x280 nfsidl nfsio 56493 215311 93649 0 3 0x2 0x80 nanoslp syz-executor 84792 485364 93649 0 3 0x2 0x80 nanoslp syz-executor 41732 432408 93649 0 3 0x2 0x80 nanoslp syz-executor 75787 45144 93649 0 3 0x2 0x80 nanoslp syz-executor 44989 314604 93649 0 3 0x2 0x80 nanoslp syz-executor 44272 48159 93649 0 3 0x2 0x80 nanoslp syz-executor 60408 386766 93649 0 2 0x10000002 0 syz-executor 93649 200779 1 0 3 0x2 0x80 kqread syz-executor 89565 250016 0 0 3 0x14000 0x200 bored smr 25100 488833 0 0 2 0x14000 0x200 zerothread 34629 499069 0 0 3 0x14000 0x200 aiodoned aiodoned 48703 183586 0 0 3 0x14000 0x200 syncer update 77630 129033 0 0 3 0x14000 0x200 cleaner cleaner 3348 446185 0 0 3 0x14000 0x200 reaper reaper 75690 175502 0 0 3 0x14000 0x200 pgdaemon pagedaemon 19022 216479 0 0 3 0x14000 0x200 bored viomb 5990 455337 0 0 3 0x14000 0x40000200 acpi0 acpi0 70242 206504 0 0 3 0x14000 0x40000200 idle1 76863 92505 0 0 3 0x14000 0x200 bored softnet1 70887 350958 0 0 3 0x14000 0x200 netlock softnet0 20153 521916 0 0 2 0x14000 0x40000200 systqmp 1538 177424 0 0 3 0x14000 0x200 bored systq 31775 144705 0 0 3 0x14000 0x200 tmoslp softclockmp 95542 431079 0 0 3 0x14000 0x40000200 tmoslp softclock 12329 428853 0 0 3 0x14000 0x40000200 idle0 1 252640 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{1}> show all locks Process 13071 (syz-executor) thread 0xffff80003a3b8d18 (335547) exclusive rrwlock inode r = 0 (0xfffff3007b118328) #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:150 #5 ffs_vget+0x187 sys/ufs/ffs/ffs_vfsops.c:1232 #6 ufs_lookup+0x16bd sys/ufs/ufs/ufs_lookup.c:573 #7 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #8 vfs_lookup+0x963 sys/kern/vfs_lookup.c:580 #9 namei+0x7c5 sys/kern/vfs_lookup.c:250 #10 vn_open+0x178 sys/kern/vfs_vnops.c:146 #11 vndioctl+0xc43 sys/dev/vnd.c:458 #12 VOP_IOCTL+0xac sys/kern/vfs_vops.c:264 #13 vn_ioctl+0xf8 sys/kern/vfs_vnops.c:537 #14 sys_ioctl+0x674 sys/kern/sys_generic.c:-1 #15 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #15 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 #16 Xsyscall+0x128 Process 13071 (syz-executor) thread 0xffff80003a3b9a10 (136349) exclusive rrwlock inode r = 0 (0xfffff3006edd8ec8) #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 uipc_bind+0x328 sys/kern/uipc_usrreq.c:371 #8 sys_bind+0x2f6 sys/kern/uipc_syscalls.c:190 #9 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #9 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 #10 Xsyscall+0x128 Process 13071 (syz-executor) thread 0xffff80003a3b8fb0 (430870) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83adda40) #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 11065 12088K 12422K 166960K 12633 0 pcb 17 12K 12K 166960K 106 0 rtable 172 7K 7K 166960K 434 0 pf 36 18K 25K 166960K 137 0 ifaddr 30 4K 7K 166960K 64 0 ifgroup 51 2K 2K 166960K 93 0 sysctl 4 1K 9K 166960K 11 0 counters 68 36K 37K 166960K 108 0 ioctlops 0 0K 4K 166960K 1579 0 iov 0 0K 16K 166960K 17 0 mount 1 1K 1K 166960K 1 0 log 9 8K 8K 166960K 13 0 vnodes 1290 81K 82K 166960K 1805 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 11 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 22 0 dirhash 12 2K 3K 166960K 27 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 16 61K 97K 166960K 589 0 sigio 0 0K 0K 166960K 12 0 proc 21 33K 164K 166960K 698 0 subproc 72 4K 4K 166960K 81 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 1 0K 0K 166960K 44 0 in_multi 55 3K 6K 166960K 121 0 ether_multi 1 0K 0K 166960K 6 0 mrt 1 0K 0K 166960K 17 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 103 466K 466K 166960K 103 0 exec 0 0K 1K 166960K 628 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 141 82K 159K 166960K 7229 0 UVM aobj 17 2K 2K 166960K 20 0 pinsyscall 19 38K 108K 166960K 1836 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 29 0 NDP 11 0K 1K 166960K 44 0 temp 51 9122K 9129K 166960K 38096 0 kqueue 2 4K 26K 166960K 98 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 93 0 93 2 1 1 2 0 8 1 rtentry 176 131 0 60 6 0 6 6 0 8 0 unpcb 144 359 0 353 3 0 3 3 0 8 2 syncache 336 5 0 5 1 1 0 1 0 8 0 tcpcb 736 193 0 192 7 0 7 7 0 8 6 arp 136 22 0 11 1 0 1 1 0 8 0 inpcb 328 519 0 515 7 0 7 7 0 8 6 nd6 152 32 0 16 2 0 2 2 0 8 0 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1192 15 0 15 1 0 1 1 0 8 1 pfstscr 40 10 0 6 1 0 1 1 0 8 0 pffrag 232 4 0 0 1 0 1 1 0 482 0 pffrnode 88 4 0 0 1 0 1 1 0 8 0 pffrent 40 5 0 0 1 0 1 1 0 8 0 pfosfp 40 1428 0 1428 5 1 4 5 0 8 4 pfosfpen 112 1428 0 1428 21 1 20 21 0 8 20 pfrktable 1344 2 0 1 2 1 1 1 0 8 0 pfsrclim 320 1 0 0 1 0 1 1 0 8 0 pfanchor 1288 7 0 5 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 69 0 4 1 0 1 1 0 8 0 pfstkey 128 73 0 9 3 0 3 3 0 8 0 pfstate 448 67 0 5 7 0 7 7 0 8 0 pfrule 1360 23 0 17 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 548 0 224 30 1 29 30 0 8 7 art_table 40 549 0 224 5 0 5 5 0 8 0 art_node 32 131 0 66 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 5 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 72 19 0 9 1 0 1 1 0 8 0 shmpl 112 17 0 3 1 0 1 1 0 8 0 dirhash 1024 27 0 10 3 0 3 3 0 8 0 dino2pl 256 2478 0 1013 93 0 93 93 0 8 0 ffsino 296 2478 0 1013 114 0 114 114 0 8 0 nchpl 144 3243 0 1532 64 0 64 64 0 8 0 rtmask 32 2 0 2 1 1 0 1 0 8 0 vnodes 216 2769 0 0 154 0 154 154 0 8 0 namei 1024 11365 0 11364 1 0 1 1 0 8 0 percpumem 16 70 0 20 1 0 1 1 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 kstatmem 264 57 0 30 3 0 3 3 0 8 0 scsiplug 72 5 0 5 1 0 1 1 0 8 1 scxspl 216 10368 0 10368 11 3 8 8 1 8 8 plimitpl 152 162 0 151 1 0 1 1 0 8 0 sigapl 424 943 0 886 8 0 8 8 0 8 0 knotepl 120 494 0 0 15 0 15 15 0 8 0 kqueuepl 224 239 0 237 5 0 5 5 0 8 4 pipepl 344 198 0 171 6 1 5 6 0 8 2 fdescpl 528 906 0 887 3 0 3 3 0 8 0 filepl 160 5327 0 5096 15 0 15 15 0 8 5 lockfpl 104 206 0 204 1 0 1 1 0 8 0 lockfspl 48 91 0 89 1 0 1 1 0 8 0 sessionpl 144 102 0 98 1 0 1 1 0 8 0 pgrppl 48 113 0 101 1 0 1 1 0 8 0 ucredpl 104 829 0 824 1 0 1 1 0 8 0 zombiepl 144 887 0 886 1 0 1 1 0 8 0 processpl 1232 943 0 886 6 0 6 6 0 8 0 procpl 664 1707 0 1636 7 0 7 7 0 8 0 sockpl 752 986 0 976 12 2 10 12 0 8 7 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 117 0 0 15 0 15 15 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 22 0 0 3 0 3 3 0 8 0 mextrefs 64 21 0 0 1 0 1 1 0 8 0 mtagpl 96 6 0 0 1 0 1 1 0 8 0 mbufpl 256 206 0 0 13 0 13 13 0 8 0 bufpl 272 3183 0 105 206 0 206 206 0 8 0 anonpl 32 5780 0 0 47 0 47 47 0 247 0 amapchunkpl 152 22104 0 21721 26 0 26 26 0 158 9 amappl16 200 1653 0 1626 4 2 2 4 0 8 0 amappl15 192 2 0 2 2 2 0 1 0 8 0 amappl14 184 454 0 454 1 0 1 1 0 8 1 amappl13 176 137 0 136 1 0 1 1 0 8 0 amappl12 168 1174 0 1156 2 0 2 2 0 8 0 amappl11 160 4 0 4 2 1 1 1 0 8 1 amappl10 152 70 0 69 1 0 1 1 0 8 0 amappl9 144 330 0 330 1 1 0 1 0 8 0 amappl8 136 107 0 107 1 0 1 1 0 8 1 amappl7 128 195 0 192 1 0 1 1 0 8 0 amappl6 120 169 0 168 1 0 1 1 0 8 0 amappl5 112 109 0 108 1 0 1 1 0 8 0 amappl4 104 338 0 334 1 0 1 1 0 8 0 amappl3 96 4523 0 4437 4 0 4 4 0 8 1 amappl2 88 597 0 585 2 0 2 2 0 8 0 amappl1 80 12741 0 12621 15 2 13 15 0 8 5 amappl 88 6354 0 6228 4 0 4 4 0 92 0 uvmvnodes 80 108 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 255 0 255 3 2 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 19 0 3 1 0 1 1 0 8 0 uaddrrnd 24 906 0 887 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 906 0 887 1 0 1 1 0 8 0 vmmpekpl 168 9470 0 9431 3 0 3 3 0 8 0 vmmpepl 168 64530 0 63650 87 0 87 87 0 357 45 vmsppl 488 905 0 887 5 1 4 5 0 8 0 rwobjpl 80 19518 0 19051 24 1 23 24 0 8 0 pdppl 4096 1819 0 1774 103 56 47 87 0 8 2 pvpl 32 11445 0 0 93 0 93 93 0 265 0 pmappl 256 905 0 887 3 0 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 493 0 61 13 0 13 13 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83956ff0) 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(ffffffff83add240) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83add240) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2c kd_curproc sys/dev/kcov.c:584 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2c sys/dev/kcov.c:153 __mp_lock(ffffffff83add240) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83add240) at __mp_lock+0x1a3 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 __mp_lock(ffffffff83add240) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83add240) at __mp_lock+0x199 sys/kern/kern_lock.c:173 syscall(ffff80002a32c9d0) at syscall+0xaf4 mi_syscall sys/sys/syscall_mi.h:175 [inline] syscall(ffff80002a32c9d0) at syscall+0xaf4 sys/arch/amd64/amd64/trap.c:783 end trace frame: 0xffff80002a32ca50, count: 0 ddb{0}>