uvm_fault(0xfffff9806c67a200, 0x98, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff81c81488 cs 8 rflags 10246 cr2 98 cpl 0 rsp ffff800036ba9680 gsbase 0xffff80002999dff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff81c81488 Starting stack trace... panic(ffffffff834eeca9) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff800036ba95d0) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dovutimens(ffff800036bb0fb8,fffff9806329e978,ffff800036ba9790) at dovutimens+0x368 sys/kern/vfs_syscalls.c:2690 sys_futimens(ffff800036bb0fb8,ffff800036ba98e0,ffff800036ba9830) at sys_futimens+0xb3 sys/kern/vfs_syscalls.c:2766 syscall(ffff800036ba98e0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800036ba98e0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x37a56a676f0, 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 521178 25341 0 0 0 0 syz-executor *303588 34891 0 0 0 1 syz-executor proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x73173eda4cf0, 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(0xfffff9806c67a200, 0x98, 0, 1) -> e ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x73173eda4cf0, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003c3dd8a0 rbx 0 rdx 0 rcx 0xffff8000fffee018 rax 0x2a r8 0xffff80003c3dd7d0 r9 0x1 r10 0x3df9d2de9e220d86 r11 0x6b6de9395c3bfd10 r12 0 r13 0xffffffff818eceb8 Xdoreti+0x18 r14 0 r15 0 rip 0xffffffff8270b4c7 proc_trampoline+0xc7 cs 0x8 rflags 0x246 rsp 0xffff80003c3dd820 ss 0x10 proc_trampoline+0xc7: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=303588 pid=34891 tcnt=4 stat=onproc flags process=0 proc=0 runpri=55, usrpri=56, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800038fb8a80,0xffff8000fffefa18 process=0xffff80002a37c018 user=0xffff80003c3d8000, vmspace=0xfffff9806c67a3e8 estcpu=6, cpticks=10, pctcpu=0.9, user=8, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 97041 293583 3833 0 2 0 syz-executor 97041 26964 3833 0 2 0x4000000 syz-executor 25341 521178 53996 0 7 0 syz-executor 25341 313595 53996 0 3 0x4000000 sbar syz-executor 51026 424441 75846 0 2 0 syz-executor 51026 475895 75846 0 3 0x4000080 fsleep syz-executor 51026 291643 75846 0 3 0x4000080 fsleep syz-executor 39367 396254 33844 0 2 0 syz-executor 39367 468081 33844 0 3 0x4000080 fsleep syz-executor 59191 322555 65314 0 3 0x80 nanoslp syz-executor 59191 475269 65314 0 3 0x4000080 dtread syz-executor *34891 303588 91367 0 7 0 syz-executor 34891 138690 91367 0 3 0x4000080 fsleep syz-executor 34891 446657 91367 0 3 0x4000080 fsleep syz-executor 34891 22308 91367 0 3 0x4000080 fsleep syz-executor 59175 429586 35751 0 2 0 syz-executor 59175 365890 35751 0 3 0x4000080 fsleep syz-executor 88444 338570 79442 0 3 0x100082 sbwait arp 79442 353527 8782 0 3 0x10008a sigsusp sh 35751 71693 63887 0 3 0x82 nanoslp syz-executor 8782 329760 63887 0 3 0x82 wait syz-executor 65314 125200 63887 0 3 0x82 nanoslp syz-executor 33844 506446 63887 0 3 0x82 nanoslp syz-executor 53996 317021 63887 0 3 0x82 nanoslp syz-executor 3833 1850 63887 0 3 0x82 nanoslp syz-executor 91367 296255 63887 0 3 0x82 nanoslp syz-executor 75846 516898 63887 0 3 0x82 nanoslp syz-executor 63887 499558 19295 0 3 0x82 kqread syz-executor 19295 485355 34494 0 3 0x10008a sigsusp ksh 34494 242528 80925 0 3 0x98 kqread sshd-session 80925 412654 98844 0 3 0x92 kqread sshd-session 23417 377375 1 0 3 0x100083 ttyin getty 98844 237026 1 0 3 0x88 kqread sshd 15018 322779 18710 74 3 0x1100092 bpf pflogd 18710 251023 1 0 3 0x80 sbwait pflogd 52339 83017 29553 73 3 0x1100090 kqread syslogd 29553 482714 1 0 3 0x100082 sbwait syslogd 71524 135361 1 0 3 0x100080 kqread resolvd 41536 370508 10934 77 3 0x100092 kqread dhcpleased 60612 455232 10934 77 3 0x100092 kqread dhcpleased 10934 60040 1 0 3 0x80 kqread dhcpleased 12380 192779 0 0 3 0x14200 bored smr 10322 477473 0 0 2 0x14200 zerothread 25857 120106 0 0 3 0x14200 aiodoned aiodoned 35575 476590 0 0 3 0x14200 syncer update 71530 132848 0 0 3 0x14200 cleaner cleaner 65452 143149 0 0 3 0x14200 reaper reaper 57175 475574 0 0 3 0x14200 pgdaemon pagedaemon 46490 140337 0 0 3 0x14200 bored viomb 94440 412574 0 0 3 0x40014200 acpi0 acpi0 30876 70964 0 0 3 0x40014200 idle1 32932 316039 0 0 3 0x14200 bored softnet1 40653 391829 0 0 3 0x14200 netlock softnet0 80102 390636 0 0 2 0x14200 systqmp 29629 202867 0 0 3 0x14200 bored systq 38416 86069 0 0 3 0x14200 tmoslp softclockmp 20347 286988 0 0 3 0x40014200 tmoslp softclock 65165 352841 0 0 3 0x40014200 idle0 1 331935 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 25341 (syz-executor) thread 0xffff800036bb0fb8 (313595) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83ae20c0) #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 12178K 12214K 166960K 12170 0 pcb 17 12K 12K 166960K 29 0 rtable 221 6K 6K 166960K 339 0 pf 34 17K 19K 166960K 46 0 ifaddr 41 7K 7K 166960K 43 0 ifgroup 55 2K 2K 166960K 55 0 sysctl 1 1K 9K 166960K 5 0 counters 70 37K 37K 166960K 70 0 ioctlops 0 0K 4K 166960K 1488 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1297 82K 82K 166960K 1439 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 1K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 2 0K 0K 166960K 2 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 19 69K 97K 166960K 152 0 proc 74 131K 147K 166960K 549 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 5 0 in_multi 89 6K 6K 166960K 90 0 ether_multi 1 0K 0K 166960K 1 0 mrt 1 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 37 175K 175K 166960K 37 0 exec 0 0K 1K 166960K 391 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 242 169K 177K 166960K 3437 0 UVM aobj 5 2K 2K 166960K 5 0 pinsyscall 45 90K 110K 166960K 1339 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 1 0 NDP 12 0K 1K 166960K 26 0 temp 34 9110K 9174K 166960K 4010 0 kqueue 13 20K 26K 166960K 29 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 37 0 33 1 0 1 1 0 8 0 rtentry 176 103 0 1 5 0 5 5 0 8 0 unpcb 144 52 0 34 1 0 1 1 0 8 0 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpcb 736 50 0 45 4 0 4 4 0 8 3 arp 136 17 0 0 1 0 1 1 0 8 0 inpcb 328 122 0 114 4 0 4 4 0 8 3 nd6 152 21 0 0 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 0 1 1 0 8 1 kcovpl 48 8 0 0 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 pfstitem 24 19 0 0 1 0 1 1 0 8 0 pfstkey 128 19 0 0 1 0 1 1 0 8 0 pfstate 448 19 0 0 3 0 3 3 0 8 0 pfrule 1360 22 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 411 0 0 26 0 26 26 0 8 0 art_table 40 412 0 0 5 0 5 5 0 8 0 art_node 32 103 0 10 1 0 1 1 0 8 0 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1665 0 196 92 0 92 92 0 8 0 ffsino 296 1665 0 196 114 0 114 114 0 8 0 nchpl 144 1891 0 184 64 0 64 64 0 8 0 vnodes 216 1764 0 0 98 0 98 98 0 8 0 namei 1024 5999 0 5999 1 0 1 1 0 8 1 percpumem 16 50 0 0 1 0 1 1 0 8 0 kstatmem 264 27 0 0 2 0 2 2 0 8 0 scxspl 216 6228 0 6228 4 3 1 3 1 8 1 plimitpl 152 62 0 45 1 0 1 1 0 8 0 sigapl 424 481 0 432 7 0 7 7 0 8 0 knotepl 120 306 0 0 10 0 10 10 0 8 0 kqueuepl 224 28 0 19 1 0 1 1 0 8 0 pipepl 344 132 0 104 3 0 3 3 0 8 0 fdescpl 528 465 0 432 3 0 3 3 0 8 0 filepl 160 1958 0 1731 14 0 14 14 0 8 4 lockfpl 104 19 0 16 1 0 1 1 0 8 0 lockfspl 48 9 0 6 1 0 1 1 0 8 0 sessionpl 144 24 0 15 1 0 1 1 0 8 0 pgrppl 48 32 0 15 1 0 1 1 0 8 0 ucredpl 104 293 0 280 1 0 1 1 0 8 0 zombiepl 144 432 0 432 1 0 1 1 0 8 1 processpl 1232 481 0 432 5 0 5 5 0 8 0 procpl 664 526 0 467 6 0 6 6 0 8 0 sockpl 752 213 0 183 7 0 7 7 0 8 4 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 124 0 0 16 0 16 16 0 8 0 mcl2k 2048 24 0 0 3 0 3 3 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 202 0 0 13 0 13 13 0 8 0 bufpl 272 2306 0 105 147 0 147 147 0 8 0 anonpl 32 3699 0 0 30 0 30 30 0 246 0 amapchunkpl 152 9041 0 8549 20 0 20 20 0 158 1 amappl16 200 1505 0 1487 5 1 4 5 0 8 3 amappl15 192 7 0 7 1 1 0 1 0 8 0 amappl14 184 452 0 450 1 0 1 1 0 8 0 amappl13 176 123 0 109 1 0 1 1 0 8 0 amappl12 168 720 0 688 2 0 2 2 0 8 0 amappl11 160 24 0 23 1 0 1 1 0 8 0 amappl10 152 66 0 52 1 0 1 1 0 8 0 amappl9 144 293 0 293 1 1 0 1 0 8 0 amappl8 136 100 0 98 1 0 1 1 0 8 0 amappl7 128 150 0 136 1 0 1 1 0 8 0 amappl6 120 168 0 166 1 0 1 1 0 8 0 amappl5 112 116 0 106 1 0 1 1 0 8 0 amappl4 104 298 0 275 1 0 1 1 0 8 0 amappl3 96 1611 0 1493 3 0 3 3 0 8 0 amappl2 88 561 0 497 2 0 2 2 0 8 0 amappl1 80 10569 0 9931 16 0 16 16 0 8 1 amappl 88 2683 0 2518 4 0 4 4 0 92 0 uvmvnodes 80 102 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 4 0 0 1 0 1 1 0 8 0 uaddrrnd 24 465 0 432 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 465 0 432 1 0 1 1 0 8 0 vmmpekpl 168 5861 0 5830 2 0 2 2 0 8 0 vmmpepl 168 39180 0 37202 88 0 88 88 0 357 2 vmsppl 488 464 0 432 5 0 5 5 0 8 0 rwobjpl 80 14562 0 13490 25 0 25 25 0 8 2 pdppl 4096 937 0 864 103 18 85 87 0 8 12 pvpl 32 10161 0 0 83 1 82 82 0 265 0 pmappl 256 464 0 432 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 423 0 21 12 0 12 12 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83985ff0) 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_pc() at __sanitizer_cov_trace_pc+0x44 sys/dev/kcov.c:159 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+0xf kd_curproc sys/dev/kcov.c:580 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0xf sys/dev/kcov.c:153 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: 0x72b419536920, count: 4 ddb{0}> trace x86_ipi_db(ffffffff83985ff0) 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_pc() at __sanitizer_cov_trace_pc+0x44 sys/dev/kcov.c:159 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+0xf kd_curproc sys/dev/kcov.c:580 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0xf sys/dev/kcov.c:153 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: 0x72b419536920, 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: 0x73173eda4cf0, count: 14 ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x73173eda4cf0, count: -1