login: uvm_fault(0xfffff7006c6af9a0, 0x98, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff833bf058 cs 8 rflags 10246 cr2 98 cpl 0 rsp ffff80003c3fb800 gsbase 0xffff80002999dff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff833bf058 Starting stack trace... panic(ffffffff834ebdcf) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80003c3fb750) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dovutimens(ffff80003c3d1a28,fffff7006db80890,ffff80003c3fb910) at dovutimens+0x368 sys/kern/vfs_syscalls.c:2690 sys_futimens(ffff80003c3d1a28,ffff80003c3fba60,ffff80003c3fb9b0) at sys_futimens+0xb3 sys/kern/vfs_syscalls.c:2766 syscall(ffff80003c3fba60) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c3fba60) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf45878ece60, count: 250 End of stack trace. WARNING: SPL NOT LOWERED ON TRAP EXIT 4 0 Stopped at proc_trampoline+0xc7: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND 366790 82890 -1 0x10 0 0 syz-executor *324265 95039 0 0 0 1 syz-executor proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x74e7382fe530, 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(0xfffff7006c6af9a0, 0x98, 0, 1) -> e ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x74e7382fe530, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003c3e3ec0 rbx 0 rdx 0 rcx 0xffff80003c415a20 rax 0x2a r8 0xffff80003c3e3df0 r9 0x1 r10 0x1da9c70866b23446 r11 0xded227c9300ab0e7 r12 0 r13 0xffffffff82e20488 Xdoreti+0x18 r14 0 r15 0 rip 0xffffffff8306a4c7 proc_trampoline+0xc7 cs 0x8 rflags 0x246 rsp 0xffff80003c3e3e40 ss 0x10 proc_trampoline+0xc7: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=324265 pid=95039 tcnt=2 stat=onproc flags process=0 proc=0 runpri=83, usrpri=83, slppri=16, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000fffee7e0,0xffff80003c415cc8 process=0xffff80002a37c4e8 user=0xffff80003c3de000, vmspace=0xfffff7006c6af3e8 estcpu=33, cpticks=3, pctcpu=0.0, user=1, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 94821 78882 55714 0 2 0 syz-executor 37372 410786 95453 0 2 0 syz-executor 37372 497204 95453 0 3 0x4000080 fsleep syz-executor 91642 337461 22266 0 2 0 syz-executor 91642 391736 22266 0 3 0x4000080 fsleep syz-executor 55713 271447 72629 0 2 0 syz-executor 55713 197905 72629 0 2 0x4000000 syz-executor 82890 366790 25681 -1 7 0x10 syz-executor 82890 131811 25681 -1 3 0x4000010 sbar syz-executor *95039 324265 40901 0 7 0 syz-executor 95039 326962 40901 0 3 0x4000080 netcon syz-executor 5742 352788 21873 0 2 0 syz-executor 5742 290899 21873 0 3 0x4000080 fsleep syz-executor 5742 218710 21873 0 3 0x4000080 fsleep syz-executor 85370 385631 20043 0 2 0x2 syz-executor 37772 23458 0 0 3 0x14280 nfsidl nfsio 27107 274793 0 0 3 0x14280 nfsidl nfsio 66182 290247 0 0 3 0x14280 nfsidl nfsio 10201 354970 0 0 3 0x14280 nfsidl nfsio 46117 56226 0 0 3 0x14280 nfsidl nfsio 76643 295593 0 0 3 0x14280 nfsidl nfsio 52413 330627 0 0 3 0x14280 nfsidl nfsio 44940 13905 0 0 3 0x14280 nfsidl nfsio 91512 361133 0 0 3 0x14280 nfsidl nfsio 67330 357910 0 0 3 0x14280 nfsidl nfsio 84725 378508 0 0 3 0x14280 nfsidl nfsio 50694 308752 0 0 3 0x14280 nfsidl nfsio 28854 479848 0 0 3 0x14280 nfsidl nfsio 64415 256101 0 0 3 0x14280 nfsidl nfsio 11071 108928 0 0 3 0x14280 nfsidl nfsio 13831 183727 0 0 3 0x14280 nfsidl nfsio 45507 148607 0 0 3 0x14280 nfsidl nfsio 87264 134161 0 0 3 0x14280 nfsidl nfsio 94062 204947 0 0 3 0x14280 nfsidl nfsio 29578 297920 0 0 3 0x14280 nfsidl nfsio 86070 384872 1 0 4 0x82000 syz-executor 86070 106971 1 0 2 0x4082000 syz-executor 86070 223372 1 0 3 0x4002000 suspend syz-executor 97422 139294 1 0 3 0x100083 ttyin getty 22266 382604 20043 0 3 0x82 nanoslp syz-executor 72629 460113 20043 0 3 0x82 nanoslp syz-executor 95453 104878 20043 0 3 0x82 nanoslp syz-executor 25681 130176 20043 0 3 0x82 nanoslp syz-executor 40901 49687 20043 0 3 0x82 nanoslp syz-executor 21873 249823 20043 0 3 0x82 nanoslp syz-executor 55714 291720 20043 0 3 0x82 nanoslp syz-executor 20043 372065 90782 0 3 0x82 kqread syz-executor 90782 17133 3141 0 3 0x10008a sigsusp ksh 3141 22318 61409 0 3 0x98 kqread sshd-session 61409 286880 4749 0 3 0x92 kqread sshd-session 4749 316952 1 0 3 0x88 kqread sshd 43868 308463 2702 74 3 0x1100092 bpf pflogd 2702 464531 1 0 3 0x80 sbwait pflogd 19011 336340 62936 73 3 0x1100090 kqread syslogd 62936 109334 1 0 3 0x100082 sbwait syslogd 74781 426778 1 0 3 0x100080 kqread resolvd 44503 431428 34665 77 3 0x100092 kqread dhcpleased 12448 522688 34665 77 3 0x100092 kqread dhcpleased 34665 335246 1 0 3 0x80 kqread dhcpleased 45973 8420 0 0 3 0x14200 bored smr 40025 477724 0 0 2 0x14200 zerothread 94212 109386 0 0 3 0x14200 aiodoned aiodoned 29473 438789 0 0 3 0x14200 syncer update 71164 128909 0 0 3 0x14200 cleaner cleaner 85001 296269 0 0 3 0x14200 reaper reaper 84717 239072 0 0 3 0x14200 pgdaemon pagedaemon 22701 435658 0 0 3 0x14200 bored viomb 89926 497125 0 0 3 0x40014200 acpi0 acpi0 19 121796 0 0 3 0x40014200 idle1 33337 33377 0 0 3 0x14200 bored softnet1 22667 233947 0 0 3 0x14200 netlock softnet0 5590 286788 0 0 2 0x14200 systqmp 20693 77476 0 0 3 0x14200 bored systq 30661 140647 0 0 3 0x14200 tmoslp softclockmp 77535 502186 0 0 3 0x40014200 tmoslp softclock 47895 304210 0 0 3 0x40014200 idle0 1 91828 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 82890 (syz-executor) thread 0xffff80003c3d1a28 (131811) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83a3c2c0) #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 11071 12156K 12355K 166960K 12820 0 pcb 19 14K 14K 166960K 141 0 rtable 216 11K 12K 166960K 413 0 pf 39 18K 25K 166960K 135 0 ifaddr 37 6K 7K 166960K 63 0 ifgroup 55 2K 2K 166960K 104 0 sysctl 3 1K 9K 166960K 7 0 counters 70 37K 37K 166960K 106 0 ioctlops 0 0K 4K 166960K 1562 0 iov 0 0K 16K 166960K 89 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1366 86K 86K 166960K 1968 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 0K 166960K 57 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 62K 89K 166960K 603 0 sigio 0 0K 0K 166960K 67 0 proc 72 115K 180K 166960K 608 0 subproc 72 4K 5K 166960K 207 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 35 0 in_multi 77 5K 6K 166960K 116 0 ether_multi 1 0K 0K 166960K 5 0 mrt 1 0K 0K 166960K 16 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 454 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 233 159K 173K 166960K 6998 0 UVM aobj 18 2K 2K 166960K 18 0 pinsyscall 43 86K 102K 166960K 1809 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 4 0 NDP 12 0K 1K 166960K 43 0 temp 47 9120K 12971K 166960K 21041 0 kqueue 13 20K 30K 166960K 106 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 57 0 54 1 0 1 1 0 8 0 rtentry 176 114 0 25 5 0 5 5 0 8 0 unpcb 144 292 0 271 5 4 1 4 0 8 0 syncache 336 10 0 10 2 2 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 736 129 0 123 4 3 1 4 0 8 0 arp 136 18 0 4 1 0 1 1 0 8 0 inpcb 328 463 0 449 7 3 4 4 0 8 2 nd6 152 25 0 6 1 0 1 1 0 8 0 pkpcb 40 2 0 2 2 2 0 1 0 8 0 kcovpl 48 23 0 15 1 0 1 1 0 8 0 mppekey 1024 2 0 2 1 1 0 1 0 8 0 ppxss 1192 11 0 11 1 1 0 1 0 8 0 pppxif 1576 1 0 1 1 1 0 1 0 8 0 pfstscr 40 9 0 7 3 2 1 1 0 8 0 pffrag 232 6 0 2 1 0 1 1 0 482 0 pffrnode 88 6 0 2 1 0 1 1 0 8 0 pffrent 40 14 0 10 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 pfsrclim 320 1 0 1 1 0 1 1 0 8 1 pfstlim 224 1 0 1 1 1 0 1 0 8 0 pfanchor 1288 10 0 1 1 0 1 1 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfqueue 320 3 0 1 1 0 1 1 0 8 0 pfstitem 24 52 0 24 1 0 1 1 0 8 0 pfstkey 128 60 0 32 2 0 2 2 0 8 0 pfstate 448 55 0 28 5 0 5 5 0 8 0 pfrule 1360 27 0 21 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 466 0 99 27 1 26 27 0 8 0 art_table 40 467 0 99 5 0 5 5 0 8 0 art_node 32 114 0 33 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 1 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 72 52 0 42 1 0 1 1 0 8 0 shmpl 112 15 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2372 0 892 93 0 93 93 0 8 0 ffsino 296 2372 0 892 114 0 114 114 0 8 0 nchpl 144 3201 0 1482 64 0 64 64 0 8 0 rtmask 32 1 0 1 1 1 0 1 0 8 0 vnodes 216 2895 0 0 161 0 161 161 0 8 0 namei 1024 10870 0 10870 2 1 1 2 0 8 1 percpumem 16 68 0 18 1 0 1 1 0 8 0 kstatmem 264 59 0 30 3 0 3 3 0 8 0 scxspl 216 11053 0 11053 13 10 3 8 1 8 3 plimitpl 152 94 0 76 1 0 1 1 0 8 0 sigapl 424 924 0 856 8 0 8 8 0 8 0 knotepl 120 760 0 0 24 0 24 24 0 8 0 kqueuepl 224 196 0 187 5 4 1 5 0 8 0 pipepl 344 207 0 179 3 0 3 3 0 8 0 fdescpl 528 887 0 855 3 0 3 3 0 8 0 filepl 160 5111 0 4882 16 5 11 14 0 8 1 lockfpl 104 228 0 225 1 0 1 1 0 8 0 lockfspl 48 105 0 102 1 0 1 1 0 8 0 sessionpl 144 122 0 113 1 0 1 1 0 8 0 pgrppl 48 151 0 133 1 0 1 1 0 8 0 ucredpl 104 788 0 773 1 0 1 1 0 8 0 zombiepl 144 856 0 856 1 0 1 1 0 8 1 processpl 1232 924 0 856 6 0 6 6 0 8 0 procpl 664 1572 0 1495 8 1 7 8 0 8 0 sosppl 176 3 0 3 2 2 0 1 0 8 0 sockpl 752 821 0 782 13 6 7 10 0 8 3 mcl64k 65536 6 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 mcl9k128 9344 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 119 0 0 15 0 15 15 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 mtagpl 96 8 0 0 1 0 1 1 0 8 0 mbufpl 256 271 0 0 17 0 17 17 0 8 0 bufpl 272 3706 0 107 240 0 240 240 0 8 0 anonpl 32 7418 0 0 60 0 60 60 0 246 0 amapchunkpl 152 34367 0 33897 40 20 20 40 0 158 0 amappl16 200 2936 0 2907 27 23 4 15 0 8 0 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 437 0 436 1 0 1 1 0 8 0 amappl13 176 173 0 161 1 0 1 1 0 8 0 amappl12 168 1162 0 1132 2 0 2 2 0 8 0 amappl11 160 4 0 4 1 1 0 1 0 8 0 amappl10 152 72 0 56 1 0 1 1 0 8 0 amappl9 144 276 0 275 2 1 1 1 0 8 0 amappl8 136 106 0 104 1 0 1 1 0 8 0 amappl7 128 163 0 149 1 0 1 1 0 8 0 amappl6 120 246 0 245 1 0 1 1 0 8 0 amappl5 112 141 0 130 1 0 1 1 0 8 0 amappl4 104 327 0 308 1 0 1 1 0 8 0 amappl3 96 4327 0 4216 4 1 3 4 0 8 0 amappl2 88 586 0 524 2 0 2 2 0 8 0 amappl1 80 12845 0 12243 18 5 13 16 0 8 0 amappl 88 6155 0 5993 5 0 5 5 0 92 0 uvmvnodes 80 116 0 0 3 0 3 3 0 8 0 dma65536 65536 1 0 1 1 1 0 1 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 20 0 19 1 0 1 1 0 8 0 aobjpl 72 17 0 0 1 0 1 1 0 8 0 uaddrrnd 24 887 0 855 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 887 0 855 1 0 1 1 0 8 0 vmmpekpl 168 9292 0 9251 3 0 3 3 0 8 0 vmmpepl 168 65253 0 63326 97 10 87 97 0 357 0 vmsppl 488 886 0 855 6 2 4 5 0 8 0 rwobjpl 80 20844 0 19786 29 5 24 26 0 8 0 pdppl 4096 1781 0 1710 115 44 71 83 0 8 0 pvpl 32 13167 0 0 107 0 107 107 0 265 0 pmappl 256 886 0 855 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 540 0 56 14 0 14 14 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff839b3ff0) 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(ffffffff83a3bac0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83a3bac0) 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(ffffffff83a3bac0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83a3bac0) 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: 0x7e99502fc7e0, count: 4 ddb{0}> trace x86_ipi_db(ffffffff839b3ff0) 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(ffffffff83a3bac0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83a3bac0) 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(ffffffff83a3bac0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83a3bac0) 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: 0x7e99502fc7e0, count: -11 ddb{0}> machine ddbcpu 1 Stopped at proc_trampoline+0xc7: movl $0,%gs:0x688 proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x74e7382fe530, count: 14 ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x74e7382fe530, count: -1